Commit 31ae2ecf authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'missing-localization' into 'develop'

Missing localization

See merge request funkwhale/funkwhale!289
parents 0f997f89 7c23d1a7
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -12,7 +12,8 @@ xgettext --language=JavaScript --keyword=npgettext:1c,2,3 \ ...@@ -12,7 +12,8 @@ xgettext --language=JavaScript --keyword=npgettext:1c,2,3 \
--from-code=utf-8 --join-existing --no-wrap \ --from-code=utf-8 --join-existing --no-wrap \
--package-name=$(node -e "console.log(require('./package.json').name);") \ --package-name=$(node -e "console.log(require('./package.json').name);") \
--package-version=$(node -e "console.log(require('./package.json').version);") \ --package-version=$(node -e "console.log(require('./package.json').version);") \
--output $locales_dir/app.pot $js_sources --output $locales_dir/app.pot $js_sources \
--no-wrap
# Fix broken files path/lines in pot # Fix broken files path/lines in pot
sed -e 's|#: src/|#: front/src/|' -i $locales_dir/app.pot sed -e 's|#: src/|#: front/src/|' -i $locales_dir/app.pot
...@@ -23,6 +24,6 @@ for lang in $locales; do \ ...@@ -23,6 +24,6 @@ for lang in $locales; do \
po_file=$locales_dir/$lang/LC_MESSAGES/app.po; \ po_file=$locales_dir/$lang/LC_MESSAGES/app.po; \
echo "msgmerge --update $po_file "; \ echo "msgmerge --update $po_file "; \
mkdir -p $(dirname $po_file); \ mkdir -p $(dirname $po_file); \
[ -f $po_file ] && msgmerge --lang=$lang --update $po_file $locales_dir/app.pot || msginit --no-translator --locale=$lang --input=$locales_dir/app.pot --output-file=$po_file; \ [ -f $po_file ] && msgmerge --lang=$lang --update $po_file $locales_dir/app.pot --no-wrap || msginit --no-wrap --no-translator --locale=$lang --input=$locales_dir/app.pot --output-file=$po_file; \
msgattrib --no-wrap --no-obsolete -o $po_file $po_file; \ msgattrib --no-wrap --no-obsolete -o $po_file $po_file; \
done; done;
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<div id="app"> <div id="app">
<div class="ui main text container instance-chooser" v-if="!$store.state.instance.instanceUrl"> <div class="ui main text container instance-chooser" v-if="!$store.state.instance.instanceUrl">
<div class="ui padded segment"> <div class="ui padded segment">
<h1 class="ui header">{{ $gettext('Choose your instance') }}</h1> <h1 class="ui header"><translate>Choose your instance</translate></h1>
<form class="ui form" @submit.prevent="$store.dispatch('instance/setUrl', instanceUrl)"> <form class="ui form" @submit.prevent="$store.dispatch('instance/setUrl', instanceUrl)">
<p>{{ $gettext('You need to select an instance in order to continue') }}</p> <p><translate>You need to select an instance in order to continue</translate></p>
<div class="ui action input"> <div class="ui action input">
<input type="text" v-model="instanceUrl"> <input type="text" v-model="instanceUrl">
<button type="submit" class="ui button">{{ $gettext('Submit') }}</button> <button type="submit" class="ui button"><translate>Submit</translate></button>
</div> </div>
<p>{{ $gettext('Suggested choices') }}</p> <p>{{ $gettext('Suggested choices') }}</p>
<div class="ui bulleted list"> <div class="ui bulleted list">
...@@ -30,17 +30,17 @@ ...@@ -30,17 +30,17 @@
<h4 v-translate class="ui header">Links</h4> <h4 v-translate class="ui header">Links</h4>
<div class="ui link list"> <div class="ui link list">
<router-link class="item" to="/about"> <router-link class="item" to="/about">
{{ $gettext('About this instance') }} <translate>About this instance</translate>
</router-link> </router-link>
<a href="https://funkwhale.audio" class="item" target="_blank">{{ $gettext('Official website') }}</a> <a href="https://funkwhale.audio" class="item" target="_blank"><translate>Official website</translate></a>
<a href="https://docs.funkwhale.audio" class="item" target="_blank">{{ $gettext('Documentation') }}</a> <a href="https://docs.funkwhale.audio" class="item" target="_blank"><translate>Documentation</translate></a>
<a href="https://code.eliotberriot.com/funkwhale/funkwhale" class="item" target="_blank"> <a href="https://code.eliotberriot.com/funkwhale/funkwhale" class="item" target="_blank">
<translate :translate-params="{version: version}" v-if="version">Source code (%{version})</translate> <translate :translate-params="{version: version}" v-if="version">Source code (%{version})</translate>
<translate v-else>Source code</translate> <translate v-else>Source code</translate>
</a> </a>
<a href="https://code.eliotberriot.com/funkwhale/funkwhale/issues" class="item" target="_blank">{{ $gettext('Issue tracker') }}</a> <a href="https://code.eliotberriot.com/funkwhale/funkwhale/issues" class="item" target="_blank"><translate>Issue tracker</translate></a>
<a @click="switchInstance" class="item" > <a @click="switchInstance" class="item" >
{{ $gettext('Use another instance') }} <translate>Use another instance</translate>
<template v-if="$store.state.instance.instanceUrl !== '/'"> <template v-if="$store.state.instance.instanceUrl !== '/'">
<br> <br>
({{ $store.state.instance.instanceUrl }}) ({{ $store.state.instance.instanceUrl }})
......
...@@ -6,20 +6,20 @@ ...@@ -6,20 +6,20 @@
<template v-if="instance.name.value" :template-params="{instance: instance.name}"> <template v-if="instance.name.value" :template-params="{instance: instance.name}">
About %{ instance } About %{ instance }
</template> </template>
<template v-else="instance.name.value">{{ $gettext('About this instance') }}</template> <template v-else="instance.name.value"><translate>About this instance</translate></template>
</h1> </h1>
<stats></stats> <stats></stats>
</div> </div>
</div> </div>
<div class="ui vertical stripe segment"> <div class="ui vertical stripe segment">
<p v-if="!instance.short_description.value && !instance.long_description.value"> <p v-if="!instance.short_description.value && !instance.long_description.value">
{{ $gettext('Unfortunately, owners of this instance did not yet take the time to complete this page.') }} <translate>Unfortunately, owners of this instance did not yet take the time to complete this page.</translate>
</p> </p>
<router-link <router-link
class="ui button" class="ui button"
v-if="$store.state.auth.availablePermissions['settings']" v-if="$store.state.auth.availablePermissions['settings']"
:to="{path: '/manage/settings', hash: 'instance'}"> :to="{path: '/manage/settings', hash: 'instance'}">
<i class="pencil icon"></i>{{ $gettext('Edit instance info') }} <i class="pencil icon"></i><translate>Edit instance info</translate>
</router-link> </router-link>
<div <div
v-if="instance.short_description.value" v-if="instance.short_description.value"
......
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
<div class="ui vertical center aligned stripe segment"> <div class="ui vertical center aligned stripe segment">
<div class="ui text container"> <div class="ui text container">
<h1 class="ui huge header"> <h1 class="ui huge header">
{{ $gettext('Welcome on Funkwhale') }} <translate>Welcome on Funkwhale</translate>
</h1> </h1>
<p>{{ $gettext('We think listening to music should be simple.') }}</p> <p><translate>We think listening to music should be simple.</translate></p>
<router-link class="ui icon button" to="/about"> <router-link class="ui icon button" to="/about">
<i class="info icon"></i> <i class="info icon"></i>
{{ $gettext('Learn more about this instance') }} <translate>Learn more about this instance</translate>
</router-link> </router-link>
<router-link class="ui icon teal button" to="/library"> <router-link class="ui icon teal button" to="/library">
{{ $gettext('Get me to the library') }} <translate>Get me to the library</translate>
<i class="right arrow icon"></i> <i class="right arrow icon"></i>
</router-link> </router-link>
</div> </div>
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
<div class="row"> <div class="row">
<div class="eight wide left floated column"> <div class="eight wide left floated column">
<h2 class="ui header"> <h2 class="ui header">
{{ $gettext('Why funkwhale?') }} <translate>Why funkwhale?</translate>
</h2> </h2>
<p>{{ $gettext('That\'s simple: we loved Grooveshark and we want to build something even better.') }}</p> <p><translate>That's simple: we loved Grooveshark and we want to build something even better.</translate></p>
</div> </div>
<div class="four wide left floated column"> <div class="four wide left floated column">
<img class="ui medium image" src="../assets/logo/logo.png" /> <img class="ui medium image" src="../assets/logo/logo.png" />
...@@ -35,26 +35,26 @@ ...@@ -35,26 +35,26 @@
<div class="ui middle aligned stackable text container"> <div class="ui middle aligned stackable text container">
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<h2 class="ui header"> <h2 class="ui header">
{{ $gettext('Unlimited music') }} <translate>Unlimited music</translate>
</h2> </h2>
<p>{{ $gettext('Funkwhale is designed to make it easy to listen to music you like, or to discover new artists.') }}</p> <p><translate>Funkwhale is designed to make it easy to listen to music you like, or to discover new artists.</translate></p>
<div class="ui list"> <div class="ui list">
<div class="item"> <div class="item">
<i class="sound icon"></i> <i class="sound icon"></i>
<div class="content"> <div class="content">
{{ $gettext('Click once, listen for hours using built-in radios') }} <translate>Click once, listen for hours using built-in radios</translate>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<i class="heart icon"></i> <i class="heart icon"></i>
<div class="content"> <div class="content">
{{ $gettext('Keep a track of your favorite songs') }} <translate>Keep a track of your favorite songs</translate>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<i class="list icon"></i> <i class="list icon"></i>
<div class="content"> <div class="content">
{{ $gettext('Playlists? We got them') }} <translate>Playlists? We got them</translate>
</div> </div>
</div> </div>
</div> </div>
...@@ -62,14 +62,14 @@ ...@@ -62,14 +62,14 @@
<div class="ui middle aligned stackable text container"> <div class="ui middle aligned stackable text container">
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<h2 class="ui header"> <h2 class="ui header">
{{ $gettext('Clean library') }} <translate>Clean library</translate>
</h2> </h2>
<p>{{ $gettext('Funkwhale takes care of handling your music') }}.</p> <p><translate>Funkwhale takes care of handling your music</translate>.</p>
<div class="ui list"> <div class="ui list">
<div class="item"> <div class="item">
<i class="download icon"></i> <i class="download icon"></i>
<div class="content"> <div class="content">
{{ $gettext('Import music from various platforms, such as YouTube or SoundCloud') }} <translate>Import music from various platforms, such as YouTube or SoundCloud</translate>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<div class="item"> <div class="item">
<i class="plus icon"></i> <i class="plus icon"></i>
<div class="content"> <div class="content">
{{ $gettext('Covers, lyrics, our goal is to have them all ;)') }} <translate>Covers, lyrics, our goal is to have them all ;)</translate>
</div> </div>
</div> </div>
</div> </div>
...@@ -94,20 +94,20 @@ ...@@ -94,20 +94,20 @@
<div class="ui middle aligned stackable text container"> <div class="ui middle aligned stackable text container">
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<h2 class="ui header"> <h2 class="ui header">
{{ $gettext('Easy to use') }} <translate>Easy to use</translate>
</h2> </h2>
<p>{{ $gettext('Funkwhale is dead simple to use.') }}</p> <p><translate>Funkwhale is dead simple to use.</translate></p>
<div class="ui list"> <div class="ui list">
<div class="item"> <div class="item">
<i class="book icon"></i> <i class="book icon"></i>
<div class="content"> <div class="content">
{{ $gettext('No add-ons, no plugins : you only need a web library') }} <translate>No add-ons, no plugins : you only need a web library</translate>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<i class="wizard icon"></i> <i class="wizard icon"></i>
<div class="content"> <div class="content">
{{ $gettext('Access your music from a clean interface that focus on what really matters') }} <translate>Access your music from a clean interface that focus on what really matters</translate>
</div> </div>
</div> </div>
</div> </div>
...@@ -115,26 +115,26 @@ ...@@ -115,26 +115,26 @@
<div class="ui middle aligned stackable text container"> <div class="ui middle aligned stackable text container">
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<h2 class="ui header"> <h2 class="ui header">
{{ $gettext('Your music, your way') }} <translate>Your music, your way</translate>
</h2> </h2>
<p>{{ $gettext('Funkwhale is free and gives you control on your music.') }}</p> <p><translate>Funkwhale is free and gives you control on your music.</translate></p>
<div class="ui list"> <div class="ui list">
<div class="item"> <div class="item">
<i class="smile icon"></i> <i class="smile icon"></i>
<div class="content"> <div class="content">
{{ $gettext('The plaform is free and open-source, you can install it and modify it without worries') }} <translate>The plaform is free and open-source, you can install it and modify it without worries</translate>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<i class="protect icon"></i> <i class="protect icon"></i>
<div class="content"> <div class="content">
{{ $gettext('We do not track you or bother you with ads') }} <translate>We do not track you or bother you with ads</translate>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<i class="users icon"></i> <i class="users icon"></i>
<div class="content"> <div class="content">
{{ $gettext('You can invite friends and family to your instance so they can enjoy your music') }} <translate>You can invite friends and family to your instance so they can enjoy your music</translate>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -5,14 +5,14 @@ ...@@ -5,14 +5,14 @@
<h1 class="ui huge header"> <h1 class="ui huge header">
<i class="warning icon"></i> <i class="warning icon"></i>
<div class="content"> <div class="content">
<strike>{{ $gettext('Whale') }}</strike> {{ $gettext('Page not found!') }} <strike><translate>Whale') }}</strike> {{ $gettext('Page not found!</translate>
</div> </div>
</h1> </h1>
<p>{{ $gettext('We\'re sorry, the page you asked for does not exist:') }}</p> <p><translate>We're sorry, the page you asked for does not exist:</translate></p>
<a :href="path">{{ path }}</a> <a :href="path">{{ path }}</a>
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<router-link class="ui icon button" to="/"> <router-link class="ui icon button" to="/">
{{ $gettext('Go to home page') }} <translate>Go to home page</translate>
<i class="right arrow icon"></i> <i class="right arrow icon"></i>
</router-link> </router-link>
</div> </div>
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
<div class="menu-area"> <div class="menu-area">
<div class="ui compact fluid two item inverted menu"> <div class="ui compact fluid two item inverted menu">
<a class="active item" @click="selectedTab = 'library'" data-tab="library">Browse</a> <a class="active item" @click="selectedTab = 'library'" data-tab="library"><translate>Browse</translate></a>
<a class="item" @click="selectedTab = 'queue'" data-tab="queue"> <a class="item" @click="selectedTab = 'queue'" data-tab="queue">
{{ $gettext('Queue') }}&nbsp; <translate>Queue</translate>&nbsp;
<template v-if="queue.tracks.length === 0"> <template v-if="queue.tracks.length === 0">
{{ $gettext('(empty)') }} <translate>(empty)</translate>
</template> </template>
<translate v-else :translate-params="{index: queue.currentIndex + 1, length: queue.tracks.length}"> <translate v-else :translate-params="{index: queue.currentIndex + 1, length: queue.tracks.length}">
(%{ index } of %{ length }) (%{ index } of %{ length })
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="ui bottom attached active tab" data-tab="library"> <div class="ui bottom attached active tab" data-tab="library">
<div class="ui inverted vertical large fluid menu"> <div class="ui inverted vertical large fluid menu">
<div class="item"> <div class="item">
<div class="header">{{ $gettext('My account') }}</div> <div class="header"><translate>My account</translate></div>
<div class="menu"> <div class="menu">
<router-link class="item" v-if="$store.state.auth.authenticated" :to="{name: 'profile', params: {username: $store.state.auth.username}}"> <router-link class="item" v-if="$store.state.auth.authenticated" :to="{name: 'profile', params: {username: $store.state.auth.username}}">
<i class="user icon"></i> <i class="user icon"></i>
...@@ -40,34 +40,34 @@ ...@@ -40,34 +40,34 @@
Logged in as %{ username } Logged in as %{ username }
</translate> </translate>
</router-link> </router-link>
<router-link class="item" v-if="$store.state.auth.authenticated" :to="{name: 'logout'}"><i class="sign out icon"></i>{{ $gettext('Logout') }}</router-link> <router-link class="item" v-if="$store.state.auth.authenticated" :to="{name: 'logout'}"><i class="sign out icon"></i><translate>Logout</translate></router-link>
<router-link class="item" v-else :to="{name: 'login'}"><i class="sign in icon"></i>{{ $gettext('Login') }}</router-link> <router-link class="item" v-else :to="{name: 'login'}"><i class="sign in icon"></i><translate>Login</translate></router-link>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="header">{{ $gettext('Music') }}</div> <div class="header"><translate>Music</translate></div>
<div class="menu"> <div class="menu">
<router-link class="item" :to="{path: '/library'}"><i class="sound icon"> </i>{{ $gettext('Browse library') }}</router-link> <router-link class="item" :to="{path: '/library'}"><i class="sound icon"> </i><translate>Browse library</translate></router-link>
<router-link class="item" v-if="$store.state.auth.authenticated" :to="{path: '/favorites'}"><i class="heart icon"></i>{{ $gettext('Favorites') }}</router-link> <router-link class="item" v-if="$store.state.auth.authenticated" :to="{path: '/favorites'}"><i class="heart icon"></i><translate>Favorites</translate></router-link>
<a <a
@click="$store.commit('playlists/chooseTrack', null)" @click="$store.commit('playlists/chooseTrack', null)"
v-if="$store.state.auth.authenticated" v-if="$store.state.auth.authenticated"
class="item"> class="item">
<i class="list icon"></i>{{ $gettext('Playlists') }} <i class="list icon"></i><translate>Playlists</translate>
</a> </a>
<router-link <router-link
v-if="$store.state.auth.authenticated" v-if="$store.state.auth.authenticated"
class="item" :to="{path: '/activity'}"><i class="bell icon"></i>{{ $gettext('Activity') }}</router-link> class="item" :to="{path: '/activity'}"><i class="bell icon"></i><translate>Activity</translate></router-link>
</div> </div>
</div> </div>
<div class="item" v-if="showAdmin"> <div class="item" v-if="showAdmin">
<div class="header">{{ $gettext('Administration') }}</div> <div class="header"><translate>Administration</translate></div>
<div class="menu"> <div class="menu">
<router-link <router-link
class="item" class="item"
v-if="$store.state.auth.availablePermissions['library']" v-if="$store.state.auth.availablePermissions['library']"
:to="{name: 'manage.library.files'}"> :to="{name: 'manage.library.files'}">
<i class="book icon"></i>{{ $gettext('Library') }} <i class="book icon"></i><translate>Library</translate>
<div <div
:class="['ui', {'teal': $store.state.ui.notifications.importRequests > 0}, 'label']" :class="['ui', {'teal': $store.state.ui.notifications.importRequests > 0}, 'label']"
:title="$gettext('Pending import requests')"> :title="$gettext('Pending import requests')">
...@@ -78,13 +78,13 @@ ...@@ -78,13 +78,13 @@
class="item" class="item"
v-else-if="$store.state.auth.availablePermissions['upload']" v-else-if="$store.state.auth.availablePermissions['upload']"
to="/library/import/launch"> to="/library/import/launch">
<i class="download icon"></i>{{ $gettext('Import music') }} <i class="download icon"></i><translate>Import music</translate>
</router-link> </router-link>
<router-link <router-link
class="item" class="item"
v-if="$store.state.auth.availablePermissions['federation']" v-if="$store.state.auth.availablePermissions['federation']"
:to="{path: '/manage/federation/libraries'}"> :to="{path: '/manage/federation/libraries'}">
<i class="sitemap icon"></i>{{ $gettext('Federation') }} <i class="sitemap icon"></i><translate>Federation</translate>
<div <div
:class="['ui', {'teal': $store.state.ui.notifications.federation > 0}, 'label']" :class="['ui', {'teal': $store.state.ui.notifications.federation > 0}, 'label']"
:title="$gettext('Pending follow requests')"> :title="$gettext('Pending follow requests')">
...@@ -94,13 +94,13 @@ ...@@ -94,13 +94,13 @@
class="item" class="item"
v-if="$store.state.auth.availablePermissions['settings']" v-if="$store.state.auth.availablePermissions['settings']"
:to="{path: '/manage/settings'}"> :to="{path: '/manage/settings'}">
<i class="settings icon"></i>{{ $gettext('Settings') }} <i class="settings icon"></i><translate>Settings</translate>
</router-link> </router-link>
<router-link <router-link
class="item" class="item"
v-if="$store.state.auth.availablePermissions['settings']" v-if="$store.state.auth.availablePermissions['settings']"
:to="{name: 'manage.users.users.list'}"> :to="{name: 'manage.users.users.list'}">
<i class="users icon"></i>{{ $gettext('Users') }} <i class="users icon"></i><translate>Users</translate>
</router-link> </router-link>
</div> </div>
</div> </div>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<i class="history icon"></i> <i class="history icon"></i>
<div class="content"> <div class="content">
<div class="header"> <div class="header">
{{ $gettext('Do you want to restore your previous queue?') }} <translate>Do you want to restore your previous queue?</translate>
</div> </div>
<p> <p>
<translate <translate
...@@ -121,8 +121,8 @@ ...@@ -121,8 +121,8 @@
</translate> </translate>
</p> </p>
<div class="ui two buttons"> <div class="ui two buttons">
<div @click="queue.restore()" class="ui basic inverted green button">{{ $gettext('Yes') }}</div> <div @click="queue.restore()" class="ui basic inverted green button"><translate>Yes</translate></div>
<div @click="queue.removePrevious()" class="ui basic inverted red button">{{ $gettext('No') }}</div> <div @click="queue.removePrevious()" class="ui basic inverted red button"><translate>No</translate></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -153,10 +153,10 @@ ...@@ -153,10 +153,10 @@
<div v-if="$store.state.radios.running" class="ui black message"> <div v-if="$store.state.radios.running" class="ui black message">
<div class="content"> <div class="content">
<div class="header"> <div class="header">
<i class="feed icon"></i> {{ $gettext('You have a radio playing') }} <i class="feed icon"></i> <translate>You have a radio playing</translate>
</div> </div>
<p>{{ $gettext('New tracks will be appended here automatically.') }}</p> <p><translate>New tracks will be appended here automatically.</translate></p>
<div @click="$store.dispatch('radios/stop')" class="ui basic inverted red button">{{ $gettext('Stop radio') }}</div> <div @click="$store.dispatch('radios/stop')" class="ui basic inverted red button"><translate>Stop radio</translate></div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<div class="ui divider" /> <div class="ui divider" />
<h3 class="ui header">{{ group.label }}</h3> <h3 class="ui header">{{ group.label }}</h3>
<div v-if="errors.length > 0" class="ui negative message"> <div v-if="errors.length > 0" class="ui negative message">
<div class="header">{{ $gettext('Error while saving settings') }}</div> <div class="header"><translate>Error while saving settings</translate></div>
<ul class="list"> <ul class="list">
<li v-for="error in errors">{{ error }}</li> <li v-for="error in errors">{{ error }}</li>
</ul> </ul>
</div> </div>
<div v-if="result" class="ui positive message"> <div v-if="result" class="ui positive message">
{{ $gettext('Settings updated successfully.') }} <translate>Settings updated successfully.</translate>
</div> </div>
<p v-if="group.help">{{ group.help }}</p> <p v-if="group.help">{{ group.help }}</p>
<div v-for="setting in settings" class="ui field"> <div v-for="setting in settings" class="ui field">
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<button <button
type="submit" type="submit"
:class="['ui', {'loading': isLoading}, 'right', 'floated', 'green', 'button']"> :class="['ui', {'loading': isLoading}, 'right', 'floated', 'green', 'button']">
{{ $gettext('Save') }} <translate>Save</translate>
</button> </button>