Commit afc2984b authored by Dietmar Maurer's avatar Dietmar Maurer

set load mask when changing language

parent 50c1c8a5
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: pve-manager 2.0\n"
"Report-Msgid-Bugs-To: <support@proxmox.com>\n"
"POT-Creation-Date: Tue Nov 22 13:57:09 2011\n"
"PO-Revision-Date: 2011-11-22 13:57+0100\n"
"POT-Creation-Date: Wed Nov 23 06:18:52 2011\n"
"PO-Revision-Date: 2011-11-23 06:18+0100\n"
"Last-Translator: Proxmox Support Team <support@proxmox.com>\n"
"Language-Team: German\n"
"Language: de\n"
......@@ -121,14 +121,18 @@ msgstr "Möchten Sie VM {0} wirklich aussetzen (suspend)?"
msgid "End Time"
msgstr "Endzeit"
#: ../www/manager/window/LoginWindow.js:88
#: ../www/manager/window/LoginWindow.js:90
msgid "Enter your password"
msgstr "Bitte geben Sie Ihr Passwort ein"
#: ../www/manager/window/LoginWindow.js:65
#: ../www/manager/window/LoginWindow.js:67
msgid "Enter your user name"
msgstr "Bitte geben Sie Ihren Benutzernamen ein"
#: ../www/manager/window/LoginWindow.js:17
msgid "Error"
msgstr "Fehler"
#: ../www/manager/Utils.js:33 ../www/manager/Utils.js:40
#: ../www/manager/Utils.js:65
msgid "Example"
......@@ -155,14 +159,18 @@ msgstr "Gruppen"
msgid "Hardware"
msgstr "Hardware"
#: ../www/manager/window/LoginWindow.js:103
#: ../www/manager/window/LoginWindow.js:105
msgid "Language"
msgstr "Sprache"
#: ../www/manager/window/LoginWindow.js:118
#: ../www/manager/window/LoginWindow.js:121
msgid "Login"
msgstr "Anmelden"
#: ../www/manager/window/LoginWindow.js:18
msgid "Login failed. Please try again"
msgstr "Anmeldung fehlgeschlagen. Bitte versuchen Sie es noch einmal."
#: ../www/manager/Workspace.js:308
msgid "Logout"
msgstr "Logout"
......@@ -209,7 +217,7 @@ msgstr "OpenVZ Container"
msgid "Options"
msgstr "Optionen"
#: ../www/manager/window/LoginWindow.js:86
#: ../www/manager/window/LoginWindow.js:88
msgid "Password"
msgstr "Passwort"
......@@ -218,11 +226,12 @@ msgstr "Passwort"
msgid "Permissions"
msgstr "Rechte"
#: ../www/manager/Utils.js:294
#: ../www/manager/Utils.js:294 ../www/manager/window/LoginWindow.js:12
#: ../www/manager/window/LoginWindow.js:113
msgid "Please wait..."
msgstr "Bitte warten..."
#: ../www/manager/window/LoginWindow.js:44
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr "Proxmox VE Anmeldung"
......@@ -354,7 +363,7 @@ msgstr "Unbekannter Fehler"
#: ../www/manager/node/Tasks.js:82 ../www/manager/node/Tasks.js:131
#: ../www/manager/dc/Tasks.js:86 ../www/manager/dc/Log.js:65
#: ../www/manager/window/LoginWindow.js:63
#: ../www/manager/window/LoginWindow.js:65
msgid "User name"
msgstr "Benutzername"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pve-manager 2.0\n"
"Report-Msgid-Bugs-To: <support@proxmox.com>\n"
"POT-Creation-Date: Tue Nov 22 13:57:09 2011\n"
"POT-Creation-Date: Wed Nov 23 06:18:52 2011\n"
"PO-Revision-Date: 2011-11-22 09:15+0100\n"
"Last-Translator: Proxmox Support Team <support@proxmox.com>\n"
"Language-Team: French\n"
......@@ -119,14 +119,18 @@ msgstr ""
msgid "End Time"
msgstr ""
#: ../www/manager/window/LoginWindow.js:88
#: ../www/manager/window/LoginWindow.js:90
msgid "Enter your password"
msgstr ""
#: ../www/manager/window/LoginWindow.js:65
#: ../www/manager/window/LoginWindow.js:67
msgid "Enter your user name"
msgstr ""
#: ../www/manager/window/LoginWindow.js:17
msgid "Error"
msgstr ""
#: ../www/manager/Utils.js:33 ../www/manager/Utils.js:40
#: ../www/manager/Utils.js:65
msgid "Example"
......@@ -153,14 +157,18 @@ msgstr ""
msgid "Hardware"
msgstr ""
#: ../www/manager/window/LoginWindow.js:103
#: ../www/manager/window/LoginWindow.js:105
msgid "Language"
msgstr ""
#: ../www/manager/window/LoginWindow.js:118
#: ../www/manager/window/LoginWindow.js:121
msgid "Login"
msgstr ""
#: ../www/manager/window/LoginWindow.js:18
msgid "Login failed. Please try again"
msgstr ""
#: ../www/manager/Workspace.js:308
msgid "Logout"
msgstr ""
......@@ -207,7 +215,7 @@ msgstr ""
msgid "Options"
msgstr ""
#: ../www/manager/window/LoginWindow.js:86
#: ../www/manager/window/LoginWindow.js:88
msgid "Password"
msgstr ""
......@@ -216,11 +224,12 @@ msgstr ""
msgid "Permissions"
msgstr ""
#: ../www/manager/Utils.js:294
#: ../www/manager/Utils.js:294 ../www/manager/window/LoginWindow.js:12
#: ../www/manager/window/LoginWindow.js:113
msgid "Please wait..."
msgstr ""
#: ../www/manager/window/LoginWindow.js:44
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr ""
......@@ -352,7 +361,7 @@ msgstr ""
#: ../www/manager/node/Tasks.js:82 ../www/manager/node/Tasks.js:131
#: ../www/manager/dc/Tasks.js:86 ../www/manager/dc/Log.js:65
#: ../www/manager/window/LoginWindow.js:63
#: ../www/manager/window/LoginWindow.js:65
msgid "User name"
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pve-manager 2.0\n"
"Report-Msgid-Bugs-To: <support@proxmox.com>\n"
"POT-Creation-Date: Tue Nov 22 13:57:09 2011\n"
"POT-Creation-Date: Wed Nov 23 06:18:52 2011\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <support@proxmox.com>\n"
......@@ -104,14 +104,18 @@ msgstr ""
msgid "End Time"
msgstr ""
#: ../www/manager/window/LoginWindow.js:88
#: ../www/manager/window/LoginWindow.js:90
msgid "Enter your password"
msgstr ""
#: ../www/manager/window/LoginWindow.js:65
#: ../www/manager/window/LoginWindow.js:67
msgid "Enter your user name"
msgstr ""
#: ../www/manager/window/LoginWindow.js:17
msgid "Error"
msgstr ""
#: ../www/manager/Utils.js:33 ../www/manager/Utils.js:40 ../www/manager/Utils.js:65
msgid "Example"
msgstr ""
......@@ -136,14 +140,18 @@ msgstr ""
msgid "Hardware"
msgstr ""
#: ../www/manager/window/LoginWindow.js:103
#: ../www/manager/window/LoginWindow.js:105
msgid "Language"
msgstr ""
#: ../www/manager/window/LoginWindow.js:118
#: ../www/manager/window/LoginWindow.js:121
msgid "Login"
msgstr ""
#: ../www/manager/window/LoginWindow.js:18
msgid "Login failed. Please try again"
msgstr ""
#: ../www/manager/Workspace.js:308
msgid "Logout"
msgstr ""
......@@ -188,7 +196,7 @@ msgstr ""
msgid "Options"
msgstr ""
#: ../www/manager/window/LoginWindow.js:86
#: ../www/manager/window/LoginWindow.js:88
msgid "Password"
msgstr ""
......@@ -196,11 +204,11 @@ msgstr ""
msgid "Permissions"
msgstr ""
#: ../www/manager/Utils.js:294
#: ../www/manager/Utils.js:294 ../www/manager/window/LoginWindow.js:12 ../www/manager/window/LoginWindow.js:113
msgid "Please wait..."
msgstr ""
#: ../www/manager/window/LoginWindow.js:44
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr ""
......@@ -320,7 +328,7 @@ msgstr ""
msgid "Unknown error"
msgstr ""
#: ../www/manager/node/Tasks.js:82 ../www/manager/node/Tasks.js:131 ../www/manager/dc/Tasks.js:86 ../www/manager/dc/Log.js:65 ../www/manager/window/LoginWindow.js:63
#: ../www/manager/node/Tasks.js:82 ../www/manager/node/Tasks.js:131 ../www/manager/dc/Tasks.js:86 ../www/manager/dc/Log.js:65 ../www/manager/window/LoginWindow.js:65
msgid "User name"
msgstr ""
......
......@@ -9,12 +9,14 @@ Ext.define('PVE.window.LoginWindow', {
var form = me.getComponent(0).getForm();
if(form.isValid()){
me.el.mask('Please wait...', 'x-mask-loading');
me.el.mask(gettext('Please wait...'), 'x-mask-loading');
form.submit({
failure: function(f, resp){
me.el.unmask();
Ext.MessageBox.alert('Failure', "Login failed. Please try again", function() {
Ext.MessageBox.alert(gettext('Error'),
gettext("Login failed. Please try again"),
function() {
var uf = form.findField('username');
uf.focus(true, true);
});
......@@ -108,6 +110,7 @@ Ext.define('PVE.window.LoginWindow', {
change: function(t, value) {
var dt = Ext.Date.add(new Date(), Ext.Date.YEAR, 10);
Ext.util.Cookies.set('PVELangCookie', value, dt);
me.el.mask(gettext('Please wait...'), 'x-mask-loading');
window.location.reload();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment