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"> @@ -90,6 +90,13 @@ export default { validator: id => id.trim() !== '', }, }, + + data() { + return { + submitTranslated: t('Submit'), + } + }, + computed: { /** * @returns {string} diff --git a/src/components/SettingsSection/SettingsSection.vue b/src/components/SettingsSection/SettingsSection.vue index 0b9be12be7..5c230d3ccc 100644 --- a/src/components/SettingsSection/SettingsSection.vue +++ b/src/components/SettingsSection/SettingsSection.vue @@ -48,7 +48,7 @@ This component is to be used in the settings section of nextcloud. :href="docUrl" class="settings-section__info" role="" - :title="t('External documentation for {title}', {title})" /> + :title="docTitleTranslated" />
@@ -82,6 +82,14 @@ export default { }, }, + data() { + return { + docTitleTranslated: t('External documentation for {title}', { + title: this.title, + }), + } + }, + computed: { hasDescription() { return this.description.length > 0