From 5fa591c84f9a20baee9ac237aada2ac4db39df54 Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 5 Dec 2017 10:51:48 +0200 Subject: [PATCH] lang fixes --- application/Espo/Resources/i18n/en_US/LayoutManager.json | 4 ++++ client/res/templates/admin/layouts/grid.tpl | 2 +- client/src/views/admin/layouts/grid.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/application/Espo/Resources/i18n/en_US/LayoutManager.json b/application/Espo/Resources/i18n/en_US/LayoutManager.json index cd481d4e47..b49a94a562 100644 --- a/application/Espo/Resources/i18n/en_US/LayoutManager.json +++ b/application/Espo/Resources/i18n/en_US/LayoutManager.json @@ -21,5 +21,9 @@ "warning": "Warning", "primary": "Primary" } + }, + "labels": { + "New panel": "New panel", + "Layout": "Layout" } } diff --git a/client/res/templates/admin/layouts/grid.tpl b/client/res/templates/admin/layouts/grid.tpl index 48cfcc1b6f..f297008a69 100644 --- a/client/res/templates/admin/layouts/grid.tpl +++ b/client/res/templates/admin/layouts/grid.tpl @@ -141,7 +141,7 @@
-
Layout
+
{{translate 'Layout' scope='LayoutManager'}}
{{translate 'Add Panel' scope='Admin'}}
    diff --git a/client/src/views/admin/layouts/grid.js b/client/src/views/admin/layouts/grid.js index 3d0dfbf932..9e4967d560 100644 --- a/client/src/views/admin/layouts/grid.js +++ b/client/src/views/admin/layouts/grid.js @@ -183,7 +183,7 @@ Espo.define('views/admin/layouts/grid', 'views/admin/layouts/base', function (De empty = true; } - data = data || {customLabel: this.translate('New panel', 'labels', 'Admin'), rows: [[]]}; + data = data || {customLabel: this.translate('New panel', 'labels', 'LayoutManager'), rows: [[]]}; data.label = data.label || '';