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
3e2b0561
Commit
3e2b0561
authored
Dec 08, 2011
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more gettext markers
And try to reduce number of different texts
parent
8f25b23b
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
550 additions
and
268 deletions
+550
-268
de.po
po/de.po
+116
-28
fr.po
po/fr.po
+113
-25
ja.po
po/ja.po
+122
-83
messages.pot
po/messages.pot
+96
-20
Utils.js
www/manager/Utils.js
+10
-7
VNCConsole.js
www/manager/VNCConsole.js
+1
-1
Workspace.js
www/manager/Workspace.js
+3
-3
ACLView.js
www/manager/dc/ACLView.js
+4
-4
AuthEdit.js
www/manager/dc/AuthEdit.js
+12
-7
AuthView.js
www/manager/dc/AuthView.js
+34
-44
StorageView.js
www/manager/dc/StorageView.js
+21
-28
ContentView.js
www/manager/storage/ContentView.js
+18
-18
No files found.
po/de.po
View file @
3e2b0561
...
...
@@ -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 Dec 8 0
7:14:25
2011\n"
"PO-Revision-Date: 2011-12-08 0
7:07
+0100\n"
"POT-Creation-Date: Thu Dec 8 0
8:36:37
2011\n"
"PO-Revision-Date: 2011-12-08 0
8:39
+0100\n"
"Last-Translator: Proxmox Support Team <support@proxmox.com>\n"
"Language-Team: German\n"
"Language: de\n"
...
...
@@ -17,7 +17,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../www/manager/dc/StorageView.js:114
#: ../www/manager/storage/ContentView.js:87
msgid "Abort"
msgstr "Abbruch"
#: ../www/manager/dc/StorageView.js:107
msgid "Add"
msgstr "Hinzufügen"
...
...
@@ -39,9 +43,10 @@ msgstr ""
"Sind Sie sicher dass Sie VM {0} entfernen wollen? Damit löschen Sie alle "
"Daten der VM."
#: ../www/manager/dc/StorageView.js:70
msgid "Are you sure you want to remove storage {0}?"
msgstr "Möchten Sie Speicher {0} wirklich entfernen?"
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/AuthView.js:52
#: ../www/manager/storage/ContentView.js:260
msgid "Are you sure you want to remove entry {0}"
msgstr "Möchten Sie Eintrag {0} wirklich entfernen?"
#: ../www/manager/dc/Config.js:49
msgid "Authentication"
...
...
@@ -68,11 +73,15 @@ msgstr "CPU-Auslastung"
msgid "Cluster log"
msgstr "Cluster log"
#: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:45
#: ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240
#: ../www/manager/VNCConsole.js:252 ../www/manager/VNCConsole.js:269
#: ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:370
#: ../www/manager/VNCConsole.js:382 ../www/manager/openvz/CmdMenu.js:45
#: ../www/manager/dc/AuthView.js:100 ../www/manager/dc/AuthEdit.js:48
msgid "Comment"
msgstr "Kommentar"
#: ../www/manager/qemu/CmdMenu.js:45 ../www/manager/button/Button.js:40
#: ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:252
#: ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281
#: ../www/manager/VNCConsole.js:370 ../www/manager/VNCConsole.js:382
#: ../www/manager/openvz/CmdMenu.js:45
msgid "Confirm"
msgstr "Bestätigung"
...
...
@@ -82,10 +91,10 @@ msgstr "Bestätigung"
msgid "Connection error"
msgstr "Verbindungsfehler"
#: ../www/manager/
Utils.js:374 ../www/manager/qemu/Config.js:96
#: ../www/manager/qemu/C
mdMenu.js:55 ../www/manager/VNCConsole.js:297
#: ../www/manager/VNCConsole.js:
393 ../www/manager/openvz/Config.js:88
#: ../www/manager/openvz/CmdMenu.js:55
#: ../www/manager/
Workspace.js:111 ../www/manager/Utils.js:374
#: ../www/manager/qemu/C
onfig.js:96 ../www/manager/qemu/CmdMenu.js:55
#: ../www/manager/VNCConsole.js:
297 ../www/manager/VNCConsole.js:393
#: ../www/manager/openvz/C
onfig.js:88 ../www/manager/openvz/C
mdMenu.js:55
msgid "Console"
msgstr "Konsole"
...
...
@@ -93,13 +102,14 @@ msgstr "Konsole"
msgid "Container {0} on node {1}"
msgstr "Container {0} auf Knoten {1}"
#: ../www/manager/dc/StorageView.js:174 ../www/manager/storage/DirEdit.js:46
#: ../www/manager/dc/StorageView.js:167 ../www/manager/storage/DirEdit.js:46
#: ../www/manager/storage/ContentView.js:48
#: ../www/manager/storage/Browser.js:30
msgid "Content"
msgstr "Inhalt"
#: ../www/manager/
Utils.js:376 ../www/manager/Utils.js:38
6
#: ../www/manager/window/Edit.js:166
#: ../www/manager/
dc/AuthView.js:25 ../www/manager/Utils.js:37
6
#: ../www/manager/
Utils.js:386 ../www/manager/
window/Edit.js:166
msgid "Create"
msgstr "Erstellen"
...
...
@@ -127,11 +137,15 @@ msgstr "Erstelle Directory-Speicher"
msgid "Create iSCSI storage"
msgstr "Erstelle iSCSI-Speicher"
#: ../www/manager/dc/AuthEdit.js:112
msgid "Create realm"
msgstr "Erstelle Bereich"
#: ../www/manager/tree/ResourceTree.js:185 ../www/manager/dc/Config.js:9
msgid "Datacenter"
msgstr "Rechenzentrum"
#: ../www/manager/
Utils.js:553
#: ../www/manager/
dc/AuthEdit.js:54 ../www/manager/Utils.js:540
msgid "Default"
msgstr "Standardeinstellung"
...
...
@@ -187,7 +201,8 @@ msgstr "Möchten Sie VM {0} wirklich stoppen?"
msgid "Do you really want to suspend VM {0}?"
msgstr "Möchten Sie VM {0} wirklich aussetzen (suspend)?"
#: ../www/manager/dc/StorageView.js:54 ../www/manager/dc/OptionView.js:102
#: ../www/manager/dc/StorageView.js:55 ../www/manager/dc/AuthView.js:35
#: ../www/manager/dc/OptionView.js:102
msgid "Edit"
msgstr "Bearbeiten"
...
...
@@ -215,7 +230,11 @@ msgstr "Bearbeite iSCSI-Speicher {0}"
msgid "Edit keyboard settings"
msgstr "Bearbeite Tastatureinstellungen"
#: ../www/manager/dc/StorageView.js:200
#: ../www/manager/dc/AuthEdit.js:114
msgid "Edit realm {0}"
msgstr "Bearbeite Bereich {0}"
#: ../www/manager/dc/StorageView.js:193
#: ../www/manager/storage/IScsiEdit.js:135
#: ../www/manager/storage/LVMEdit.js:195 ../www/manager/storage/DirEdit.js:57
#: ../www/manager/storage/NFSEdit.js:140
...
...
@@ -234,6 +253,10 @@ msgstr "Bitte geben Sie Ihr Passwort ein"
msgid "Enter your user name"
msgstr "Bitte geben Sie Ihren Benutzernamen ein"
#: ../www/manager/dc/AuthView.js:70 ../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:87
#: ../www/manager/window/Edit.js:124
msgid "Error"
...
...
@@ -257,7 +280,7 @@ msgid "Form fields may not be submitted with invalid values"
msgstr "Formularfelder müssen gültige Werte haben"
#: ../www/manager/Utils.js:45 ../www/manager/Utils.js:50
#: ../www/manager/Utils.js:55
#: ../www/manager/Utils.js:55
../www/manager/storage/ContentView.js:301
msgid "Format"
msgstr "Format"
...
...
@@ -315,6 +338,7 @@ msgid "Monitor"
msgstr "Monitor"
#: ../www/manager/data/ResourceStore.js:96
#: ../www/manager/storage/ContentView.js:294
msgid "Name"
msgstr "Name"
...
...
@@ -322,7 +346,7 @@ msgstr "Name"
msgid "Network"
msgstr "Netzwerk"
#: ../www/manager/Utils.js:5
52
#: ../www/manager/Utils.js:5
38
msgid "No"
msgstr "Nein"
...
...
@@ -373,6 +397,10 @@ msgstr "Andere Bertiebssysteme"
msgid "Password"
msgstr "Passwort"
#: ../www/manager/dc/ACLView.js:37
msgid "Path"
msgstr "Pfad"
#: ../www/manager/dc/Config.js:39 ../www/manager/storage/Browser.js:34
#: ../www/manager/qemu/Config.js:137 ../www/manager/openvz/Config.js:146
msgid "Permissions"
...
...
@@ -383,10 +411,18 @@ msgstr "Rechte"
msgid "Please wait..."
msgstr "Bitte warten..."
#: ../www/manager/dc/ACLView.js:56
msgid "Propagate"
msgstr "Propagieren"
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr "Proxmox VE Anmeldung"
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
msgid "Realm"
msgstr "Bereich"
#: ../www/manager/VNCConsole.js:304 ../www/manager/VNCConsole.js:400
#: ../www/manager/VNCConsole.js:437
msgid "Refresh"
...
...
@@ -397,7 +433,8 @@ msgstr "Aktualisieren"
msgid "Reload"
msgstr "Neu laden"
#: ../www/manager/dc/StorageView.js:60 ../www/manager/qemu/Config.js:79
#: ../www/manager/dc/StorageView.js:62 ../www/manager/dc/AuthView.js:49
#: ../www/manager/storage/ContentView.js:256 ../www/manager/qemu/Config.js:79
#: ../www/manager/openvz/Config.js:71
msgid "Remove"
msgstr "Entfernen"
...
...
@@ -416,6 +453,7 @@ msgid "Restart"
msgstr "Restart"
#: ../www/manager/Utils.js:377 ../www/manager/Utils.js:387
#: ../www/manager/storage/ContentView.js:228
msgid "Restore"
msgstr "Zurückspielen"
...
...
@@ -423,6 +461,10 @@ msgstr "Zurückspielen"
msgid "Resume"
msgstr "Resume"
#: ../www/manager/dc/ACLView.js:50
msgid "Role"
msgstr "Rolle"
#: ../www/manager/dc/Config.js:44
msgid "Roles"
msgstr "Rollen"
...
...
@@ -432,9 +474,21 @@ msgstr "Rollen"
msgid "Search"
msgstr "Suche"
#: ../www/manager/storage/ContentView.js:55
msgid "Select File..."
msgstr "Datei auswählen"
#: ../www/manager/storage/NFSEdit.js:95
msgid "Server"
msgstr "Rechner"
msgstr "Server"
#: ../www/manager/dc/AuthEdit.js:71
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"
...
...
@@ -452,7 +506,7 @@ msgstr "Services"
msgid "Severity"
msgstr "Schwere"
#: ../www/manager/dc/StorageView.js:1
93
../www/manager/storage/LVMEdit.js:201
#: ../www/manager/dc/StorageView.js:1
86
../www/manager/storage/LVMEdit.js:201
#: ../www/manager/storage/DirEdit.js:63
msgid "Shared"
msgstr "Verteilt"
...
...
@@ -469,6 +523,10 @@ msgstr "Shell"
msgid "Shutdown"
msgstr "Herunterfahren"
#: ../www/manager/storage/ContentView.js:306
msgid "Size"
msgstr "Größe"
#: ../www/manager/Utils.js:380 ../www/manager/Utils.js:390
#: ../www/manager/Utils.js:392 ../www/manager/qemu/Config.js:36
#: ../www/manager/qemu/CmdMenu.js:34 ../www/manager/VNCConsole.js:231
...
...
@@ -530,14 +588,28 @@ msgid "Time"
msgstr "Zeit"
#: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:16
7
#: ../www/manager/dc/StorageView.js:16
0 ../www/manager/dc/AuthView.js:93
msgid "Type"
msgstr "Typ"
#: ../www/manager/Utils.js:539
msgid "Unknown"
msgstr "Unbekannt"
#: ../www/manager/Utils.js:251
msgid "Unknown error"
msgstr "Unbekannter Fehler"
#: ../www/manager/storage/ContentView.js:95
#: ../www/manager/storage/ContentView.js:159
#: ../www/manager/storage/ContentView.js:281
msgid "Upload"
msgstr "Hochladen"
#: ../www/manager/storage/ContentView.js:67
msgid "Uploading file..."
msgstr "Hochladen der Datei..."
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
msgstr "Betriebszeit"
...
...
@@ -546,6 +618,10 @@ msgstr "Betriebszeit"
msgid "Use LUNs directly"
msgstr "LUNs direkt verwenden"
#: ../www/manager/dc/ACLView.js:43
msgid "User"
msgstr "Benutzer"
#: ../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
...
...
@@ -556,6 +632,10 @@ msgstr "Benutzername"
msgid "Users"
msgstr "Benutzer"
#: ../www/manager/Workspace.js:303
msgid "Version"
msgstr "Version"
#: ../www/manager/node/Tasks.js:57
msgid "View"
msgstr "Anzeigen"
...
...
@@ -572,10 +652,18 @@ msgstr "Virtuelle Maschinen"
msgid "Volume group"
msgstr "Volume-Group"
#: ../www/manager/Utils.js:5
51
#: ../www/manager/Utils.js:5
37
msgid "Yes"
msgstr "Ja"
#: ../www/manager/Workspace.js:219
msgid "You are logged in as {0}"
msgstr "Sie sind angemeldet als {0}"
#: ../www/manager/Utils.js:542
msgid "day"
msgstr "Tag"
#: ../www/manager/Utils.js:541
msgid "days"
msgstr "Tage"
po/fr.po
View file @
3e2b0561
...
...
@@ -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 Dec 8 0
7:14:25
2011\n"
"POT-Creation-Date: Thu Dec 8 0
8:36:37
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"
...
...
@@ -17,7 +17,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../www/manager/dc/StorageView.js:114
#: ../www/manager/storage/ContentView.js:87
msgid "Abort"
msgstr ""
#: ../www/manager/dc/StorageView.js:107
msgid "Add"
msgstr ""
...
...
@@ -37,8 +41,9 @@ msgid ""
"data."
msgstr ""
#: ../www/manager/dc/StorageView.js:70
msgid "Are you sure you want to remove storage {0}?"
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/AuthView.js:52
#: ../www/manager/storage/ContentView.js:260
msgid "Are you sure you want to remove entry {0}"
msgstr ""
#: ../www/manager/dc/Config.js:49
...
...
@@ -66,11 +71,15 @@ msgstr ""
msgid "Cluster log"
msgstr ""
#: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:45
#: ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240
#: ../www/manager/VNCConsole.js:252 ../www/manager/VNCConsole.js:269
#: ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:370
#: ../www/manager/VNCConsole.js:382 ../www/manager/openvz/CmdMenu.js:45
#: ../www/manager/dc/AuthView.js:100 ../www/manager/dc/AuthEdit.js:48
msgid "Comment"
msgstr ""
#: ../www/manager/qemu/CmdMenu.js:45 ../www/manager/button/Button.js:40
#: ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:252
#: ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281
#: ../www/manager/VNCConsole.js:370 ../www/manager/VNCConsole.js:382
#: ../www/manager/openvz/CmdMenu.js:45
msgid "Confirm"
msgstr ""
...
...
@@ -80,10 +89,10 @@ msgstr ""
msgid "Connection error"
msgstr ""
#: ../www/manager/
Utils.js:374 ../www/manager/qemu/Config.js:96
#: ../www/manager/qemu/C
mdMenu.js:55 ../www/manager/VNCConsole.js:297
#: ../www/manager/VNCConsole.js:
393 ../www/manager/openvz/Config.js:88
#: ../www/manager/openvz/CmdMenu.js:55
#: ../www/manager/
Workspace.js:111 ../www/manager/Utils.js:374
#: ../www/manager/qemu/C
onfig.js:96 ../www/manager/qemu/CmdMenu.js:55
#: ../www/manager/VNCConsole.js:
297 ../www/manager/VNCConsole.js:393
#: ../www/manager/openvz/C
onfig.js:88 ../www/manager/openvz/C
mdMenu.js:55
msgid "Console"
msgstr ""
...
...
@@ -91,13 +100,14 @@ msgstr ""
msgid "Container {0} on node {1}"
msgstr ""
#: ../www/manager/dc/StorageView.js:174 ../www/manager/storage/DirEdit.js:46
#: ../www/manager/dc/StorageView.js:167 ../www/manager/storage/DirEdit.js:46
#: ../www/manager/storage/ContentView.js:48
#: ../www/manager/storage/Browser.js:30
msgid "Content"
msgstr ""
#: ../www/manager/
Utils.js:376 ../www/manager/Utils.js:38
6
#: ../www/manager/window/Edit.js:166
#: ../www/manager/
dc/AuthView.js:25 ../www/manager/Utils.js:37
6
#: ../www/manager/
Utils.js:386 ../www/manager/
window/Edit.js:166
msgid "Create"
msgstr ""
...
...
@@ -125,11 +135,15 @@ msgstr ""
msgid "Create iSCSI storage"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:112
msgid "Create realm"
msgstr ""
#: ../www/manager/tree/ResourceTree.js:185 ../www/manager/dc/Config.js:9
msgid "Datacenter"
msgstr ""
#: ../www/manager/
Utils.js:553
#: ../www/manager/
dc/AuthEdit.js:54 ../www/manager/Utils.js:540
msgid "Default"
msgstr ""
...
...
@@ -185,7 +199,8 @@ msgstr ""
msgid "Do you really want to suspend VM {0}?"
msgstr ""
#: ../www/manager/dc/StorageView.js:54 ../www/manager/dc/OptionView.js:102
#: ../www/manager/dc/StorageView.js:55 ../www/manager/dc/AuthView.js:35
#: ../www/manager/dc/OptionView.js:102
msgid "Edit"
msgstr ""
...
...
@@ -213,7 +228,11 @@ msgstr ""
msgid "Edit keyboard settings"
msgstr ""
#: ../www/manager/dc/StorageView.js:200
#: ../www/manager/dc/AuthEdit.js:114
msgid "Edit realm {0}"
msgstr ""
#: ../www/manager/dc/StorageView.js:193
#: ../www/manager/storage/IScsiEdit.js:135
#: ../www/manager/storage/LVMEdit.js:195 ../www/manager/storage/DirEdit.js:57
#: ../www/manager/storage/NFSEdit.js:140
...
...
@@ -232,6 +251,10 @@ msgstr ""
msgid "Enter your user name"
msgstr ""
#: ../www/manager/dc/AuthView.js:70 ../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:87
#: ../www/manager/window/Edit.js:124
msgid "Error"
...
...
@@ -255,7 +278,7 @@ msgid "Form fields may not be submitted with invalid values"
msgstr ""
#: ../www/manager/Utils.js:45 ../www/manager/Utils.js:50
#: ../www/manager/Utils.js:55
#: ../www/manager/Utils.js:55
../www/manager/storage/ContentView.js:301
msgid "Format"
msgstr ""
...
...
@@ -313,6 +336,7 @@ msgid "Monitor"
msgstr ""
#: ../www/manager/data/ResourceStore.js:96
#: ../www/manager/storage/ContentView.js:294
msgid "Name"
msgstr ""
...
...
@@ -320,7 +344,7 @@ msgstr ""
msgid "Network"
msgstr ""
#: ../www/manager/Utils.js:5
52
#: ../www/manager/Utils.js:5
38
msgid "No"
msgstr ""
...
...
@@ -371,6 +395,10 @@ msgstr ""
msgid "Password"
msgstr ""
#: ../www/manager/dc/ACLView.js:37
msgid "Path"
msgstr ""
#: ../www/manager/dc/Config.js:39 ../www/manager/storage/Browser.js:34
#: ../www/manager/qemu/Config.js:137 ../www/manager/openvz/Config.js:146
msgid "Permissions"
...
...
@@ -381,10 +409,18 @@ msgstr ""
msgid "Please wait..."
msgstr ""
#: ../www/manager/dc/ACLView.js:56
msgid "Propagate"
msgstr ""
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr ""
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
msgid "Realm"
msgstr ""
#: ../www/manager/VNCConsole.js:304 ../www/manager/VNCConsole.js:400
#: ../www/manager/VNCConsole.js:437
msgid "Refresh"
...
...
@@ -395,7 +431,8 @@ msgstr ""
msgid "Reload"
msgstr ""
#: ../www/manager/dc/StorageView.js:60 ../www/manager/qemu/Config.js:79
#: ../www/manager/dc/StorageView.js:62 ../www/manager/dc/AuthView.js:49
#: ../www/manager/storage/ContentView.js:256 ../www/manager/qemu/Config.js:79
#: ../www/manager/openvz/Config.js:71
msgid "Remove"
msgstr ""
...
...
@@ -414,6 +451,7 @@ msgid "Restart"
msgstr ""
#: ../www/manager/Utils.js:377 ../www/manager/Utils.js:387
#: ../www/manager/storage/ContentView.js:228
msgid "Restore"
msgstr ""
...
...
@@ -421,6 +459,10 @@ msgstr ""
msgid "Resume"
msgstr ""
#: ../www/manager/dc/ACLView.js:50
msgid "Role"
msgstr ""
#: ../www/manager/dc/Config.js:44
msgid "Roles"
msgstr ""
...
...
@@ -430,10 +472,22 @@ msgstr ""
msgid "Search"
msgstr ""
#: ../www/manager/storage/ContentView.js:55
msgid "Select File..."
msgstr ""
#: ../www/manager/storage/NFSEdit.js:95
msgid "Server"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:71
msgid "Server Address"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr ""
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr ""
...
...
@@ -450,7 +504,7 @@ msgstr ""
msgid "Severity"
msgstr ""
#: ../www/manager/dc/StorageView.js:1
93
../www/manager/storage/LVMEdit.js:201
#: ../www/manager/dc/StorageView.js:1
86
../www/manager/storage/LVMEdit.js:201
#: ../www/manager/storage/DirEdit.js:63
msgid "Shared"
msgstr ""
...
...
@@ -467,6 +521,10 @@ msgstr ""
msgid "Shutdown"
msgstr ""
#: ../www/manager/storage/ContentView.js:306
msgid "Size"
msgstr ""
#: ../www/manager/Utils.js:380 ../www/manager/Utils.js:390
#: ../www/manager/Utils.js:392 ../www/manager/qemu/Config.js:36
#: ../www/manager/qemu/CmdMenu.js:34 ../www/manager/VNCConsole.js:231
...
...
@@ -528,14 +586,28 @@ msgid "Time"
msgstr ""
#: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:16
7
#: ../www/manager/dc/StorageView.js:16
0 ../www/manager/dc/AuthView.js:93
msgid "Type"
msgstr ""
#: ../www/manager/Utils.js:539
msgid "Unknown"
msgstr ""
#: ../www/manager/Utils.js:251
msgid "Unknown error"
msgstr ""
#: ../www/manager/storage/ContentView.js:95
#: ../www/manager/storage/ContentView.js:159
#: ../www/manager/storage/ContentView.js:281
msgid "Upload"
msgstr ""
#: ../www/manager/storage/ContentView.js:67
msgid "Uploading file..."
msgstr ""
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
msgstr ""
...
...
@@ -544,6 +616,10 @@ msgstr ""
msgid "Use LUNs directly"
msgstr ""
#: ../www/manager/dc/ACLView.js:43
msgid "User"
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:65
...
...
@@ -554,6 +630,10 @@ msgstr ""
msgid "Users"
msgstr ""
#: ../www/manager/Workspace.js:303
msgid "Version"
msgstr ""
#: ../www/manager/node/Tasks.js:57
msgid "View"
msgstr ""
...
...
@@ -570,10 +650,18 @@ msgstr ""
msgid "Volume group"
msgstr ""
#: ../www/manager/Utils.js:5
51
#: ../www/manager/Utils.js:5
37
msgid "Yes"
msgstr ""
#: ../www/manager/Workspace.js:219
msgid "You are logged in as {0}"
msgstr ""
#: ../www/manager/Utils.js:542
msgid "day"
msgstr ""
#: ../www/manager/Utils.js:541
msgid "days"
msgstr ""
po/ja.po
View file @
3e2b0561
...
...
@@ -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 Dec 8 0
7:14:25
2011\n"
"POT-Creation-Date: Thu Dec 8 0
8:36:37
2011\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"
...
...
@@ -17,7 +17,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Japanese\n"
#: ../www/manager/dc/StorageView.js:114
#: ../www/manager/storage/ContentView.js:87
msgid "Abort"
msgstr "中止"
#: ../www/manager/dc/StorageView.js:107
msgid "Add"
msgstr "追加"
...
...
@@ -39,9 +43,11 @@ msgstr ""
"本当に VM {0} を削除してもよろしいですか? 削除すると、VM データを復活させるこ"
"とはできません。"
#: ../www/manager/dc/StorageView.js:70
msgid "Are you sure you want to remove storage {0}?"
msgstr "本当にストレージ {0} を削除してもよろしいですか?"
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/AuthView.js:52
#: ../www/manager/storage/ContentView.js:260
#, fuzzy
msgid "Are you sure you want to remove entry {0}"
msgstr "本当に {0} を削除してもよろしいですか?"
#: ../www/manager/dc/Config.js:49
msgid "Authentication"
...
...
@@ -68,11 +74,15 @@ msgstr "CPU 使用率"
msgid "Cluster log"
msgstr "クラスタログ"
#: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:45
#: ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240
#: ../www/manager/VNCConsole.js:252 ../www/manager/VNCConsole.js:269
#: ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:370
#: ../www/manager/VNCConsole.js:382 ../www/manager/openvz/CmdMenu.js:45
#: ../www/manager/dc/AuthView.js:100 ../www/manager/dc/AuthEdit.js:48
msgid "Comment"
msgstr "コメント"
#: ../www/manager/qemu/CmdMenu.js:45 ../www/manager/button/Button.js:40
#: ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:252
#: ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281
#: ../www/manager/VNCConsole.js:370 ../www/manager/VNCConsole.js:382
#: ../www/manager/openvz/CmdMenu.js:45
msgid "Confirm"
msgstr "確認"
...
...
@@ -82,10 +92,10 @@ msgstr "確認"
msgid "Connection error"
msgstr "接続エラー"
#: ../www/manager/
Utils.js:374 ../www/manager/qemu/Config.js:96
#: ../www/manager/qemu/C
mdMenu.js:55 ../www/manager/VNCConsole.js:297
#: ../www/manager/VNCConsole.js:
393 ../www/manager/openvz/Config.js:88
#: ../www/manager/openvz/CmdMenu.js:55
#: ../www/manager/
Workspace.js:111 ../www/manager/Utils.js:374
#: ../www/manager/qemu/C
onfig.js:96 ../www/manager/qemu/CmdMenu.js:55
#: ../www/manager/VNCConsole.js:
297 ../www/manager/VNCConsole.js:393
#: ../www/manager/openvz/C
onfig.js:88 ../www/manager/openvz/C
mdMenu.js:55
msgid "Console"
msgstr "コンソール"
...
...
@@ -93,13 +103,14 @@ msgstr "コンソール"
msgid "Container {0} on node {1}"
msgstr "ノード {1} 上のコンテナ {0}"
#: ../www/manager/dc/StorageView.js:174 ../www/manager/storage/DirEdit.js:46
#: ../www/manager/dc/StorageView.js:167 ../www/manager/storage/DirEdit.js:46
#: ../www/manager/storage/ContentView.js:48
#: ../www/manager/storage/Browser.js:30
msgid "Content"
msgstr "内容"
#: ../www/manager/
Utils.js:376 ../www/manager/Utils.js:38
6
#: ../www/manager/window/Edit.js:166
#: ../www/manager/
dc/AuthView.js:25 ../www/manager/Utils.js:37
6
#: ../www/manager/
Utils.js:386 ../www/manager/
window/Edit.js:166
msgid "Create"
msgstr "作成"
...
...
@@ -127,11 +138,16 @@ msgstr "ディレクトリストレージを作成"
msgid "Create iSCSI storage"
msgstr "iSCSI ストレージを作成"
#: ../www/manager/dc/AuthEdit.js:112
#, fuzzy
msgid "Create realm"
msgstr "ブリッジを作成"
#: ../www/manager/tree/ResourceTree.js:185 ../www/manager/dc/Config.js:9
msgid "Datacenter"
msgstr "データセンター"
#: ../www/manager/
Utils.js:553
#: ../www/manager/
dc/AuthEdit.js:54 ../www/manager/Utils.js:540
msgid "Default"
msgstr "デフォルト"
...
...
@@ -187,7 +203,8 @@ msgstr "本当に、VM {0} を停止しますか?"
msgid "Do you really want to suspend VM {0}?"
msgstr "本当に、VM {0} を一時停止しますか?"
#: ../www/manager/dc/StorageView.js:54 ../www/manager/dc/OptionView.js:102
#: ../www/manager/dc/StorageView.js:55 ../www/manager/dc/AuthView.js:35
#: ../www/manager/dc/OptionView.js:102
msgid "Edit"
msgstr "編集"
...
...
@@ -215,7 +232,12 @@ msgstr "iSCSI ストレージ {0} を編集"
msgid "Edit keyboard settings"
msgstr "キーボード設定を編集"
#: ../www/manager/dc/StorageView.js:200
#: ../www/manager/dc/AuthEdit.js:114
#, fuzzy
msgid "Edit realm {0}"
msgstr "ユーザー {0} を編集"
#: ../www/manager/dc/StorageView.js:193
#: ../www/manager/storage/IScsiEdit.js:135
#: ../www/manager/storage/LVMEdit.js:195 ../www/manager/storage/DirEdit.js:57
#: ../www/manager/storage/NFSEdit.js:140
...
...
@@ -234,6 +256,10 @@ msgstr "パスワードを入力して下さい"
msgid "Enter your user name"
msgstr "ユーザー名を入力して下さい"
#: ../www/manager/dc/AuthView.js:70 ../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:87
#: ../www/manager/window/Edit.js:124
msgid "Error"
...
...
@@ -257,7 +283,7 @@ msgid "Form fields may not be submitted with invalid values"
msgstr "すべての欄が正しく入力されていないとフォームを送信することはできません"
#: ../www/manager/Utils.js:45 ../www/manager/Utils.js:50
#: ../www/manager/Utils.js:55
#: ../www/manager/Utils.js:55
../www/manager/storage/ContentView.js:301
msgid "Format"
msgstr "形式"
...
...
@@ -315,6 +341,7 @@ msgid "Monitor"
msgstr "モニター"
#: ../www/manager/data/ResourceStore.js:96
#: ../www/manager/storage/ContentView.js:294
msgid "Name"
msgstr "名前"
...
...
@@ -322,7 +349,7 @@ msgstr "名前"
msgid "Network"
msgstr "ネットワーク"
#: ../www/manager/Utils.js:5
52
#: ../www/manager/Utils.js:5
38
msgid "No"
msgstr "いいえ"
...
...
@@ -373,6 +400,10 @@ msgstr ""
msgid "Password"
msgstr "パスワード"
#: ../www/manager/dc/ACLView.js:37
msgid "Path"
msgstr "パス"
#: ../www/manager/dc/Config.js:39 ../www/manager/storage/Browser.js:34
#: ../www/manager/qemu/Config.js:137 ../www/manager/openvz/Config.js:146
msgid "Permissions"
...
...
@@ -383,10 +414,18 @@ msgstr "アクセス権限"
msgid "Please wait..."
msgstr "しばらくお待ち下さい…"
#: ../www/manager/dc/ACLView.js:56
msgid "Propagate"
msgstr "継承"
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr "Proxmox VE ログイン"
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
msgid "Realm"
msgstr "レルム"
#: ../www/manager/VNCConsole.js:304 ../www/manager/VNCConsole.js:400
#: ../www/manager/VNCConsole.js:437
msgid "Refresh"
...
...
@@ -397,7 +436,8 @@ msgstr "再表示"
msgid "Reload"
msgstr "再読込"
#: ../www/manager/dc/StorageView.js:60 ../www/manager/qemu/Config.js:79
#: ../www/manager/dc/StorageView.js:62 ../www/manager/dc/AuthView.js:49
#: ../www/manager/storage/ContentView.js:256 ../www/manager/qemu/Config.js:79
#: ../www/manager/openvz/Config.js:71
msgid "Remove"
msgstr "削除"
...
...
@@ -416,6 +456,7 @@ msgid "Restart"
msgstr "再起動"
#: ../www/manager/Utils.js:377 ../www/manager/Utils.js:387
#: ../www/manager/storage/ContentView.js:228
msgid "Restore"
msgstr "リストア"
...
...
@@ -423,6 +464,10 @@ msgstr "リストア"
msgid "Resume"
msgstr "再開"
#: ../www/manager/dc/ACLView.js:50
msgid "Role"
msgstr "ロール"
#: ../www/manager/dc/Config.js:44
msgid "Roles"
msgstr "ロール"
...
...
@@ -432,10 +477,22 @@ msgstr "ロール"
msgid "Search"
msgstr "検索"
#: ../www/manager/storage/ContentView.js:55
msgid "Select File..."
msgstr "ファイルを選択…"
#: ../www/manager/storage/NFSEdit.js:95
msgid "Server"
msgstr "サーバー"
#: ../www/manager/dc/AuthEdit.js:71
msgid "Server Address"
msgstr "サーバーアドレス"
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr "サーバーポート"
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr "サーバー表示"
...
...
@@ -452,7 +509,7 @@ msgstr "サービス"
msgid "Severity"
msgstr "重要度"
#: ../www/manager/dc/StorageView.js:1
93
../www/manager/storage/LVMEdit.js:201
#: ../www/manager/dc/StorageView.js:1
86
../www/manager/storage/LVMEdit.js:201
#: ../www/manager/storage/DirEdit.js:63
msgid "Shared"
msgstr "共有"
...
...
@@ -469,6 +526,10 @@ msgstr "シェル"
msgid "Shutdown"
msgstr "シャットダウン"
#: ../www/manager/storage/ContentView.js:306
msgid "Size"
msgstr "サイズ"
#: ../www/manager/Utils.js:380 ../www/manager/Utils.js:390
#: ../www/manager/Utils.js:392 ../www/manager/qemu/Config.js:36
#: ../www/manager/qemu/CmdMenu.js:34 ../www/manager/VNCConsole.js:231
...
...
@@ -530,14 +591,29 @@ msgid "Time"
msgstr "時刻"
#: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:16
7
#: ../www/manager/dc/StorageView.js:16
0 ../www/manager/dc/AuthView.js:93
msgid "Type"
msgstr "種別"
#: ../www/manager/Utils.js:539
#, fuzzy
msgid "Unknown"
msgstr "不明"
#: ../www/manager/Utils.js:251
msgid "Unknown error"
msgstr "未知のエラー"
#: ../www/manager/storage/ContentView.js:95
#: ../www/manager/storage/ContentView.js:159
#: ../www/manager/storage/ContentView.js:281
msgid "Upload"
msgstr "アップロード"
#: ../www/manager/storage/ContentView.js:67
msgid "Uploading file..."
msgstr "ファイルをアップロード中…"
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
msgstr "稼働時間"
...
...
@@ -546,6 +622,11 @@ msgstr "稼働時間"
msgid "Use LUNs directly"
msgstr "LUNs を直接使用する"
#: ../www/manager/dc/ACLView.js:43
#, fuzzy
msgid "User"
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:65
...
...
@@ -556,6 +637,10 @@ msgstr "ユーザー名"
msgid "Users"
msgstr "ユーザー"
#: ../www/manager/Workspace.js:303
msgid "Version"
msgstr "バージョン"
#: ../www/manager/node/Tasks.js:57
msgid "View"
msgstr "表示"
...
...
@@ -572,7 +657,7 @@ msgstr "仮想マシン"
msgid "Volume group"
msgstr "ボリュームグループ"
#: ../www/manager/Utils.js:5
51
#: ../www/manager/Utils.js:5
37
msgid "Yes"
msgstr "はい"
...
...
@@ -580,6 +665,14 @@ msgstr "はい"
msgid "You are logged in as {0}"
msgstr "{0} でログイン中"
#: ../www/manager/Utils.js:542
msgid "day"
msgstr "日 +"
#: ../www/manager/Utils.js:541
msgid "days"
msgstr "日 +"
#~ msgid "\"now\" or \"2006-06-17T16:01:21\" or \"2006-06-17\""
#~ msgstr "\"now\" または、\"2006-06-17T16:01:21\"、\"2006-06-17\""
...
...
@@ -601,9 +694,6 @@ msgstr "{0} でログイン中"
#~ msgid "ACPI support"
#~ msgstr "ACPI サポート"
#~ msgid "Abort"
#~ msgstr "中止"
#~ msgid "Active"
#~ msgstr "稼働中"
...
...
@@ -665,12 +755,12 @@ msgstr "{0} でログイン中"
#~ "本当にイメージ {0} を削除してもよろしいですか? 削除すると、イメージデータ"
#~ "を復活させることはできません。"
#~ msgid "Are you sure you want to remove storage {0}?"
#~ msgstr "本当にストレージ {0} を削除してもよろしいですか?"
#~ msgid "Are you sure you want to remove this item"
#~ msgstr "本当にこの項目を削除してもよろしいですか?"
#~ msgid "Are you sure you want to remove: {0}?"
#~ msgstr "本当に {0} を削除してもよろしいですか?"
#~ msgid ""
#~ "Are you sure you want to restore VM {0}? This will permanently erase "
#~ "current VM data."
...
...
@@ -756,9 +846,6 @@ msgstr "{0} でログイン中"
#~ msgid "Cirrus Logic GD5446"
#~ msgstr "Cirrus Logic GD5446"
#~ msgid "Comment"
#~ msgstr "コメント"
#~ msgid "Compress"
#~ msgstr "圧縮"
...
...
@@ -795,9 +882,6 @@ msgstr "{0} でログイン中"
#~ msgid "Create Bond"
#~ msgstr "Bond を作成"
#~ msgid "Create Bridge"
#~ msgstr "ブリッジを作成"
#~ msgid "Create Group"
#~ msgstr "グループを作成"
...
...
@@ -952,9 +1036,6 @@ msgstr "{0} でログイン中"
#~ msgid "Edit Harddisk settings ({0})"
#~ msgstr "ハードディスク({0})の設定を編集"
#~ msgid "Edit User {0}"
#~ msgstr "ユーザー {0} を編集"
#~ msgid "Edit display settings"
#~ msgstr "ディスプレイ設定を編集"
...
...
@@ -1367,9 +1448,6 @@ msgstr "{0} でログイン中"
#~ msgid "Passowords does not match!"
#~ msgstr "パスワードが一致しません!"
#~ msgid "Path"
#~ msgstr "パス"
#~ msgid "Path/Target"
#~ msgstr "パス/ターゲット"
...
...
@@ -1400,9 +1478,6 @@ msgstr "{0} でログイン中"
#~ msgid "Processors"
#~ msgstr "プロセッサー"
#~ msgid "Propagate"
#~ msgstr "継承"
#~ msgid "Proxmox Console"
#~ msgstr "Proxmox コンソール"
...
...
@@ -1439,9 +1514,6 @@ msgstr "{0} でログイン中"
#~ msgid "Ready"
#~ msgstr "完了"
#~ msgid "Realm"
#~ msgstr "レルム"
#~ msgid "Realtec RTL8139"
#~ msgstr "Realtec RTL8139"
...
...
@@ -1486,9 +1558,6 @@ msgstr "{0} でログイン中"
#~ msgid "Revert changes"
#~ msgstr "元に戻す"
#~ msgid "Role"
#~ msgstr "ロール"
#~ msgid "Role name"
#~ msgstr "ロール名"
...
...
@@ -1522,9 +1591,6 @@ msgstr "{0} でログイン中"
#~ msgid "Second boot device"
#~ msgstr "二番目にブートするデバイス"
#~ msgid "Select File..."
#~ msgstr "ファイルを選択…"
#~ msgid "Selection"
#~ msgstr "選択"
...
...
@@ -1537,12 +1603,6 @@ msgstr "{0} でログイン中"
#~ msgid "SendKey"
#~ msgstr "キーの送信"
#~ msgid "Server Address"
#~ msgstr "サーバーアドレス"
#~ msgid "Server Port"
#~ msgstr "サーバーポート"
#~ msgid "Server Type"
#~ msgstr "サーバー種別"
...
...
@@ -1562,9 +1622,6 @@ msgstr "{0} でログイン中"
#~ msgid "Shutdown {0}"
#~ msgstr "VM {0} をシャットダウン"
#~ msgid "Size"
#~ msgstr "サイズ"
#~ msgid "Slaves"
#~ msgstr "スレーブ"
...
...
@@ -1728,15 +1785,9 @@ msgstr "{0} でログイン中"
#~ msgid "Unused Disk"
#~ msgstr "未使用のディスク"
#~ msgid "Upload"
#~ msgstr "アップロード"
#~ msgid "Upload failed"
#~ msgstr "アップロードできませんでした"
#~ msgid "Uploading file..."
#~ msgstr "ファイルをアップロード中…"
#~ msgid "Usage"
#~ msgstr "使用状況"
...
...
@@ -1801,9 +1852,6 @@ msgstr "{0} でログイン中"
#~ msgid "Value"
#~ msgstr "値"
#~ msgid "Version"
#~ msgstr "バージョン"
#~ msgid "VirtIO (paravirtualized)"
#~ msgstr "VirtIO (準仮想化)"
...
...
@@ -1873,12 +1921,6 @@ msgstr "{0} でログイン中"
#~ msgid "coreduo"
#~ msgstr "Core Duo"
#~ msgid "day"
#~ msgstr "日 +"
#~ msgid "days"
#~ msgstr "日 +"
#~ msgid "failcnt"
#~ msgstr "割当失敗回数"
...
...
@@ -2014,9 +2056,6 @@ msgstr "{0} でログイン中"
#~ msgid "unable to queue store without storeid"
#~ msgstr "ストア ID がないためストアをキューに入れられません"
#~ msgid "unknown"
#~ msgstr "不明"
#~ msgid "unknown vm type {0}"
#~ msgstr "VM 種別 が不明: {0}"
...
...
po/messages.pot
View file @
3e2b0561
...
...
@@ -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 Dec 8 0
7:14:25
2011\n"
"POT-Creation-Date: Thu Dec 8 0
8:36:37
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"
...
...
@@ -16,7 +16,11 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../www/manager/dc/StorageView.js:114
#: ../www/manager/storage/ContentView.js:87
msgid "Abort"
msgstr ""
#: ../www/manager/dc/StorageView.js:107
msgid "Add"
msgstr ""
...
...
@@ -32,8 +36,8 @@ msgstr ""
msgid "Are you sure you want to remove VM {0}? This will permanently erase all VM data."
msgstr ""
#: ../www/manager/dc/StorageView.js:
7
0
msgid "Are you sure you want to remove
storage {0}?
"
#: ../www/manager/dc/StorageView.js:
66 ../www/manager/dc/AuthView.js:52 ../www/manager/storage/ContentView.js:26
0
msgid "Are you sure you want to remove
entry {0}
"
msgstr ""
#: ../www/manager/dc/Config.js:49
...
...
@@ -60,7 +64,11 @@ msgstr ""
msgid "Cluster log"
msgstr ""
#: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:45 ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:252 ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:370 ../www/manager/VNCConsole.js:382 ../www/manager/openvz/CmdMenu.js:45
#: ../www/manager/dc/AuthView.js:100 ../www/manager/dc/AuthEdit.js:48
msgid "Comment"
msgstr ""
#: ../www/manager/qemu/CmdMenu.js:45 ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:252 ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:370 ../www/manager/VNCConsole.js:382 ../www/manager/openvz/CmdMenu.js:45
msgid "Confirm"
msgstr ""
...
...
@@ -68,7 +76,7 @@ msgstr ""
msgid "Connection error"
msgstr ""
#: ../www/manager/Utils.js:374 ../www/manager/qemu/Config.js:96 ../www/manager/qemu/CmdMenu.js:55 ../www/manager/VNCConsole.js:297 ../www/manager/VNCConsole.js:393 ../www/manager/openvz/Config.js:88 ../www/manager/openvz/CmdMenu.js:55
#: ../www/manager/
Workspace.js:111 ../www/manager/
Utils.js:374 ../www/manager/qemu/Config.js:96 ../www/manager/qemu/CmdMenu.js:55 ../www/manager/VNCConsole.js:297 ../www/manager/VNCConsole.js:393 ../www/manager/openvz/Config.js:88 ../www/manager/openvz/CmdMenu.js:55
msgid "Console"
msgstr ""
...
...
@@ -76,11 +84,11 @@ msgstr ""
msgid "Container {0} on node {1}"
msgstr ""
#: ../www/manager/dc/StorageView.js:1
74 ../www/manager/storage/DirEdit.js:46
../www/manager/storage/Browser.js:30
#: ../www/manager/dc/StorageView.js:1
67 ../www/manager/storage/DirEdit.js:46 ../www/manager/storage/ContentView.js:48
../www/manager/storage/Browser.js:30
msgid "Content"
msgstr ""
#: ../www/manager/Utils.js:376 ../www/manager/Utils.js:386 ../www/manager/window/Edit.js:166
#: ../www/manager/
dc/AuthView.js:25 ../www/manager/
Utils.js:376 ../www/manager/Utils.js:386 ../www/manager/window/Edit.js:166
msgid "Create"
msgstr ""
...
...
@@ -108,11 +116,15 @@ msgstr ""
msgid "Create iSCSI storage"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:112
msgid "Create realm"
msgstr ""
#: ../www/manager/tree/ResourceTree.js:185 ../www/manager/dc/Config.js:9
msgid "Datacenter"
msgstr ""
#: ../www/manager/
Utils.js:553
#: ../www/manager/
dc/AuthEdit.js:54 ../www/manager/Utils.js:540
msgid "Default"
msgstr ""
...
...
@@ -164,7 +176,7 @@ msgstr ""
msgid "Do you really want to suspend VM {0}?"
msgstr ""
#: ../www/manager/dc/StorageView.js:5
4
../www/manager/dc/OptionView.js:102
#: ../www/manager/dc/StorageView.js:5
5 ../www/manager/dc/AuthView.js:35
../www/manager/dc/OptionView.js:102
msgid "Edit"
msgstr ""
...
...
@@ -192,7 +204,11 @@ msgstr ""
msgid "Edit keyboard settings"
msgstr ""
#: ../www/manager/dc/StorageView.js:200 ../www/manager/storage/IScsiEdit.js:135 ../www/manager/storage/LVMEdit.js:195 ../www/manager/storage/DirEdit.js:57 ../www/manager/storage/NFSEdit.js:140
#: ../www/manager/dc/AuthEdit.js:114
msgid "Edit realm {0}"
msgstr ""
#: ../www/manager/dc/StorageView.js:193 ../www/manager/storage/IScsiEdit.js:135 ../www/manager/storage/LVMEdit.js:195 ../www/manager/storage/DirEdit.js:57 ../www/manager/storage/NFSEdit.js:140
msgid "Enable"
msgstr ""
...
...
@@ -208,7 +224,7 @@ msgstr ""
msgid "Enter your user name"
msgstr ""
#: ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:87 ../www/manager/window/Edit.js:124
#: ../www/manager/
dc/AuthView.js:70 ../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:87 ../www/manager/window/Edit.js:124
msgid "Error"
msgstr ""
...
...
@@ -228,7 +244,7 @@ msgstr ""
msgid "Form fields may not be submitted with invalid values"
msgstr ""
#: ../www/manager/Utils.js:45 ../www/manager/Utils.js:50 ../www/manager/Utils.js:55
#: ../www/manager/Utils.js:45 ../www/manager/Utils.js:50 ../www/manager/Utils.js:55
../www/manager/storage/ContentView.js:301
msgid "Format"
msgstr ""
...
...
@@ -284,7 +300,7 @@ msgstr ""
msgid "Monitor"
msgstr ""
#: ../www/manager/data/ResourceStore.js:96
#: ../www/manager/data/ResourceStore.js:96
../www/manager/storage/ContentView.js:294
msgid "Name"
msgstr ""
...
...
@@ -292,7 +308,7 @@ msgstr ""
msgid "Network"
msgstr ""
#: ../www/manager/Utils.js:5
52
#: ../www/manager/Utils.js:5
38
msgid "No"
msgstr ""
...
...
@@ -336,6 +352,10 @@ msgstr ""
msgid "Password"
msgstr ""
#: ../www/manager/dc/ACLView.js:37
msgid "Path"
msgstr ""
#: ../www/manager/dc/Config.js:39 ../www/manager/storage/Browser.js:34 ../www/manager/qemu/Config.js:137 ../www/manager/openvz/Config.js:146
msgid "Permissions"
msgstr ""
...
...
@@ -344,10 +364,18 @@ msgstr ""
msgid "Please wait..."
msgstr ""
#: ../www/manager/dc/ACLView.js:56
msgid "Propagate"
msgstr ""
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr ""
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
msgid "Realm"
msgstr ""
#: ../www/manager/VNCConsole.js:304 ../www/manager/VNCConsole.js:400 ../www/manager/VNCConsole.js:437
msgid "Refresh"
msgstr ""
...
...
@@ -356,7 +384,7 @@ msgstr ""
msgid "Reload"
msgstr ""
#: ../www/manager/dc/StorageView.js:6
0
../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71
#: ../www/manager/dc/StorageView.js:6
2 ../www/manager/dc/AuthView.js:49 ../www/manager/storage/ContentView.js:256
../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71
msgid "Remove"
msgstr ""
...
...
@@ -372,7 +400,7 @@ msgstr ""
msgid "Restart"
msgstr ""
#: ../www/manager/Utils.js:377 ../www/manager/Utils.js:387
#: ../www/manager/Utils.js:377 ../www/manager/Utils.js:387
../www/manager/storage/ContentView.js:228
msgid "Restore"
msgstr ""
...
...
@@ -380,6 +408,10 @@ msgstr ""
msgid "Resume"
msgstr ""
#: ../www/manager/dc/ACLView.js:50
msgid "Role"
msgstr ""
#: ../www/manager/dc/Config.js:44
msgid "Roles"
msgstr ""
...
...
@@ -388,10 +420,22 @@ msgstr ""
msgid "Search"
msgstr ""
#: ../www/manager/storage/ContentView.js:55
msgid "Select File..."
msgstr ""
#: ../www/manager/storage/NFSEdit.js:95
msgid "Server"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:71
msgid "Server Address"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr ""
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr ""
...
...
@@ -408,7 +452,7 @@ msgstr ""
msgid "Severity"
msgstr ""
#: ../www/manager/dc/StorageView.js:1
93
../www/manager/storage/LVMEdit.js:201 ../www/manager/storage/DirEdit.js:63
#: ../www/manager/dc/StorageView.js:1
86
../www/manager/storage/LVMEdit.js:201 ../www/manager/storage/DirEdit.js:63
msgid "Shared"
msgstr ""
...
...
@@ -420,6 +464,10 @@ msgstr ""
msgid "Shutdown"
msgstr ""
#: ../www/manager/storage/ContentView.js:306
msgid "Size"
msgstr ""
#: ../www/manager/Utils.js:380 ../www/manager/Utils.js:390 ../www/manager/Utils.js:392 ../www/manager/qemu/Config.js:36 ../www/manager/qemu/CmdMenu.js:34 ../www/manager/VNCConsole.js:231 ../www/manager/VNCConsole.js:361 ../www/manager/openvz/Config.js:36 ../www/manager/openvz/CmdMenu.js:34
msgid "Start"
msgstr ""
...
...
@@ -472,14 +520,26 @@ msgstr ""
msgid "Time"
msgstr ""
#: ../www/manager/data/ResourceStore.js:33 ../www/manager/dc/StorageView.js:16
7
#: ../www/manager/data/ResourceStore.js:33 ../www/manager/dc/StorageView.js:16
0 ../www/manager/dc/AuthView.js:93
msgid "Type"
msgstr ""
#: ../www/manager/Utils.js:539
msgid "Unknown"
msgstr ""
#: ../www/manager/Utils.js:251
msgid "Unknown error"
msgstr ""
#: ../www/manager/storage/ContentView.js:95 ../www/manager/storage/ContentView.js:159 ../www/manager/storage/ContentView.js:281
msgid "Upload"
msgstr ""
#: ../www/manager/storage/ContentView.js:67
msgid "Uploading file..."
msgstr ""
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
msgstr ""
...
...
@@ -488,6 +548,10 @@ msgstr ""
msgid "Use LUNs directly"
msgstr ""
#: ../www/manager/dc/ACLView.js:43
msgid "User"
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:65
msgid "User name"
msgstr ""
...
...
@@ -496,6 +560,10 @@ msgstr ""
msgid "Users"
msgstr ""
#: ../www/manager/Workspace.js:303
msgid "Version"
msgstr ""
#: ../www/manager/node/Tasks.js:57
msgid "View"
msgstr ""
...
...
@@ -512,7 +580,7 @@ msgstr ""
msgid "Volume group"
msgstr ""
#: ../www/manager/Utils.js:5
51
#: ../www/manager/Utils.js:5
37
msgid "Yes"
msgstr ""
...
...
@@ -520,3 +588,11 @@ msgstr ""
msgid "You are logged in as {0}"
msgstr ""
#: ../www/manager/Utils.js:542
msgid "day"
msgstr ""
#: ../www/manager/Utils.js:541
msgid "days"
msgstr ""
www/manager/Utils.js
View file @
3e2b0561
...
...
@@ -189,7 +189,7 @@ Ext.define('PVE.Utils', { statics: {
render_language
:
function
(
value
)
{
if
(
!
value
)
{
return
'
Default
(English)
'
;
return
PVE
.
Utils
.
defaultText
+
'
(English)
'
;
}
var
text
=
PVE
.
Utils
.
language_map
[
value
];
if
(
text
)
{
...
...
@@ -506,7 +506,7 @@ Ext.define('PVE.Utils', { statics: {
ut_str
=
ut_str
.
substr
(
ut_str
.
length
-
2
);
if
(
days
)
{
var
ds
=
days
>
1
?
'
days
'
:
'
day
'
;
var
ds
=
days
>
1
?
PVE
.
Utils
.
daysText
:
PVE
.
Utils
.
dayText
;
return
days
.
toString
()
+
'
'
+
ds
+
'
'
+
hours_str
+
'
:
'
+
mins_str
+
'
:
'
+
ut_str
;
}
else
{
...
...
@@ -534,6 +534,13 @@ Ext.define('PVE.Utils', { statics: {
return
days
.
toFixed
(
0
)
+
'
d
'
;
},
yesText
:
gettext
(
'
Yes
'
),
noText
:
gettext
(
'
No
'
),
unknownText
:
gettext
(
'
Unknown
'
),
defaultText
:
gettext
(
'
Default
'
),
daysText
:
gettext
(
'
days
'
),
dayText
:
gettext
(
'
day
'
),
format_storage_type
:
function
(
value
)
{
if
(
value
===
'
dir
'
)
{
return
'
Directory
'
;
...
...
@@ -544,14 +551,10 @@ Ext.define('PVE.Utils', { statics: {
}
else
if
(
value
===
'
iscsi
'
)
{
return
'
iSCSI
'
;
}
else
{
return
'
unknown
'
;
return
PVE
.
Utils
.
unknownText
;
}
},
yesText
:
gettext
(
'
Yes
'
),
noText
:
gettext
(
'
No
'
),
defaultText
:
gettext
(
'
Default
'
),
format_boolean_with_default
:
function
(
value
)
{
if
(
Ext
.
isDefined
(
value
)
&&
value
!==
''
)
{
return
value
?
PVE
.
Utils
.
yesText
:
PVE
.
Utils
.
noText
;
...
...
www/manager/VNCConsole.js
View file @
3e2b0561
...
...
@@ -174,7 +174,7 @@ Ext.define('PVE.VNCConsole', {
params
:
me
.
params
,
method
:
me
.
method
||
'
POST
'
,
failure
:
function
(
response
,
opts
)
{
box
.
update
(
"
Error
"
+
response
.
htmlStatus
);
box
.
update
(
gettext
(
'
Error
'
)
+
'
'
+
response
.
htmlStatus
);
},
success
:
function
(
response
,
opts
)
{
start_vnc_viewer
(
response
.
result
.
data
);
...
...
www/manager/Workspace.js
View file @
3e2b0561
...
...
@@ -108,7 +108,7 @@ Ext.define('PVE.ConsoleWorkspace', {
alias
:
[
'
widget.pveConsoleWorkspace
'
],
title
:
'
Proxmox Console
'
,
title
:
gettext
(
'
Console
'
)
,
initComponent
:
function
()
{
var
me
=
this
;
...
...
@@ -142,7 +142,7 @@ Ext.define('PVE.ConsoleWorkspace', {
toplevel
:
true
};
}
else
if
(
consoleType
===
'
shell
'
)
{
me
.
title
=
"
node '
"
+
param
.
node
+
"
' - Proxmox Shell
"
;
me
.
title
=
"
node '
"
+
param
.
node
;
content
=
{
xtype
:
'
pveShell
'
,
nodename
:
param
.
node
,
...
...
@@ -300,7 +300,7 @@ Ext.define('PVE.StdWorkspace', {
{
minWidth
:
200
,
flex
:
1
,
html
:
'
<span class="x-panel-header-text">Proxmox Virtual Environment<br>
Version
'
+
PVE
.
GUIVersion
+
"
</span>
"
html
:
'
<span class="x-panel-header-text">Proxmox Virtual Environment<br>
'
+
gettext
(
'
Version
'
)
+
'
'
+
PVE
.
GUIVersion
+
"
</span>
"
},
{
pack
:
'
end
'
,
...
...
www/manager/dc/ACLView.js
View file @
3e2b0561
...
...
@@ -34,26 +34,26 @@ Ext.define('PVE.dc.ACLView', {
},
columns
:
[
{
header
:
'
Path
'
,
header
:
gettext
(
'
Path
'
)
,
width
:
200
,
sortable
:
true
,
dataIndex
:
'
path
'
},
{
header
:
'
User/Group
'
,
header
:
gettext
(
'
User
'
)
+
'
/
'
+
gettext
(
'
Group
'
)
,
width
:
200
,
sortable
:
true
,
renderer
:
render_ugid
,
dataIndex
:
'
ugid
'
},
{
header
:
'
Role
'
,
header
:
gettext
(
'
Role
'
)
,
width
:
150
,
sortable
:
true
,
dataIndex
:
'
roleid
'
},
{
header
:
'
Propagate
'
,
header
:
gettext
(
'
Propagate
'
)
,
width
:
80
,
sortable
:
true
,
dataIndex
:
'
propagate
'
...
...
www/manager/dc/AuthEdit.js
View file @
3e2b0561
...
...
@@ -23,7 +23,7 @@ Ext.define('PVE.dc.AuthEdit', {
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
realm
'
,
fieldLabel
:
'
Realm
'
,
fieldLabel
:
gettext
(
'
Realm
'
)
,
value
:
me
.
realm
,
emptyText
:
'
company.net
'
,
allowBlank
:
false
...
...
@@ -45,13 +45,13 @@ Ext.define('PVE.dc.AuthEdit', {
{
xtype
:
'
textfield
'
,
name
:
'
comment
'
,
fieldLabel
:
'
Comment
'
,
fieldLabel
:
gettext
(
'
Comment
'
)
,
emptyText
:
'
Enterprise Directory Server
'
,
allowBlank
:
false
},
{
xtype
:
'
pvecheckbox
'
,
fieldLabel
:
'
Default Realm
'
,
fieldLabel
:
gettext
(
'
Default
'
)
,
name
:
'
default
'
,
uncheckedValue
:
0
}
...
...
@@ -68,7 +68,7 @@ Ext.define('PVE.dc.AuthEdit', {
}),
{
xtype
:
'
textfield
'
,
fieldLabel
:
'
Server Address
'
,
fieldLabel
:
gettext
(
'
Server Address
'
)
,
name
:
'
servers
'
,
emptyText
:
'
192.168.2.23,ldap.company.net
'
,
listeners
:
{
...
...
@@ -82,7 +82,7 @@ Ext.define('PVE.dc.AuthEdit', {
{
xtype
:
'
numberfield
'
,
name
:
'
port
'
,
fieldLabel
:
'
Server Port
'
,
fieldLabel
:
gettext
(
'
Server Port
'
)
,
minValue
:
1
,
maxValue
:
65535
,
allowBlank
:
false
...
...
@@ -108,8 +108,13 @@ Ext.define('PVE.dc.AuthEdit', {
}
});
Ext
.
applyIf
(
me
,
{
title
:
me
.
create
?
"
Create Auth
"
:
"
Edit Auth '
"
+
me
.
realm
+
"
'
"
,
if
(
me
.
create
)
{
me
.
title
=
gettext
(
'
Create realm
'
);
}
else
{
me
.
title
=
Ext
.
String
.
format
(
gettext
(
'
Edit realm {0}
'
),
"
'
"
+
me
.
realm
+
"
'
"
);
}
Ext
.
applyIf
(
me
,
{
url
:
url
,
method
:
method
,
items
:
[
ipanel
]
...
...
www/manager/dc/AuthView.js
View file @
3e2b0561
...
...
@@ -18,9 +18,11 @@ Ext.define('PVE.dc.AuthView', {
store
.
load
();
};
var
sm
=
Ext
.
create
(
'
Ext.selection.RowModel
'
,
{});
var
tbar
=
[
{
text
:
'
Create
'
,
text
:
gettext
(
'
Create
'
)
,
handler
:
function
()
{
var
win
=
Ext
.
create
(
'
PVE.dc.AuthEdit
'
,{
});
...
...
@@ -29,14 +31,10 @@ Ext.define('PVE.dc.AuthView', {
}
},
{
text
:
'
Modify
'
,
handler
:
function
()
{
var
sm
=
me
.
getSelectionModel
();
var
rec
=
sm
.
getSelection
()[
0
];
if
(
!
rec
)
{
return
;
}
xtype
:
'
pveButton
'
,
text
:
gettext
(
'
Edit
'
),
selModel
:
sm
,
handler
:
function
(
btn
,
event
,
rec
)
{
var
realm
=
rec
.
data
.
realm
;
var
win
=
Ext
.
create
(
'
PVE.dc.AuthEdit
'
,{
...
...
@@ -47,46 +45,38 @@ Ext.define('PVE.dc.AuthView', {
}
},
{
text
:
'
Delete
'
,
handler
:
function
()
{
var
msg
;
var
sm
=
me
.
getSelectionModel
();
var
rec
=
sm
.
getSelection
()[
0
];
if
(
!
rec
)
{
return
;
}
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
(
realm
!==
'
pam
'
&&
realm
!=
'
pve
'
)
{
msg
=
'
Are you sure you want to permanently the authentication realm:
'
+
realm
;
Ext
.
Msg
.
confirm
(
'
Deletion Confirmation
'
,
msg
,
function
(
btn
)
{
if
(
btn
!==
'
yes
'
)
{
return
;
}
PVE
.
Utils
.
API2Request
({
url
:
'
/access/domains/
'
+
realm
,
method
:
'
DELETE
'
,
waitMsgTarget
:
me
,
callback
:
function
()
{
reload
();
},
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
'
Error
'
,
response
.
htmlStatus
);
}
});
});
}
else
{
msg
=
'
You are not permitted to delete the auth method: pam
'
;
Ext
.
Msg
.
alert
(
'
Error
'
,
msg
);
}
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
);
}
});
}
}
];
Ext
.
apply
(
me
,
{
store
:
store
,
selModel
:
sm
,
stateful
:
false
,
//tbar: tbar,
viewConfig
:
{
...
...
@@ -94,20 +84,20 @@ Ext.define('PVE.dc.AuthView', {
},
columns
:
[
{
header
:
'
Realm
'
,
header
:
gettext
(
'
Realm
'
)
,
width
:
100
,
sortable
:
true
,
dataIndex
:
'
realm
'
},
{
header
:
'
Type
'
,
header
:
gettext
(
'
Type
'
)
,
width
:
100
,
sortable
:
true
,
dataIndex
:
'
type
'
},
{
id
:
'
comment
'
,
header
:
'
Comment
'
,
header
:
gettext
(
'
Comment
'
)
,
sortable
:
false
,
dataIndex
:
'
comment
'
,
flex
:
1
...
...
www/manager/dc/StorageView.js
View file @
3e2b0561
...
...
@@ -22,8 +22,9 @@ Ext.define('PVE.dc.StorageView', {
store
.
load
();
};
var
sm
=
Ext
.
create
(
'
Ext.selection.RowModel
'
,
{});
var
run_editor
=
function
()
{
var
sm
=
me
.
getSelectionModel
();
var
rec
=
sm
.
getSelection
()[
0
];
if
(
!
rec
)
{
return
;
...
...
@@ -50,46 +51,37 @@ Ext.define('PVE.dc.StorageView', {
win
.
on
(
'
destroy
'
,
reload
);
};
var
edit_btn
=
new
Ext
.
Button
({
var
edit_btn
=
new
PVE
.
button
.
Button
({
text
:
gettext
(
'
Edit
'
),
disabled
:
true
,
selModel
:
sm
,
handler
:
run_editor
});
var
remove_btn
=
new
Ext
.
Button
({
var
remove_btn
=
new
PVE
.
button
.
Button
({
text
:
gettext
(
'
Remove
'
),
disabled
:
true
,
handler
:
function
(){
var
sm
=
me
.
getSelectionModel
();
var
rec
=
sm
.
getSelection
()[
0
];
if
(
!
rec
)
{
return
;
}
var
msg
=
Ext
.
String
.
format
(
gettext
(
'
Are you sure you want to remove storage {0}?
'
),
"
'
"
+
rec
.
data
.
storage
+
"
'
"
);
Ext
.
Msg
.
confirm
(
gettext
(
'
Confirm
'
),
msg
,
function
(
btn
)
{
if
(
btn
!==
'
yes
'
)
{
return
;
selModel
:
sm
,
confirmMsg
:
function
(
rec
)
{
return
Ext
.
String
.
format
(
gettext
(
'
Are you sure you want to remove entry {0}
'
),
"
'
"
+
rec
.
data
.
storage
+
"
'
"
);
},
handler
:
function
(
btn
,
event
,
rec
){
PVE
.
Utils
.
API2Request
({
url
:
'
/storage/
'
+
rec
.
data
.
storage
,
method
:
'
DELETE
'
,
waitMsgTarget
:
me
,
callback
:
function
()
{
reload
();
},
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
gettetx
(
'
Error
'
),
response
.
htmlStatus
);
}
PVE
.
Utils
.
API2Request
({
url
:
'
/storage/
'
+
rec
.
data
.
storage
,
method
:
'
DELETE
'
,
waitMsgTarget
:
me
,
callback
:
function
()
{
reload
();
},
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
gettetx
(
'
Error
'
),
response
.
htmlStatus
);
}
});
});
}
});
var
set_button_status
=
function
()
{
var
sm
=
me
.
getSelectionModel
();
var
rec
=
sm
.
getSelection
()[
0
];
if
(
!
rec
)
{
...
...
@@ -105,6 +97,7 @@ Ext.define('PVE.dc.StorageView', {
Ext
.
apply
(
me
,
{
store
:
store
,
selModel
:
sm
,
stateful
:
false
,
viewConfig
:
{
trackOver
:
false
...
...
www/manager/storage/ContentView.js
View file @
3e2b0561
...
...
@@ -45,15 +45,14 @@ Ext.define('PVE.storage.Upload', {
[
'
backup
'
,
'
VZDump backup file
'
],
[
'
vztmpl
'
,
'
OpenVZ template
'
]
],
fieldLabel
:
'
Content type
'
,
fieldLabel
:
gettext
(
'
Content
'
)
,
name
:
'
content
'
,
value
:
'
iso
'
},
{
xtype
:
'
filefield
'
,
name
:
'
filename
'
,
filedLabel
:
'
File
'
,
buttonText
:
'
Select File...
'
,
buttonText
:
gettext
(
'
Select File...
'
),
allowBlank
:
false
},
pbar
...
...
@@ -65,13 +64,13 @@ Ext.define('PVE.storage.Upload', {
var
doStandardSubmit
=
function
()
{
form
.
submit
({
url
:
"
/api2/htmljs
"
+
baseurl
,
waitMsg
:
'
Uploading file...
'
,
waitMsg
:
gettext
(
'
Uploading file...
'
)
,
success
:
function
(
f
,
action
)
{
me
.
close
();
},
failure
:
function
(
f
,
action
)
{
var
msg
=
PVE
.
Utils
.
extractFormActionError
(
action
);
Ext
.
Msg
.
alert
(
'
Failed
'
,
msg
);
Ext
.
Msg
.
alert
(
gettext
(
'
Error
'
)
,
msg
);
}
});
};
...
...
@@ -85,7 +84,7 @@ Ext.define('PVE.storage.Upload', {
};
var
abortBtn
=
Ext
.
create
(
'
Ext.Button
'
,
{
text
:
'
Abort
'
,
text
:
gettext
(
'
Abort
'
)
,
disabled
:
true
,
handler
:
function
()
{
me
.
close
();
...
...
@@ -93,7 +92,7 @@ Ext.define('PVE.storage.Upload', {
});
var
submitBtn
=
Ext
.
create
(
'
Ext.Button
'
,
{
text
:
'
Upload
'
,
text
:
gettext
(
'
Upload
'
)
,
disabled
:
true
,
handler
:
function
(
button
)
{
var
fd
;
...
...
@@ -126,7 +125,7 @@ Ext.define('PVE.storage.Upload', {
me
.
close
();
}
else
{
var
msg
=
"
Error
"
+
xhr
.
status
.
toString
()
+
"
:
"
+
Ext
.
htmlEncode
(
xhr
.
statusText
);
Ext
.
Msg
.
alert
(
'
Upload failed
'
,
msg
,
function
(
btn
)
{
Ext
.
Msg
.
alert
(
gettext
(
'
Error
'
)
,
msg
,
function
(
btn
)
{
me
.
close
();
});
...
...
@@ -135,7 +134,7 @@ Ext.define('PVE.storage.Upload', {
xhr
.
addEventListener
(
"
error
"
,
function
(
e
)
{
var
msg
=
"
Error
"
+
e
.
target
.
status
.
toString
()
+
"
occurred while receiving the document.
"
;
Ext
.
Msg
.
alert
(
'
Upload failed
'
,
msg
,
function
(
btn
)
{
Ext
.
Msg
.
alert
(
gettext
(
'
Error
'
)
,
msg
,
function
(
btn
)
{
me
.
close
();
});
});
...
...
@@ -157,7 +156,7 @@ Ext.define('PVE.storage.Upload', {
});
Ext
.
applyIf
(
me
,
{
title
:
'
Upload
'
,
title
:
gettext
(
'
Upload
'
)
,
items
:
me
.
formPanel
,
buttons
:
[
abortBtn
,
submitBtn
],
listeners
:
{
...
...
@@ -226,7 +225,7 @@ Ext.define('PVE.storage.ContentView', {
tbar
:
[
{
xtype
:
'
pveButton
'
,
text
:
'
Restore
'
,
text
:
gettext
(
'
Restore
'
)
,
selModel
:
sm
,
disabled
:
true
,
enableFn
:
function
(
rec
)
{
...
...
@@ -254,11 +253,12 @@ Ext.define('PVE.storage.ContentView', {
},
{
xtype
:
'
pveButton
'
,
text
:
'
Delete
'
,
text
:
gettext
(
'
Remove
'
)
,
selModel
:
sm
,
disabled
:
true
,
confirmMsg
:
function
(
rec
)
{
return
'
Are you sure you want to delete volume "
'
+
rec
.
data
.
volid
+
'
"
'
;
return
Ext
.
String
.
format
(
gettext
(
'
Are you sure you want to remove entry {0}
'
),
"
'
"
+
rec
.
data
.
volid
+
"
'
"
);
},
enableFn
:
function
(
rec
)
{
return
rec
&&
rec
.
data
.
content
!==
'
images
'
;
...
...
@@ -272,13 +272,13 @@ Ext.define('PVE.storage.ContentView', {
reload
();
},
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
'
Error
'
,
response
.
htmlStatus
);
Ext
.
Msg
.
alert
(
gettext
(
'
Error
'
)
,
response
.
htmlStatus
);
}
});
}
},
{
text
:
'
Upload
'
,
text
:
gettext
(
'
Upload
'
)
,
handler
:
function
()
{
var
win
=
Ext
.
create
(
'
PVE.storage.Upload
'
,
{
nodename
:
nodename
,
...
...
@@ -291,19 +291,19 @@ Ext.define('PVE.storage.ContentView', {
],
columns
:
[
{
header
:
'
Name
'
,
header
:
gettext
(
'
Name
'
)
,
flex
:
1
,
sortable
:
true
,
renderer
:
PVE
.
Utils
.
render_storage_content
,
dataIndex
:
'
text
'
},
{
header
:
'
Format
'
,
header
:
gettext
(
'
Format
'
)
,
width
:
100
,
dataIndex
:
'
format
'
},
{
header
:
'
Size
'
,
header
:
gettext
(
'
Size
'
)
,
width
:
100
,
renderer
:
PVE
.
Utils
.
format_size
,
dataIndex
:
'
size
'
...
...
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