You've already forked AstralRinth
forked from didirus/AstralRinth
Refactor settings to use common lang keys for titles (#1674)
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
}}
|
||||
</Button>
|
||||
<Button :link="`/user/${auth.user.username}`">
|
||||
<UserIcon /> {{ formatMessage(messages.visitProfile) }}
|
||||
<UserIcon /> {{ formatMessage(commonMessages.visitYourProfile) }}
|
||||
</Button>
|
||||
</div>
|
||||
</section>
|
||||
@@ -96,10 +96,10 @@ import {
|
||||
UndoIcon,
|
||||
XIcon,
|
||||
} from 'omorphia'
|
||||
import { commonMessages } from '~/utils/common-messages'
|
||||
import { commonMessages } from '~/utils/common-messages.ts'
|
||||
|
||||
useHead({
|
||||
title: 'Account settings - Modrinth',
|
||||
title: 'Profile settings - Modrinth',
|
||||
})
|
||||
|
||||
definePageMeta({
|
||||
@@ -142,10 +142,6 @@ const messages = defineMessages({
|
||||
id: 'settings.profile.bio.description',
|
||||
defaultMessage: 'A short description to tell everyone a little bit about you.',
|
||||
},
|
||||
visitProfile: {
|
||||
id: 'settings.profile.visit-profile',
|
||||
defaultMessage: 'Visit your profile',
|
||||
},
|
||||
})
|
||||
|
||||
const auth = await useAuth()
|
||||
|
||||
Reference in New Issue
Block a user