Changeset 5845


Ignore:
Timestamp:
04/03/14 06:57:47 (6 years ago)
Author:
rohit_tandon
Message:

Advance Audio profile is modified along with renaming of two checkboxes in Audio tab of the preferences.
Record sub-menus in Obi menu are disabled when Record is disabled.

Location:
trunk/Obi/Obi
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/Dialogs/Preferences.cs

    r5823 r5845  
    15691569            else if (m_ComboSelectAudioProfile.SelectedIndex == 2) 
    15701570            { 
    1571                 if (!(m_CheckBoxListView.Items[0].Checked && m_CheckBoxListView.Items[2].Checked && m_CheckBoxListView.Items[3].Checked && m_CheckBoxListView.Items[4].Checked 
     1571                if (!(!m_CheckBoxListView.Items[0].Checked && !m_CheckBoxListView.Items[2].Checked && !m_CheckBoxListView.Items[3].Checked && m_CheckBoxListView.Items[4].Checked 
    15721572                     && m_CheckBoxListView.Items[5].Checked && m_CheckBoxListView.Items[7].Checked && m_CheckBoxListView.Items[8].Checked 
    15731573                     && m_CheckBoxListView.Items[10].Checked && m_CheckBoxListView.Items[1].Checked && m_CheckBoxListView.Items[6].Checked 
    1574                      && m_CheckBoxListView.Items[9].Checked && m_CheckBoxListView.Items[11].Checked && m_CheckBoxListView.Items[12].Checked && m_CheckBoxListView.Items[13].Checked 
    1575                      && m_CheckBoxListView.Items[14].Checked && m_CheckBoxListView.Items[15].Checked)) 
    1576                 { 
    1577                     string tempMessageStr = Localizer.Message("Preferences_Advance_Mode") + "\n" + "\n* " + Localizer.Message("AudioTab_AudioClues") + "\n* " + 
    1578                     Localizer.Message("AudioTab_RetainInitialSilence") + "\n* " + Localizer.Message("AudioTab_PreviewBeforeRecording") + "\n* " + 
    1579                     Localizer.Message("Audio_UseRecordingPauseShortcutForStopping") + "\n* " + Localizer.Message("AudioTab_AllowOverwrite") + "\n* " + 
     1574                     && m_CheckBoxListView.Items[9].Checked && m_CheckBoxListView.Items[11].Checked && !m_CheckBoxListView.Items[12].Checked && m_CheckBoxListView.Items[13].Checked 
     1575                     && m_CheckBoxListView.Items[14].Checked && !m_CheckBoxListView.Items[15].Checked)) 
     1576                { 
     1577                    string tempMessageStr = Localizer.Message("Preferences_Advance_Mode") + "\n" + "\n* " + 
     1578                    Localizer.Message("AudioTab_RetainInitialSilence") + "\n* " + Localizer.Message("AudioTab_AllowOverwrite") + "\n* " + 
    15801579                    Localizer.Message("AudioTab_RecordDirectlyFromTransportBar") + "\n* " + Localizer.Message("AudioTab_Limit max phrase duration to 50 minutes") + "\n* " + 
    15811580                    Localizer.Message("Audio_ShowLiveWaveformWhileRecording") + "\n* " + Localizer.Message("Audio_DetectPhrasesWhileRecording") + "\n* " + 
    15821581                    Localizer.Message("Audio_EnablePostRecordingPageRenumbering") + "\n* " + Localizer.Message("Audio_MergeFirstTwoPhrasesInPhraseDetection") + "\n* " + 
    15831582                    Localizer.Message("Audio_FastPlayWithoutPitchChange") + "\n* " + Localizer.Message("Audio_RecordSubsequentPhrases") + "\n* " + Localizer.Message("Audio_EnforceSingleCursor") 
    1584                     + "\n* " + Localizer.Message("Audio_DeleteFollowingPhrasesOfSectionAfterRecording") + "\n* " + Localizer.Message("Audio_DisableDeselectionOnStop"); 
     1583                    + "\n* " + Localizer.Message("Audio_DeleteFollowingPhrasesOfSectionAfterRecording"); 
    15851584 
    15861585                    if (MessageBox.Show(tempMessageStr, Localizer.Message("Preferences_advanced_recording_mode"), MessageBoxButtons.YesNo, 
     
    15891588                        m_IndexOfLevelCombox = m_ComboSelectAudioProfile.SelectedIndex; 
    15901589                        m_FlagComboBoxIndexChange = true; 
    1591                         m_CheckBoxListView.Items[0].Checked = true; 
    1592                         m_CheckBoxListView.Items[2].Checked = true; 
    1593                         m_CheckBoxListView.Items[3].Checked = true; 
     1590                        m_CheckBoxListView.Items[0].Checked = false; 
     1591                        m_CheckBoxListView.Items[1].Checked = true; 
     1592                        m_CheckBoxListView.Items[2].Checked = false; 
     1593                        m_CheckBoxListView.Items[3].Checked = false; 
    15941594                        m_CheckBoxListView.Items[4].Checked = true; 
    15951595                        m_CheckBoxListView.Items[5].Checked = true; 
     1596                        m_CheckBoxListView.Items[6].Checked = true; 
    15961597                        m_CheckBoxListView.Items[7].Checked = true; 
    15971598                        m_CheckBoxListView.Items[8].Checked = true; 
     1599                        m_CheckBoxListView.Items[9].Checked = true; 
    15981600                        m_CheckBoxListView.Items[10].Checked = true; 
    1599                         m_CheckBoxListView.Items[1].Checked = true; 
    1600                         m_CheckBoxListView.Items[6].Checked = true; 
    1601                         m_CheckBoxListView.Items[9].Checked = true; 
    16021601                        m_CheckBoxListView.Items[11].Checked = true; 
    1603                         m_CheckBoxListView.Items[12].Checked = true; 
     1602                        m_CheckBoxListView.Items[12].Checked = false; 
    16041603                        m_CheckBoxListView.Items[13].Checked = true; 
    16051604                        m_CheckBoxListView.Items[14].Checked = true; 
    1606                         m_CheckBoxListView.Items[15].Checked = true; 
     1605                        m_CheckBoxListView.Items[15].Checked = false; 
    16071606                        m_FlagComboBoxIndexChange = false; 
    16081607                    } 
  • trunk/Obi/Obi/ObiForm.cs

    r5843 r5845  
    48694869                } 
    48704870                if (mProjectView.TransportBar.MonitorContinuously != m_MonitorContinuouslyToolStripMenuItem.Checked) m_MonitorContinuouslyToolStripMenuItem.Checked = mProjectView.TransportBar.MonitorContinuously; 
     4871                if (!mRecordToolStripMenuItem.Enabled) 
     4872                { 
     4873                    m_MonitorContinuouslyToolStripMenuItem.Enabled = false; 
     4874                    mStartMonitoringToolStripMenuItem.Enabled = false; 
     4875                    mAllowOverwriteToolStripMenuItem.Enabled = false; 
     4876                } 
     4877                else 
     4878                { 
     4879                    m_MonitorContinuouslyToolStripMenuItem.Enabled = true; 
     4880                    mStartMonitoringToolStripMenuItem.Enabled = true; 
     4881                    mAllowOverwriteToolStripMenuItem.Enabled = true; 
     4882                } 
    48714883 
    48724884            } 
  • trunk/Obi/Obi/ProfileDesc_en.html

    r5836 r5845  
    1313<table border="3" > 
    1414<tr> 
    15   <td>Audio Clues</td> 
    16   <td>Enables the audio clues, disables otherwise. Audio clues provide audio indications for non-visual users.</td>    
    17 </tr> 
    18 <tr> 
    19   <td>Retain initial silence while phrase detection</td> 
    20   <td>Retains the initial silence during the process of Auto-splitting using phrase detection.</td>    
    21 </tr> 
    22 <tr> 
    23   <td>Preview before recording</td> 
    24   <td>Plays a small portion of audio prior to the marked cursor position before initiating the Record command. Please note that this feature only works in the advanced recording mode.</td> 
    25 </tr> 
    26 <tr> 
    27   <td>Use Space key to stop recording</td> 
    28   <td>Obi stops recording when user presses the Space key on the keyboard.</td> 
     15  <td>Retain initial silence while phrase detection</td> 
     16  <td>Retains the initial silence during the process of Auto-splitting using phrase detection.</td>    
    2917</tr> 
    3018<tr> 
     
    6149</tr> 
    6250<tr> 
    63   <td>Use Record Button to record over subsequent audio</td> 
    64   <td>Obi starts recording over subsequent phrases on pressing record button.Also you need to check "Always record directly from transport bar" in conjunction with this checkbox</td> 
    65 </tr> 
    66 <tr> 
    6751  <td>Enforce single audio cursor</td> 
    6852  <td>While playing if a user pauses and selects another part of waveform in the same phrase then red cursor disappears</td> 
    6953</tr> 
    7054<tr> 
    71   <td>After recording delete the following phrases</td> 
     55  <td>After recording delete subsequent phrases</td> 
    7256  <td>Obi deletes following phrases when recording stops.</td> 
    73 </tr> 
    74 <tr> 
    75   <td>Disable deselection on stop</td> 
    76   <td>Obi donot deselect the selection</td> 
    7757</tr> 
    7858</table> 
     
    194174</tr> 
    195175<tr> 
    196   <td>After recording delete the following phrases</td> 
     176  <td>After recording delete subsequent phrases</td> 
    197177  <td>Obi deletes following phrases when recording stops.</td> 
    198178</tr> 
    199179<tr> 
    200   <td>Disable deselection on stop</td> 
     180  <td>Do not deselect on pressing Stop twice</td> 
    201181  <td>Obi donot deselect the selection</td> 
    202182</tr> 
     
    243223</tr> 
    244224<tr> 
    245   <td>After recording delete the following phrases</td> 
     225  <td>After recording delete subsequent phrases</td> 
    246226  <td>Obi deletes following phrases when recording stops.</td> 
    247227</tr> 
    248228<tr> 
    249   <td>Disable deselection on stop</td> 
     229  <td>Do not deselect on pressing Stop twice</td> 
    250230  <td>Obi donot deselect the selection</td> 
    251231</tr> 
  • trunk/Obi/Obi/messages.Designer.cs

    r5827 r5845  
    242242         
    243243        /// <summary> 
    244         ///   Looks up a localized string similar to After recording delete the following phrases. 
     244        ///   Looks up a localized string similar to After recording delete subsequent phrases. 
    245245        /// </summary> 
    246246        internal static string Audio_DeleteFollowingPhrasesOfSectionAfterRecording { 
     
    260260         
    261261        /// <summary> 
    262         ///   Looks up a localized string similar to Disable deselection on stop. 
     262        ///   Looks up a localized string similar to Do not deselect on pressing Stop twice. 
    263263        /// </summary> 
    264264        internal static string Audio_DisableDeselectionOnStop { 
  • trunk/Obi/Obi/messages.resx

    r5827 r5845  
    26062606  </data> 
    26072607  <data name="Audio_DeleteFollowingPhrasesOfSectionAfterRecording" xml:space="preserve"> 
    2608     <value>After recording delete the following phrases</value> 
     2608    <value>After recording delete subsequent phrases</value> 
    26092609  </data> 
    26102610  <data name="ProfileDesc_file_name" xml:space="preserve"> 
     
    26222622  </data> 
    26232623  <data name="Audio_DisableDeselectionOnStop" xml:space="preserve"> 
    2624     <value>Disable deselection on stop</value> 
     2624    <value>Do not deselect on pressing Stop twice</value> 
    26252625  </data> 
    26262626  <data name="KeyS_FastPlayWithElapseForward" xml:space="preserve"> 
Note: See TracChangeset for help on using the changeset viewer.