Commit 3e2b0561 authored by Dietmar Maurer's avatar Dietmar Maurer

add more gettext markers

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