diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-26 21:49:57 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-26 21:49:57 +1200 |
commit | d8cd9c2bba2b3bea5f6af15189f868fa6cffd9b0 (patch) | |
tree | d5db965d1e8aaece457f300ddc432caf5b6a25d5 /web/app/view/login/Login.js | |
parent | 15a540f2b585bb8c7cd7097386957ee332e3d202 (diff) | |
download | traccar-server-d8cd9c2bba2b3bea5f6af15189f868fa6cffd9b0.tar.gz traccar-server-d8cd9c2bba2b3bea5f6af15189f868fa6cffd9b0.tar.bz2 traccar-server-d8cd9c2bba2b3bea5f6af15189f868fa6cffd9b0.zip |
Implement language selection
Diffstat (limited to 'web/app/view/login/Login.js')
-rw-r--r-- | web/app/view/login/Login.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web/app/view/login/Login.js b/web/app/view/login/Login.js index fdaaadcfb..49fc8e011 100644 --- a/web/app/view/login/Login.js +++ b/web/app/view/login/Login.js @@ -33,6 +33,17 @@ Ext.define('Traccar.view.login.Login', { reference: 'form', items: [{ + xtype: 'combobox', + name: 'language', + fieldLabel: strings.login_language, + store: 'Languages', + displayField: 'name', + valueField: 'code', + submitValue: false, + listeners: { + select: 'onSelectLanguage' + } + }, { xtype: 'textfield', name: 'email', fieldLabel: strings.user_email, |