Deduplicate common strings in translation (#5085)
* deduplicate common strings, part 1 * deduplicate common strings, part 2 * typo and general import mess fixes * detail common string * fix lint * fix lint TWO * adress review concerns + lint * app lint too * actually leave privateLabel untouched * lint fix THREE * fix: broken msg * fix: lint --------- Co-authored-by: Calum H. <contact@cal.engineer> Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
@@ -237,7 +237,7 @@
|
||||
<AdPlaceholder v-if="!auth.user" />
|
||||
<SidebarCard
|
||||
v-if="collection.id !== 'following'"
|
||||
:title="formatMessage(messages.detailsLabel)"
|
||||
:title="formatMessage(commonMessages.detailsLabel)"
|
||||
>
|
||||
<div class="flex flex-col gap-2">
|
||||
<span
|
||||
@@ -458,14 +458,6 @@ const messages = defineMessages({
|
||||
id: 'collection.label.curated-by',
|
||||
defaultMessage: 'Curated by',
|
||||
},
|
||||
descriptionLabel: {
|
||||
id: 'collection.label.description',
|
||||
defaultMessage: 'Description',
|
||||
},
|
||||
detailsLabel: {
|
||||
id: 'collection.label.details',
|
||||
defaultMessage: 'Details',
|
||||
},
|
||||
deleteModalDescription: {
|
||||
id: 'collection.delete-modal.description',
|
||||
defaultMessage: 'This will permanently delete this collection. This action cannot be undone.',
|
||||
|
||||
Reference in New Issue
Block a user