fix the problem that cannot change language in transaction preset category page
This commit is contained in:
+1
-1
@@ -361,7 +361,7 @@ export function getDisplayCurrency(value, currencyCode, notConvertValue, transla
|
||||
|
||||
export function getI18nOptions() {
|
||||
return {
|
||||
legacy: false,
|
||||
legacy: true,
|
||||
locale: defaultLanguage,
|
||||
fallbackLocale: defaultLanguage,
|
||||
formatFallbackMessages: true,
|
||||
|
||||
+1
-1
@@ -186,7 +186,7 @@ function setLanguage(locale) {
|
||||
settings.setLanguage(locale);
|
||||
}
|
||||
|
||||
i18n.global.locale.value = locale;
|
||||
i18n.global.locale = locale;
|
||||
moment.updateLocale(locale, {
|
||||
months : app.config.globalProperties.$locale.getAllLongMonthNames(),
|
||||
monthsShort : app.config.globalProperties.$locale.getAllShortMonthNames(),
|
||||
|
||||
Reference in New Issue
Block a user