Merge branch '662-mixin' into 'develop'
#662: Added translation context See merge request funkwhale/funkwhale!634
This commit is contained in:
commit
da2236e3c5
|
@ -105,7 +105,7 @@ export default {
|
|||
paginateBy: parseInt(this.defaultPaginateBy || 25),
|
||||
orderingDirection: defaultOrdering.direction || "+",
|
||||
ordering: defaultOrdering.field,
|
||||
orderingOptions: [["creation_date", "creation_date"], ["title", "title"]]
|
||||
orderingOptions: [["creation_date", "creation_date"], ["title", "album_title"]]
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
|
@ -5,38 +5,35 @@ export default {
|
|||
return {
|
||||
fields: {
|
||||
privacy_level: {
|
||||
label: this.$gettext('Activity visibility'),
|
||||
help: this.$gettext('Determine the visibility level of your activity'),
|
||||
label: this.$pgettext('Content/Settings/Dropdown.Label/Noun', 'Activity visibility'),
|
||||
help: this.$pgettext('Content/Settings/Dropdown.Help text', 'Determine the visibility level of your activity'),
|
||||
choices: {
|
||||
me: this.$gettext('Nobody except me'),
|
||||
instance: this.$gettext('Everyone on this instance'),
|
||||
me: this.$pgettext('Content/Settings/Dropdown', 'Nobody except me'),
|
||||
instance: this.$pgettext('Content/Settings/Dropdown', 'Everyone on this instance'),
|
||||
}
|
||||
}
|
||||
},
|
||||
filters: {
|
||||
creation_date: this.$gettext('Creation date'),
|
||||
first_seen: this.$gettext('First seen date'),
|
||||
last_seen: this.$gettext('Last seen 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'),
|
||||
domain: this.$gettext('Domain'),
|
||||
users: this.$gettext('Users'),
|
||||
received_messages: this.$gettext('Received messages'),
|
||||
uploads: this.$gettext('Uploads'),
|
||||
followers: this.$gettext('Followers'),
|
||||
creation_date: this.$pgettext('Content/*/Dropdown/Noun', 'Creation date'),
|
||||
first_seen: this.$pgettext('Content/Moderation/Dropdown/Noun', 'First seen date'),
|
||||
last_seen: this.$pgettext('Content/Moderation/Dropdown/Noun', 'Last seen date'),
|
||||
modification_date: this.$pgettext('Content/Playlist/Dropdown/Noun', 'Modification date'),
|
||||
expiration_date: this.$pgettext('Content/Admin/Table.Label/Noun', 'Expiration date'),
|
||||
track_title: this.$pgettext('Content/*/Dropdown/Noun', 'Track name'),
|
||||
album_title: this.$pgettext('Content/*/Dropdown/Noun', 'Album name'),
|
||||
artist_name: this.$pgettext('Content/*/Dropdown/Noun', 'Artist name'),
|
||||
name: this.$pgettext('Content/Moderation/*/Noun', 'Name'),
|
||||
size: this.$pgettext('Content/Library/*/Noun, in MB', 'Size'),
|
||||
bitrate: this.$pgettext('Content/*/*', 'Bitrate'),
|
||||
duration: this.$pgettext('Content/*/*', 'Duration'),
|
||||
date_joined: this.$pgettext('Content/Profile/*/Noun', 'Sign-up date'),
|
||||
last_activity: this.$pgettext('Content/Profile/*/Noun', 'Last activity'),
|
||||
username: this.$pgettext('Content/Profile/*/Noun', 'Username'),
|
||||
domain: this.$pgettext('Content/Moderation/*/Noun', 'Domain'),
|
||||
users: this.$pgettext('Content/Moderation/*/Noun', 'Users'),
|
||||
received_messages: this.$pgettext('Content/Moderation/Dropdown/Noun', 'Received messages'),
|
||||
uploads: this.$pgettext('Content/Moderation/Table.Label/Noun', 'Uploads'),
|
||||
followers: this.$pgettext('Content/Federation/*/Noun', 'Followers'),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -159,7 +159,7 @@ export default {
|
|||
ordering: 'creation_date',
|
||||
orderingOptions: [
|
||||
['creation_date', 'creation_date'],
|
||||
['title', 'title'],
|
||||
['title', 'track_title'],
|
||||
['size', 'size'],
|
||||
['duration', 'duration'],
|
||||
['bitrate', 'bitrate'],
|
||||
|
|
Loading…
Reference in New Issue