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

@@ -49,10 +49,10 @@ const appName = computed(() => preferences.app.name);
<div class="flex-col-center -enter-x mr-20 h-full">
<SloganIcon :alt="appName" class="animate-float h-64 w-2/5" />
<div class="text-1xl mt-6 font-sans text-white lg:text-2xl">
{{ $t('authentication.layout-title') }}
{{ $t('authentication.page-title') }}
</div>
<div class="dark:text-muted-foreground mt-2 text-white/60">
{{ $t('authentication.layout-desc') }}
{{ $t('authentication.page-desc') }}
</div>
</div>
</div>

View File

@@ -21,17 +21,17 @@ const menus = computed((): VbenDropdownMenuItem[] => [
{
icon: MdiDockLeft,
key: 'panel-left',
text: $t('layout.align-left'),
text: $t('authentication.layout.align-left'),
},
{
icon: MdiDockBottom,
key: 'panel-center',
text: $t('layout.center'),
text: $t('authentication.layout.center'),
},
{
icon: MdiDockRight,
key: 'panel-right',
text: $t('layout.align-right'),
text: $t('authentication.layout.align-right'),
},
]);

View File

@@ -25,7 +25,7 @@ function useContentSpinner() {
};
router.beforeEach((to) => {
if (to.meta.loaded || !enableLoading.value) {
if (to.meta.loaded || !enableLoading.value || to.meta.iframeSrc) {
return true;
}
startTime.value = performance.now();
@@ -34,7 +34,7 @@ function useContentSpinner() {
});
router.afterEach((to) => {
if (to.meta.loaded || !enableLoading.value) {
if (to.meta.loaded || !enableLoading.value || to.meta.iframeSrc) {
return true;
}