mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 14:46:04 +02:00
i18n
This commit is contained in:
@@ -3,7 +3,9 @@
|
|||||||
<span v-if="avatarName" class="flex items-center mr-1"
|
<span v-if="avatarName" class="flex items-center mr-1"
|
||||||
>{{ avatarName }} <Lock v-if="avatarType && avatarType === '(own)'" class="h-4 w-4 ml-1"
|
>{{ avatarName }} <Lock v-if="avatarType && avatarType === '(own)'" class="h-4 w-4 ml-1"
|
||||||
/></span>
|
/></span>
|
||||||
<span v-else class="flex items-center mr-1 text-muted-foreground">Unknown Avatar</span>
|
<span v-else class="flex items-center mr-1 text-muted-foreground">{{
|
||||||
|
t('dialog.user.info.unknown_avatar')
|
||||||
|
}}</span>
|
||||||
<TooltipWrapper v-if="avatarTags">
|
<TooltipWrapper v-if="avatarTags">
|
||||||
<template #content>
|
<template #content>
|
||||||
<span class="truncate">{{ avatarTags }}</span>
|
<span class="truncate">{{ avatarTags }}</span>
|
||||||
@@ -16,10 +18,12 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { ref, watch } from 'vue';
|
import { ref, watch } from 'vue';
|
||||||
import { Lock } from 'lucide-vue-next';
|
import { Lock } from 'lucide-vue-next';
|
||||||
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import { TooltipWrapper } from './ui/tooltip';
|
import { TooltipWrapper } from './ui/tooltip';
|
||||||
import { useAvatarStore } from '../stores';
|
import { useAvatarStore } from '../stores';
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
const avatarStore = useAvatarStore();
|
const avatarStore = useAvatarStore();
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -1107,6 +1107,7 @@
|
|||||||
"memo_placeholder": "Click to add a memo",
|
"memo_placeholder": "Click to add a memo",
|
||||||
"avatar_info": "Avatar Info",
|
"avatar_info": "Avatar Info",
|
||||||
"avatar_info_last_seen": "Avatar Info Last Seen",
|
"avatar_info_last_seen": "Avatar Info Last Seen",
|
||||||
|
"unknown_avatar": "Unknown Avatar",
|
||||||
"represented_group": "Represented Group",
|
"represented_group": "Represented Group",
|
||||||
"bio": "Bio",
|
"bio": "Bio",
|
||||||
"last_seen": "Last Seen",
|
"last_seen": "Last Seen",
|
||||||
|
|||||||
Reference in New Issue
Block a user