diff options
| author | kunish <[email protected]> | 2023-02-28 15:49:53 +0800 |
|---|---|---|
| committer | kunish <[email protected]> | 2023-02-28 15:49:53 +0800 |
| commit | 2a421573de1cd0f518f64de7204d8929a96c8124 (patch) | |
| tree | 146f69d48c7fe55b5eea4ce72314ca8fce3f911b /src/misc | |
| parent | ba46bae1df09e3c9f7fd4b39a007176caca8498a (diff) | |
fix: i18n not following system language setting
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/i18n.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc/i18n.ts b/src/misc/i18n.ts index 2c057e7..bbae42b 100644 --- a/src/misc/i18n.ts +++ b/src/misc/i18n.ts @@ -33,6 +33,8 @@ i18next p = allLocales.zh; break; case '/__en/translation.json': + p = allLocales.en; + break; default: p = allLocales.zh; break; |
