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
49845ad4
Commit
49845ad4
authored
Jan 13, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable AuthEdit
parent
27685055
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
260 additions
and
194 deletions
+260
-194
de.po
po/de.po
+28
-24
fr.po
po/fr.po
+27
-23
ja.po
po/ja.po
+32
-26
messages.pot
po/messages.pot
+21
-17
AuthEdit.js
www/manager/dc/AuthEdit.js
+68
-52
AuthView.js
www/manager/dc/AuthView.js
+84
-52
No files found.
po/de.po
View file @
49845ad4
...
...
@@ -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:
Thu Jan 12 11:44:51
2012\n"
"PO-Revision-Date: 2012-01-1
2 11:42
+0100\n"
"POT-Creation-Date:
Fri Jan 13 10:10:10
2012\n"
"PO-Revision-Date: 2012-01-1
3 10:10
+0100\n"
"Last-Translator: Proxmox Support Team <support@proxmox.com>\n"
"Language-Team: German\n"
"Language: de\n"
...
...
@@ -31,8 +31,9 @@ msgid "Active"
msgstr "Aktiv"
#: ../www/manager/dc/ACLView.js:187 ../www/manager/dc/StorageView.js:93
#: ../www/manager/dc/Backup.js:386 ../www/manager/dc/HAConfig.js:166
#: ../www/manager/Utils.js:723 ../www/manager/window/Edit.js:173
#: ../www/manager/dc/Backup.js:386 ../www/manager/dc/AuthView.js:81
#: ../www/manager/dc/HAConfig.js:166 ../www/manager/Utils.js:723
#: ../www/manager/window/Edit.js:173
msgid "Add"
msgstr "Hinzufügen"
...
...
@@ -64,7 +65,7 @@ msgstr ""
"Daten der VM."
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/UserView.js:32
#: ../www/manager/dc/AuthView.js:5
2
../www/manager/dc/GroupView.js:28
#: ../www/manager/dc/AuthView.js:5
6
../www/manager/dc/GroupView.js:28
#: ../www/manager/storage/ContentView.js:260
msgid "Are you sure you want to remove entry {0}"
msgstr "Möchten Sie Eintrag {0} wirklich entfernen?"
...
...
@@ -115,8 +116,8 @@ msgid "Cluster log"
msgstr "Cluster log"
#: ../www/manager/dc/UserView.js:146 ../www/manager/dc/GroupEdit.js:35
#: ../www/manager/dc/UserEdit.js:75 ../www/manager/dc/AuthView.js:1
00
#: ../www/manager/dc/GroupView.js:94 ../www/manager/dc/AuthEdit.js:
48
#: ../www/manager/dc/UserEdit.js:75 ../www/manager/dc/AuthView.js:1
33
#: ../www/manager/dc/GroupView.js:94 ../www/manager/dc/AuthEdit.js:
73
msgid "Comment"
msgstr "Kommentar"
...
...
@@ -157,9 +158,9 @@ msgstr "Container {0} auf Knoten {1}"
msgid "Content"
msgstr "Inhalt"
#: ../www/manager/dc/UserView.js:74 ../www/manager/dc/
AuthView.js:25
#: ../www/manager/
dc/GroupView.js:68 ../www/manager/Utils.js:37
6
#: ../www/manager/Utils.js:
386 ../www/manager/Utils.js:
725
#: ../www/manager/dc/UserView.js:74 ../www/manager/dc/
GroupView.js:68
#: ../www/manager/
Utils.js:376 ../www/manager/Utils.js:38
6
#: ../www/manager/Utils.js:725
msgid "Create"
msgstr "Erstellen"
...
...
@@ -179,8 +180,8 @@ msgstr "Rechenzentrum"
msgid "Day of week"
msgstr "Wochentag"
#: ../www/manager/form/Boolean.js:10 ../www/manager/dc/AuthEdit.js:
54
#: ../www/manager/Utils.js:542
#: ../www/manager/form/Boolean.js:10 ../www/manager/dc/AuthEdit.js:
78
#: ../www/manager/
dc/AuthEdit.js:101 ../www/manager/
Utils.js:542
msgid "Default"
msgstr "Standardeinstellung"
...
...
@@ -238,7 +239,7 @@ msgstr "Möchten Sie VM {0} wirklich aussetzen (suspend)?"
#: ../www/manager/node/TimeView.js:43 ../www/manager/node/DNSView.js:32
#: ../www/manager/dc/StorageView.js:55 ../www/manager/dc/UserView.js:66
#: ../www/manager/dc/Backup.js:351 ../www/manager/dc/AuthView.js:
35
#: ../www/manager/dc/Backup.js:351 ../www/manager/dc/AuthView.js:
42
#: ../www/manager/dc/GroupView.js:60 ../www/manager/dc/OptionView.js:103
#: ../www/manager/dc/HAConfig.js:232 ../www/manager/Utils.js:728
#: ../www/manager/qemu/Options.js:228
...
...
@@ -272,7 +273,7 @@ msgstr "Bitte geben Sie Ihren Benutzernamen ein"
#: ../www/manager/dc/ACLView.js:175 ../www/manager/dc/StorageView.js:78
#: ../www/manager/dc/UserView.js:46 ../www/manager/dc/Backup.js:371
#: ../www/manager/dc/AuthView.js:7
0
../www/manager/dc/GroupView.js:40
#: ../www/manager/dc/AuthView.js:7
3
../www/manager/dc/GroupView.js:40
#: ../www/manager/dc/HAConfig.js:138 ../www/manager/dc/HAConfig.js:159
#: ../www/manager/dc/HAConfig.js:181 ../www/manager/dc/HAConfig.js:252
#: ../www/manager/Utils.js:540 ../www/manager/storage/ContentView.js:73
...
...
@@ -309,6 +310,10 @@ msgstr "Expire"
msgid "Failover Domain"
msgstr "Failover Domain"
#: ../www/manager/dc/AuthEdit.js:92
msgid "Fallback Server"
msgstr "Fallback-Server"
#: ../www/manager/window/Wizard.js:117
msgid "Finish"
msgstr "Abschließen"
...
...
@@ -524,6 +529,10 @@ msgstr "Rechte"
msgid "Please wait..."
msgstr "Bitte warten..."
#: ../www/manager/dc/AuthEdit.js:98
msgid "Port"
msgstr "Port"
#: ../www/manager/dc/RoleView.js:45
msgid "Privileges"
msgstr "Privilegien"
...
...
@@ -537,8 +546,7 @@ msgid "Proxmox VE Login"
msgstr "Proxmox VE Anmeldung"
#: ../www/manager/dc/UserView.js:117 ../www/manager/dc/UserEdit.js:83
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
#: ../www/manager/dc/AuthEdit.js:112
#: ../www/manager/dc/AuthView.js:120 ../www/manager/dc/AuthEdit.js:28
msgid "Realm"
msgstr "Bereich"
...
...
@@ -554,7 +562,7 @@ msgstr "Neu laden"
#: ../www/manager/dc/ACLView.js:148 ../www/manager/dc/StorageView.js:62
#: ../www/manager/dc/UserView.js:25 ../www/manager/dc/Backup.js:358
#: ../www/manager/dc/AuthView.js:
49
../www/manager/dc/GroupView.js:24
#: ../www/manager/dc/AuthView.js:
52
../www/manager/dc/GroupView.js:24
#: ../www/manager/dc/HAConfig.js:238 ../www/manager/storage/ContentView.js:256
#: ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71
msgid "Remove"
...
...
@@ -621,18 +629,14 @@ msgstr "Auswahlmodus"
msgid "Send email to"
msgstr "Sende Mail an"
#: ../www/manager/storage/NFSEdit.js:98
#: ../www/manager/
dc/AuthEdit.js:86 ../www/manager/
storage/NFSEdit.js:98
msgid "Server"
msgstr "Server"
#: ../www/manager/dc/Summary.js:56
../www/manager/dc/AuthEdit.js:71
#: ../www/manager/dc/Summary.js:56
msgid "Server Address"
msgstr "Server-Adresse"
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr "Server-Port"
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr "Server Ansicht"
...
...
@@ -758,7 +762,7 @@ msgstr "Zeitzone"
#: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:146 ../www/manager/dc/Backup.js:105
#: ../www/manager/dc/AuthView.js:
93
../www/manager/storage/StatusView.js:35
#: ../www/manager/dc/AuthView.js:
126
../www/manager/storage/StatusView.js:35
msgid "Type"
msgstr "Typ"
...
...
po/fr.po
View file @
49845ad4
...
...
@@ -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:
Thu Jan 12 11:44:51
2012\n"
"POT-Creation-Date:
Fri Jan 13 10:10:10
2012\n"
"PO-Revision-Date: 2011-11-22 09:15+0100\n"
"Last-Translator: Proxmox Support Team <support@proxmox.com>\n"
"Language-Team: French\n"
...
...
@@ -31,8 +31,9 @@ msgid "Active"
msgstr ""
#: ../www/manager/dc/ACLView.js:187 ../www/manager/dc/StorageView.js:93
#: ../www/manager/dc/Backup.js:386 ../www/manager/dc/HAConfig.js:166
#: ../www/manager/Utils.js:723 ../www/manager/window/Edit.js:173
#: ../www/manager/dc/Backup.js:386 ../www/manager/dc/AuthView.js:81
#: ../www/manager/dc/HAConfig.js:166 ../www/manager/Utils.js:723
#: ../www/manager/window/Edit.js:173
msgid "Add"
msgstr ""
...
...
@@ -62,7 +63,7 @@ msgid ""
msgstr ""
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/UserView.js:32
#: ../www/manager/dc/AuthView.js:5
2
../www/manager/dc/GroupView.js:28
#: ../www/manager/dc/AuthView.js:5
6
../www/manager/dc/GroupView.js:28
#: ../www/manager/storage/ContentView.js:260
msgid "Are you sure you want to remove entry {0}"
msgstr ""
...
...
@@ -113,8 +114,8 @@ msgid "Cluster log"
msgstr ""
#: ../www/manager/dc/UserView.js:146 ../www/manager/dc/GroupEdit.js:35
#: ../www/manager/dc/UserEdit.js:75 ../www/manager/dc/AuthView.js:1
00
#: ../www/manager/dc/GroupView.js:94 ../www/manager/dc/AuthEdit.js:
48
#: ../www/manager/dc/UserEdit.js:75 ../www/manager/dc/AuthView.js:1
33
#: ../www/manager/dc/GroupView.js:94 ../www/manager/dc/AuthEdit.js:
73
msgid "Comment"
msgstr ""
...
...
@@ -155,9 +156,9 @@ msgstr ""
msgid "Content"
msgstr ""
#: ../www/manager/dc/UserView.js:74 ../www/manager/dc/
AuthView.js:25
#: ../www/manager/
dc/GroupView.js:68 ../www/manager/Utils.js:37
6
#: ../www/manager/Utils.js:
386 ../www/manager/Utils.js:
725
#: ../www/manager/dc/UserView.js:74 ../www/manager/dc/
GroupView.js:68
#: ../www/manager/
Utils.js:376 ../www/manager/Utils.js:38
6
#: ../www/manager/Utils.js:725
msgid "Create"
msgstr ""
...
...
@@ -177,8 +178,8 @@ msgstr ""
msgid "Day of week"
msgstr ""
#: ../www/manager/form/Boolean.js:10 ../www/manager/dc/AuthEdit.js:
54
#: ../www/manager/Utils.js:542
#: ../www/manager/form/Boolean.js:10 ../www/manager/dc/AuthEdit.js:
78
#: ../www/manager/
dc/AuthEdit.js:101 ../www/manager/
Utils.js:542
msgid "Default"
msgstr ""
...
...
@@ -236,7 +237,7 @@ msgstr ""
#: ../www/manager/node/TimeView.js:43 ../www/manager/node/DNSView.js:32
#: ../www/manager/dc/StorageView.js:55 ../www/manager/dc/UserView.js:66
#: ../www/manager/dc/Backup.js:351 ../www/manager/dc/AuthView.js:
35
#: ../www/manager/dc/Backup.js:351 ../www/manager/dc/AuthView.js:
42
#: ../www/manager/dc/GroupView.js:60 ../www/manager/dc/OptionView.js:103
#: ../www/manager/dc/HAConfig.js:232 ../www/manager/Utils.js:728
#: ../www/manager/qemu/Options.js:228
...
...
@@ -270,7 +271,7 @@ msgstr ""
#: ../www/manager/dc/ACLView.js:175 ../www/manager/dc/StorageView.js:78
#: ../www/manager/dc/UserView.js:46 ../www/manager/dc/Backup.js:371
#: ../www/manager/dc/AuthView.js:7
0
../www/manager/dc/GroupView.js:40
#: ../www/manager/dc/AuthView.js:7
3
../www/manager/dc/GroupView.js:40
#: ../www/manager/dc/HAConfig.js:138 ../www/manager/dc/HAConfig.js:159
#: ../www/manager/dc/HAConfig.js:181 ../www/manager/dc/HAConfig.js:252
#: ../www/manager/Utils.js:540 ../www/manager/storage/ContentView.js:73
...
...
@@ -307,6 +308,10 @@ msgstr ""
msgid "Failover Domain"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:92
msgid "Fallback Server"
msgstr ""
#: ../www/manager/window/Wizard.js:117
msgid "Finish"
msgstr ""
...
...
@@ -522,6 +527,10 @@ msgstr ""
msgid "Please wait..."
msgstr ""
#: ../www/manager/dc/AuthEdit.js:98
msgid "Port"
msgstr ""
#: ../www/manager/dc/RoleView.js:45
msgid "Privileges"
msgstr ""
...
...
@@ -535,8 +544,7 @@ msgid "Proxmox VE Login"
msgstr ""
#: ../www/manager/dc/UserView.js:117 ../www/manager/dc/UserEdit.js:83
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
#: ../www/manager/dc/AuthEdit.js:112
#: ../www/manager/dc/AuthView.js:120 ../www/manager/dc/AuthEdit.js:28
msgid "Realm"
msgstr ""
...
...
@@ -552,7 +560,7 @@ msgstr ""
#: ../www/manager/dc/ACLView.js:148 ../www/manager/dc/StorageView.js:62
#: ../www/manager/dc/UserView.js:25 ../www/manager/dc/Backup.js:358
#: ../www/manager/dc/AuthView.js:
49
../www/manager/dc/GroupView.js:24
#: ../www/manager/dc/AuthView.js:
52
../www/manager/dc/GroupView.js:24
#: ../www/manager/dc/HAConfig.js:238 ../www/manager/storage/ContentView.js:256
#: ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71
msgid "Remove"
...
...
@@ -619,18 +627,14 @@ msgstr ""
msgid "Send email to"
msgstr ""
#: ../www/manager/storage/NFSEdit.js:98
#: ../www/manager/
dc/AuthEdit.js:86 ../www/manager/
storage/NFSEdit.js:98
msgid "Server"
msgstr ""
#: ../www/manager/dc/Summary.js:56
../www/manager/dc/AuthEdit.js:71
#: ../www/manager/dc/Summary.js:56
msgid "Server Address"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr ""
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr ""
...
...
@@ -756,7 +760,7 @@ msgstr ""
#: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:146 ../www/manager/dc/Backup.js:105
#: ../www/manager/dc/AuthView.js:
93
../www/manager/storage/StatusView.js:35
#: ../www/manager/dc/AuthView.js:
126
../www/manager/storage/StatusView.js:35
msgid "Type"
msgstr ""
...
...
po/ja.po
View file @
49845ad4
...
...
@@ -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:
Thu Jan 12 11:44:51
2012\n"
"POT-Creation-Date:
Fri Jan 13 10:10:10
2012\n"
"PO-Revision-Date: 2011-12-08 07:14+0100\n"
"Last-Translator: Koichi MATSUMOTO <mzch@mac.com>\n"
"Language-Team: Japanese <support@proxmox.com>\n"
...
...
@@ -32,8 +32,9 @@ msgid "Active"
msgstr "稼働中"
#: ../www/manager/dc/ACLView.js:187 ../www/manager/dc/StorageView.js:93
#: ../www/manager/dc/Backup.js:386 ../www/manager/dc/HAConfig.js:166
#: ../www/manager/Utils.js:723 ../www/manager/window/Edit.js:173
#: ../www/manager/dc/Backup.js:386 ../www/manager/dc/AuthView.js:81
#: ../www/manager/dc/HAConfig.js:166 ../www/manager/Utils.js:723
#: ../www/manager/window/Edit.js:173
msgid "Add"
msgstr "追加"
...
...
@@ -67,7 +68,7 @@ msgstr ""
"とはできません。"
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/UserView.js:32
#: ../www/manager/dc/AuthView.js:5
2
../www/manager/dc/GroupView.js:28
#: ../www/manager/dc/AuthView.js:5
6
../www/manager/dc/GroupView.js:28
#: ../www/manager/storage/ContentView.js:260
#, fuzzy
msgid "Are you sure you want to remove entry {0}"
...
...
@@ -122,8 +123,8 @@ msgid "Cluster log"
msgstr "クラスタログ"
#: ../www/manager/dc/UserView.js:146 ../www/manager/dc/GroupEdit.js:35
#: ../www/manager/dc/UserEdit.js:75 ../www/manager/dc/AuthView.js:1
00
#: ../www/manager/dc/GroupView.js:94 ../www/manager/dc/AuthEdit.js:
48
#: ../www/manager/dc/UserEdit.js:75 ../www/manager/dc/AuthView.js:1
33
#: ../www/manager/dc/GroupView.js:94 ../www/manager/dc/AuthEdit.js:
73
msgid "Comment"
msgstr "コメント"
...
...
@@ -164,9 +165,9 @@ msgstr "ノード {1} 上のコンテナ {0}"
msgid "Content"
msgstr "内容"
#: ../www/manager/dc/UserView.js:74 ../www/manager/dc/
AuthView.js:25
#: ../www/manager/
dc/GroupView.js:68 ../www/manager/Utils.js:37
6
#: ../www/manager/Utils.js:
386 ../www/manager/Utils.js:
725
#: ../www/manager/dc/UserView.js:74 ../www/manager/dc/
GroupView.js:68
#: ../www/manager/
Utils.js:376 ../www/manager/Utils.js:38
6
#: ../www/manager/Utils.js:725
msgid "Create"
msgstr "作成"
...
...
@@ -186,8 +187,8 @@ msgstr "データセンター"
msgid "Day of week"
msgstr "曜日"
#: ../www/manager/form/Boolean.js:10 ../www/manager/dc/AuthEdit.js:
54
#: ../www/manager/Utils.js:542
#: ../www/manager/form/Boolean.js:10 ../www/manager/dc/AuthEdit.js:
78
#: ../www/manager/
dc/AuthEdit.js:101 ../www/manager/
Utils.js:542
msgid "Default"
msgstr "デフォルト"
...
...
@@ -245,7 +246,7 @@ msgstr "本当に、VM {0} を一時停止しますか?"
#: ../www/manager/node/TimeView.js:43 ../www/manager/node/DNSView.js:32
#: ../www/manager/dc/StorageView.js:55 ../www/manager/dc/UserView.js:66
#: ../www/manager/dc/Backup.js:351 ../www/manager/dc/AuthView.js:
35
#: ../www/manager/dc/Backup.js:351 ../www/manager/dc/AuthView.js:
42
#: ../www/manager/dc/GroupView.js:60 ../www/manager/dc/OptionView.js:103
#: ../www/manager/dc/HAConfig.js:232 ../www/manager/Utils.js:728
#: ../www/manager/qemu/Options.js:228
...
...
@@ -279,7 +280,7 @@ msgstr "ユーザー名を入力して下さい"
#: ../www/manager/dc/ACLView.js:175 ../www/manager/dc/StorageView.js:78
#: ../www/manager/dc/UserView.js:46 ../www/manager/dc/Backup.js:371
#: ../www/manager/dc/AuthView.js:7
0
../www/manager/dc/GroupView.js:40
#: ../www/manager/dc/AuthView.js:7
3
../www/manager/dc/GroupView.js:40
#: ../www/manager/dc/HAConfig.js:138 ../www/manager/dc/HAConfig.js:159
#: ../www/manager/dc/HAConfig.js:181 ../www/manager/dc/HAConfig.js:252
#: ../www/manager/Utils.js:540 ../www/manager/storage/ContentView.js:73
...
...
@@ -316,6 +317,11 @@ msgstr "有効期限"
msgid "Failover Domain"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:92
#, fuzzy
msgid "Fallback Server"
msgstr "バックアップ"
#: ../www/manager/window/Wizard.js:117
msgid "Finish"
msgstr "完了"
...
...
@@ -536,6 +542,11 @@ msgstr "アクセス権限"
msgid "Please wait..."
msgstr "しばらくお待ち下さい…"
#: ../www/manager/dc/AuthEdit.js:98
#, fuzzy
msgid "Port"
msgstr "ポータル"
#: ../www/manager/dc/RoleView.js:45
msgid "Privileges"
msgstr "権限"
...
...
@@ -549,8 +560,7 @@ msgid "Proxmox VE Login"
msgstr "Proxmox VE ログイン"
#: ../www/manager/dc/UserView.js:117 ../www/manager/dc/UserEdit.js:83
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
#: ../www/manager/dc/AuthEdit.js:112
#: ../www/manager/dc/AuthView.js:120 ../www/manager/dc/AuthEdit.js:28
msgid "Realm"
msgstr "レルム"
...
...
@@ -566,7 +576,7 @@ msgstr "再読込"
#: ../www/manager/dc/ACLView.js:148 ../www/manager/dc/StorageView.js:62
#: ../www/manager/dc/UserView.js:25 ../www/manager/dc/Backup.js:358
#: ../www/manager/dc/AuthView.js:
49
../www/manager/dc/GroupView.js:24
#: ../www/manager/dc/AuthView.js:
52
../www/manager/dc/GroupView.js:24
#: ../www/manager/dc/HAConfig.js:238 ../www/manager/storage/ContentView.js:256
#: ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71
msgid "Remove"
...
...
@@ -634,18 +644,14 @@ msgstr "選択モード"
msgid "Send email to"
msgstr "メールの送信先"
#: ../www/manager/storage/NFSEdit.js:98
#: ../www/manager/
dc/AuthEdit.js:86 ../www/manager/
storage/NFSEdit.js:98
msgid "Server"
msgstr "サーバー"
#: ../www/manager/dc/Summary.js:56
../www/manager/dc/AuthEdit.js:71
#: ../www/manager/dc/Summary.js:56
msgid "Server Address"
msgstr "サーバーアドレス"
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr "サーバーポート"
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr "サーバー表示"
...
...
@@ -771,7 +777,7 @@ msgstr "タイムゾーン"
#: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:146 ../www/manager/dc/Backup.js:105
#: ../www/manager/dc/AuthView.js:
93
../www/manager/storage/StatusView.js:35
#: ../www/manager/dc/AuthView.js:
126
../www/manager/storage/StatusView.js:35
msgid "Type"
msgstr "種別"
...
...
@@ -1659,9 +1665,6 @@ msgstr "停止中"
#~ msgid "Polish"
#~ msgstr "ポーランド語"
#~ msgid "Portal"
#~ msgstr "ポータル"
#~ msgid "Ports/Slaves"
#~ msgstr "ポート/スレーブ"
...
...
@@ -1790,6 +1793,9 @@ msgstr "停止中"
#~ msgid "SendKey"
#~ msgstr "キーの送信"
#~ msgid "Server Port"
#~ msgstr "サーバーポート"
#~ msgid "Server Type"
#~ msgstr "サーバー種別"
...
...
po/messages.pot
View file @
49845ad4
...
...
@@ -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:
Thu Jan 12 11:44:51
2012\n"
"POT-Creation-Date:
Fri Jan 13 10:10:10
2012\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"
...
...
@@ -28,7 +28,7 @@ msgstr ""
msgid "Active"
msgstr ""
#: ../www/manager/dc/ACLView.js:187 ../www/manager/dc/StorageView.js:93 ../www/manager/dc/Backup.js:386 ../www/manager/dc/HAConfig.js:166 ../www/manager/Utils.js:723 ../www/manager/window/Edit.js:173
#: ../www/manager/dc/ACLView.js:187 ../www/manager/dc/StorageView.js:93 ../www/manager/dc/Backup.js:386 ../www/manager/dc/
AuthView.js:81 ../www/manager/dc/
HAConfig.js:166 ../www/manager/Utils.js:723 ../www/manager/window/Edit.js:173
msgid "Add"
msgstr ""
...
...
@@ -52,7 +52,7 @@ msgstr ""
msgid "Are you sure you want to remove VM {0}? This will permanently erase all VM data."
msgstr ""
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/UserView.js:32 ../www/manager/dc/AuthView.js:5
2
../www/manager/dc/GroupView.js:28 ../www/manager/storage/ContentView.js:260
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/UserView.js:32 ../www/manager/dc/AuthView.js:5
6
../www/manager/dc/GroupView.js:28 ../www/manager/storage/ContentView.js:260
msgid "Are you sure you want to remove entry {0}"
msgstr ""
...
...
@@ -100,7 +100,7 @@ msgstr ""
msgid "Cluster log"
msgstr ""
#: ../www/manager/dc/UserView.js:146 ../www/manager/dc/GroupEdit.js:35 ../www/manager/dc/UserEdit.js:75 ../www/manager/dc/AuthView.js:1
00 ../www/manager/dc/GroupView.js:94 ../www/manager/dc/AuthEdit.js:48
#: ../www/manager/dc/UserView.js:146 ../www/manager/dc/GroupEdit.js:35 ../www/manager/dc/UserEdit.js:75 ../www/manager/dc/AuthView.js:1
33 ../www/manager/dc/GroupView.js:94 ../www/manager/dc/AuthEdit.js:73
msgid "Comment"
msgstr ""
...
...
@@ -128,7 +128,7 @@ msgstr ""
msgid "Content"
msgstr ""
#: ../www/manager/dc/UserView.js:74 ../www/manager/dc/
AuthView.js:25 ../www/manager/dc/
GroupView.js:68 ../www/manager/Utils.js:376 ../www/manager/Utils.js:386 ../www/manager/Utils.js:725
#: ../www/manager/dc/UserView.js:74 ../www/manager/dc/GroupView.js:68 ../www/manager/Utils.js:376 ../www/manager/Utils.js:386 ../www/manager/Utils.js:725
msgid "Create"
msgstr ""
...
...
@@ -148,7 +148,7 @@ msgstr ""
msgid "Day of week"
msgstr ""
#: ../www/manager/form/Boolean.js:10 ../www/manager/dc/AuthEdit.js:
54
../www/manager/Utils.js:542
#: ../www/manager/form/Boolean.js:10 ../www/manager/dc/AuthEdit.js:
78 ../www/manager/dc/AuthEdit.js:101
../www/manager/Utils.js:542
msgid "Default"
msgstr ""
...
...
@@ -200,7 +200,7 @@ msgstr ""
msgid "Do you really want to suspend VM {0}?"
msgstr ""
#: ../www/manager/node/TimeView.js:43 ../www/manager/node/DNSView.js:32 ../www/manager/dc/StorageView.js:55 ../www/manager/dc/UserView.js:66 ../www/manager/dc/Backup.js:351 ../www/manager/dc/AuthView.js:
35
../www/manager/dc/GroupView.js:60 ../www/manager/dc/OptionView.js:103 ../www/manager/dc/HAConfig.js:232 ../www/manager/Utils.js:728 ../www/manager/qemu/Options.js:228
#: ../www/manager/node/TimeView.js:43 ../www/manager/node/DNSView.js:32 ../www/manager/dc/StorageView.js:55 ../www/manager/dc/UserView.js:66 ../www/manager/dc/Backup.js:351 ../www/manager/dc/AuthView.js:
42
../www/manager/dc/GroupView.js:60 ../www/manager/dc/OptionView.js:103 ../www/manager/dc/HAConfig.js:232 ../www/manager/Utils.js:728 ../www/manager/qemu/Options.js:228
msgid "Edit"
msgstr ""
...
...
@@ -224,7 +224,7 @@ msgstr ""
msgid "Enter your user name"
msgstr ""
#: ../www/manager/dc/ACLView.js:175 ../www/manager/dc/StorageView.js:78 ../www/manager/dc/UserView.js:46 ../www/manager/dc/Backup.js:371 ../www/manager/dc/AuthView.js:7
0
../www/manager/dc/GroupView.js:40 ../www/manager/dc/HAConfig.js:138 ../www/manager/dc/HAConfig.js:159 ../www/manager/dc/HAConfig.js:181 ../www/manager/dc/HAConfig.js:252 ../www/manager/Utils.js:540 ../www/manager/storage/ContentView.js:73 ../www/manager/storage/ContentView.js:128 ../www/manager/storage/ContentView.js:137 ../www/manager/storage/ContentView.js:275 ../www/manager/VNCConsole.js:177 ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:94 ../www/manager/window/Edit.js:131
#: ../www/manager/dc/ACLView.js:175 ../www/manager/dc/StorageView.js:78 ../www/manager/dc/UserView.js:46 ../www/manager/dc/Backup.js:371 ../www/manager/dc/AuthView.js:7
3
../www/manager/dc/GroupView.js:40 ../www/manager/dc/HAConfig.js:138 ../www/manager/dc/HAConfig.js:159 ../www/manager/dc/HAConfig.js:181 ../www/manager/dc/HAConfig.js:252 ../www/manager/Utils.js:540 ../www/manager/storage/ContentView.js:73 ../www/manager/storage/ContentView.js:128 ../www/manager/storage/ContentView.js:137 ../www/manager/storage/ContentView.js:275 ../www/manager/VNCConsole.js:177 ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:94 ../www/manager/window/Edit.js:131
msgid "Error"
msgstr ""
...
...
@@ -252,6 +252,10 @@ msgstr ""
msgid "Failover Domain"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:92
msgid "Fallback Server"
msgstr ""
#: ../www/manager/window/Wizard.js:117
msgid "Finish"
msgstr ""
...
...
@@ -444,6 +448,10 @@ msgstr ""
msgid "Please wait..."
msgstr ""
#: ../www/manager/dc/AuthEdit.js:98
msgid "Port"
msgstr ""
#: ../www/manager/dc/RoleView.js:45
msgid "Privileges"
msgstr ""
...
...
@@ -456,7 +464,7 @@ msgstr ""
msgid "Proxmox VE Login"
msgstr ""
#: ../www/manager/dc/UserView.js:117 ../www/manager/dc/UserEdit.js:83 ../www/manager/dc/AuthView.js:
87 ../www/manager/dc/AuthEdit.js:26 ../www/manager/dc/AuthEdit.js:112
#: ../www/manager/dc/UserView.js:117 ../www/manager/dc/UserEdit.js:83 ../www/manager/dc/AuthView.js:
120 ../www/manager/dc/AuthEdit.js:28
msgid "Realm"
msgstr ""
...
...
@@ -468,7 +476,7 @@ msgstr ""
msgid "Reload"
msgstr ""
#: ../www/manager/dc/ACLView.js:148 ../www/manager/dc/StorageView.js:62 ../www/manager/dc/UserView.js:25 ../www/manager/dc/Backup.js:358 ../www/manager/dc/AuthView.js:
49
../www/manager/dc/GroupView.js:24 ../www/manager/dc/HAConfig.js:238 ../www/manager/storage/ContentView.js:256 ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71
#: ../www/manager/dc/ACLView.js:148 ../www/manager/dc/StorageView.js:62 ../www/manager/dc/UserView.js:25 ../www/manager/dc/Backup.js:358 ../www/manager/dc/AuthView.js:
52
../www/manager/dc/GroupView.js:24 ../www/manager/dc/HAConfig.js:238 ../www/manager/storage/ContentView.js:256 ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71
msgid "Remove"
msgstr ""
...
...
@@ -528,18 +536,14 @@ msgstr ""
msgid "Send email to"
msgstr ""
#: ../www/manager/storage/NFSEdit.js:98
#: ../www/manager/
dc/AuthEdit.js:86 ../www/manager/
storage/NFSEdit.js:98
msgid "Server"
msgstr ""
#: ../www/manager/dc/Summary.js:56
../www/manager/dc/AuthEdit.js:71
#: ../www/manager/dc/Summary.js:56
msgid "Server Address"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr ""
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr ""
...
...
@@ -636,7 +640,7 @@ msgstr ""
msgid "Time zone"
msgstr ""
#: ../www/manager/data/ResourceStore.js:33 ../www/manager/dc/StorageView.js:146 ../www/manager/dc/Backup.js:105 ../www/manager/dc/AuthView.js:
93
../www/manager/storage/StatusView.js:35
#: ../www/manager/data/ResourceStore.js:33 ../www/manager/dc/StorageView.js:146 ../www/manager/dc/Backup.js:105 ../www/manager/dc/AuthView.js:
126
../www/manager/storage/StatusView.js:35
msgid "Type"
msgstr ""
...
...
www/manager/dc/AuthEdit.js
View file @
49845ad4
...
...
@@ -2,6 +2,8 @@ Ext.define('PVE.dc.AuthEdit', {
extend
:
'
PVE.window.Edit
'
,
alias
:
[
'
widget.pveDcAuthEdit
'
],
isAdd
:
true
,
initComponent
:
function
()
{
var
me
=
this
;
...
...
@@ -22,70 +24,83 @@ Ext.define('PVE.dc.AuthEdit', {
var
column1
=
[
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
height
:
22
,
// hack: set same height as text fields
name
:
'
realm
'
,
fieldLabel
:
gettext
(
'
Realm
'
),
value
:
me
.
realm
,
allowBlank
:
false
}
];
if
(
me
.
authType
===
'
ad
'
)
{
me
.
subject
=
'
Active Directory Server
'
;
column1
.
push
({
xtype
:
'
textfield
'
,
name
:
'
domain
'
,
fieldLabel
:
'
Domain
'
,
emptyText
:
'
company.net
'
,
allowBlank
:
false
},
{
});
}
else
if
(
me
.
authType
===
'
ldap
'
)
{
me
.
subject
=
'
LDAP Server
'
;
column1
.
push
({
xtype
:
'
textfield
'
,
name
:
'
base_dn
'
,
fieldLabel
:
'
Base Domain Name
'
,
emptyText
:
'
CN=Users,DC=Company,DC=net
'
,
emptyText
:
'
CN=Users,DC=Company,DC=net
'
,
allowBlank
:
false
},
{
});
column1
.
push
({
xtype
:
'
textfield
'
,
name
:
'
user_attr
'
,
emptyText
:
'
uid / sAMAccountName
'
,
fieldLabel
:
'
User Attribute Name
'
,
allowBlank
:
false
},
});
}
else
{
throw
'
unknown auth type
'
;
}
column1
.
push
({
xtype
:
'
textfield
'
,
name
:
'
comment
'
,
fieldLabel
:
gettext
(
'
Comment
'
)
});
column1
.
push
({
xtype
:
'
pvecheckbox
'
,
fieldLabel
:
gettext
(
'
Default
'
),
name
:
'
default
'
,
uncheckedValue
:
0
});
var
column2
=
[
{
xtype
:
'
textfield
'
,
name
:
'
comment
'
,
fieldLabel
:
gettext
(
'
Comment
'
),
emptyText
:
'
Enterprise Directory Server
'
,
fieldLabel
:
gettext
(
'
Server
'
),
name
:
'
server1
'
,
allowBlank
:
false
},
{
xtype
:
'
pvecheckbox
'
,
fieldLabel
:
gettext
(
'
Default
'
),
name
:
'
default
'
,
uncheckedValue
:
0
}
];
var
column2
=
[
Ext
.
create
(
'
PVE.form.KVComboBox
'
,
{
fieldLabel
:
'
Server Type
'
,
name
:
'
type
'
,
data
:
[
[
'
ad
'
,
'
Active Directory Server
'
],
[
'
ldap
'
,
'
LDAP/LDAPs Server
'
]
]
}),
{
xtype
:
'
textfield
'
,
fieldLabel
:
gettext
(
'
Server Address
'
),
name
:
'
servers
'
,
emptyText
:
'
192.168.2.23,ldap.company.net
'
,
listeners
:
{
change
:
function
(
combo
,
newValue
){
serverlist
=
newValue
.
split
(
'
,
'
);
}
},
submitValue
:
false
,
allowBlank
:
false
fieldLabel
:
gettext
(
'
Fallback Server
'
),
name
:
'
server2
'
},
{
xtype
:
'
numberfield
'
,
name
:
'
port
'
,
fieldLabel
:
gettext
(
'
Server
Port
'
),
fieldLabel
:
gettext
(
'
Port
'
),
minValue
:
1
,
maxValue
:
65535
,
allowBlank
:
false
emptyText
:
gettext
(
'
Default
'
),
submitEmptyText
:
false
},
{
xtype
:
'
pvecheckbox
'
,
...
...
@@ -99,19 +114,23 @@ Ext.define('PVE.dc.AuthEdit', {
column1
:
column1
,
column2
:
column2
,
onGetValues
:
function
(
values
)
{
var
i
;
for
(
i
=
0
;
i
<
serverlist
.
length
;
i
++
)
{
var
num
=
i
+
1
;
values
[
'
server
'
+
num
.
toString
()]
=
serverlist
[
i
];
}
if
(
!
values
.
port
)
{
values
.
port
=
0
;
}
if
(
me
.
create
)
{
values
.
type
=
me
.
authType
;
}
return
values
;
}
});
Ext
.
applyIf
(
me
,
{
subject
:
gettext
(
'
Realm
'
),
url
:
url
,
method
:
method
,
fieldDefaults
:
{
labelWidth
:
120
},
items
:
[
ipanel
]
});
...
...
@@ -121,14 +140,11 @@ Ext.define('PVE.dc.AuthEdit', {
me
.
load
({
success
:
function
(
response
,
options
)
{
var
data
=
response
.
result
.
data
||
{};
var
count
=
1
;
while
(
data
[
'
server
'
+
count
.
toString
()])
{
if
(
data
.
servers
)
{
data
.
servers
+=
'
,
'
;
}
data
.
servers
+=
data
[
'
server
'
+
count
.
toString
()];
count
++
;
}
// just to be sure (should not happen)
if
(
data
.
type
!==
me
.
authType
)
{
me
.
close
();
throw
"
got wrong auth type
"
;
}
me
.
setValues
(
data
);
}
});
...
...
www/manager/dc/AuthView.js
View file @
49845ad4
...
...
@@ -20,65 +20,98 @@ Ext.define('PVE.dc.AuthView', {
var
sm
=
Ext
.
create
(
'
Ext.selection.RowModel
'
,
{});
var
tbar
=
[
{
text
:
gettext
(
'
Create
'
),
handler
:
function
()
{
var
win
=
Ext
.
create
(
'
PVE.dc.AuthEdit
'
,{
});
win
.
on
(
'
destroy
'
,
reload
);
win
.
show
();
}
},
{
xtype
:
'
pveButton
'
,
text
:
gettext
(
'
Edit
'
),
selModel
:
sm
,
handler
:
function
(
btn
,
event
,
rec
)
{
var
realm
=
rec
.
data
.
realm
;
var
run_editor
=
function
()
{
var
rec
=
sm
.
getSelection
()[
0
];
if
(
!
rec
)
{
return
;
}
var
win
=
Ext
.
create
(
'
PVE.dc.AuthEdit
'
,{
realm
:
realm
});
win
.
on
(
'
destroy
'
,
reload
);
win
.
show
();
}
},
{
xtype
:
'
pveButton
'
,
text
:
gettext
(
'
Remove
'
),
selModel
:
sm
,
confirmMsg
:
function
(
rec
)
{
return
Ext
.
String
.
format
(
gettext
(
'
Are you sure you want to remove entry {0}
'
),
"
'
"
+
rec
.
data
.
realm
+
"
'
"
);
},
enableFn
:
function
(
rec
)
{
var
realm
=
rec
.
data
.
realm
;
return
realm
!==
'
pam
'
&&
realm
!=
'
pve
'
;
},
handler
:
function
(
btn
,
event
,
rec
)
{
var
realm
=
rec
.
data
.
realm
;
if
(
rec
.
data
.
type
===
'
builtin
'
)
{
return
;
}
var
win
=
Ext
.
create
(
'
PVE.dc.AuthEdit
'
,{
realm
:
rec
.
data
.
realm
,
authType
:
rec
.
data
.
type
});
win
.
on
(
'
destroy
'
,
reload
);
win
.
show
();
};
PVE
.
Utils
.
API2Request
({
url
:
'
/access/domains/
'
+
realm
,
method
:
'
DELETE
'
,
waitMsgTarget
:
me
,
callback
:
function
()
{
reload
();
var
edit_btn
=
new
PVE
.
button
.
Button
({
text
:
gettext
(
'
Edit
'
),
disabled
:
true
,
selModel
:
sm
,
enableFn
:
function
(
rec
)
{
return
rec
.
data
.
type
!==
'
builtin
'
;
},
handler
:
run_editor
});
var
remove_btn
=
new
PVE
.
button
.
Button
({
text
:
gettext
(
'
Remove
'
),
disabled
:
true
,
selModel
:
sm
,
confirmMsg
:
function
(
rec
)
{
return
Ext
.
String
.
format
(
gettext
(
'
Are you sure you want to remove entry {0}
'
),
"
'
"
+
rec
.
data
.
realm
+
"
'
"
);
},
enableFn
:
function
(
rec
)
{
return
rec
.
data
.
type
!==
'
builtin
'
;
},
handler
:
function
(
btn
,
event
,
rec
)
{
var
realm
=
rec
.
data
.
realm
;
PVE
.
Utils
.
API2Request
({
url
:
'
/access/domains/
'
+
realm
,
method
:
'
DELETE
'
,
waitMsgTarget
:
me
,
callback
:
function
()
{
reload
();
},
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
gettext
(
'
Error
'
),
response
.
htmlStatus
);
}
});
}
});
var
tbar
=
[
{
text
:
gettext
(
'
Add
'
),
menu
:
new
Ext
.
menu
.
Menu
({
items
:
[
{
text
:
'
Active Directory Server
'
,
handler
:
function
()
{
var
win
=
Ext
.
create
(
'
PVE.dc.AuthEdit
'
,
{
authType
:
'
ad
'
});
win
.
on
(
'
destroy
'
,
reload
);
win
.
show
();
}
},
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
gettext
(
'
Error
'
),
response
.
htmlStatus
);
{
text
:
'
LDAP Server
'
,
handler
:
function
()
{
var
win
=
Ext
.
create
(
'
PVE.dc.AuthEdit
'
,{
authType
:
'
ldap
'
});
win
.
on
(
'
destroy
'
,
reload
);
win
.
show
();
}
}
});
}
}
]
})
},
edit_btn
,
remove_btn
];
Ext
.
apply
(
me
,
{
store
:
store
,
selModel
:
sm
,
stateful
:
false
,
//
tbar: tbar,
tbar
:
tbar
,
viewConfig
:
{
trackOver
:
false
},
...
...
@@ -104,9 +137,8 @@ Ext.define('PVE.dc.AuthView', {
}
],
listeners
:
{
show
:
function
()
{
store
.
load
();
}
show
:
reload
,
itemdblclick
:
run_editor
}
});
...
...
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