mirror of
https://github.com/modrinth/code.git
synced 2026-08-27 01:54:47 +00:00
fix: i18n string problems (#6131)
* fix: apply non-json i18n fixes * fix: pruning * fix: prepr * fix: run.mjs * fix: lint
This commit is contained in:
@@ -125,10 +125,9 @@
|
||||
</div>
|
||||
</section>
|
||||
<p>
|
||||
Changes will be applied to
|
||||
<strong>{{ selectedProjects.length }}</strong> project{{
|
||||
selectedProjects.length > 1 ? 's' : ''
|
||||
}}.
|
||||
{{
|
||||
formatMessage(messages.editLinksAffectedProjects, { count: selectedProjects.length })
|
||||
}}
|
||||
</p>
|
||||
<ul>
|
||||
<li
|
||||
@@ -339,6 +338,7 @@ import {
|
||||
Checkbox,
|
||||
commonMessages,
|
||||
CopyCode,
|
||||
defineMessages,
|
||||
DropdownSelect,
|
||||
injectModrinthClient,
|
||||
injectNotificationManager,
|
||||
@@ -359,6 +359,14 @@ const client = injectModrinthClient()
|
||||
const { addNotification } = injectNotificationManager()
|
||||
const { formatMessage } = useVIntl()
|
||||
|
||||
const messages = defineMessages({
|
||||
editLinksAffectedProjects: {
|
||||
id: 'organization.settings.projects.edit-links.affected-projects',
|
||||
defaultMessage:
|
||||
'Changes will be applied to {count, plural, one {# project} other {# projects}}.',
|
||||
},
|
||||
})
|
||||
|
||||
const { organization, projects, refresh } = injectOrganizationContext()
|
||||
|
||||
const auth = await useAuth()
|
||||
|
||||
Reference in New Issue
Block a user