diff options
author | Fabio Berger <me@fabioberger.com> | 2018-02-22 02:31:31 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-02-22 02:31:31 +0800 |
commit | 0d7bf505810602e73b168bde6887f76e315c50ae (patch) | |
tree | b69047e4825cc2eb9bf2265cfa81001d56ed6b79 | |
parent | a50618fcb0de2c9df7510d043a1d851a2f9456a5 (diff) | |
download | dexon-0x-contracts-0d7bf505810602e73b168bde6887f76e315c50ae.tar dexon-0x-contracts-0d7bf505810602e73b168bde6887f76e315c50ae.tar.gz dexon-0x-contracts-0d7bf505810602e73b168bde6887f76e315c50ae.tar.bz2 dexon-0x-contracts-0d7bf505810602e73b168bde6887f76e315c50ae.tar.lz dexon-0x-contracts-0d7bf505810602e73b168bde6887f76e315c50ae.tar.xz dexon-0x-contracts-0d7bf505810602e73b168bde6887f76e315c50ae.tar.zst dexon-0x-contracts-0d7bf505810602e73b168bde6887f76e315c50ae.zip |
Re-set language to browser
-rw-r--r-- | packages/website/ts/utils/translate.ts | 2 |
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; |