From ec733aa31557f662ad3f3a23dd00e92cdeb6f746 Mon Sep 17 00:00:00 2001 From: Jonas Rittershofer Date: Mon, 22 Mar 2021 13:44:48 +0100 Subject: [PATCH] Fix translation extraction Signed-off-by: Jonas Rittershofer --- build/extract-l10n.js | 4 ++-- l10n/messages.pot | 6 ++++++ src/components/AppSidebar/AppSidebar.vue | 3 ++- src/components/SettingsInputText/SettingsInputText.vue | 9 ++++++++- src/components/SettingsSection/SettingsSection.vue | 10 +++++++++- 5 files changed, 27 insertions(+), 5 deletions(-) diff --git a/build/extract-l10n.js b/build/extract-l10n.js index dcd9b06201..401e106300 100644 --- a/build/extract-l10n.js +++ b/build/extract-l10n.js @@ -11,8 +11,8 @@ extractor }), JsExtractors.callExpression('n', { arguments: { - text: 1, - textPlural: 2, + text: 0, + textPlural: 1, } }), ]) diff --git a/l10n/messages.pot b/l10n/messages.pot index 63a6e780c9..6c8267744f 100644 --- a/l10n/messages.pot +++ b/l10n/messages.pot @@ -26,6 +26,9 @@ msgstr "" msgid "Custom" msgstr "" +msgid "External documentation for {title}" +msgstr "" + msgid "Flags" msgstr "" @@ -83,6 +86,9 @@ msgstr "" msgid "Start slideshow" msgstr "" +msgid "Submit" +msgstr "" + msgid "Symbols" msgstr "" diff --git a/src/components/AppSidebar/AppSidebar.vue b/src/components/AppSidebar/AppSidebar.vue index e4ed81a789..1ed571fad2 100644 --- a/src/components/AppSidebar/AppSidebar.vue +++ b/src/components/AppSidebar/AppSidebar.vue @@ -131,7 +131,7 @@ class="app-sidebar-header"> @@ -365,6 +365,7 @@ export default { data() { return { + closeTranslated: t('Close'), isStarred: this.starred, } }, diff --git a/src/components/SettingsInputText/SettingsInputText.vue b/src/components/SettingsInputText/SettingsInputText.vue index 749bb75135..d3e5f16bdc 100644 --- a/src/components/SettingsInputText/SettingsInputText.vue +++ b/src/components/SettingsInputText/SettingsInputText.vue @@ -33,7 +33,7 @@ @input="onInput" @change="onChange">