Update from Main

This commit is contained in:
Dragos 2022-12-18 12:55:39 +02:00 committed by GitHub
parent 20ef99ec6c
commit 10438ab777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ export default {
const App = this; const App = this;
(async function () { (async function () {
const defaultLang = await App.defaultLangage; const defaultLang = await App.defaultLanguage;
const locale = App.getPreferenceString("hl", defaultLang); const locale = App.getPreferenceString("hl", defaultLang);
if (locale !== App.TimeAgoConfig.locale) { if (locale !== App.TimeAgoConfig.locale) {
const localeTime = await import(`../node_modules/javascript-time-ago/locale/${locale}.json`) const localeTime = await import(`../node_modules/javascript-time-ago/locale/${locale}.json`)