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
interfect
funkwhale
Commits
0a22504f
Verified
Commit
0a22504f
authored
Oct 05, 2018
by
Eliot Berriot
Browse files
See #559: added a mixin to store common translations
parent
c4318b4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
front/src/components/mixins/Translations.vue
0 → 100644
View file @
0a22504f
<
script
>
export
default
{
computed
:
{
sharedLabels
()
{
return
{
filters
:
{
creation_date
:
this
.
$gettext
(
'
Creation date
'
),
accessed_date
:
this
.
$gettext
(
'
Accessed date
'
),
modification_date
:
this
.
$gettext
(
'
Modification date
'
),
imported_date
:
this
.
$gettext
(
'
Imported date
'
),
expiration_date
:
this
.
$gettext
(
'
Expiration date
'
),
track_title
:
this
.
$gettext
(
'
Track name
'
),
album_title
:
this
.
$gettext
(
'
Album name
'
),
artist_name
:
this
.
$gettext
(
'
Artist name
'
),
name
:
this
.
$gettext
(
'
Name
'
),
title
:
this
.
$gettext
(
'
Title
'
),
size
:
this
.
$gettext
(
'
Size
'
),
bitrate
:
this
.
$gettext
(
'
Bitrate
'
),
duration
:
this
.
$gettext
(
'
Duration
'
),
date_joined
:
this
.
$gettext
(
'
Sign-up date
'
),
last_activity
:
this
.
$gettext
(
'
Last activity
'
),
username
:
this
.
$gettext
(
'
Username
'
),
}
}
}
}
}
</
script
>
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