forked from nutomic/joinpeertube
Add title to languages button
This commit is contained in:
parent
df592400dd
commit
2ec5e25010
3 changed files with 14 additions and 8 deletions
|
@ -2,11 +2,13 @@
|
|||
<div id="i18n">
|
||||
<b-dropdown>
|
||||
<template slot="button-content">
|
||||
<img :src="buildImgUrl('language.png')" alt="Change languages logo"/>
|
||||
<div :title="getButtonTitle()">
|
||||
<img :src="buildImgUrl('language.png')" alt=""/>
|
||||
|
||||
<div class="text">
|
||||
<translate>Languages</translate>
|
||||
<span class="caret"></span>
|
||||
<div class="text">
|
||||
<translate>Languages</translate>
|
||||
<span class="caret"></span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -67,6 +69,10 @@
|
|||
methods: {
|
||||
buildLocaleLink (locale) {
|
||||
return process.env.BASE_URL + `${locale}/`
|
||||
},
|
||||
|
||||
getButtonTitle () {
|
||||
return this.$gettext('Change interface language')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue