chore: update locale

This commit is contained in:
vben
2024-06-29 15:41:10 +08:00
parent 36a4fcfad2
commit c58aa26dbf
35 changed files with 531 additions and 523 deletions

View File

@@ -43,10 +43,10 @@ function activeClass(theme: string): string[] {
function nameView(name: string) {
switch (name) {
case 'light': {
return $t('preferences.light');
return $t('preferences.theme.light');
}
case 'dark': {
return $t('preferences.dark');
return $t('preferences.theme.dark');
}
case 'auto': {
return $t('preferences.follow-system');
@@ -79,7 +79,7 @@ function nameView(name: string) {
:disabled="modelValue !== 'light'"
class="mt-6"
>
{{ $t('preferences.dark-menu') }}
{{ $t('preferences.theme.dark-menu') }}
</SwitchItem>
</div>
</template>