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

add more gettext markers

And try to reduce number of different texts
parent 8f25b23b
This diff is collapsed.
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pve-manager 2.0\n"
"Report-Msgid-Bugs-To: <support@proxmox.com>\n"
"POT-Creation-Date: Thu Dec 8 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"
"Last-Translator: Proxmox Support Team <support@proxmox.com>\n"
"Language-Team: French\n"
......@@ -17,7 +17,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../www/manager/dc/StorageView.js:114
#: ../www/manager/storage/ContentView.js:87
msgid "Abort"
msgstr ""
#: ../www/manager/dc/StorageView.js:107
msgid "Add"
msgstr ""
......@@ -37,8 +41,9 @@ msgid ""
"data."
msgstr ""
#: ../www/manager/dc/StorageView.js:70
msgid "Are you sure you want to remove storage {0}?"
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/AuthView.js:52
#: ../www/manager/storage/ContentView.js:260
msgid "Are you sure you want to remove entry {0}"
msgstr ""
#: ../www/manager/dc/Config.js:49
......@@ -66,11 +71,15 @@ msgstr ""
msgid "Cluster log"
msgstr ""
#: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:45
#: ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240
#: ../www/manager/VNCConsole.js:252 ../www/manager/VNCConsole.js:269
#: ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:370
#: ../www/manager/VNCConsole.js:382 ../www/manager/openvz/CmdMenu.js:45
#: ../www/manager/dc/AuthView.js:100 ../www/manager/dc/AuthEdit.js:48
msgid "Comment"
msgstr ""
#: ../www/manager/qemu/CmdMenu.js:45 ../www/manager/button/Button.js:40
#: ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:252
#: ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281
#: ../www/manager/VNCConsole.js:370 ../www/manager/VNCConsole.js:382
#: ../www/manager/openvz/CmdMenu.js:45
msgid "Confirm"
msgstr ""
......@@ -80,10 +89,10 @@ msgstr ""
msgid "Connection error"
msgstr ""
#: ../www/manager/Utils.js:374 ../www/manager/qemu/Config.js:96
#: ../www/manager/qemu/CmdMenu.js:55 ../www/manager/VNCConsole.js:297
#: ../www/manager/VNCConsole.js:393 ../www/manager/openvz/Config.js:88
#: ../www/manager/openvz/CmdMenu.js:55
#: ../www/manager/Workspace.js:111 ../www/manager/Utils.js:374
#: ../www/manager/qemu/Config.js:96 ../www/manager/qemu/CmdMenu.js:55
#: ../www/manager/VNCConsole.js:297 ../www/manager/VNCConsole.js:393
#: ../www/manager/openvz/Config.js:88 ../www/manager/openvz/CmdMenu.js:55
msgid "Console"
msgstr ""
......@@ -91,13 +100,14 @@ msgstr ""
msgid "Container {0} on node {1}"
msgstr ""
#: ../www/manager/dc/StorageView.js:174 ../www/manager/storage/DirEdit.js:46
#: ../www/manager/dc/StorageView.js:167 ../www/manager/storage/DirEdit.js:46
#: ../www/manager/storage/ContentView.js:48
#: ../www/manager/storage/Browser.js:30
msgid "Content"
msgstr ""
#: ../www/manager/Utils.js:376 ../www/manager/Utils.js:386
#: ../www/manager/window/Edit.js:166
#: ../www/manager/dc/AuthView.js:25 ../www/manager/Utils.js:376
#: ../www/manager/Utils.js:386 ../www/manager/window/Edit.js:166
msgid "Create"
msgstr ""
......@@ -125,11 +135,15 @@ msgstr ""
msgid "Create iSCSI storage"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:112
msgid "Create realm"
msgstr ""
#: ../www/manager/tree/ResourceTree.js:185 ../www/manager/dc/Config.js:9
msgid "Datacenter"
msgstr ""
#: ../www/manager/Utils.js:553
#: ../www/manager/dc/AuthEdit.js:54 ../www/manager/Utils.js:540
msgid "Default"
msgstr ""
......@@ -185,7 +199,8 @@ msgstr ""
msgid "Do you really want to suspend VM {0}?"
msgstr ""
#: ../www/manager/dc/StorageView.js:54 ../www/manager/dc/OptionView.js:102
#: ../www/manager/dc/StorageView.js:55 ../www/manager/dc/AuthView.js:35
#: ../www/manager/dc/OptionView.js:102
msgid "Edit"
msgstr ""
......@@ -213,7 +228,11 @@ msgstr ""
msgid "Edit keyboard settings"
msgstr ""
#: ../www/manager/dc/StorageView.js:200
#: ../www/manager/dc/AuthEdit.js:114
msgid "Edit realm {0}"
msgstr ""
#: ../www/manager/dc/StorageView.js:193
#: ../www/manager/storage/IScsiEdit.js:135
#: ../www/manager/storage/LVMEdit.js:195 ../www/manager/storage/DirEdit.js:57
#: ../www/manager/storage/NFSEdit.js:140
......@@ -232,6 +251,10 @@ msgstr ""
msgid "Enter your user name"
msgstr ""
#: ../www/manager/dc/AuthView.js:70 ../www/manager/storage/ContentView.js:73
#: ../www/manager/storage/ContentView.js:128
#: ../www/manager/storage/ContentView.js:137
#: ../www/manager/storage/ContentView.js:275 ../www/manager/VNCConsole.js:177
#: ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:87
#: ../www/manager/window/Edit.js:124
msgid "Error"
......@@ -255,7 +278,7 @@ msgid "Form fields may not be submitted with invalid values"
msgstr ""
#: ../www/manager/Utils.js:45 ../www/manager/Utils.js:50
#: ../www/manager/Utils.js:55
#: ../www/manager/Utils.js:55 ../www/manager/storage/ContentView.js:301
msgid "Format"
msgstr ""
......@@ -313,6 +336,7 @@ msgid "Monitor"
msgstr ""
#: ../www/manager/data/ResourceStore.js:96
#: ../www/manager/storage/ContentView.js:294
msgid "Name"
msgstr ""
......@@ -320,7 +344,7 @@ msgstr ""
msgid "Network"
msgstr ""
#: ../www/manager/Utils.js:552
#: ../www/manager/Utils.js:538
msgid "No"
msgstr ""
......@@ -371,6 +395,10 @@ msgstr ""
msgid "Password"
msgstr ""
#: ../www/manager/dc/ACLView.js:37
msgid "Path"
msgstr ""
#: ../www/manager/dc/Config.js:39 ../www/manager/storage/Browser.js:34
#: ../www/manager/qemu/Config.js:137 ../www/manager/openvz/Config.js:146
msgid "Permissions"
......@@ -381,10 +409,18 @@ msgstr ""
msgid "Please wait..."
msgstr ""
#: ../www/manager/dc/ACLView.js:56
msgid "Propagate"
msgstr ""
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr ""
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
msgid "Realm"
msgstr ""
#: ../www/manager/VNCConsole.js:304 ../www/manager/VNCConsole.js:400
#: ../www/manager/VNCConsole.js:437
msgid "Refresh"
......@@ -395,7 +431,8 @@ msgstr ""
msgid "Reload"
msgstr ""
#: ../www/manager/dc/StorageView.js:60 ../www/manager/qemu/Config.js:79
#: ../www/manager/dc/StorageView.js:62 ../www/manager/dc/AuthView.js:49
#: ../www/manager/storage/ContentView.js:256 ../www/manager/qemu/Config.js:79
#: ../www/manager/openvz/Config.js:71
msgid "Remove"
msgstr ""
......@@ -414,6 +451,7 @@ msgid "Restart"
msgstr ""
#: ../www/manager/Utils.js:377 ../www/manager/Utils.js:387
#: ../www/manager/storage/ContentView.js:228
msgid "Restore"
msgstr ""
......@@ -421,6 +459,10 @@ msgstr ""
msgid "Resume"
msgstr ""
#: ../www/manager/dc/ACLView.js:50
msgid "Role"
msgstr ""
#: ../www/manager/dc/Config.js:44
msgid "Roles"
msgstr ""
......@@ -430,10 +472,22 @@ msgstr ""
msgid "Search"
msgstr ""
#: ../www/manager/storage/ContentView.js:55
msgid "Select File..."
msgstr ""
#: ../www/manager/storage/NFSEdit.js:95
msgid "Server"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:71
msgid "Server Address"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr ""
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr ""
......@@ -450,7 +504,7 @@ msgstr ""
msgid "Severity"
msgstr ""
#: ../www/manager/dc/StorageView.js: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
msgid "Shared"
msgstr ""
......@@ -467,6 +521,10 @@ msgstr ""
msgid "Shutdown"
msgstr ""
#: ../www/manager/storage/ContentView.js:306
msgid "Size"
msgstr ""
#: ../www/manager/Utils.js:380 ../www/manager/Utils.js:390
#: ../www/manager/Utils.js:392 ../www/manager/qemu/Config.js:36
#: ../www/manager/qemu/CmdMenu.js:34 ../www/manager/VNCConsole.js:231
......@@ -528,14 +586,28 @@ msgid "Time"
msgstr ""
#: ../www/manager/data/ResourceStore.js:33
#: ../www/manager/dc/StorageView.js:167
#: ../www/manager/dc/StorageView.js:160 ../www/manager/dc/AuthView.js:93
msgid "Type"
msgstr ""
#: ../www/manager/Utils.js:539
msgid "Unknown"
msgstr ""
#: ../www/manager/Utils.js:251
msgid "Unknown error"
msgstr ""
#: ../www/manager/storage/ContentView.js:95
#: ../www/manager/storage/ContentView.js:159
#: ../www/manager/storage/ContentView.js:281
msgid "Upload"
msgstr ""
#: ../www/manager/storage/ContentView.js:67
msgid "Uploading file..."
msgstr ""
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
msgstr ""
......@@ -544,6 +616,10 @@ msgstr ""
msgid "Use LUNs directly"
msgstr ""
#: ../www/manager/dc/ACLView.js:43
msgid "User"
msgstr ""
#: ../www/manager/node/Tasks.js:82 ../www/manager/node/Tasks.js:131
#: ../www/manager/dc/Tasks.js:86 ../www/manager/dc/Log.js:65
#: ../www/manager/window/LoginWindow.js:65
......@@ -554,6 +630,10 @@ msgstr ""
msgid "Users"
msgstr ""
#: ../www/manager/Workspace.js:303
msgid "Version"
msgstr ""
#: ../www/manager/node/Tasks.js:57
msgid "View"
msgstr ""
......@@ -570,10 +650,18 @@ msgstr ""
msgid "Volume group"
msgstr ""
#: ../www/manager/Utils.js:551
#: ../www/manager/Utils.js:537
msgid "Yes"
msgstr ""
#: ../www/manager/Workspace.js:219
msgid "You are logged in as {0}"
msgstr ""
#: ../www/manager/Utils.js:542
msgid "day"
msgstr ""
#: ../www/manager/Utils.js:541
msgid "days"
msgstr ""
This diff is collapsed.
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pve-manager 2.0\n"
"Report-Msgid-Bugs-To: <support@proxmox.com>\n"
"POT-Creation-Date: Thu Dec 8 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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <support@proxmox.com>\n"
......@@ -16,7 +16,11 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../www/manager/dc/StorageView.js:114
#: ../www/manager/storage/ContentView.js:87
msgid "Abort"
msgstr ""
#: ../www/manager/dc/StorageView.js:107
msgid "Add"
msgstr ""
......@@ -32,8 +36,8 @@ msgstr ""
msgid "Are you sure you want to remove VM {0}? This will permanently erase all VM data."
msgstr ""
#: ../www/manager/dc/StorageView.js:70
msgid "Are you sure you want to remove storage {0}?"
#: ../www/manager/dc/StorageView.js:66 ../www/manager/dc/AuthView.js:52 ../www/manager/storage/ContentView.js:260
msgid "Are you sure you want to remove entry {0}"
msgstr ""
#: ../www/manager/dc/Config.js:49
......@@ -60,7 +64,11 @@ msgstr ""
msgid "Cluster log"
msgstr ""
#: ../www/manager/dc/StorageView.js:72 ../www/manager/qemu/CmdMenu.js:45 ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:252 ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:370 ../www/manager/VNCConsole.js:382 ../www/manager/openvz/CmdMenu.js:45
#: ../www/manager/dc/AuthView.js:100 ../www/manager/dc/AuthEdit.js:48
msgid "Comment"
msgstr ""
#: ../www/manager/qemu/CmdMenu.js:45 ../www/manager/button/Button.js:40 ../www/manager/VNCConsole.js:240 ../www/manager/VNCConsole.js:252 ../www/manager/VNCConsole.js:269 ../www/manager/VNCConsole.js:281 ../www/manager/VNCConsole.js:370 ../www/manager/VNCConsole.js:382 ../www/manager/openvz/CmdMenu.js:45
msgid "Confirm"
msgstr ""
......@@ -68,7 +76,7 @@ msgstr ""
msgid "Connection error"
msgstr ""
#: ../www/manager/Utils.js:374 ../www/manager/qemu/Config.js:96 ../www/manager/qemu/CmdMenu.js:55 ../www/manager/VNCConsole.js:297 ../www/manager/VNCConsole.js:393 ../www/manager/openvz/Config.js:88 ../www/manager/openvz/CmdMenu.js:55
#: ../www/manager/Workspace.js:111 ../www/manager/Utils.js:374 ../www/manager/qemu/Config.js:96 ../www/manager/qemu/CmdMenu.js:55 ../www/manager/VNCConsole.js:297 ../www/manager/VNCConsole.js:393 ../www/manager/openvz/Config.js:88 ../www/manager/openvz/CmdMenu.js:55
msgid "Console"
msgstr ""
......@@ -76,11 +84,11 @@ msgstr ""
msgid "Container {0} on node {1}"
msgstr ""
#: ../www/manager/dc/StorageView.js: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"
msgstr ""
#: ../www/manager/Utils.js:376 ../www/manager/Utils.js:386 ../www/manager/window/Edit.js:166
#: ../www/manager/dc/AuthView.js:25 ../www/manager/Utils.js:376 ../www/manager/Utils.js:386 ../www/manager/window/Edit.js:166
msgid "Create"
msgstr ""
......@@ -108,11 +116,15 @@ msgstr ""
msgid "Create iSCSI storage"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:112
msgid "Create realm"
msgstr ""
#: ../www/manager/tree/ResourceTree.js:185 ../www/manager/dc/Config.js:9
msgid "Datacenter"
msgstr ""
#: ../www/manager/Utils.js:553
#: ../www/manager/dc/AuthEdit.js:54 ../www/manager/Utils.js:540
msgid "Default"
msgstr ""
......@@ -164,7 +176,7 @@ msgstr ""
msgid "Do you really want to suspend VM {0}?"
msgstr ""
#: ../www/manager/dc/StorageView.js:54 ../www/manager/dc/OptionView.js:102
#: ../www/manager/dc/StorageView.js:55 ../www/manager/dc/AuthView.js:35 ../www/manager/dc/OptionView.js:102
msgid "Edit"
msgstr ""
......@@ -192,7 +204,11 @@ msgstr ""
msgid "Edit keyboard settings"
msgstr ""
#: ../www/manager/dc/StorageView.js:200 ../www/manager/storage/IScsiEdit.js:135 ../www/manager/storage/LVMEdit.js:195 ../www/manager/storage/DirEdit.js:57 ../www/manager/storage/NFSEdit.js:140
#: ../www/manager/dc/AuthEdit.js:114
msgid "Edit realm {0}"
msgstr ""
#: ../www/manager/dc/StorageView.js:193 ../www/manager/storage/IScsiEdit.js:135 ../www/manager/storage/LVMEdit.js:195 ../www/manager/storage/DirEdit.js:57 ../www/manager/storage/NFSEdit.js:140
msgid "Enable"
msgstr ""
......@@ -208,7 +224,7 @@ msgstr ""
msgid "Enter your user name"
msgstr ""
#: ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:87 ../www/manager/window/Edit.js:124
#: ../www/manager/dc/AuthView.js:70 ../www/manager/storage/ContentView.js:73 ../www/manager/storage/ContentView.js:128 ../www/manager/storage/ContentView.js:137 ../www/manager/storage/ContentView.js:275 ../www/manager/VNCConsole.js:177 ../www/manager/window/LoginWindow.js:17 ../www/manager/window/Edit.js:87 ../www/manager/window/Edit.js:124
msgid "Error"
msgstr ""
......@@ -228,7 +244,7 @@ msgstr ""
msgid "Form fields may not be submitted with invalid values"
msgstr ""
#: ../www/manager/Utils.js:45 ../www/manager/Utils.js:50 ../www/manager/Utils.js:55
#: ../www/manager/Utils.js:45 ../www/manager/Utils.js:50 ../www/manager/Utils.js:55 ../www/manager/storage/ContentView.js:301
msgid "Format"
msgstr ""
......@@ -284,7 +300,7 @@ msgstr ""
msgid "Monitor"
msgstr ""
#: ../www/manager/data/ResourceStore.js:96
#: ../www/manager/data/ResourceStore.js:96 ../www/manager/storage/ContentView.js:294
msgid "Name"
msgstr ""
......@@ -292,7 +308,7 @@ msgstr ""
msgid "Network"
msgstr ""
#: ../www/manager/Utils.js:552
#: ../www/manager/Utils.js:538
msgid "No"
msgstr ""
......@@ -336,6 +352,10 @@ msgstr ""
msgid "Password"
msgstr ""
#: ../www/manager/dc/ACLView.js:37
msgid "Path"
msgstr ""
#: ../www/manager/dc/Config.js:39 ../www/manager/storage/Browser.js:34 ../www/manager/qemu/Config.js:137 ../www/manager/openvz/Config.js:146
msgid "Permissions"
msgstr ""
......@@ -344,10 +364,18 @@ msgstr ""
msgid "Please wait..."
msgstr ""
#: ../www/manager/dc/ACLView.js:56
msgid "Propagate"
msgstr ""
#: ../www/manager/window/LoginWindow.js:46
msgid "Proxmox VE Login"
msgstr ""
#: ../www/manager/dc/AuthView.js:87 ../www/manager/dc/AuthEdit.js:26
msgid "Realm"
msgstr ""
#: ../www/manager/VNCConsole.js:304 ../www/manager/VNCConsole.js:400 ../www/manager/VNCConsole.js:437
msgid "Refresh"
msgstr ""
......@@ -356,7 +384,7 @@ msgstr ""
msgid "Reload"
msgstr ""
#: ../www/manager/dc/StorageView.js: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"
msgstr ""
......@@ -372,7 +400,7 @@ msgstr ""
msgid "Restart"
msgstr ""
#: ../www/manager/Utils.js:377 ../www/manager/Utils.js:387
#: ../www/manager/Utils.js:377 ../www/manager/Utils.js:387 ../www/manager/storage/ContentView.js:228
msgid "Restore"
msgstr ""
......@@ -380,6 +408,10 @@ msgstr ""
msgid "Resume"
msgstr ""
#: ../www/manager/dc/ACLView.js:50
msgid "Role"
msgstr ""
#: ../www/manager/dc/Config.js:44
msgid "Roles"
msgstr ""
......@@ -388,10 +420,22 @@ msgstr ""
msgid "Search"
msgstr ""
#: ../www/manager/storage/ContentView.js:55
msgid "Select File..."
msgstr ""
#: ../www/manager/storage/NFSEdit.js:95
msgid "Server"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:71
msgid "Server Address"
msgstr ""
#: ../www/manager/dc/AuthEdit.js:85
msgid "Server Port"
msgstr ""
#: ../www/manager/form/ViewSelector.js:11
msgid "Server View"
msgstr ""
......@@ -408,7 +452,7 @@ msgstr ""
msgid "Severity"
msgstr ""
#: ../www/manager/dc/StorageView.js: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"
msgstr ""
......@@ -420,6 +464,10 @@ msgstr ""
msgid "Shutdown"
msgstr ""
#: ../www/manager/storage/ContentView.js:306
msgid "Size"
msgstr ""
#: ../www/manager/Utils.js:380 ../www/manager/Utils.js:390 ../www/manager/Utils.js:392 ../www/manager/qemu/Config.js:36 ../www/manager/qemu/CmdMenu.js:34 ../www/manager/VNCConsole.js:231 ../www/manager/VNCConsole.js:361 ../www/manager/openvz/Config.js:36 ../www/manager/openvz/CmdMenu.js:34
msgid "Start"
msgstr ""
......@@ -472,14 +520,26 @@ msgstr ""
msgid "Time"
msgstr ""
#: ../www/manager/data/ResourceStore.js:33 ../www/manager/dc/StorageView.js:167
#: ../www/manager/data/ResourceStore.js:33 ../www/manager/dc/StorageView.js:160 ../www/manager/dc/AuthView.js:93
msgid "Type"
msgstr ""
#: ../www/manager/Utils.js:539
msgid "Unknown"
msgstr ""
#: ../www/manager/Utils.js:251
msgid "Unknown error"
msgstr ""
#: ../www/manager/storage/ContentView.js:95 ../www/manager/storage/ContentView.js:159 ../www/manager/storage/ContentView.js:281
msgid "Upload"
msgstr ""
#: ../www/manager/storage/ContentView.js:67
msgid "Uploading file..."
msgstr ""
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
msgstr ""
......@@ -488,6 +548,10 @@ msgstr ""
msgid "Use LUNs directly"
msgstr ""
#: ../www/manager/dc/ACLView.js:43
msgid "User"
msgstr ""
#: ../www/manager/node/Tasks.js:82 ../www/manager/node/Tasks.js:131 ../www/manager/dc/Tasks.js:86 ../www/manager/dc/Log.js:65 ../www/manager/window/LoginWindow.js:65
msgid "User name"
msgstr ""
......@@ -496,6 +560,10 @@ msgstr ""
msgid "Users"
msgstr ""
#: ../www/manager/Workspace.js:303
msgid "Version"
msgstr ""
#: ../www/manager/node/Tasks.js:57
msgid "View"
msgstr ""
......@@ -512,7 +580,7 @@ msgstr ""
msgid "Volume group"
msgstr ""
#: ../www/manager/Utils.js:551
#: ../www/manager/Utils.js:537
msgid "Yes"
msgstr ""
......@@ -520,3 +588,11 @@ msgstr ""
msgid "You are logged in as {0}"
msgstr ""
#: ../www/manager/Utils.js:542
msgid "day"
msgstr ""
#: ../www/manager/Utils.js:541
msgid "days"
msgstr ""
......@@ -189,7 +189,7 @@ Ext.define('PVE.Utils', { statics: {
render_language: function (value) {
if (!value) {
return 'Default (English)';
return PVE.Utils.defaultText + ' (English)';
}
var text = PVE.Utils.language_map[value];
if (text) {
......@@ -506,7 +506,7 @@ Ext.define('PVE.Utils', { statics: {
ut_str = ut_str.substr(ut_str.length - 2);
if (days) {
var ds = days > 1 ? 'days' : 'day';
var ds = days > 1 ? PVE.Utils.daysText : PVE.Utils.dayText;
return days.toString() + ' ' + ds + ' ' +
hours_str + ':' + mins_str + ':' + ut_str;
} else {
......@@ -534,6 +534,13 @@ Ext.define('PVE.Utils', { statics: {
return days.toFixed(0) + 'd';
},
yesText: gettext('Yes'),
noText: gettext('No'),
unknownText: gettext('Unknown'),
defaultText: gettext('Default'),
daysText: gettext('days'),
dayText: gettext('day'),
format_storage_type: function(value) {
if (value === 'dir') {
return 'Directory';
......@@ -544,14 +551,10 @@ Ext.define('PVE.Utils', { statics: {
} else if (value === 'iscsi') {
return 'iSCSI';
} else {
return 'unknown';
return PVE.Utils.unknownText;
}
},
yesText: gettext('Yes'),
noText: gettext('No'),
defaultText: gettext('Default'),
format_boolean_with_default: function(value) {
if (Ext.isDefined(value) && value !== '') {
return value ? PVE.Utils.yesText : PVE.Utils.noText;
......
......@@ -174,7 +174,7 @@ Ext.define('PVE.VNCConsole', {
params: me.params,
method: me.method || 'POST',
failure: function(response, opts) {
box.update("Error " + response.htmlStatus);
box.update(gettext('Error') + ' ' + response.htmlStatus);
},
success: function(response, opts) {
start_vnc_viewer(response.result.data);
......
......@@ -108,7 +108,7 @@ Ext.define('PVE.ConsoleWorkspace', {
alias: ['widget.pveConsoleWorkspace'],
title: 'Proxmox Console',
title: gettext('Console'),
initComponent : function() {
var me = this;
......@@ -142,7 +142,7 @@ Ext.define('PVE.ConsoleWorkspace', {
toplevel: true
};
} else if (consoleType === 'shell') {
me.title = "node '" + param.node + "' - Proxmox Shell";
me.title = "node '" + param.node;
content = {
xtype: 'pveShell',
nodename: param.node,
......@@ -300,7 +300,7 @@ Ext.define('PVE.StdWorkspace', {
{
minWidth: 200,
flex: 1,
html: '<span class="x-panel-header-text">Proxmox Virtual Environment<br>Version ' + PVE.GUIVersion + "</span>"
html: '<span class="x-panel-header-text">Proxmox Virtual Environment<br>' + gettext('Version') + ' ' + PVE.GUIVersion + "</span>"
},
{
pack: 'end',
......
......@@ -34,26 +34,26 @@ Ext.define('PVE.dc.ACLView', {
},
columns: [
{
header: 'Path',
header: gettext('Path'),
width: 200,
sortable: true,
dataIndex: 'path'
},
{
header: 'User/Group',
header: gettext('User') + '/' + gettext('Group'),
width: 200,
sortable: true,
renderer: render_ugid,
dataIndex: 'ugid'
},
{
header: 'Role',
header: gettext('Role'),
width: 150,
sortable: true,
dataIndex: 'roleid'
},
{
header: 'Propagate',
header: gettext('Propagate'),
width: 80,
sortable: true,
dataIndex: 'propagate'
......
......@@ -23,7 +23,7 @@ Ext.define('PVE.dc.AuthEdit', {
{
xtype: me.create ? 'textfield' : 'displayfield',
name: 'realm',
fieldLabel: 'Realm',
fieldLabel: gettext('Realm'),
value: me.realm,
emptyText: 'company.net',
allowBlank: false
......@@ -45,13 +45,13 @@ Ext.define('PVE.dc.AuthEdit', {
{
xtype: 'textfield',
name: 'comment',
fieldLabel: 'Comment',
fieldLabel: gettext('Comment'),
emptyText: 'Enterprise Directory Server',
allowBlank: false
},
{
xtype: 'pvecheckbox',
fieldLabel: 'Default Realm',
fieldLabel: gettext('Default'),
name: 'default',
uncheckedValue: 0
}
......@@ -68,7 +68,7 @@ Ext.define('PVE.dc.AuthEdit', {
}),
{
xtype: 'textfield',
fieldLabel: 'Server Address',
fieldLabel: gettext('Server Address'),
name: 'servers',
emptyText: '192.168.2.23,ldap.company.net',
listeners: {
......@@ -82,7 +82,7 @@ Ext.define('PVE.dc.AuthEdit', {
{
xtype: 'numberfield',
name: 'port',
fieldLabel: 'Server Port',
fieldLabel: gettext('Server Port'),
minValue: 1,
maxValue: 65535,
allowBlank: false
......@@ -108,8 +108,13 @@ Ext.define('PVE.dc.AuthEdit', {
}
});
if (me.create) {
me.title = gettext('Create realm');
} else {
me.title = Ext.String.format(gettext('Edit realm {0}'), "'" + me.realm + "'");
}
Ext.applyIf(me, {
title: me.create ? "Create Auth" : "Edit Auth '" + me.realm + "'",
url: url,
method: method,
items: [ ipanel ]
......
......@@ -18,9 +18,11 @@ Ext.define('PVE.dc.AuthView', {
store.load();
};
var sm = Ext.create('Ext.selection.RowModel', {});
var tbar = [
{
text: 'Create',
text: gettext('Create'),
handler: function() {
var win = Ext.create('PVE.dc.AuthEdit',{
});
......@@ -29,14 +31,10 @@ Ext.define('PVE.dc.AuthView', {
}
},
{
text: 'Modify',
handler: function() {
var sm = me.getSelectionModel();
var rec = sm.getSelection()[0];
if (!rec) {
return;
}
xtype: 'pveButton',
text: gettext('Edit'),
selModel: sm,
handler: function(btn, event, rec) {
var realm = rec.data.realm;
var win = Ext.create('PVE.dc.AuthEdit',{
......@@ -47,23 +45,19 @@ Ext.define('PVE.dc.AuthView', {
}
},
{
text: 'Delete',
handler: function() {
var msg;
var sm = me.getSelectionModel();
var rec = sm.getSelection()[0];
if (!rec) {
return;
}
xtype: 'pveButton',
text: gettext('Remove'),
selModel: sm,
confirmMsg: function (rec) {
return Ext.String.format(gettext('Are you sure you want to remove entry {0}'),
"'" + rec.data.realm + "'");
},
enableFn: function(rec) {
var realm = rec.data.realm;
return realm !== 'pam' && realm != 'pve';
},
handler: function(btn, event, rec) {
var realm = rec.data.realm;
if (realm !== 'pam' && realm != 'pve') {
msg = 'Are you sure you want to permanently the authentication realm: ' + realm;
Ext.Msg.confirm('Deletion Confirmation', msg, function(btn) {
if (btn !== 'yes') {
return;
}
PVE.Utils.API2Request({
url: '/access/domains/' + realm,
......@@ -73,20 +67,16 @@ Ext.define('PVE.dc.AuthView', {
reload();
},
failure: function (response, opts) {
Ext.Msg.alert('Error',response.htmlStatus);
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
}
});
});
} else {
msg = 'You are not permitted to delete the auth method: pam';
Ext.Msg.alert('Error', msg);
}
}
}
];
Ext.apply(me, {
store: store,
selModel: sm,
stateful: false,
//tbar: tbar,
viewConfig: {
......@@ -94,20 +84,20 @@ Ext.define('PVE.dc.AuthView', {
},
columns: [
{
header: 'Realm',
header: gettext('Realm'),
width: 100,
sortable: true,
dataIndex: 'realm'
},
{
header: 'Type',
header: gettext('Type'),
width: 100,
sortable: true,
dataIndex: 'type'
},
{
id: 'comment',
header: 'Comment',
header: gettext('Comment'),
sortable: false,
dataIndex: 'comment',
flex: 1
......
......@@ -22,8 +22,9 @@ Ext.define('PVE.dc.StorageView', {
store.load();
};
var sm = Ext.create('Ext.selection.RowModel', {});
var run_editor = function() {
var sm = me.getSelectionModel();
var rec = sm.getSelection()[0];
if (!rec) {
return;
......@@ -50,29 +51,22 @@ Ext.define('PVE.dc.StorageView', {
win.on('destroy', reload);
};
var edit_btn = new Ext.Button({
var edit_btn = new PVE.button.Button({
text: gettext('Edit'),
disabled: true,
selModel: sm,
handler: run_editor
});
var remove_btn = new Ext.Button({
var remove_btn = new PVE.button.Button({
text: gettext('Remove'),
disabled: true,
handler: function(){
var sm = me.getSelectionModel();
var rec = sm.getSelection()[0];
if (!rec) {
return;
}
var msg = Ext.String.format(gettext('Are you sure you want to remove storage {0}?'), "'" + rec.data.storage + "'");
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
if (btn !== 'yes') {
return;
}
selModel: sm,
confirmMsg: function (rec) {
return Ext.String.format(gettext('Are you sure you want to remove entry {0}'),
"'" + rec.data.storage + "'");
},
handler: function(btn, event, rec){
PVE.Utils.API2Request({
url: '/storage/' + rec.data.storage,
method: 'DELETE',
......@@ -84,12 +78,10 @@ Ext.define('PVE.dc.StorageView', {
Ext.Msg.alert(gettetx('Error'), response.htmlStatus);
}
});
});
}
});
var set_button_status = function() {
var sm = me.getSelectionModel();
var rec = sm.getSelection()[0];
if (!rec) {
......@@ -105,6 +97,7 @@ Ext.define('PVE.dc.StorageView', {
Ext.apply(me, {
store: store,
selModel: sm,
stateful: false,
viewConfig: {
trackOver: false
......
......@@ -45,15 +45,14 @@ Ext.define('PVE.storage.Upload', {
['backup', 'VZDump backup file'],
['vztmpl', 'OpenVZ template']
],
fieldLabel: 'Content type',
fieldLabel: gettext('Content'),
name: 'content',
value: 'iso'
},
{
xtype: 'filefield',
name: 'filename',
filedLabel: 'File',
buttonText: 'Select File...',
buttonText: gettext('Select File...'),
allowBlank: false
},
pbar
......@@ -65,13 +64,13 @@ Ext.define('PVE.storage.Upload', {
var doStandardSubmit = function() {
form.submit({
url: "/api2/htmljs" + baseurl,
waitMsg: 'Uploading file...',
waitMsg: gettext('Uploading file...'),
success: function(f, action) {
me.close();
},
failure: function(f, action) {
var msg = PVE.Utils.extractFormActionError(action);
Ext.Msg.alert('Failed', msg);
Ext.Msg.alert(gettext('Error'), msg);
}
});
};
......@@ -85,7 +84,7 @@ Ext.define('PVE.storage.Upload', {
};
var abortBtn = Ext.create('Ext.Button', {
text: 'Abort',
text: gettext('Abort'),
disabled: true,
handler: function() {
me.close();
......@@ -93,7 +92,7 @@ Ext.define('PVE.storage.Upload', {
});
var submitBtn = Ext.create('Ext.Button', {
text: 'Upload',
text: gettext('Upload'),
disabled: true,
handler: function(button) {
var fd;
......@@ -126,7 +125,7 @@ Ext.define('PVE.storage.Upload', {
me.close();
} else {
var msg = "Error " + xhr.status.toString() + ": " + Ext.htmlEncode(xhr.statusText);
Ext.Msg.alert('Upload failed', msg, function(btn) {
Ext.Msg.alert(gettext('Error'), msg, function(btn) {
me.close();
});
......@@ -135,7 +134,7 @@ Ext.define('PVE.storage.Upload', {
xhr.addEventListener("error", function(e) {
var msg = "Error " + e.target.status.toString() + " occurred while receiving the document.";
Ext.Msg.alert('Upload failed', msg, function(btn) {
Ext.Msg.alert(gettext('Error'), msg, function(btn) {
me.close();
});
});
......@@ -157,7 +156,7 @@ Ext.define('PVE.storage.Upload', {
});
Ext.applyIf(me, {
title: 'Upload',
title: gettext('Upload'),
items: me.formPanel,
buttons: [ abortBtn, submitBtn ],
listeners: {
......@@ -226,7 +225,7 @@ Ext.define('PVE.storage.ContentView', {
tbar: [
{
xtype: 'pveButton',
text: 'Restore',
text: gettext('Restore'),
selModel: sm,
disabled: true,
enableFn: function(rec) {
......@@ -254,11 +253,12 @@ Ext.define('PVE.storage.ContentView', {
},
{
xtype: 'pveButton',
text: 'Delete',
text: gettext('Remove'),
selModel: sm,
disabled: true,
confirmMsg: function(rec) {
return 'Are you sure you want to delete volume "' + rec.data.volid + '"';
return Ext.String.format(gettext('Are you sure you want to remove entry {0}'),
"'" + rec.data.volid + "'");
},
enableFn: function(rec) {
return rec && rec.data.content !== 'images';
......@@ -272,13 +272,13 @@ Ext.define('PVE.storage.ContentView', {
reload();
},
failure: function (response, opts) {
Ext.Msg.alert('Error', response.htmlStatus);
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
}
});
}
},
{
text: 'Upload',
text: gettext('Upload'),
handler: function() {
var win = Ext.create('PVE.storage.Upload', {
nodename: nodename,
......@@ -291,19 +291,19 @@ Ext.define('PVE.storage.ContentView', {
],
columns: [
{
header: 'Name',
header: gettext('Name'),
flex: 1,
sortable: true,
renderer: PVE.Utils.render_storage_content,
dataIndex: 'text'
},
{
header: 'Format',
header: gettext('Format'),
width: 100,
dataIndex: 'format'
},
{
header: 'Size',
header: gettext('Size'),
width: 100,
renderer: PVE.Utils.format_size,
dataIndex: 'size'
......
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