refactor(client): i18n.locale -> i18n.ts
This commit is contained in:
parent
6ebab5f577
commit
57ec04d9ec
74 changed files with 424 additions and 424 deletions
|
|
@ -13,10 +13,10 @@ const props = defineProps<{
|
|||
|
||||
const text = $computed(() => {
|
||||
switch (props.user.onlineStatus) {
|
||||
case 'online': return i18n.locale.online;
|
||||
case 'active': return i18n.locale.active;
|
||||
case 'offline': return i18n.locale.offline;
|
||||
case 'unknown': return i18n.locale.unknown;
|
||||
case 'online': return i18n.ts.online;
|
||||
case 'active': return i18n.ts.active;
|
||||
case 'offline': return i18n.ts.offline;
|
||||
case 'unknown': return i18n.ts.unknown;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue