feat: add Traditional Chinese locale support
Adds Traditional Chinese locale support and updates locale-related tests.
This commit is contained in:
9 files changed
+1742
-13
No files matched your search
@@ -1142,7 +1142,11 @@ watch(
|
||||
<SelectContent>
|
||||
<SelectItem v-for="locale in LOCALE_OPTIONS" :key="locale.value" :value="locale.value">
|
||||
<div class="flex items-center gap-2">
|
||||
<span>{{ locale.flag }}</span>
|
||||
<span
|
||||
class="inline-flex h-5 w-6 shrink-0 items-center justify-center text-sm font-medium leading-none"
|
||||
>
|
||||
{{ locale.flag }}
|
||||
</span>
|
||||
<span>{{ locale.label }}</span>
|
||||
</div>
|
||||
</SelectItem>
|
||||
|
||||
@@ -201,7 +201,12 @@ onBeforeUnmount(close);
|
||||
class="h-3 w-3 shrink-0"
|
||||
:class="[isItemSelected(item) ? selectedCheckClass : 'opacity-0']"
|
||||
/>
|
||||
<span v-if="item.leadingText" class="text-base leading-none">{{ item.leadingText }}</span>
|
||||
<span
|
||||
v-if="item.leadingText"
|
||||
class="inline-flex h-5 w-6 shrink-0 items-center justify-center text-sm font-medium leading-none"
|
||||
>
|
||||
{{ item.leadingText }}
|
||||
</span>
|
||||
<component
|
||||
:is="item.icon"
|
||||
v-if="item.icon"
|
||||
|
||||
Reference in new issue
Block a user