refactor: reconstruct language files into multi-file structures (#4683)

* refactor: reconstruct language files into multi-file structures

* chore: typo
This commit is contained in:
Vben
2024-10-19 14:28:21 +08:00
committed by GitHub
parent d1ca09c7bb
commit 0df8c5c02c
93 changed files with 1707 additions and 1514 deletions

View File

@@ -40,19 +40,19 @@ const titleText = computed(() => {
switch (props.status) {
case '403': {
return $t('fallback.forbidden');
return $t('ui.fallback.forbidden');
}
case '404': {
return $t('fallback.pageNotFound');
return $t('ui.fallback.pageNotFound');
}
case '500': {
return $t('fallback.internalError');
return $t('ui.fallback.internalError');
}
case 'coming-soon': {
return $t('fallback.comingSoon');
return $t('ui.fallback.comingSoon');
}
case 'offline': {
return $t('fallback.offlineError');
return $t('ui.fallback.offlineError');
}
default: {
return '';
@@ -66,16 +66,16 @@ const descText = computed(() => {
}
switch (props.status) {
case '403': {
return $t('fallback.forbiddenDesc');
return $t('ui.fallback.forbiddenDesc');
}
case '404': {
return $t('fallback.pageNotFoundDesc');
return $t('ui.fallback.pageNotFoundDesc');
}
case '500': {
return $t('fallback.internalErrorDesc');
return $t('ui.fallback.internalErrorDesc');
}
case 'offline': {
return $t('fallback.offlineErrorDesc');
return $t('ui.fallback.offlineErrorDesc');
}
default: {
return '';