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:
Calum H.
2026-05-29 15:55:39 +00:00
committed by GitHub
parent 5c1ffd9ff2
commit 047b8c3bf7
165 changed files with 1283 additions and 5626 deletions
@@ -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()