diff --git a/front/src/components/library/Albums.vue b/front/src/components/library/Albums.vue index f35d5236053078fe669ac6e94f847d3835c2f530..78014f240aff870f58977861b64e21f7bcb9687b 100644 --- a/front/src/components/library/Albums.vue +++ b/front/src/components/library/Albums.vue @@ -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() { diff --git a/front/src/components/mixins/Translations.vue b/front/src/components/mixins/Translations.vue index 9d237c9161bb14fb26339f18de51399ac924ac11..0ecc533868c2d5a391ccc73f8c9cf40c8a171205 100644 --- a/front/src/components/mixins/Translations.vue +++ b/front/src/components/mixins/Translations.vue @@ -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'), } } } diff --git a/front/src/views/content/libraries/FilesTable.vue b/front/src/views/content/libraries/FilesTable.vue index 3f8dc0e93d8aa18b67bfd98b66f4abd28a5019c6..ffbae81eedcdca8287658a608e9fa8eec327ca8d 100644 --- a/front/src/views/content/libraries/FilesTable.vue +++ b/front/src/views/content/libraries/FilesTable.vue @@ -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'],