diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-10 19:16:38 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-10 19:16:38 +1200 |
commit | b36a8688af39b0d43126d46275f83fa9c940ed62 (patch) | |
tree | 2b5ac4606c9850d010067db129388c0cbc521e03 /web/app/view/login | |
parent | c5bfe9746e7c0382ca5ab767486f425e96fd0ace (diff) | |
download | traccar-server-b36a8688af39b0d43126d46275f83fa9c940ed62.tar.gz traccar-server-b36a8688af39b0d43126d46275f83fa9c940ed62.tar.bz2 traccar-server-b36a8688af39b0d43126d46275f83fa9c940ed62.zip |
Re-organize strings for localization
Diffstat (limited to 'web/app/view/login')
-rw-r--r-- | web/app/view/login/Login.js | 4 | ||||
-rw-r--r-- | web/app/view/login/Register.js | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/web/app/view/login/Login.js b/web/app/view/login/Login.js index b1d3f34a7..fdaaadcfb 100644 --- a/web/app/view/login/Login.js +++ b/web/app/view/login/Login.js @@ -35,7 +35,7 @@ Ext.define('Traccar.view.login.Login', { items: [{ xtype: 'textfield', name: 'email', - fieldLabel: strings.login_email, + fieldLabel: strings.user_email, allowBlank: false, enableKeyEvents: true, listeners: { @@ -45,7 +45,7 @@ Ext.define('Traccar.view.login.Login', { }, { xtype: 'textfield', name: 'password', - fieldLabel: strings.login_password, + fieldLabel: strings.user_password, inputType: 'password', allowBlank: false, enableKeyEvents: true, diff --git a/web/app/view/login/Register.js b/web/app/view/login/Register.js index b6b570efe..909ed2fba 100644 --- a/web/app/view/login/Register.js +++ b/web/app/view/login/Register.js @@ -36,28 +36,28 @@ Ext.define('Traccar.view.login.Register', { items: [{ xtype: 'textfield', name: 'name', - fieldLabel: strings.login_name, + fieldLabel: strings.user_name, allowBlank: false }, { xtype: 'textfield', name: 'email', - fieldLabel: strings.login_email, + fieldLabel: strings.user_email, vtype: 'email', allowBlank: false }, { xtype: 'textfield', name: 'password', - fieldLabel: strings.login_password, + fieldLabel: strings.user_password, inputType: 'password', allowBlank: false }] }, buttons: [{ - text: strings.dialog_save, + text: strings.shared_save, handler: 'onCreateClick' }, { - text: strings.dialog_cancel, + text: strings.shared_cancel, handler: 'closeView' }] |