From 5db5f4d63b46e2f00efb3aeacdd96fac3f3ef780 Mon Sep 17 00:00:00 2001 From: McMatts Date: Mon, 14 Mar 2022 12:01:46 -0400 Subject: [PATCH] i18n continuation --- gui/app/components/document/page-heading.js | 3 +- .../components/document/document-toolbar.hbs | 5 +- .../components/folder/settings-general.hbs | 14 ++--- gui/public/i18n/en-US.json | 52 ++++++++++++++----- 4 files changed, 49 insertions(+), 25 deletions(-) diff --git a/gui/app/components/document/page-heading.js b/gui/app/components/document/page-heading.js index 2682a96b..0fc47ba4 100644 --- a/gui/app/components/document/page-heading.js +++ b/gui/app/components/document/page-heading.js @@ -79,8 +79,7 @@ export default Component.extend(Notifier, ModalMixin, { this._super(...arguments); let pageId = this.get('page.id'); - let url = window.location.protocol + '//' + this.get('appMeta.appHost') + - this.get('router').generate('document.index', {queryParams: {currentPageId: pageId}}); + let url = window.location.protocol + '//' + this.get('appMeta.appHost') + this.get('router').generate('document.index', {queryParams: {currentPageId: pageId}}); let self = this; let clip = new ClipboardJS('#page-copy-link-' + pageId, { diff --git a/gui/app/templates/components/document/document-toolbar.hbs b/gui/app/templates/components/document/document-toolbar.hbs index edbc2cff..b901be8b 100644 --- a/gui/app/templates/components/document/document-toolbar.hbs +++ b/gui/app/templates/components/document/document-toolbar.hbs @@ -19,7 +19,7 @@ {{/if}} {{/if}} - {{#ui/ui-toolbar-dropdown label="Content" arrow=true}} + {{#ui/ui-toolbar-dropdown label=(localize 'content') arrow=true}} {{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}