aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/translate.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-22 02:31:31 +0800
committerFabio Berger <me@fabioberger.com>2018-02-22 02:31:31 +0800
commit0d7bf505810602e73b168bde6887f76e315c50ae (patch)
treeb69047e4825cc2eb9bf2265cfa81001d56ed6b79 /packages/website/ts/utils/translate.ts
parenta50618fcb0de2c9df7510d043a1d851a2f9456a5 (diff)
downloaddexon-sol-tools-0d7bf505810602e73b168bde6887f76e315c50ae.tar
dexon-sol-tools-0d7bf505810602e73b168bde6887f76e315c50ae.tar.gz
dexon-sol-tools-0d7bf505810602e73b168bde6887f76e315c50ae.tar.bz2
dexon-sol-tools-0d7bf505810602e73b168bde6887f76e315c50ae.tar.lz
dexon-sol-tools-0d7bf505810602e73b168bde6887f76e315c50ae.tar.xz
dexon-sol-tools-0d7bf505810602e73b168bde6887f76e315c50ae.tar.zst
dexon-sol-tools-0d7bf505810602e73b168bde6887f76e315c50ae.zip
Re-set language to browser
Diffstat (limited to 'packages/website/ts/utils/translate.ts')
-rw-r--r--packages/website/ts/utils/translate.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/utils/translate.ts b/packages/website/ts/utils/translate.ts
index db8683aa2..524a22c12 100644
--- a/packages/website/ts/utils/translate.ts
+++ b/packages/website/ts/utils/translate.ts
@@ -39,7 +39,7 @@ export class Translate {
} else if (_.includes(browserLanguage, 'ru-')) {
language = Language.Russian;
}
- this.setLanguage(Language.Russian);
+ this.setLanguage(language);
}
public getLanguage() {
return this._selectedLanguage;