perf: optimize the naming of locale key

This commit is contained in:
vince
2024-07-10 21:55:16 +08:00
parent 25a1e93ab2
commit 4674380266
59 changed files with 664 additions and 1253 deletions

View File

@@ -17,19 +17,19 @@ const headerMode = defineModel<LayoutHeaderModeType>('headerMode');
const localeItems: SelectListItem[] = [
{
label: $t('preferences.header.mode-static'),
label: $t('preferences.header.modeStatic'),
value: 'static',
},
{
label: $t('preferences.header.mode-fixed'),
label: $t('preferences.header.modeFixed'),
value: 'fixed',
},
{
label: $t('preferences.header.mode-auto'),
label: $t('preferences.header.modeAuto'),
value: 'auto',
},
{
label: $t('preferences.header.mode-auto-scroll'),
label: $t('preferences.header.modeAutoScroll'),
value: 'auto-scroll',
},
];