From 3ece9ea76411faabfde7cbd35d8532ff0be44871 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Tue, 16 Nov 2021 00:34:48 +0300 Subject: [PATCH] [DE] added translation Signed-off-by: Maxim Kadushkin --- apps/documenteditor/main/app/controller/Viewport.js | 5 +++-- apps/documenteditor/main/locale/en.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Viewport.js b/apps/documenteditor/main/app/controller/Viewport.js index cde524a90f..c04a548169 100644 --- a/apps/documenteditor/main/app/controller/Viewport.js +++ b/apps/documenteditor/main/app/controller/Viewport.js @@ -251,7 +251,7 @@ define([ mnuitemHideRulers.hide(); me.header.menuItemsDarkMode = new Common.UI.MenuItem({ - caption: 'Dark mode', + caption: me.txtDarkMode, checkable: true, checked: Common.UI.Themes.isContentThemeDark(), value: 'mode:dark' @@ -453,6 +453,7 @@ define([ }, textFitPage: 'Fit to Page', - textFitWidth: 'Fit to Width' + textFitWidth: 'Fit to Width', + txtDarkMode: 'Dark mode' }, DE.Controllers.Viewport)); }); diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index c5f30be24d..59c42d04cc 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -1227,6 +1227,7 @@ "DE.Controllers.Toolbar.txtSymbol_zeta": "Zeta", "DE.Controllers.Viewport.textFitPage": "Fit to Page", "DE.Controllers.Viewport.textFitWidth": "Fit to Width", + "DE.Controllers.Viewport.txtDarkMode": "Dark mode", "DE.Views.AddNewCaptionLabelDialog.textLabel": "Label:", "DE.Views.AddNewCaptionLabelDialog.textLabelError": "Label must not be empty.", "DE.Views.BookmarksDialog.textAdd": "Add",