Changeset 7407


Ignore:
Timestamp:
11/21/17 11:40:49 (17 months ago)
Author:
rohit_tandon
Message:

In section list of Multi section operation dialog if section is empty then it will be indicated by no audio after section level.

Location:
trunk/Obi/Obi
Files:
3 edited

Legend:

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

    r7332 r7407  
    138138                    string PagesInSection = String.Empty; 
    139139                    PagesInSection = GetPagesInSection(i); 
    140                     m_lb_listofSectionsToMerge.Items.Add(m_SectionList[i].Label + " " + Localizer.Message("MergeOptions_LevelString") + m_SectionList[i].Level + PagesInSection); 
     140                    if (m_SectionList[i].Duration != 0) 
     141                    { 
     142                        m_lb_listofSectionsToMerge.Items.Add(m_SectionList[i].Label + " " + Localizer.Message("MergeOptions_LevelString") + m_SectionList[i].Level + PagesInSection); 
     143                    } 
     144                    else 
     145                    { 
     146                        m_lb_listofSectionsToMerge.Items.Add(m_SectionList[i].Label + " " + Localizer.Message("MergeOptions_LevelString") + m_SectionList[i].Level + " (" + Localizer.Message("NoAudioInSection") + ") " + PagesInSection); 
     147                    } 
    141148                   // m_SectionListAfterLevelChange.Add(m_SectionList[i]); 
    142149                } 
  • trunk/Obi/Obi/messages.Designer.cs

    r7404 r7407  
    44544454         
    44554455        /// <summary> 
     4456        ///   Looks up a localized string similar to no audio. 
     4457        /// </summary> 
     4458        internal static string NoAudioInSection { 
     4459            get { 
     4460                return ResourceManager.GetString("NoAudioInSection", resourceCulture); 
     4461            } 
     4462        } 
     4463         
     4464        /// <summary> 
    44564465        ///   Looks up a localized string similar to The node is already associated with some other node. Do you want to continue associating?. 
    44574466        /// </summary> 
     
    56515660         
    56525661        /// <summary> 
    5653         ///   Looks up a localized string similar to Do not Show Message box for showing section containing the phrase. 
     5662        ///   Looks up a localized string similar to Do not show message box while moving to phrase in another section. 
    56545663        /// </summary> 
    56555664        internal static string Project_DoNotDisplayMessageBoxForShowingSection { 
  • trunk/Obi/Obi/messages.resx

    r7406 r7407  
    30013001    <value>Do not show message box while moving to phrase in another section</value> 
    30023002  </data> 
     3003  <data name="NoAudioInSection" xml:space="preserve"> 
     3004    <value>no audio</value> 
     3005  </data> 
    30033006</root> 
Note: See TracChangeset for help on using the changeset viewer.