diff --git a/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js b/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js index 6d311f1d6..f6eacabf7 100644 --- a/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js +++ b/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js @@ -118,18 +118,10 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem {displayValue: this.textJustified, value: c_paragraphTextAlignment.JUSTIFIED} ]; - this._arrOutlinelevel = [ - {displayValue: this.textBodyText}, - {displayValue: this.textLevel + '1'}, - {displayValue: this.textLevel + '2'}, - {displayValue: this.textLevel + '3'}, - {displayValue: this.textLevel + '4'}, - {displayValue: this.textLevel + '5'}, - {displayValue: this.textLevel + '6'}, - {displayValue: this.textLevel + '7'}, - {displayValue: this.textLevel + '8'}, - {displayValue: this.textLevel + '9'} - ]; + this._arrOutlinelevel = [{displayValue: this.textBodyText, value: -1}]; + for (var i=1; i<10; i++) { + this._arrOutlinelevel.push({displayValue: this.textLevel + ' ' + i, value: i}); + } this._arrTabAlign = [ { value: 1, displayValue: this.textTabLeft }, @@ -1437,7 +1429,6 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem }, textTitle: 'Paragraph - Advanced Settings', - strIndentsFirstLine: 'First line', strIndentsLeftText: 'Left', strIndentsRightText: 'Right', strParagraphIndents: 'Indents & Spacing', @@ -1507,7 +1498,7 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem textHanging: 'Hanging', textJustified: 'Justified', textBodyText: 'BodyText', - textLevel: 'Level ', + textLevel: 'Level', strIndentsOutlinelevel: 'Outline level', strIndent: 'Indents', strSpacing: 'Spacing' diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 373d25c8f..e971f3a10 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -1709,7 +1709,7 @@ "DE.Views.ParagraphSettingsAdvanced.strBreakBefore": "Page break before", "DE.Views.ParagraphSettingsAdvanced.strDoubleStrike": "Double strikethrough", "DE.Views.ParagraphSettingsAdvanced.strIndent": "Indents", - "DE.Views.ParagraphSettingsAdvanced.strIndentsFirstLine": "First Line", + "del_DE.Views.ParagraphSettingsAdvanced.strIndentsFirstLine": "First Line", "DE.Views.ParagraphSettingsAdvanced.strIndentsLeftText": "Left", "DE.Views.ParagraphSettingsAdvanced.strIndentsLineSpacing": "Line Spacing", "DE.Views.ParagraphSettingsAdvanced.strIndentsOutlinelevel": "Outline level", @@ -1751,7 +1751,7 @@ "DE.Views.ParagraphSettingsAdvanced.textJustified": "Justified", "DE.Views.ParagraphSettingsAdvanced.textLeader": "Leader", "DE.Views.ParagraphSettingsAdvanced.textLeft": "Left", - "DE.Views.ParagraphSettingsAdvanced.textLevel": "Level ", + "DE.Views.ParagraphSettingsAdvanced.textLevel": "Level", "DE.Views.ParagraphSettingsAdvanced.textNewColor": "Add New Custom Color", "DE.Views.ParagraphSettingsAdvanced.textNone": "None", "DE.Views.ParagraphSettingsAdvanced.textNoneSpecial": "(none)", diff --git a/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js b/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js index b43273874..da55d09cc 100644 --- a/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js +++ b/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js @@ -772,7 +772,6 @@ define([ 'text!presentationeditor/main/app/template/ParagraphSettingsAdvanced }, textTitle: 'Paragraph - Advanced Settings', - strIndentsFirstLine: 'First line', strIndentsLeftText: 'Left', strIndentsRightText: 'Right', strParagraphIndents: 'Indents & Spacing', diff --git a/apps/presentationeditor/main/locale/en.json b/apps/presentationeditor/main/locale/en.json index 8f9d57672..d3b768c0b 100644 --- a/apps/presentationeditor/main/locale/en.json +++ b/apps/presentationeditor/main/locale/en.json @@ -1325,7 +1325,7 @@ "PE.Views.ParagraphSettingsAdvanced.strAllCaps": "All caps", "PE.Views.ParagraphSettingsAdvanced.strDoubleStrike": "Double strikethrough", "PE.Views.ParagraphSettingsAdvanced.strIndent": "Indents", - "PE.Views.ParagraphSettingsAdvanced.strIndentsFirstLine": "First Line", + "del_PE.Views.ParagraphSettingsAdvanced.strIndentsFirstLine": "First Line", "PE.Views.ParagraphSettingsAdvanced.strIndentsLeftText": "Left", "PE.Views.ParagraphSettingsAdvanced.strIndentsLineSpacing": "Line Spacing", "PE.Views.ParagraphSettingsAdvanced.strIndentsRightText": "Right", diff --git a/apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js b/apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js index 228de3e9c..a92439417 100644 --- a/apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js +++ b/apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js @@ -775,7 +775,6 @@ define([ 'text!spreadsheeteditor/main/app/template/ParagraphSettingsAdvanced. }, textTitle: 'Paragraph - Advanced Settings', - strIndentsFirstLine: 'First line', strIndentsLeftText: 'Left', strIndentsRightText: 'Right', strParagraphIndents: 'Indents & Spacing', diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index cc891f580..b644c07c0 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -1815,7 +1815,7 @@ "SSE.Views.ParagraphSettingsAdvanced.strAllCaps": "All caps", "SSE.Views.ParagraphSettingsAdvanced.strDoubleStrike": "Double strikethrough", "SSE.Views.ParagraphSettingsAdvanced.strIndent": "Indents", - "SSE.Views.ParagraphSettingsAdvanced.strIndentsFirstLine": "First Line", + "del_SSE.Views.ParagraphSettingsAdvanced.strIndentsFirstLine": "First Line", "SSE.Views.ParagraphSettingsAdvanced.strIndentsLeftText": "Left", "SSE.Views.ParagraphSettingsAdvanced.strIndentsLineSpacing": "Line Spacing", "SSE.Views.ParagraphSettingsAdvanced.strIndentsRightText": "Right",