Add ICU select to report strings (#5312)

This commit is contained in:
Jerozgen
2026-02-06 21:27:55 +03:00
committed by GitHub
parent 8789d7b057
commit 695233e736
2 changed files with 17 additions and 12 deletions

View File

@@ -559,11 +559,12 @@ const messages = defineMessages({
alreadyReportedDescription: {
id: 'report.already-reported-description',
defaultMessage:
'You have an open report for this {item} already. You can add more details to your report if you have more information to add.',
'You have an open report for this {item, select, project {project} version {version} user {user} other {content}} already. You can add more details to your report if you have more information to add.',
},
backToItem: {
id: 'report.back-to-item',
defaultMessage: 'Back to {item}',
defaultMessage:
'Back to {item, select, project {project} version {version} user {user} other {content}}',
},
goToReport: {
id: 'report.go-to-report',
@@ -609,19 +610,23 @@ const messages = defineMessages({
},
whatContentId: {
id: 'report.question.content-id',
defaultMessage: 'What is the ID of the {item}?',
defaultMessage:
'What is the ID of the {item, select, project {project} version {version} user {user} other {content}}?',
},
whatReportReason: {
id: 'report.question.report-reason',
defaultMessage: "Which of Modrinth's rules is this {item} violating?",
defaultMessage:
"Which of Modrinth's rules is this {item, select, project {project} version {version} user {user} other {content}} violating?",
},
checking: {
id: 'report.checking',
defaultMessage: 'Checking {item}...',
defaultMessage:
'Checking {item, select, project {project} version {version} user {user} other {content}}...',
},
couldNotFind: {
id: 'report.could-not-find',
defaultMessage: 'Could not find {item}',
defaultMessage:
'Could not find {item, select, project {project} version {version} user {user} other {content}}',
},
reportBodyTitle: {
id: 'report.body.title',