From c06650fa50cf50512bac9ac74d09483e8aea2a9f Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 27 Feb 2020 13:31:31 +0300 Subject: [PATCH] [DE] Change text for empty navigation panel (#354) --- apps/common/main/resources/less/dataview.less | 3 +++ apps/common/main/resources/less/listview.less | 3 +++ apps/common/main/resources/less/treeview.less | 3 +++ apps/documenteditor/main/app/view/Navigation.js | 2 +- apps/documenteditor/main/locale/cs.json | 2 +- apps/documenteditor/main/locale/en.json | 2 +- apps/documenteditor/main/locale/ru.json | 2 +- 7 files changed, 13 insertions(+), 4 deletions(-) diff --git a/apps/common/main/resources/less/dataview.less b/apps/common/main/resources/less/dataview.less index a212b8b65..8591a2e24 100644 --- a/apps/common/main/resources/less/dataview.less +++ b/apps/common/main/resources/less/dataview.less @@ -10,6 +10,9 @@ height: 100%; width: 100%; color: #b2b2b2; + td { + padding: 5px; + } } } diff --git a/apps/common/main/resources/less/listview.less b/apps/common/main/resources/less/listview.less index d1c20d9bc..4dc18d461 100644 --- a/apps/common/main/resources/less/listview.less +++ b/apps/common/main/resources/less/listview.less @@ -13,6 +13,9 @@ width: 100%; height: 100%; color: #b2b2b2; + td { + padding: 5px; + } } } diff --git a/apps/common/main/resources/less/treeview.less b/apps/common/main/resources/less/treeview.less index c5b43ea1e..c1c185bb9 100644 --- a/apps/common/main/resources/less/treeview.less +++ b/apps/common/main/resources/less/treeview.less @@ -10,6 +10,9 @@ height: 100%; width: 100%; color: #b2b2b2; + td { + padding: 5px; + } } } diff --git a/apps/documenteditor/main/app/view/Navigation.js b/apps/documenteditor/main/app/view/Navigation.js index 9353041b5..258e2f618 100644 --- a/apps/documenteditor/main/app/view/Navigation.js +++ b/apps/documenteditor/main/app/view/Navigation.js @@ -155,7 +155,7 @@ define([ txtExpand: 'Expand all', txtCollapse: 'Collapse all', txtExpandToLevel: 'Expand to level...', - txtEmpty: 'This document doesn\'t contain headings', + txtEmpty: 'There are no headings in the document.
Apply a heading style to the text so that it appears in the table of contents.', txtEmptyItem: 'Empty Heading' }, DE.Views.Navigation || {})); diff --git a/apps/documenteditor/main/locale/cs.json b/apps/documenteditor/main/locale/cs.json index 5dc5c015f..3e8c69173 100644 --- a/apps/documenteditor/main/locale/cs.json +++ b/apps/documenteditor/main/locale/cs.json @@ -1763,7 +1763,7 @@ "DE.Views.MailMergeSettings.warnProcessMailMerge": "Spuštění hromadné korespondence se nezdařilo", "DE.Views.Navigation.txtCollapse": "Sbalit vše", "DE.Views.Navigation.txtDemote": "Degradovat", - "DE.Views.Navigation.txtEmpty": "Tento dokument neobsahuje záhlaví", + "DE.Views.Navigation.txtEmpty": "V dokumentu nebyly nalezeny žádné nadpisy.
Použijte na ně v textu styly pro nadpisy, aby se objevily v tabulce obsahu.", "DE.Views.Navigation.txtEmptyItem": "Prázdné záhlaví", "DE.Views.Navigation.txtExpand": "Rozbalit vše", "DE.Views.Navigation.txtExpandToLevel": "Rozbalit po úroveň", diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index dc52c8e4a..e4fc7c79b 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -1764,7 +1764,7 @@ "DE.Views.MailMergeSettings.warnProcessMailMerge": "Starting merge failed", "DE.Views.Navigation.txtCollapse": "Collapse all", "DE.Views.Navigation.txtDemote": "Demote", - "DE.Views.Navigation.txtEmpty": "This document doesn't contain headings", + "DE.Views.Navigation.txtEmpty": "There are no headings in the document.
Apply a heading style to the text so that it appears in the table of contents.", "DE.Views.Navigation.txtEmptyItem": "Empty Heading", "DE.Views.Navigation.txtExpand": "Expand all", "DE.Views.Navigation.txtExpandToLevel": "Expand to level", diff --git a/apps/documenteditor/main/locale/ru.json b/apps/documenteditor/main/locale/ru.json index 966c5274a..e65a6f651 100644 --- a/apps/documenteditor/main/locale/ru.json +++ b/apps/documenteditor/main/locale/ru.json @@ -1764,7 +1764,7 @@ "DE.Views.MailMergeSettings.warnProcessMailMerge": "Не удалось начать слияние", "DE.Views.Navigation.txtCollapse": "Свернуть все", "DE.Views.Navigation.txtDemote": "Понизить уровень", - "DE.Views.Navigation.txtEmpty": "Этот документ не содержит заголовков", + "DE.Views.Navigation.txtEmpty": "В документе нет заголовков.
Примените стиль заголовка к тексту, чтобы он появился в оглавлении.", "DE.Views.Navigation.txtEmptyItem": "Пустой заголовок", "DE.Views.Navigation.txtExpand": "Развернуть все", "DE.Views.Navigation.txtExpandToLevel": "Развернуть до уровня",