mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-02 09:04:40 +02:00
Add:Language code setting and translations #448
This commit is contained in:
parent
88fbebe5c4
commit
6621f8b2ee
63 changed files with 12972 additions and 279 deletions
|
@ -29,7 +29,7 @@
|
|||
<p class="text-xs">{{ $config.version }}</p>
|
||||
<div class="flex-grow" />
|
||||
<div v-if="user" class="flex items-center" @click="disconnect">
|
||||
<p class="text-xs pr-2">Disconnect</p>
|
||||
<p class="text-xs pr-2">{{ $strings.ButtonDisconnect }}</p>
|
||||
<i class="material-icons text-sm -mb-0.5">cloud_off</i>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -85,7 +85,7 @@ export default {
|
|||
var items = [
|
||||
{
|
||||
icon: 'home',
|
||||
text: 'Home',
|
||||
text: this.$strings.ButtonHome,
|
||||
to: '/bookshelf'
|
||||
}
|
||||
]
|
||||
|
@ -93,19 +93,19 @@ export default {
|
|||
items = [
|
||||
{
|
||||
icon: 'cloud_off',
|
||||
text: 'Connect to Server',
|
||||
text: this.$strings.ButtonConnectToServer,
|
||||
to: '/connect'
|
||||
}
|
||||
].concat(items)
|
||||
} else {
|
||||
items.push({
|
||||
icon: 'person',
|
||||
text: 'Account',
|
||||
text: this.$strings.HeaderAccount,
|
||||
to: '/account'
|
||||
})
|
||||
items.push({
|
||||
icon: 'equalizer',
|
||||
text: 'User Stats',
|
||||
text: this.$strings.ButtonUserStats,
|
||||
to: '/stats'
|
||||
})
|
||||
}
|
||||
|
@ -114,27 +114,27 @@ export default {
|
|||
items.push({
|
||||
icon: 'folder',
|
||||
iconOutlined: true,
|
||||
text: 'Local Media',
|
||||
text: this.$strings.ButtonLocalMedia,
|
||||
to: '/localMedia/folders'
|
||||
})
|
||||
} else {
|
||||
items.push({
|
||||
icon: 'download',
|
||||
iconOutlined: false,
|
||||
text: 'Downloads',
|
||||
text: this.$strings.HeaderDownloads,
|
||||
to: '/downloads'
|
||||
})
|
||||
}
|
||||
items.push({
|
||||
icon: 'settings',
|
||||
text: 'Settings',
|
||||
text: this.$strings.HeaderSettings,
|
||||
to: '/settings'
|
||||
})
|
||||
|
||||
if (this.serverConnectionConfig) {
|
||||
items.push({
|
||||
icon: 'login',
|
||||
text: 'Switch Server/User',
|
||||
text: this.$strings.ButtonSwitchServerUser,
|
||||
action: 'logout'
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue