Removed unused translation strings.

Changed string `title` to `album_name` and `track_name` respectively
This commit is contained in:
jovuit 2019-03-01 12:39:25 +01:00 committed by Eliot Berriot
parent 65c01454f8
commit 83ec87d891
3 changed files with 26 additions and 29 deletions

View File

@ -105,7 +105,7 @@ export default {
paginateBy: parseInt(this.defaultPaginateBy || 25), paginateBy: parseInt(this.defaultPaginateBy || 25),
orderingDirection: defaultOrdering.direction || "+", orderingDirection: defaultOrdering.direction || "+",
ordering: defaultOrdering.field, ordering: defaultOrdering.field,
orderingOptions: [["creation_date", "creation_date"], ["title", "title"]] orderingOptions: [["creation_date", "creation_date"], ["title", "album_title"]]
} }
}, },
created() { created() {

View File

@ -5,38 +5,35 @@ export default {
return { return {
fields: { fields: {
privacy_level: { privacy_level: {
label: this.$gettext('Activity visibility'), label: this.$pgettext('Content/Settings/Dropdown.Label/Noun', 'Activity visibility'),
help: this.$gettext('Determine the visibility level of your activity'), help: this.$pgettext('Content/Settings/Dropdown.Help text', 'Determine the visibility level of your activity'),
choices: { choices: {
me: this.$gettext('Nobody except me'), me: this.$pgettext('Content/Settings/Dropdown', 'Nobody except me'),
instance: this.$gettext('Everyone on this instance'), instance: this.$pgettext('Content/Settings/Dropdown', 'Everyone on this instance'),
} }
} }
}, },
filters: { filters: {
creation_date: this.$gettext('Creation date'), creation_date: this.$pgettext('Content/*/Dropdown/Noun', 'Creation date'),
first_seen: this.$gettext('First seen date'), first_seen: this.$pgettext('Content/Moderation/Dropdown/Noun', 'First seen date'),
last_seen: this.$gettext('Last seen date'), last_seen: this.$pgettext('Content/Moderation/Dropdown/Noun', 'Last seen date'),
accessed_date: this.$gettext('Accessed date'), modification_date: this.$pgettext('Content/Playlist/Dropdown/Noun', 'Modification date'),
modification_date: this.$gettext('Modification date'), expiration_date: this.$pgettext('Content/Admin/Table.Label/Noun', 'Expiration date'),
imported_date: this.$gettext('Imported date'), track_title: this.$pgettext('Content/*/Dropdown/Noun', 'Track name'),
expiration_date: this.$gettext('Expiration date'), album_title: this.$pgettext('Content/*/Dropdown/Noun', 'Album name'),
track_title: this.$gettext('Track name'), artist_name: this.$pgettext('Content/*/Dropdown/Noun', 'Artist name'),
album_title: this.$gettext('Album name'), name: this.$pgettext('Content/Moderation/*/Noun', 'Name'),
artist_name: this.$gettext('Artist name'), size: this.$pgettext('Content/Library/*/Noun, in MB', 'Size'),
name: this.$gettext('Name'), bitrate: this.$pgettext('Content/*/*', 'Bitrate'),
title: this.$gettext('Title'), duration: this.$pgettext('Content/*/*', 'Duration'),
size: this.$gettext('Size'), date_joined: this.$pgettext('Content/Profile/*/Noun', 'Sign-up date'),
bitrate: this.$gettext('Bitrate'), last_activity: this.$pgettext('Content/Profile/*/Noun', 'Last activity'),
duration: this.$gettext('Duration'), username: this.$pgettext('Content/Profile/*/Noun', 'Username'),
date_joined: this.$gettext('Sign-up date'), domain: this.$pgettext('Content/Moderation/*/Noun', 'Domain'),
last_activity: this.$gettext('Last activity'), users: this.$pgettext('Content/Moderation/*/Noun', 'Users'),
username: this.$gettext('Username'), received_messages: this.$pgettext('Content/Moderation/Dropdown/Noun', 'Received messages'),
domain: this.$gettext('Domain'), uploads: this.$pgettext('Content/Moderation/Table.Label/Noun', 'Uploads'),
users: this.$gettext('Users'), followers: this.$pgettext('Content/Federation/*/Noun', 'Followers'),
received_messages: this.$gettext('Received messages'),
uploads: this.$gettext('Uploads'),
followers: this.$gettext('Followers'),
} }
} }
} }

View File

@ -159,7 +159,7 @@ export default {
ordering: 'creation_date', ordering: 'creation_date',
orderingOptions: [ orderingOptions: [
['creation_date', 'creation_date'], ['creation_date', 'creation_date'],
['title', 'title'], ['title', 'track_title'],
['size', 'size'], ['size', 'size'],
['duration', 'duration'], ['duration', 'duration'],
['bitrate', 'bitrate'], ['bitrate', 'bitrate'],