From 2ec5e250104f82f565c2faa1204518d95889c30e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Nov 2019 15:45:25 +0100 Subject: [PATCH] Add title to languages button --- src/components/I18n.vue | 14 ++++++++++---- src/locale/en_US/LC_MESSAGES/app.po | 4 ++-- src/locale/fr_FR/LC_MESSAGES/app.po | 4 ++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/components/I18n.vue b/src/components/I18n.vue index b224d73..28a51ad 100644 --- a/src/components/I18n.vue +++ b/src/components/I18n.vue @@ -2,11 +2,13 @@
@@ -67,6 +69,10 @@ methods: { buildLocaleLink (locale) { return process.env.BASE_URL + `${locale}/` + }, + + getButtonTitle () { + return this.$gettext('Change interface language') } } } diff --git a/src/locale/en_US/LC_MESSAGES/app.po b/src/locale/en_US/LC_MESSAGES/app.po index 3aa41f6..efa46f7 100644 --- a/src/locale/en_US/LC_MESSAGES/app.po +++ b/src/locale/en_US/LC_MESSAGES/app.po @@ -725,7 +725,7 @@ msgstr "KB" msgid "Kids" msgstr "Kids" -#: src/components/I18n.vue:7 +#: src/components/I18n.vue:8 msgid "Languages" msgstr "Languages" @@ -1282,7 +1282,7 @@ msgstr "This version also includes a notification system that allows users to be msgid "Torrent import" msgstr "Torrent import" -#: src/components/I18n.vue:20 +#: src/components/I18n.vue:22 msgid "Translate" msgstr "Translate" diff --git a/src/locale/fr_FR/LC_MESSAGES/app.po b/src/locale/fr_FR/LC_MESSAGES/app.po index 23cfc7e..9e8c58b 100644 --- a/src/locale/fr_FR/LC_MESSAGES/app.po +++ b/src/locale/fr_FR/LC_MESSAGES/app.po @@ -1254,7 +1254,7 @@ msgstr "Ko" msgid "Kids" msgstr "Enfants" -#: src/components/I18n.vue:7 +#: src/components/I18n.vue:8 msgid "Languages" msgstr "Langues" @@ -2379,7 +2379,7 @@ msgstr "" msgid "Torrent import" msgstr "Importation de Torrent" -#: src/components/I18n.vue:20 +#: src/components/I18n.vue:22 msgid "Translate" msgstr "Traduire"