Fix #161 and #161: initial french translation

environments/review-front-fast-sc64e2/deployments/22
Eliot Berriot 2018-06-30 20:32:05 +02:00
rodzic 52a8fa1f48
commit aab048dd32
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
4 zmienionych plików z 362 dodań i 300 usunięć

Wyświetl plik

@ -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

Wyświetl plik

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

Wyświetl plik

@ -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,