Commit 21712d7d authored by Dietmar Maurer's avatar Dietmar Maurer

add more gettext markers

parent a2542cc9
pve-manager (2.0-11) unstable; urgency=low
* start i18n support
-- Proxmox Support Team <support@proxmox.com> Fri, 25 Nov 2011 09:23:00 +0100
pve-manager (2.0-10) unstable; urgency=low pve-manager (2.0-10) unstable; urgency=low
* add context menus * add context menus
......
...@@ -2,7 +2,7 @@ RELEASE=2.0 ...@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0 VERSION=2.0
PACKAGE=pve-manager PACKAGE=pve-manager
PACKAGERELEASE=10 PACKAGERELEASE=11
BINDIR=${DESTDIR}/usr/bin BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5 PERLLIBDIR=${DESTDIR}/usr/share/perl5
......
...@@ -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: Wed Nov 23 10:13:52 2011\n" "POT-Creation-Date: Thu Nov 24 13:10:49 2011\n"
"PO-Revision-Date: 2011-11-23 10:16+0100\n" "PO-Revision-Date: 2011-11-24 13:10+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,6 +17,14 @@ msgstr "" ...@@ -17,6 +17,14 @@ 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
msgid "Add"
msgstr "Hinzufügen"
#: ../www/manager/storage/DirEdit.js:72
msgid "All"
msgstr "Alle"
#: ../www/manager/Utils.js:60 #: ../www/manager/Utils.js:60
msgid "Allowed characters" msgid "Allowed characters"
msgstr "Erlaubte Zeichen" msgstr "Erlaubte Zeichen"
...@@ -29,6 +37,10 @@ msgstr "" ...@@ -29,6 +37,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
msgid "Are you sure you want to remove storage {0}?"
msgstr "Möchten Sie Speicher {0} wirklich entfernen?"
#: ../www/manager/dc/Config.js:49 #: ../www/manager/dc/Config.js:49
msgid "Authentication" msgid "Authentication"
msgstr "Authentifikation" msgstr "Authentifikation"
...@@ -46,11 +58,11 @@ msgstr "CPU-Auslastung" ...@@ -46,11 +58,11 @@ msgstr "CPU-Auslastung"
msgid "Cluster log" msgid "Cluster log"
msgstr "Cluster log" msgstr "Cluster log"
#: ../www/manager/qemu/CmdMenu.js:41 ../www/manager/button/Button.js:40 #: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:41
#: ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:257 #: ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240
#: ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281 #: ../www/manager/VNCConsole.js:257 ../www/manager/VNCConsole.js:269
#: ../www/manager/VNCConsole.js:376 ../www/manager/VNCConsole.js:388 #: ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:376
#: ../www/manager/openvz/CmdMenu.js:41 #: ../www/manager/VNCConsole.js:388 ../www/manager/openvz/CmdMenu.js:41
msgid "Confirm" msgid "Confirm"
msgstr "Bestätigung" msgstr "Bestätigung"
...@@ -70,10 +82,15 @@ msgstr "Konsole" ...@@ -70,10 +82,15 @@ 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/storage/Browser.js:30 #: ../www/manager/storage/Browser.js:30
msgid "Content" msgid "Content"
msgstr "Inhalt" msgstr "Inhalt"
#: ../www/manager/window/Edit.js:166
msgid "Create"
msgstr "Erstellen"
#: ../www/manager/Workspace.js:333 #: ../www/manager/Workspace.js:333
msgid "Create CT" msgid "Create CT"
msgstr "Erstelle CT" msgstr "Erstelle CT"
...@@ -82,6 +99,10 @@ msgstr "Erstelle CT" ...@@ -82,6 +99,10 @@ msgstr "Erstelle CT"
msgid "Create VM" msgid "Create VM"
msgstr "Erstelle VM" msgstr "Erstelle VM"
#: ../www/manager/storage/DirEdit.js:107
msgid "Create directory storage"
msgstr "Erstelle Directory-Speicher"
#: ../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"
...@@ -95,6 +116,10 @@ msgstr "Standardeinstellung" ...@@ -95,6 +116,10 @@ msgstr "Standardeinstellung"
msgid "Description" msgid "Description"
msgstr "Beschreibung" msgstr "Beschreibung"
#: ../www/manager/storage/DirEdit.js:38
msgid "Directory"
msgstr "Verzeichnis"
#: ../www/manager/data/ResourceStore.js:109 #: ../www/manager/data/ResourceStore.js:109
msgid "Disk size" msgid "Disk size"
msgstr "Disk-Größe" msgstr "Disk-Größe"
...@@ -134,7 +159,7 @@ msgstr "Möchten Sie VM {0} wirklich stoppen?" ...@@ -134,7 +159,7 @@ 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/OptionView.js:130 #: ../www/manager/dc/StorageView.js:54 ../www/manager/dc/OptionView.js:130
msgid "Edit" msgid "Edit"
msgstr "Bearbeiten" msgstr "Bearbeiten"
...@@ -142,6 +167,10 @@ msgstr "Bearbeiten" ...@@ -142,6 +167,10 @@ msgstr "Bearbeiten"
msgid "Edit HTTP proxy settings" msgid "Edit HTTP proxy settings"
msgstr "Bearbeite HTTP-Proxy-Einstellungen" msgstr "Bearbeite HTTP-Proxy-Einstellungen"
#: ../www/manager/storage/DirEdit.js:109
msgid "Edit directory storage {0}"
msgstr "Bearbeite Directory-Speicher {0}"
#: ../www/manager/dc/OptionView.js:55 #: ../www/manager/dc/OptionView.js:55
msgid "Edit keyboard settings" msgid "Edit keyboard settings"
msgstr "Bearbeite Tastatureinstellungen" msgstr "Bearbeite Tastatureinstellungen"
...@@ -150,6 +179,10 @@ msgstr "Bearbeite Tastatureinstellungen" ...@@ -150,6 +179,10 @@ msgstr "Bearbeite Tastatureinstellungen"
msgid "Edit language settings" msgid "Edit language settings"
msgstr "Bearbeiten Spracheinstellungen" msgstr "Bearbeiten Spracheinstellungen"
#: ../www/manager/dc/StorageView.js:200 ../www/manager/storage/DirEdit.js:57
msgid "Enable"
msgstr "Freigabe"
#: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69 #: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69
msgid "End Time" msgid "End Time"
msgstr "Endzeit" msgstr "Endzeit"
...@@ -162,7 +195,8 @@ msgstr "Bitte geben Sie Ihr Passwort ein" ...@@ -162,7 +195,8 @@ 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/window/LoginWindow.js:17 #: ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:87
#: ../www/manager/window/Edit.js:124
msgid "Error" msgid "Error"
msgstr "Fehler" msgstr "Fehler"
...@@ -252,6 +286,10 @@ msgstr "Netzwerk" ...@@ -252,6 +286,10 @@ msgstr "Netzwerk"
msgid "No" msgid "No"
msgstr "Nein" msgstr "Nein"
#: ../www/manager/storage/DirEdit.js:73
msgid "No restrictions"
msgstr "Keine Einschränkung"
#: ../www/manager/data/ResourceStore.js:153 ../www/manager/node/Config.js:60 #: ../www/manager/data/ResourceStore.js:153 ../www/manager/node/Config.js:60
#: ../www/manager/node/Tasks.js:126 ../www/manager/dc/Tasks.js:81 #: ../www/manager/node/Tasks.js:126 ../www/manager/dc/Tasks.js:81
#: ../www/manager/dc/Log.js:50 #: ../www/manager/dc/Log.js:50
...@@ -262,6 +300,10 @@ msgstr "Knoten" ...@@ -262,6 +300,10 @@ msgstr "Knoten"
msgid "Node list" msgid "Node list"
msgstr "Knotenliste" msgstr "Knotenliste"
#: ../www/manager/storage/DirEdit.js:71
msgid "Nodes"
msgstr "Knoten"
#: ../www/manager/data/ResourceStore.js:48 #: ../www/manager/data/ResourceStore.js:48
msgid "Online" msgid "Online"
msgstr "Online" msgstr "Online"
...@@ -307,7 +349,8 @@ msgstr "Aktualisieren" ...@@ -307,7 +349,8 @@ msgstr "Aktualisieren"
msgid "Reload" msgid "Reload"
msgstr "Neu laden" msgstr "Neu laden"
#: ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71 #: ../www/manager/dc/StorageView.js:60 ../www/manager/qemu/Config.js:79
#: ../www/manager/openvz/Config.js:71
msgid "Remove" msgid "Remove"
msgstr "Entfernen" msgstr "Entfernen"
...@@ -352,6 +395,10 @@ msgstr "Services" ...@@ -352,6 +395,10 @@ msgstr "Services"
msgid "Severity" msgid "Severity"
msgstr "Schwere" msgstr "Schwere"
#: ../www/manager/dc/StorageView.js:193 ../www/manager/storage/DirEdit.js:63
msgid "Shared"
msgstr "Verteilt"
#: ../www/manager/node/Config.js:47 ../www/manager/VNCConsole.js:459 #: ../www/manager/node/Config.js:47 ../www/manager/VNCConsole.js:459
msgid "Shell" msgid "Shell"
msgstr "Shell" msgstr "Shell"
...@@ -420,6 +467,7 @@ msgid "Time" ...@@ -420,6 +467,7 @@ msgid "Time"
msgstr "Zeit" msgstr "Zeit"
#: ../www/manager/data/ResourceStore.js:33 #: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:167
msgid "Type" msgid "Type"
msgstr "Typ" msgstr "Typ"
......
...@@ -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: Wed Nov 23 10:13:52 2011\n" "POT-Creation-Date: Thu Nov 24 13:10:49 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,6 +17,14 @@ msgstr "" ...@@ -17,6 +17,14 @@ 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
msgid "Add"
msgstr ""
#: ../www/manager/storage/DirEdit.js:72
msgid "All"
msgstr ""
#: ../www/manager/Utils.js:60 #: ../www/manager/Utils.js:60
msgid "Allowed characters" msgid "Allowed characters"
msgstr "" msgstr ""
...@@ -27,6 +35,10 @@ msgid "" ...@@ -27,6 +35,10 @@ msgid ""
"data." "data."
msgstr "" msgstr ""
#: ../www/manager/dc/StorageView.js:70
msgid "Are you sure you want to remove storage {0}?"
msgstr ""
#: ../www/manager/dc/Config.js:49 #: ../www/manager/dc/Config.js:49
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
...@@ -44,11 +56,11 @@ msgstr "" ...@@ -44,11 +56,11 @@ msgstr ""
msgid "Cluster log" msgid "Cluster log"
msgstr "" msgstr ""
#: ../www/manager/qemu/CmdMenu.js:41 ../www/manager/button/Button.js:40 #: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:41
#: ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:257 #: ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240
#: ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281 #: ../www/manager/VNCConsole.js:257 ../www/manager/VNCConsole.js:269
#: ../www/manager/VNCConsole.js:376 ../www/manager/VNCConsole.js:388 #: ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:376
#: ../www/manager/openvz/CmdMenu.js:41 #: ../www/manager/VNCConsole.js:388 ../www/manager/openvz/CmdMenu.js:41
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
...@@ -68,10 +80,15 @@ msgstr "" ...@@ -68,10 +80,15 @@ 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/storage/Browser.js:30
msgid "Content" msgid "Content"
msgstr "" msgstr ""
#: ../www/manager/window/Edit.js:166
msgid "Create"
msgstr ""
#: ../www/manager/Workspace.js:333 #: ../www/manager/Workspace.js:333
msgid "Create CT" msgid "Create CT"
msgstr "" msgstr ""
...@@ -80,6 +97,10 @@ msgstr "" ...@@ -80,6 +97,10 @@ msgstr ""
msgid "Create VM" msgid "Create VM"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:107
msgid "Create directory storage"
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 ""
...@@ -93,6 +114,10 @@ msgstr "" ...@@ -93,6 +114,10 @@ msgstr ""
msgid "Description" msgid "Description"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:38
msgid "Directory"
msgstr ""
#: ../www/manager/data/ResourceStore.js:109 #: ../www/manager/data/ResourceStore.js:109
msgid "Disk size" msgid "Disk size"
msgstr "" msgstr ""
...@@ -132,7 +157,7 @@ msgstr "" ...@@ -132,7 +157,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/OptionView.js:130 #: ../www/manager/dc/StorageView.js:54 ../www/manager/dc/OptionView.js:130
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
...@@ -140,6 +165,10 @@ msgstr "" ...@@ -140,6 +165,10 @@ msgstr ""
msgid "Edit HTTP proxy settings" msgid "Edit HTTP proxy settings"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:109
msgid "Edit directory storage {0}"
msgstr ""
#: ../www/manager/dc/OptionView.js:55 #: ../www/manager/dc/OptionView.js:55
msgid "Edit keyboard settings" msgid "Edit keyboard settings"
msgstr "" msgstr ""
...@@ -148,6 +177,10 @@ msgstr "" ...@@ -148,6 +177,10 @@ msgstr ""
msgid "Edit language settings" msgid "Edit language settings"
msgstr "" msgstr ""
#: ../www/manager/dc/StorageView.js:200 ../www/manager/storage/DirEdit.js:57
msgid "Enable"
msgstr ""
#: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69 #: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69
msgid "End Time" msgid "End Time"
msgstr "" msgstr ""
...@@ -160,7 +193,8 @@ msgstr "" ...@@ -160,7 +193,8 @@ msgstr ""
msgid "Enter your user name" msgid "Enter your user name"
msgstr "" msgstr ""
#: ../www/manager/window/LoginWindow.js:17 #: ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:87
#: ../www/manager/window/Edit.js:124
msgid "Error" msgid "Error"
msgstr "" msgstr ""
...@@ -250,6 +284,10 @@ msgstr "" ...@@ -250,6 +284,10 @@ msgstr ""
msgid "No" msgid "No"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:73
msgid "No restrictions"
msgstr ""
#: ../www/manager/data/ResourceStore.js:153 ../www/manager/node/Config.js:60 #: ../www/manager/data/ResourceStore.js:153 ../www/manager/node/Config.js:60
#: ../www/manager/node/Tasks.js:126 ../www/manager/dc/Tasks.js:81 #: ../www/manager/node/Tasks.js:126 ../www/manager/dc/Tasks.js:81
#: ../www/manager/dc/Log.js:50 #: ../www/manager/dc/Log.js:50
...@@ -260,6 +298,10 @@ msgstr "" ...@@ -260,6 +298,10 @@ msgstr ""
msgid "Node list" msgid "Node list"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:71
msgid "Nodes"
msgstr ""
#: ../www/manager/data/ResourceStore.js:48 #: ../www/manager/data/ResourceStore.js:48
msgid "Online" msgid "Online"
msgstr "" msgstr ""
...@@ -305,7 +347,8 @@ msgstr "" ...@@ -305,7 +347,8 @@ msgstr ""
msgid "Reload" msgid "Reload"
msgstr "" msgstr ""
#: ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71 #: ../www/manager/dc/StorageView.js:60 ../www/manager/qemu/Config.js:79
#: ../www/manager/openvz/Config.js:71
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
...@@ -350,6 +393,10 @@ msgstr "" ...@@ -350,6 +393,10 @@ msgstr ""
msgid "Severity" msgid "Severity"
msgstr "" msgstr ""
#: ../www/manager/dc/StorageView.js:193 ../www/manager/storage/DirEdit.js:63
msgid "Shared"
msgstr ""
#: ../www/manager/node/Config.js:47 ../www/manager/VNCConsole.js:459 #: ../www/manager/node/Config.js:47 ../www/manager/VNCConsole.js:459
msgid "Shell" msgid "Shell"
msgstr "" msgstr ""
...@@ -418,6 +465,7 @@ msgid "Time" ...@@ -418,6 +465,7 @@ msgid "Time"
msgstr "" msgstr ""
#: ../www/manager/data/ResourceStore.js:33 #: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:167
msgid "Type" msgid "Type"
msgstr "" msgstr ""
......
...@@ -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: Wed Nov 23 10:13:52 2011\n" "POT-Creation-Date: Thu Nov 24 13:10:49 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,6 +16,14 @@ msgstr "" ...@@ -16,6 +16,14 @@ 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
msgid "Add"
msgstr ""
#: ../www/manager/storage/DirEdit.js:72
msgid "All"
msgstr ""
#: ../www/manager/Utils.js:60 #: ../www/manager/Utils.js:60
msgid "Allowed characters" msgid "Allowed characters"
msgstr "" msgstr ""
...@@ -24,6 +32,10 @@ msgstr "" ...@@ -24,6 +32,10 @@ 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
msgid "Are you sure you want to remove storage {0}?"
msgstr ""
#: ../www/manager/dc/Config.js:49 #: ../www/manager/dc/Config.js:49
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
...@@ -40,7 +52,7 @@ msgstr "" ...@@ -40,7 +52,7 @@ msgstr ""
msgid "Cluster log" msgid "Cluster log"
msgstr "" msgstr ""
#: ../www/manager/qemu/CmdMenu.js:41 ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:257 ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:376 ../www/manager/VNCConsole.js:388 ../www/manager/openvz/CmdMenu.js:41 #: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:41 ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:257 ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:376 ../www/manager/VNCConsole.js:388 ../www/manager/openvz/CmdMenu.js:41
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
...@@ -56,10 +68,14 @@ msgstr "" ...@@ -56,10 +68,14 @@ msgstr ""
msgid "Container {0} on node {1}" msgid "Container {0} on node {1}"
msgstr "" msgstr ""
#: ../www/manager/storage/Browser.js:30 #: ../www/manager/dc/StorageView.js:174 ../www/manager/storage/DirEdit.js:46 ../www/manager/storage/Browser.js:30
msgid "Content" msgid "Content"
msgstr "" msgstr ""
#: ../www/manager/window/Edit.js:166
msgid "Create"
msgstr ""
#: ../www/manager/Workspace.js:333 #: ../www/manager/Workspace.js:333
msgid "Create CT" msgid "Create CT"
msgstr "" msgstr ""
...@@ -68,6 +84,10 @@ msgstr "" ...@@ -68,6 +84,10 @@ msgstr ""
msgid "Create VM" msgid "Create VM"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:107
msgid "Create directory storage"
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 ""
...@@ -80,6 +100,10 @@ msgstr "" ...@@ -80,6 +100,10 @@ msgstr ""
msgid "Description" msgid "Description"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:38
msgid "Directory"
msgstr ""
#: ../www/manager/data/ResourceStore.js:109 #: ../www/manager/data/ResourceStore.js:109
msgid "Disk size" msgid "Disk size"
msgstr "" msgstr ""
...@@ -116,7 +140,7 @@ msgstr "" ...@@ -116,7 +140,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/OptionView.js:130 #: ../www/manager/dc/StorageView.js:54 ../www/manager/dc/OptionView.js:130
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
...@@ -124,6 +148,10 @@ msgstr "" ...@@ -124,6 +148,10 @@ msgstr ""
msgid "Edit HTTP proxy settings" msgid "Edit HTTP proxy settings"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:109
msgid "Edit directory storage {0}"
msgstr ""
#: ../www/manager/dc/OptionView.js:55 #: ../www/manager/dc/OptionView.js:55
msgid "Edit keyboard settings" msgid "Edit keyboard settings"
msgstr "" msgstr ""
...@@ -132,6 +160,10 @@ msgstr "" ...@@ -132,6 +160,10 @@ msgstr ""
msgid "Edit language settings" msgid "Edit language settings"
msgstr "" msgstr ""
#: ../www/manager/dc/StorageView.js:200 ../www/manager/storage/DirEdit.js:57
msgid "Enable"
msgstr ""
#: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69 #: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69
msgid "End Time" msgid "End Time"
msgstr "" msgstr ""
...@@ -144,7 +176,7 @@ msgstr "" ...@@ -144,7 +176,7 @@ msgstr ""
msgid "Enter your user name" msgid "Enter your user name"
msgstr "" msgstr ""
#: ../www/manager/window/LoginWindow.js:17 #: ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:87 ../www/manager/window/Edit.js:124
msgid "Error" msgid "Error"
msgstr "" msgstr ""
...@@ -232,6 +264,10 @@ msgstr "" ...@@ -232,6 +264,10 @@ msgstr ""
msgid "No" msgid "No"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:73
msgid "No restrictions"
msgstr ""
#: ../www/manager/data/ResourceStore.js:153 ../www/manager/node/Config.js:60 ../www/manager/node/Tasks.js:126 ../www/manager/dc/Tasks.js:81 ../www/manager/dc/Log.js:50 #: ../www/manager/data/ResourceStore.js:153 ../www/manager/node/Config.js:60 ../www/manager/node/Tasks.js:126 ../www/manager/dc/Tasks.js:81 ../www/manager/dc/Log.js:50
msgid "Node" msgid "Node"
msgstr "" msgstr ""
...@@ -240,6 +276,10 @@ msgstr "" ...@@ -240,6 +276,10 @@ msgstr ""
msgid "Node list" msgid "Node list"
msgstr "" msgstr ""
#: ../www/manager/storage/DirEdit.js:71
msgid "Nodes"
msgstr ""
#: ../www/manager/data/ResourceStore.js:48 #: ../www/manager/data/ResourceStore.js:48
msgid "Online" msgid "Online"
msgstr "" msgstr ""
...@@ -280,7 +320,7 @@ msgstr "" ...@@ -280,7 +320,7 @@ msgstr ""
msgid "Reload" msgid "Reload"
msgstr "" msgstr ""
#: ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71 #: ../www/manager/dc/StorageView.js:60 ../www/manager/qemu/Config.js:79 ../www/manager/openvz/Config.js:71
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
...@@ -324,6 +364,10 @@ msgstr "" ...@@ -324,6 +364,10 @@ msgstr ""
msgid "Severity" msgid "Severity"
msgstr "" msgstr ""
#: ../www/manager/dc/StorageView.js:193 ../www/manager/storage/DirEdit.js:63
msgid "Shared"
msgstr ""
#: ../www/manager/node/Config.js:47 ../www/manager/VNCConsole.js:459 #: ../www/manager/node/Config.js:47 ../www/manager/VNCConsole.js:459
msgid "Shell" msgid "Shell"
msgstr "" msgstr ""
...@@ -384,7 +428,7 @@ msgstr "" ...@@ -384,7 +428,7 @@ msgstr ""
msgid "Time" msgid "Time"
msgstr "" msgstr ""
#: ../www/manager/data/ResourceStore.js:33 #: ../www/manager/data/ResourceStore.js:33 ../www/manager/dc/StorageView.js:167
msgid "Type" msgid "Type"
msgstr "" msgstr ""
......
...@@ -51,13 +51,13 @@ Ext.define('PVE.dc.StorageView', { ...@@ -51,13 +51,13 @@ Ext.define('PVE.dc.StorageView', {
}; };
var edit_btn = new Ext.Button({ var edit_btn = new Ext.Button({
text: 'Edit', text: gettext('Edit'),
disabled: true, disabled: true,
handler: run_editor handler: run_editor
}); });
var remove_btn = new Ext.Button({ var remove_btn = new Ext.Button({
text: 'Remove', text: gettext('Remove'),
disabled: true, disabled: true,
handler: function(){ handler: function(){
var sm = me.getSelectionModel(); var sm = me.getSelectionModel();
...@@ -67,10 +67,9 @@ Ext.define('PVE.dc.StorageView', { ...@@ -67,10 +67,9 @@ Ext.define('PVE.dc.StorageView', {
return; return;
} }
var msg = "Are you sure you want to remove storage: '" + var msg = Ext.String.format(gettext('Are you sure you want to remove storage {0}?'), "'" + rec.data.storage + "'");
rec.data.storage + "'";
Ext.Msg.confirm('Deletion Confirmation', msg, function(btn) { Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
if (btn !== 'yes') { if (btn !== 'yes') {
return; return;
} }
...@@ -82,7 +81,7 @@ Ext.define('PVE.dc.StorageView', { ...@@ -82,7 +81,7 @@ Ext.define('PVE.dc.StorageView', {
reload(); reload();
}, },
failure: function (response, opts) { failure: function (response, opts) {
Ext.Msg.alert('Error', response.htmlStatus); Ext.Msg.alert(gettetx('Error'), response.htmlStatus);
} }
}); });
}); });
...@@ -112,7 +111,7 @@ Ext.define('PVE.dc.StorageView', { ...@@ -112,7 +111,7 @@ Ext.define('PVE.dc.StorageView', {
}, },
tbar: [ tbar: [
{ {
text: 'Add', text: gettext('Add'),
menu: new Ext.menu.Menu({ menu: new Ext.menu.Menu({
items: [ items: [
{ {
...@@ -159,20 +158,20 @@ Ext.define('PVE.dc.StorageView', { ...@@ -159,20 +158,20 @@ Ext.define('PVE.dc.StorageView', {
], ],
columns: [ columns: [
{ {
header: 'Storage ID', header: 'ID',
width: 100, width: 100,
sortable: true, sortable: true,
dataIndex: 'storage' dataIndex: 'storage'
}, },
{ {
header: 'Type', header: gettext('Type'),
width: 60, width: 60,
sortable: true, sortable: true,
dataIndex: 'type', dataIndex: 'type',
renderer: PVE.Utils.format_storage_type renderer: PVE.Utils.format_storage_type
}, },
{ {
header: 'Content', header: gettext('Content'),
width: 150, width: 150,
sortable: true, sortable: true,
dataIndex: 'content', dataIndex: 'content',
...@@ -191,14 +190,14 @@ Ext.define('PVE.dc.StorageView', { ...@@ -191,14 +190,14 @@ Ext.define('PVE.dc.StorageView', {
} }
}, },
{ {
header: 'Shared', header: gettext('Shared'),
width: 80, width: 80,
sortable: true, sortable: true,
dataIndex: 'shared', dataIndex: 'shared',
renderer: PVE.Utils.format_boolean renderer: PVE.Utils.format_boolean
}, },
{ {
header: 'Enable', header: gettext('Enable'),
width: 80, width: 80,
sortable: true, sortable: true,
dataIndex: 'disable', dataIndex: 'disable',
......
...@@ -26,7 +26,7 @@ Ext.define('PVE.storage.DirInputPanel', { ...@@ -26,7 +26,7 @@ Ext.define('PVE.storage.DirInputPanel', {
name: 'storage', name: 'storage',
height: 22, // hack: set same height as text fields height: 22, // hack: set same height as text fields
value: me.storageId || '', value: me.storageId || '',
fieldLabel: 'Storage ID', fieldLabel: 'ID',
vtype: 'StorageId', vtype: 'StorageId',
allowBlank: false allowBlank: false
}, },
...@@ -35,7 +35,7 @@ Ext.define('PVE.storage.DirInputPanel', { ...@@ -35,7 +35,7 @@ Ext.define('PVE.storage.DirInputPanel', {
height: 22, // hack: set same height as text fields height: 22, // hack: set same height as text fields
name: 'path', name: 'path',
value: '', value: '',
fieldLabel: 'Directory', fieldLabel: gettext('Directory'),
allowBlank: false allowBlank: false
}, },
{ {
...@@ -43,7 +43,7 @@ Ext.define('PVE.storage.DirInputPanel', { ...@@ -43,7 +43,7 @@ Ext.define('PVE.storage.DirInputPanel', {
name: 'content', name: 'content',
value: 'images', value: 'images',
multiSelect: true, multiSelect: true,
fieldLabel: 'Content', fieldLabel: gettext('Content'),
allowBlank: false allowBlank: false
} }
]; ];
...@@ -54,13 +54,13 @@ Ext.define('PVE.storage.DirInputPanel', { ...@@ -54,13 +54,13 @@ Ext.define('PVE.storage.DirInputPanel', {
name: 'enable', name: 'enable',
checked: true, checked: true,
uncheckedValue: 0, uncheckedValue: 0,
fieldLabel: 'Enable' fieldLabel: gettext('Enable')
}, },
{ {
xtype: 'pvecheckbox', xtype: 'pvecheckbox',
name: 'shared', name: 'shared',
uncheckedValue: 0, uncheckedValue: 0,
fieldLabel: 'Shared' fieldLabel: gettext('Shared')
} }
]; ];
...@@ -68,8 +68,9 @@ Ext.define('PVE.storage.DirInputPanel', { ...@@ -68,8 +68,9 @@ Ext.define('PVE.storage.DirInputPanel', {
me.column2.unshift({ me.column2.unshift({
xtype: 'PVE.form.NodeSelector', xtype: 'PVE.form.NodeSelector',
name: 'nodes', name: 'nodes',
fieldLabel: 'Nodes', fieldLabel: gettext('Nodes'),
emptyText: 'All (no restrictions)', emptyText: gettext('All') + ' (' +
gettext('No restrictions') +')',
multiSelect: true, multiSelect: true,
autoSelect: false autoSelect: false
}); });
...@@ -99,13 +100,16 @@ Ext.define('PVE.storage.DirEdit', { ...@@ -99,13 +100,16 @@ Ext.define('PVE.storage.DirEdit', {
create: me.create, create: me.create,
storageId: me.storageId storageId: me.storageId
}); });
Ext.apply(me, {
title: me.create ? "Create directory storage" :
"Edit directory storage '" + me.storageId + "'",
items: [ ipanel ]
});
me.items = [ ipanel ];
if (me.create) {
me.title = gettext('Create directory storage');
} else {
me.title = Ext.String.format(gettext('Edit directory storage {0}'),
"'" + me.storageId + "'");
}
me.callParent(); me.callParent();
if (!me.create) { if (!me.create) {
......
...@@ -84,7 +84,7 @@ Ext.define('PVE.window.Edit', { ...@@ -84,7 +84,7 @@ Ext.define('PVE.window.Edit', {
if (response.result.errors) { if (response.result.errors) {
form.markInvalid(response.result.errors); form.markInvalid(response.result.errors);
} }
Ext.Msg.alert('Error', response.htmlStatus); Ext.Msg.alert(gettext('Error'), response.htmlStatus);
}, },
success: function(response, options) { success: function(response, options) {
me.close(); me.close();
...@@ -121,7 +121,7 @@ Ext.define('PVE.window.Edit', { ...@@ -121,7 +121,7 @@ Ext.define('PVE.window.Edit', {
}); });
}, },
failure: function(response, opts) { failure: function(response, opts) {
Ext.Msg.alert('Error', response.htmlStatus, function() { Ext.Msg.alert(gettext('Error'), response.htmlStatus, function() {
me.close(); me.close();
}); });
} }
...@@ -163,7 +163,7 @@ Ext.define('PVE.window.Edit', { ...@@ -163,7 +163,7 @@ Ext.define('PVE.window.Edit', {
var form = me.formPanel.getForm(); var form = me.formPanel.getForm();
var submitBtn = Ext.create('Ext.Button', { var submitBtn = Ext.create('Ext.Button', {
text: me.create ? 'Create' : 'OK', text: me.create ? gettext('Create') : gettext('OK'),
disabled: !me.create, disabled: !me.create,
handler: function() { handler: function() {
me.submit(); me.submit();
......
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