diff --git a/apps/common/main/lib/view/ReviewChanges.js b/apps/common/main/lib/view/ReviewChanges.js index 2dbbb9511..0ca680301 100644 --- a/apps/common/main/lib/view/ReviewChanges.js +++ b/apps/common/main/lib/view/ReviewChanges.js @@ -314,7 +314,7 @@ define([ checked: true, value: 'markup', template: menuTemplate, - description: this.txtMarkup + description: Common.Utils.String.format(this.txtMarkup, !this.appConfig.isEdit && !this.appConfig.isRestrictedEdit ? '' : '(' + this.txtEditing + ')') }, { caption: this.txtMarkupSimpleCap, @@ -323,7 +323,7 @@ define([ checked: false, value: 'simple', template: menuTemplate, - description: this.txtMarkupSimple + description: Common.Utils.String.format(this.txtMarkupSimple, !this.appConfig.isEdit && !this.appConfig.isRestrictedEdit ? '' : '(' + this.txtEditing + ')') }, { caption: this.txtFinalCap, @@ -331,7 +331,7 @@ define([ toggleGroup: 'menuReviewView', checked: false, template: menuTemplate, - description: this.txtFinal, + description: Common.Utils.String.format(this.txtFinal, !this.appConfig.isEdit && !this.appConfig.isRestrictedEdit ? '' : '(' + this.txtPreview + ')'), value: 'final' }, { @@ -340,7 +340,7 @@ define([ toggleGroup: 'menuReviewView', checked: false, template: menuTemplate, - description: this.txtOriginal, + description: Common.Utils.String.format(this.txtOriginal, !this.appConfig.isEdit && !this.appConfig.isRestrictedEdit ? '' : '(' + this.txtPreview + ')'), value: 'original' } ] @@ -862,9 +862,9 @@ define([ txtAcceptChanges: 'Accept Changes', txtRejectChanges: 'Reject Changes', txtView: 'Display Mode', - txtMarkup: 'Text with changes (Editing)', - txtFinal: 'All changes like accept (Preview)', - txtOriginal: 'Text without changes (Preview)', + txtMarkup: 'Text with changes {0}', + txtFinal: 'All changes like accept {0}', + txtOriginal: 'Text without changes {0}', tipReviewView: 'Select the way you want the changes to be displayed', tipAcceptCurrent: 'Accept current changes', tipRejectCurrent: 'Reject current changes', @@ -910,7 +910,9 @@ define([ textWarnTrackChanges: 'Track Changes will be switched ON for all users with full access. The next time anyone opens the doc, Track Changes will remain enabled.', textEnable: 'Enable', txtMarkupSimpleCap: 'Simple Markup', - txtMarkupSimple: 'All changes (Editing)
Turn off balloons' + txtMarkupSimple: 'All changes {0}
Turn off balloons', + txtEditing: 'Editing', + txtPreview: 'Preview' } }()), Common.Views.ReviewChanges || {})); diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 1a50ea0b2..aa52f44fa 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -386,19 +386,19 @@ "Common.Views.ReviewChanges.txtCommentResolveMyCurrent": "Resolve My Current Comments", "Common.Views.ReviewChanges.txtCompare": "Compare", "Common.Views.ReviewChanges.txtDocLang": "Language", - "Common.Views.ReviewChanges.txtFinal": "All changes accepted (Preview)", + "Common.Views.ReviewChanges.txtFinal": "All changes accepted {0}", "Common.Views.ReviewChanges.txtFinalCap": "Final", "Common.Views.ReviewChanges.txtHistory": "Version History", - "Common.Views.ReviewChanges.txtMarkup": "All changes (Editing)", + "Common.Views.ReviewChanges.txtMarkup": "All changes {0}", "Common.Views.ReviewChanges.txtMarkupCap": "Markup and balloons", - "Common.Views.ReviewChanges.txtMarkupSimple": "All changes (Editing)
No balloons", + "Common.Views.ReviewChanges.txtMarkupSimple": "All changes {0}
No balloons", "Common.Views.ReviewChanges.txtMarkupSimpleCap": "Only markup", "Common.Views.ReviewChanges.txtNext": "Next", "Common.Views.ReviewChanges.txtOff": "OFF for me", "Common.Views.ReviewChanges.txtOffGlobal": "OFF for me and everyone", "Common.Views.ReviewChanges.txtOn": "ON for me", "Common.Views.ReviewChanges.txtOnGlobal": "ON for me and everyone", - "Common.Views.ReviewChanges.txtOriginal": "All changes rejected (Preview)", + "Common.Views.ReviewChanges.txtOriginal": "All changes rejected {0}", "Common.Views.ReviewChanges.txtOriginalCap": "Original", "Common.Views.ReviewChanges.txtPrev": "Previous", "Common.Views.ReviewChanges.txtReject": "Reject", @@ -409,6 +409,8 @@ "Common.Views.ReviewChanges.txtSpelling": "Spell Checking", "Common.Views.ReviewChanges.txtTurnon": "Track Changes", "Common.Views.ReviewChanges.txtView": "Display Mode", + "Common.Views.ReviewChanges.txtEditing": "Editing", + "Common.Views.ReviewChanges.txtPreview": "Preview", "Common.Views.ReviewChangesDialog.textTitle": "Review Changes", "Common.Views.ReviewChangesDialog.txtAccept": "Accept", "Common.Views.ReviewChangesDialog.txtAcceptAll": "Accept All Changes",