mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
add AI report types + fix report page fetching (#7175)
* add AI report types + fix report page fetching * use auth middleware on report
This commit is contained in:
@@ -3995,9 +3995,15 @@
|
||||
"report.item-type.version": {
|
||||
"defaultMessage": "version"
|
||||
},
|
||||
"report.type.ai-images": {
|
||||
"defaultMessage": "AI-generated images in icon, gallery, or description"
|
||||
},
|
||||
"report.type.copyright": {
|
||||
"defaultMessage": "Reuploaded work"
|
||||
},
|
||||
"report.type.fully-ai-generated": {
|
||||
"defaultMessage": "Fully AI-generated project"
|
||||
},
|
||||
"report.type.inappropriate": {
|
||||
"defaultMessage": "Inappropriate"
|
||||
},
|
||||
|
||||
@@ -1049,6 +1049,14 @@ export const reportTypeMessages = defineMessages({
|
||||
id: 'report.type.missing-disclosure',
|
||||
defaultMessage: 'Missing or incorrect disclosure',
|
||||
},
|
||||
'ai-images': {
|
||||
id: 'report.type.ai-images',
|
||||
defaultMessage: 'AI-generated images in icon, gallery, or description',
|
||||
},
|
||||
'fully-ai-generated': {
|
||||
id: 'report.type.fully-ai-generated',
|
||||
defaultMessage: 'Fully AI-generated project',
|
||||
},
|
||||
})
|
||||
|
||||
export function formatReportType(formatMessage: FormatMessage, type: string | undefined): string {
|
||||
|
||||
Reference in New Issue
Block a user