From 6299ae37d148515151401773d847025e2920e778 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Fri, 26 Nov 2021 13:51:11 +0300 Subject: [PATCH] [SSE] Add translations for print preview --- .../main/app/view/FileMenuPanels.js | 2 +- apps/spreadsheeteditor/main/locale/en.json | 41 ++++++++++++++++++- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index ed20a0112..de1a5ae25 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -3258,6 +3258,6 @@ define([ txtOf: 'of {0}', txtSheet: 'Sheet: {0}', txtPageNumInvalid: 'Page number invalid' - }, SSE.Views.FileMenuPanels.PrintWithPreview || {})); + }, SSE.Views.PrintWithPreview || {})); }); diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index b2b5fa6d1..c1beec68d 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -3477,6 +3477,8 @@ "SSE.Views.Toolbar.txtTime": "Time", "SSE.Views.Toolbar.txtUnmerge": "Unmerge Cells", "SSE.Views.Toolbar.txtYen": "¥ Yen", + "SSE.Views.Toolbar.textPrintGridlines": "Print gridlines", + "SSE.Views.Toolbar.textPrintHeadings": "Print headings", "SSE.Views.Top10FilterDialog.textType": "Show", "SSE.Views.Top10FilterDialog.txtBottom": "Bottom", "SSE.Views.Top10FilterDialog.txtBy": "by", @@ -3561,5 +3563,42 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Enter a password to unprotect sheet", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Unprotect Sheet", "SSE.Views.WBProtection.txtWBUnlockDescription": "Enter a password to unprotect workbook", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect Workbook" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect Workbook", + "SSE.Views.PrintWithPreview.txtPrint": "Print", + "SSE.Views.PrintWithPreview.txtSave": "Save", + "SSE.Views.PrintWithPreview.txtPrintRange": "Print range", + "SSE.Views.PrintWithPreview.txtCurrentSheet": "Current sheet", + "SSE.Views.PrintWithPreview.txtAllSheets": "All sheets", + "SSE.Views.PrintWithPreview.txtSelection": "Selection", + "SSE.Views.PrintWithPreview.txtSettingsOfSheet": "Settings of sheet", + "SSE.Views.PrintWithPreview.txtPageSize": "Page size", + "SSE.Views.PrintWithPreview.txtPageOrientation": "Page orientation", + "SSE.Views.PrintWithPreview.txtPortrait": "Portrait", + "SSE.Views.PrintWithPreview.txtLandscape": "Landscape", + "SSE.Views.PrintWithPreview.txtScaling": "Scaling", + "SSE.Views.PrintWithPreview.txtActualSize": "Actual Size", + "SSE.Views.PrintWithPreview.txtFitPage": "Fit Sheet on One Page", + "SSE.Views.PrintWithPreview.txtFitCols": "Fit All Columns on One Page", + "SSE.Views.PrintWithPreview.txtFitRows": "Fit All Rows on One Pag", + "SSE.Views.PrintWithPreview.txtCustom": "Custom", + "SSE.Views.PrintWithPreview.txtCustomOptions": "Custom Options", + "SSE.Views.PrintWithPreview.txtPrintTitles": "Print titles", + "SSE.Views.PrintWithPreview.txtRepeatRowsAtTop": "Repeat rows at top", + "SSE.Views.PrintWithPreview.txtRepeatColumnsAtLeft": "Repeat columns at left", + "SSE.Views.PrintWithPreview.txtRepeat": "Repeat...", + "SSE.Views.PrintWithPreview.txtMargins": "Margins", + "SSE.Views.PrintWithPreview.txtTop": "Top", + "SSE.Views.PrintWithPreview.txtBottom": "Bottom", + "SSE.Views.PrintWithPreview.txtLeft": "Left", + "SSE.Views.PrintWithPreview.txtRight": "Right", + "SSE.Views.PrintWithPreview.txtGridlinesAndHeadings": "Gridlines and headings", + "SSE.Views.PrintWithPreview.txtPrintGrid": "Print gridlines", + "SSE.Views.PrintWithPreview.txtPrintHeadings": "Print row and columns headings", + "SSE.Views.PrintWithPreview.txtHeaderFooterSettings": "Header/footer settings", + "SSE.Views.PrintWithPreview.txtApplyToAllSheets": "Apply to all sheets", + "SSE.Views.PrintWithPreview.txtIgnore": "Ignore print area", + "SSE.Views.PrintWithPreview.txtPage": "Page", + "SSE.Views.PrintWithPreview.txtOf": "of {0}", + "SSE.Views.PrintWithPreview.txtSheet": "Sheet: {0}", + "SSE.Views.PrintWithPreview.txtPageNumInvalid": "Page number invalid" } \ No newline at end of file