Changeset 5793


Ignore:
Timestamp:
03/11/14 13:23:20 (6 years ago)
Author:
rohit_tandon
Message:

"After recording delete the following phrases" is added in the Audio tab of the Preferences.

Location:
trunk/Obi/Obi
Files:
3 edited

Legend:

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

    r5757 r5793  
    209209                m_CheckBoxListView.Items[12].Checked = mSettings.Audio_UseRecordBtnToRecordOverSubsequentAudio; 
    210210                m_CheckBoxListView.Items[13].Checked = mSettings.Audio_EnforceSingleCursor; 
     211                m_CheckBoxListView.Items[14].Checked = mSettings.Audio_DeleteFollowingPhrasesOfSectionAfterRecording; 
    211212                m_IsComplete = true; 
    212213 
     
    834835                mSettings.Audio_UseRecordBtnToRecordOverSubsequentAudio = m_CheckBoxListView.Items[12].Checked; 
    835836                mSettings.Audio_EnforceSingleCursor = m_CheckBoxListView.Items[13].Checked; 
     837                mSettings.Audio_DeleteFollowingPhrasesOfSectionAfterRecording = m_CheckBoxListView.Items[14].Checked; 
    836838                mSettings.Audio_LevelComboBoxIndex = m_SelectLevelComboBox.SelectedIndex; 
    837839            } 
     
    872874                m_CheckBoxListView.Items.Add(Localizer.Message("Audio_RecordSubsequentPhrases")); 
    873875                m_CheckBoxListView.Items.Add(Localizer.Message("Audio_EnforceSingleCursor")); 
     876                m_CheckBoxListView.Items.Add(Localizer.Message("Audio_DeleteFollowingPhrasesOfSectionAfterRecording")); 
    874877                m_grpBoxChkBoxListView.Size = new Size(352, 97); 
    875878                m_grpBoxChkBoxListView.Location = new Point(85, 264); 
     
    903906                m_CheckBoxListView.Items[13].Checked = mSettings.Audio_EnforceSingleCursor; 
    904907                m_CheckBoxListView.Items[13].ToolTipText = Localizer.Message("Audio_EnforceSingleCursor"); 
     908                m_CheckBoxListView.Items[14].Checked = mSettings.Audio_DeleteFollowingPhrasesOfSectionAfterRecording; 
     909                m_CheckBoxListView.Items[14].ToolTipText = Localizer.Message("Audio_DeleteFollowingPhrasesOfSectionAfterRecording"); 
    905910 
    906911                m_SelectLevelComboBox.SelectedIndex = mSettings.Audio_LevelComboBoxIndex; 
     
    15011506                m_CheckBoxListView.Items[12].Checked = false; 
    15021507                m_CheckBoxListView.Items[13].Checked = false; 
     1508                m_CheckBoxListView.Items[14].Checked = false; 
    15031509                m_FlagComboBoxIndexChange = false; 
    15041510                m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
     
    15111517                    || !m_CheckBoxListView.Items[8].Checked || m_CheckBoxListView.Items[10].Checked || !m_CheckBoxListView.Items[1].Checked || 
    15121518                    !m_CheckBoxListView.Items[6].Checked || !m_CheckBoxListView.Items[9].Checked || !m_CheckBoxListView.Items[11].Checked || 
    1513                     m_CheckBoxListView.Items[12].Checked) 
     1519                    m_CheckBoxListView.Items[12].Checked || m_CheckBoxListView.Items[13].Checked) 
    15141520                { 
    15151521                    string tempMessageStr = Localizer.Message("Preferences_Advance_Mode") + "\n" + "\n* " + 
     
    15371543                        m_CheckBoxListView.Items[12].Checked = false; 
    15381544                        m_CheckBoxListView.Items[13].Checked = false; 
     1545                        m_CheckBoxListView.Items[14].Checked = false; 
    15391546                        m_FlagComboBoxIndexChange = false; 
    15401547 
     
    15811588                        m_CheckBoxListView.Items[12].Checked = true; 
    15821589                        m_CheckBoxListView.Items[13].Checked = true; 
     1590                        m_CheckBoxListView.Items[14].Checked = true; 
    15831591                        m_FlagComboBoxIndexChange = false; 
    15841592                    } 
  • trunk/Obi/Obi/messages.Designer.cs

    r5778 r5793  
    242242         
    243243        /// <summary> 
     244        ///   Looks up a localized string similar to After recording delete the following phrases. 
     245        /// </summary> 
     246        internal static string Audio_DeleteFollowingPhrasesOfSectionAfterRecording { 
     247            get { 
     248                return ResourceManager.GetString("Audio_DeleteFollowingPhrasesOfSectionAfterRecording", resourceCulture); 
     249            } 
     250        } 
     251         
     252        /// <summary> 
    244253        ///   Looks up a localized string similar to Perform phrase detection while recording. 
    245254        /// </summary> 
  • trunk/Obi/Obi/messages.resx

    r5778 r5793  
    26052605    <value>Recording Options</value> 
    26062606  </data> 
     2607  <data name="Audio_DeleteFollowingPhrasesOfSectionAfterRecording" xml:space="preserve"> 
     2608    <value>After recording delete the following phrases</value> 
     2609  </data> 
    26072610</root> 
Note: See TracChangeset for help on using the changeset viewer.