mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-24 16:56:16 -04:00
Fix translations in default locale
This commit is contained in:
parent
f103f37e16
commit
5f6d330386
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class Localization {
|
|||
static async setLocale(newLocale) {
|
||||
if (newLocale === Localization.locale) return false;
|
||||
|
||||
Localization.defaultTranslations = await Localization.fetchTranslationsFor(Localization.defaultLocale);
|
||||
Localization.translationsDefaultLocale = await Localization.fetchTranslationsFor(Localization.localeDefault);
|
||||
|
||||
const newTranslations = await Localization.fetchTranslationsFor(newLocale);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue