aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-20 00:08:22 +0800
committerDan <danjm.com@gmail.com>2018-03-20 00:08:22 +0800
commit98f934fb53b0ff66c3de3d11e1ea22b54f956fe6 (patch)
tree7ed488e8f8802b768580dd5b129704d5593b5fca /ui/app
parent3191f2aa5ec4530df6dad6a750d60b797a84bda0 (diff)
downloadtangerine-wallet-browser-98f934fb53b0ff66c3de3d11e1ea22b54f956fe6.tar.gz
tangerine-wallet-browser-98f934fb53b0ff66c3de3d11e1ea22b54f956fe6.tar.zst
tangerine-wallet-browser-98f934fb53b0ff66c3de3d11e1ea22b54f956fe6.zip
Delete commented out code from i18n implementation that used globals.
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/settings.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/app/settings.js b/ui/app/settings.js
index 708d11082..809792f79 100644
--- a/ui/app/settings.js
+++ b/ui/app/settings.js
@@ -113,8 +113,6 @@ class Settings extends Component {
renderCurrentLocale () {
const { updateCurrentLocale, currentLocale } = this.props
- // const currentLocaleName = global.translator.localeName
- // const currentLocale = locales.find(locale => locale.code === currentLocaleName)
return h('div.settings__content-row', [
h('div.settings__content-item', [
@@ -128,10 +126,7 @@ class Settings extends Component {
options: getLocaleOptions(),
selectedOption: currentLocale,
onSelect: async (newLocale) => {
- // log('set new locale', newLocale)
- // await global.translator.setLocale(newLocale)
updateCurrentLocale(newLocale)
- // log('did set new locale', newLocale)
},
}),
]),