Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marcin Mikołajczak
funkwhale
Commits
aab048dd
Verified
Commit
aab048dd
authored
Jun 30, 2018
by
Eliot Berriot
Browse files
Fix #161 and #161: initial french translation
parent
52a8fa1f
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
aab048dd
...
...
@@ -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
...
...
changes/changelog.d/161.feature
0 → 100644
View file @
aab048dd
New
translation
workflow
(
#161, #167)
front/locales/fr_FR/LC_MESSAGES/app.po
View file @
aab048dd
This diff is collapsed.
Click to expand it.
front/src/views/admin/Settings.vue
View file @
aab048dd
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment