Fix #161 and #161: initial french translation

This commit is contained in:
Eliot Berriot 2018-06-30 20:32:05 +02:00
parent 52a8fa1f48
commit aab048dd32
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
4 changed files with 362 additions and 300 deletions

View File

@ -19,6 +19,8 @@ review_front:
when: manual
allow_failure: true
before_script:
- apt-get update
- apt-get install jq -y
- cd front
script:
- yarn install
@ -176,8 +178,9 @@ build_front:
stage: build
image: node:9
before_script:
- apt-get update
- apt-get install jq -y
- cd front
script:
- yarn install
- yarn run i18n-compile

View File

@ -0,0 +1 @@
New translation workflow (#161, #167)

File diff suppressed because it is too large Load Diff

View File

@ -71,15 +71,15 @@ export default {
},
computed: {
groups () {
// somehow, extraction fails if in the return block directly
let instanceLabel = this.$gettext('Instance information')
let usersLabel = this.$gettext('Users')
let importsLabel = this.$gettext('Imports')
let playlistsLabel = this.$gettext('Playlists')
let federationLabel = this.$gettext('Federation')
let subsonicLabel = this.$gettext('Subsonic')
let statisticsLabel = this.$gettext('Statistics')
let errorLabel = this.$gettext('Error reporting')
// somehow, extraction fails if in the return block directly
let instanceLabel = this.$gettext('Instance information')
let usersLabel = this.$gettext('Users')
let importsLabel = this.$gettext('Imports')
let playlistsLabel = this.$gettext('Playlists')
let federationLabel = this.$gettext('Federation')
let subsonicLabel = this.$gettext('Subsonic')
let statisticsLabel = this.$gettext('Statistics')
let errorLabel = this.$gettext('Error reporting')
return [
{
label: instanceLabel,