Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
afc2984b
Commit
afc2984b
authored
Nov 23, 2011
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set load mask when changing language
parent
50c1c8a5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
30 deletions
+59
-30
de.po
po/de.po
+19
-10
fr.po
po/fr.po
+18
-9
messages.pot
po/messages.pot
+17
-9
LoginWindow.js
www/manager/window/LoginWindow.js
+5
-2
No files found.
po/de.po
View file @
afc2984b
...
...
@@ -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-2
2 13:57
+0100\n"
"POT-Creation-Date:
Wed Nov 23 06:18:52
2011\n"
"PO-Revision-Date: 2011-11-2
3 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:6
5
#: ../www/manager/window/LoginWindow.js:6
7
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:10
3
#: ../www/manager/window/LoginWindow.js:10
5
msgid "Language"
msgstr "Sprache"
#: ../www/manager/window/LoginWindow.js:1
18
#: ../www/manager/window/LoginWindow.js:1
21
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:8
6
#: ../www/manager/window/LoginWindow.js:8
8
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:4
4
#: ../www/manager/window/LoginWindow.js:4
6
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:6
3
#: ../www/manager/window/LoginWindow.js:6
5
msgid "User name"
msgstr "Benutzername"
...
...
po/fr.po
View file @
afc2984b
...
...
@@ -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:6
5
#: ../www/manager/window/LoginWindow.js:6
7
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:10
3
#: ../www/manager/window/LoginWindow.js:10
5
msgid "Language"
msgstr ""
#: ../www/manager/window/LoginWindow.js:1
18
#: ../www/manager/window/LoginWindow.js:1
21
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:8
6
#: ../www/manager/window/LoginWindow.js:8
8
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:4
4
#: ../www/manager/window/LoginWindow.js:4
6
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:6
3
#: ../www/manager/window/LoginWindow.js:6
5
msgid "User name"
msgstr ""
...
...
po/messages.pot
View file @
afc2984b
...
...
@@ -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:6
5
#: ../www/manager/window/LoginWindow.js:6
7
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:10
3
#: ../www/manager/window/LoginWindow.js:10
5
msgid "Language"
msgstr ""
#: ../www/manager/window/LoginWindow.js:1
18
#: ../www/manager/window/LoginWindow.js:1
21
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:8
6
#: ../www/manager/window/LoginWindow.js:8
8
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:4
4
#: ../www/manager/window/LoginWindow.js:4
6
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:6
3
#: ../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:6
5
msgid "User name"
msgstr ""
...
...
www/manager/window/LoginWindow.js
View file @
afc2984b
...
...
@@ -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
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment