update copy

This commit is contained in:
Prospector
2026-08-07 17:58:38 -07:00
parent d8e53cf7dc
commit 7da7898836
2 changed files with 33 additions and 5 deletions
@@ -8,7 +8,20 @@
>
<div class="flex flex-col">
<p class="mb-4 mt-0 leading-normal">
{{ formatMessage(messages.body) }}
{{ formatMessage(messages.body1) }}
</p>
<p class="mb-4 mt-0 leading-normal">
<IntlFormatted :message-id="messages.body2">
<template #rules="{ children }">
<nuxt-link
to="/legal/rules#generative-ai"
target="_blank"
class="font-semibold text-orange hover:underline"
>
<component :is="() => normalizeChildren(children)" />
</nuxt-link>
</template>
</IntlFormatted>
</p>
<div class="flex justify-end">
<Button type="colored" color="brand" native-type="button" @click="hide">
@@ -22,7 +35,15 @@
<script setup lang="ts">
import { CheckCircleIcon } from '@modrinth/assets'
import { Button, commonMessages, defineMessages, NewModal, useVIntl } from '@modrinth/ui'
import {
Button,
commonMessages,
defineMessages,
IntlFormatted,
NewModal,
normalizeChildren,
useVIntl,
} from '@modrinth/ui'
import { useTemplateRef } from 'vue'
const { formatMessage } = useVIntl()
@@ -33,11 +54,15 @@ const messages = defineMessages({
id: 'project.ai-image-warning-modal.title',
defaultMessage: 'AI-generated images not allowed',
},
body: {
id: 'project.ai-image-warning-modal.body',
body1: {
id: 'project.ai-image-warning-modal.body.1',
defaultMessage:
'Using AI-generated images to represent your project is not allowed. Attempting to work around detection may lead to your Modrinth account being suspended.',
},
body2: {
id: 'project.ai-image-warning-modal.body.2',
defaultMessage: `See section 6 of <rules>Modrinth's Content Rules</rules> for more information on our generative AI policy.`,
},
})
function show() {
+4 -1
View File
@@ -3485,9 +3485,12 @@
"project.actions.servers-promo.title": {
"message": "Create a server"
},
"project.ai-image-warning-modal.body": {
"project.ai-image-warning-modal.body.1": {
"message": "Using AI-generated images to represent your project is not allowed. Attempting to work around detection may lead to your Modrinth account being suspended."
},
"project.ai-image-warning-modal.body.2": {
"message": "See section 6 of <rules>Modrinth's Content Rules</rules> for more information on our generative AI policy."
},
"project.ai-image-warning-modal.title": {
"message": "AI-generated images not allowed"
},