Skip to content
Snippets Groups Projects
Commit 7e3fbbe0 authored by Jo Vuit's avatar Jo Vuit
Browse files

Added translation strings for admin/Settings.vue

Added the component type Menu in the doc, to match with secondary menu items
parent 22749ea2
No related branches found
No related tags found
No related merge requests found
...@@ -470,6 +470,7 @@ This hierarchical structure is made of several parts: ...@@ -470,6 +470,7 @@ This hierarchical structure is made of several parts:
- ``Label`` - ``Label``
- ``Link`` - ``Link``
- ``List item`` - ``List item``
- ``Menu``
- ``Message`` - ``Message``
- ``Paragraph`` - ``Paragraph``
- ``Placeholder`` - ``Placeholder``
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</div> </div>
<div class="four wide column"> <div class="four wide column">
<div class="ui sticky vertical secondary menu"> <div class="ui sticky vertical secondary menu">
<div class="header item"><translate>Sections</translate></div> <div class="header item"><translate :translate-context="'Content/Admin/Menu.Title'">Sections</translate></div>
<a :class="['menu', {active: group.id === current}, 'item']" <a :class="['menu', {active: group.id === current}, 'item']"
@click.prevent="scrollTo(group.id)" @click.prevent="scrollTo(group.id)"
:href="'#' + group.id" :href="'#' + group.id"
...@@ -72,19 +72,19 @@ export default { ...@@ -72,19 +72,19 @@ export default {
computed: { computed: {
labels() { labels() {
return { return {
settings: this.$gettext("Instance settings") settings: this.$pgettext('Head/Admin/Title', 'Instance settings')
} }
}, },
groups() { groups() {
// somehow, extraction fails if in the return block directly // somehow, extraction fails if in the return block directly
let instanceLabel = this.$gettext("Instance information") let instanceLabel = this.$pgettext('Content/Admin/Menu','Instance information')
let usersLabel = this.$gettext("Users") let usersLabel = this.$pgettext('Content/Admin/Menu', 'Users')
let musicLabel = this.$gettext("Music") let musicLabel = this.$pgettext('Content/Admin/Menu', 'Music')
let playlistsLabel = this.$gettext("Playlists") let playlistsLabel = this.$pgettext('Content/Admin/Menu', 'Playlists')
let federationLabel = this.$gettext("Federation") let federationLabel = this.$pgettext('Content/Admin/Menu', 'Federation')
let subsonicLabel = this.$gettext("Subsonic") let subsonicLabel = this.$pgettext('Content/Admin/Menu', 'Subsonic')
let statisticsLabel = this.$gettext("Statistics") let statisticsLabel = this.$pgettext('Content/Admin/Menu', 'Statistics')
let errorLabel = this.$gettext("Error reporting") let errorLabel = this.$pgettext('Content/Admin/Menu', 'Error reporting')
return [ return [
{ {
label: instanceLabel, label: instanceLabel,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment