Refactor settings to use common lang keys for titles (#1674)

This commit is contained in:
Prospector
2024-04-10 18:30:13 -07:00
committed by GitHub
parent 9c4421bfe0
commit 372d021062
11 changed files with 82 additions and 103 deletions

View File

@@ -7,7 +7,7 @@
proceed-label="Revoke"
@proceed="revokeApp(revokingId)"
/>
<h2>Authorizations</h2>
<h2>{{ formatMessage(commonSettingsMessages.authorizedApps) }}</h2>
<p>
When you authorize an application with your Modrinth account, you grant it access to your
account. You can manage and review access to your account here at any time.
@@ -89,9 +89,11 @@
</template>
<script setup>
import { Button, TrashIcon, CheckIcon, ConfirmModal, Avatar } from 'omorphia'
import { commonSettingsMessages } from '~/utils/common-messages.ts'
import { useScopes } from '~/composables/auth/scopes.ts'
const { formatMessage } = useVIntl()
const { scopesToDefinitions } = useScopes()
const revokingId = ref(null)