Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
05e01237
Commit
05e01237
authored
Nov 23, 2011
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more gettext markers
parent
4b848ba6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
251 additions
and
40 deletions
+251
-40
de.po
po/de.po
+77
-7
fr.po
po/fr.po
+76
-6
messages.pot
po/messages.pot
+73
-5
ResourceStore.js
www/manager/data/ResourceStore.js
+13
-12
OptionView.js
www/manager/dc/OptionView.js
+12
-10
No files found.
po/de.po
View file @
05e01237
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: pve-manager 2.0\n"
"Report-Msgid-Bugs-To: <support@proxmox.com>\n"
"POT-Creation-Date: Wed Nov 23
06:18
:52 2011\n"
"PO-Revision-Date: 2011-11-23
06:18
+0100\n"
"POT-Creation-Date: Wed Nov 23
10:13
:52 2011\n"
"PO-Revision-Date: 2011-11-23
10:16
+0100\n"
"Last-Translator: Proxmox Support Team <support@proxmox.com>\n"
"Language-Team: German\n"
"Language: de\n"
...
...
@@ -38,6 +38,10 @@ msgstr "Authentifikation"
msgid "Backup"
msgstr "Backup"
#: ../www/manager/data/ResourceStore.js:132
msgid "CPU usage"
msgstr "CPU-Auslastung"
#: ../www/manager/panel/StatusPanel.js:41
msgid "Cluster log"
msgstr "Cluster log"
...
...
@@ -86,10 +90,23 @@ msgstr "Rechenzentrum"
msgid "Default"
msgstr "Standardeinstellung"
#: ../www/manager/node/Tasks.js:136 ../www/manager/dc/Tasks.js:91
#: ../www/manager/data/ResourceStore.js:61 ../www/manager/node/Tasks.js:136
#: ../www/manager/dc/Tasks.js:91
msgid "Description"
msgstr "Beschreibung"
#: ../www/manager/data/ResourceStore.js:109
msgid "Disk size"
msgstr "Disk-Größe"
#: ../www/manager/data/ResourceStore.js:102
msgid "Disk usage"
msgstr "Disk-Auslastung"
#: ../www/manager/dc/OptionView.js:13 ../www/manager/dc/OptionView.js:74
msgid "Do not use any proxy"
msgstr "Keinen Proxy verwenden"
#: ../www/manager/qemu/Config.js:64 ../www/manager/VNCConsole.js:256
msgid "Do you really want to reset VM {0}?"
msgstr "Möchten Sie VM {0} wirklich zurücksetzen (reset)?"
...
...
@@ -117,6 +134,22 @@ msgstr "Möchten Sie VM {0} wirklich stoppen?"
msgid "Do you really want to suspend VM {0}?"
msgstr "Möchten Sie VM {0} wirklich aussetzen (suspend)?"
#: ../www/manager/dc/OptionView.js:130
msgid "Edit"
msgstr "Bearbeiten"
#: ../www/manager/dc/OptionView.js:8
msgid "Edit HTTP proxy settings"
msgstr "Bearbeite HTTP-Proxy-Einstellungen"
#: ../www/manager/dc/OptionView.js:55
msgid "Edit keyboard settings"
msgstr "Bearbeite Tastatureinstellungen"
#: ../www/manager/dc/OptionView.js:33
msgid "Edit language settings"
msgstr "Bearbeiten Spracheinstellungen"
#: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69
msgid "End Time"
msgstr "Endzeit"
...
...
@@ -151,6 +184,10 @@ msgstr "Formularfelder müssen gültige Werte haben"
msgid "Format"
msgstr "Format"
#: ../www/manager/dc/OptionView.js:91
msgid "GUI language"
msgstr "GUI-Sprache"
#: ../www/manager/dc/Config.js:34
msgid "Groups"
msgstr "Gruppen"
...
...
@@ -159,7 +196,15 @@ msgstr "Gruppen"
msgid "Hardware"
msgstr "Hardware"
#: ../www/manager/window/LoginWindow.js:105
#: ../www/manager/dc/OptionView.js:85
msgid "Keyboard"
msgstr "Tastatur"
#: ../www/manager/dc/OptionView.js:60
msgid "Keyboard Layout"
msgstr "Tastatur-Layout"
#: ../www/manager/dc/OptionView.js:38 ../www/manager/window/LoginWindow.js:105
msgid "Language"
msgstr "Sprache"
...
...
@@ -175,6 +220,14 @@ msgstr "Anmeldung fehlgeschlagen. Bitte versuchen Sie es noch einmal."
msgid "Logout"
msgstr "Logout"
#: ../www/manager/data/ResourceStore.js:124
msgid "Memory size"
msgstr "Speichergröße"
#: ../www/manager/data/ResourceStore.js:117
msgid "Memory usage"
msgstr "Speicherverbrauch"
#: ../www/manager/dc/Log.js:76
msgid "Message"
msgstr "Meldung"
...
...
@@ -187,6 +240,10 @@ msgstr "Migration"
msgid "Monitor"
msgstr "Monitor"
#: ../www/manager/data/ResourceStore.js:96
msgid "Name"
msgstr "Name"
#: ../www/manager/node/Config.js:76 ../www/manager/openvz/Config.js:113
msgid "Network"
msgstr "Netzwerk"
...
...
@@ -195,8 +252,9 @@ msgstr "Netzwerk"
msgid "No"
msgstr "Nein"
#: ../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"
msgstr "Knoten"
...
...
@@ -204,6 +262,10 @@ msgstr "Knoten"
msgid "Node list"
msgstr "Knotenliste"
#: ../www/manager/data/ResourceStore.js:48
msgid "Online"
msgstr "Online"
#: ../www/manager/node/Tasks.js:94
msgid "Only Errors"
msgstr "Nur Fehler"
...
...
@@ -320,7 +382,7 @@ msgstr "Status"
msgid "Stop"
msgstr "Stop"
#: ../www/manager/dc/Config.js:19
#: ../www/manager/d
ata/ResourceStore.js:160 ../www/manager/d
c/Config.js:19
msgid "Storage"
msgstr "Speicher"
...
...
@@ -357,10 +419,18 @@ msgstr "Tasks"
msgid "Time"
msgstr "Zeit"
#: ../www/manager/data/ResourceStore.js:33
msgid "Type"
msgstr "Typ"
#: ../www/manager/Utils.js:250
msgid "Unknown error"
msgstr "Unbekannter Fehler"
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
msgstr "Betriebszeit"
#: ../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
...
...
po/fr.po
View file @
05e01237
...
...
@@ -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: Wed Nov 23
06:18
:52 2011\n"
"POT-Creation-Date: Wed Nov 23
10:13
:52 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"
...
...
@@ -36,6 +36,10 @@ msgstr ""
msgid "Backup"
msgstr ""
#: ../www/manager/data/ResourceStore.js:132
msgid "CPU usage"
msgstr ""
#: ../www/manager/panel/StatusPanel.js:41
msgid "Cluster log"
msgstr ""
...
...
@@ -84,10 +88,23 @@ msgstr ""
msgid "Default"
msgstr ""
#: ../www/manager/node/Tasks.js:136 ../www/manager/dc/Tasks.js:91
#: ../www/manager/data/ResourceStore.js:61 ../www/manager/node/Tasks.js:136
#: ../www/manager/dc/Tasks.js:91
msgid "Description"
msgstr ""
#: ../www/manager/data/ResourceStore.js:109
msgid "Disk size"
msgstr ""
#: ../www/manager/data/ResourceStore.js:102
msgid "Disk usage"
msgstr ""
#: ../www/manager/dc/OptionView.js:13 ../www/manager/dc/OptionView.js:74
msgid "Do not use any proxy"
msgstr ""
#: ../www/manager/qemu/Config.js:64 ../www/manager/VNCConsole.js:256
msgid "Do you really want to reset VM {0}?"
msgstr ""
...
...
@@ -115,6 +132,22 @@ msgstr ""
msgid "Do you really want to suspend VM {0}?"
msgstr ""
#: ../www/manager/dc/OptionView.js:130
msgid "Edit"
msgstr ""
#: ../www/manager/dc/OptionView.js:8
msgid "Edit HTTP proxy settings"
msgstr ""
#: ../www/manager/dc/OptionView.js:55
msgid "Edit keyboard settings"
msgstr ""
#: ../www/manager/dc/OptionView.js:33
msgid "Edit language settings"
msgstr ""
#: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69
msgid "End Time"
msgstr ""
...
...
@@ -149,6 +182,10 @@ msgstr ""
msgid "Format"
msgstr ""
#: ../www/manager/dc/OptionView.js:91
msgid "GUI language"
msgstr ""
#: ../www/manager/dc/Config.js:34
msgid "Groups"
msgstr ""
...
...
@@ -157,7 +194,15 @@ msgstr ""
msgid "Hardware"
msgstr ""
#: ../www/manager/window/LoginWindow.js:105
#: ../www/manager/dc/OptionView.js:85
msgid "Keyboard"
msgstr ""
#: ../www/manager/dc/OptionView.js:60
msgid "Keyboard Layout"
msgstr ""
#: ../www/manager/dc/OptionView.js:38 ../www/manager/window/LoginWindow.js:105
msgid "Language"
msgstr ""
...
...
@@ -173,6 +218,14 @@ msgstr ""
msgid "Logout"
msgstr ""
#: ../www/manager/data/ResourceStore.js:124
msgid "Memory size"
msgstr ""
#: ../www/manager/data/ResourceStore.js:117
msgid "Memory usage"
msgstr ""
#: ../www/manager/dc/Log.js:76
msgid "Message"
msgstr ""
...
...
@@ -185,6 +238,10 @@ msgstr ""
msgid "Monitor"
msgstr ""
#: ../www/manager/data/ResourceStore.js:96
msgid "Name"
msgstr ""
#: ../www/manager/node/Config.js:76 ../www/manager/openvz/Config.js:113
msgid "Network"
msgstr ""
...
...
@@ -193,8 +250,9 @@ msgstr ""
msgid "No"
msgstr ""
#: ../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"
msgstr ""
...
...
@@ -202,6 +260,10 @@ msgstr ""
msgid "Node list"
msgstr ""
#: ../www/manager/data/ResourceStore.js:48
msgid "Online"
msgstr ""
#: ../www/manager/node/Tasks.js:94
msgid "Only Errors"
msgstr ""
...
...
@@ -318,7 +380,7 @@ msgstr ""
msgid "Stop"
msgstr ""
#: ../www/manager/dc/Config.js:19
#: ../www/manager/d
ata/ResourceStore.js:160 ../www/manager/d
c/Config.js:19
msgid "Storage"
msgstr ""
...
...
@@ -355,10 +417,18 @@ msgstr ""
msgid "Time"
msgstr ""
#: ../www/manager/data/ResourceStore.js:33
msgid "Type"
msgstr ""
#: ../www/manager/Utils.js:250
msgid "Unknown error"
msgstr ""
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
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
...
...
po/messages.pot
View file @
05e01237
...
...
@@ -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: Wed Nov 23
06:18
:52 2011\n"
"POT-Creation-Date: Wed Nov 23
10:13
:52 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"
...
...
@@ -32,6 +32,10 @@ msgstr ""
msgid "Backup"
msgstr ""
#: ../www/manager/data/ResourceStore.js:132
msgid "CPU usage"
msgstr ""
#: ../www/manager/panel/StatusPanel.js:41
msgid "Cluster log"
msgstr ""
...
...
@@ -72,10 +76,22 @@ msgstr ""
msgid "Default"
msgstr ""
#: ../www/manager/node/Tasks.js:136 ../www/manager/dc/Tasks.js:91
#: ../www/manager/
data/ResourceStore.js:61 ../www/manager/
node/Tasks.js:136 ../www/manager/dc/Tasks.js:91
msgid "Description"
msgstr ""
#: ../www/manager/data/ResourceStore.js:109
msgid "Disk size"
msgstr ""
#: ../www/manager/data/ResourceStore.js:102
msgid "Disk usage"
msgstr ""
#: ../www/manager/dc/OptionView.js:13 ../www/manager/dc/OptionView.js:74
msgid "Do not use any proxy"
msgstr ""
#: ../www/manager/qemu/Config.js:64 ../www/manager/VNCConsole.js:256
msgid "Do you really want to reset VM {0}?"
msgstr ""
...
...
@@ -100,6 +116,22 @@ msgstr ""
msgid "Do you really want to suspend VM {0}?"
msgstr ""
#: ../www/manager/dc/OptionView.js:130
msgid "Edit"
msgstr ""
#: ../www/manager/dc/OptionView.js:8
msgid "Edit HTTP proxy settings"
msgstr ""
#: ../www/manager/dc/OptionView.js:55
msgid "Edit keyboard settings"
msgstr ""
#: ../www/manager/dc/OptionView.js:33
msgid "Edit language settings"
msgstr ""
#: ../www/manager/node/Tasks.js:118 ../www/manager/dc/Tasks.js:69
msgid "End Time"
msgstr ""
...
...
@@ -132,6 +164,10 @@ msgstr ""
msgid "Format"
msgstr ""
#: ../www/manager/dc/OptionView.js:91
msgid "GUI language"
msgstr ""
#: ../www/manager/dc/Config.js:34
msgid "Groups"
msgstr ""
...
...
@@ -140,7 +176,15 @@ msgstr ""
msgid "Hardware"
msgstr ""
#: ../www/manager/window/LoginWindow.js:105
#: ../www/manager/dc/OptionView.js:85
msgid "Keyboard"
msgstr ""
#: ../www/manager/dc/OptionView.js:60
msgid "Keyboard Layout"
msgstr ""
#: ../www/manager/dc/OptionView.js:38 ../www/manager/window/LoginWindow.js:105
msgid "Language"
msgstr ""
...
...
@@ -156,6 +200,14 @@ msgstr ""
msgid "Logout"
msgstr ""
#: ../www/manager/data/ResourceStore.js:124
msgid "Memory size"
msgstr ""
#: ../www/manager/data/ResourceStore.js:117
msgid "Memory usage"
msgstr ""
#: ../www/manager/dc/Log.js:76
msgid "Message"
msgstr ""
...
...
@@ -168,6 +220,10 @@ msgstr ""
msgid "Monitor"
msgstr ""
#: ../www/manager/data/ResourceStore.js:96
msgid "Name"
msgstr ""
#: ../www/manager/node/Config.js:76 ../www/manager/openvz/Config.js:113
msgid "Network"
msgstr ""
...
...
@@ -176,7 +232,7 @@ msgstr ""
msgid "No"
msgstr ""
#: ../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"
msgstr ""
...
...
@@ -184,6 +240,10 @@ msgstr ""
msgid "Node list"
msgstr ""
#: ../www/manager/data/ResourceStore.js:48
msgid "Online"
msgstr ""
#: ../www/manager/node/Tasks.js:94
msgid "Only Errors"
msgstr ""
...
...
@@ -288,7 +348,7 @@ msgstr ""
msgid "Stop"
msgstr ""
#: ../www/manager/dc/Config.js:19
#: ../www/manager/d
ata/ResourceStore.js:160 ../www/manager/d
c/Config.js:19
msgid "Storage"
msgstr ""
...
...
@@ -324,10 +384,18 @@ msgstr ""
msgid "Time"
msgstr ""
#: ../www/manager/data/ResourceStore.js:33
msgid "Type"
msgstr ""
#: ../www/manager/Utils.js:250
msgid "Unknown error"
msgstr ""
#: ../www/manager/data/ResourceStore.js:146
msgid "Uptime"
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 ""
...
...
www/manager/data/ResourceStore.js
View file @
05e01237
...
...
@@ -30,7 +30,7 @@ Ext.define('PVE.data.ResourceStore', {
var
field_defaults
=
{
type
:
{
header
:
'
Type
'
,
header
:
gettext
(
'
Type
'
)
,
type
:
'
text
'
,
renderer
:
PVE
.
Utils
.
render_resource_type
,
sortable
:
true
,
...
...
@@ -45,6 +45,7 @@ Ext.define('PVE.data.ResourceStore', {
width
:
80
},
running
:
{
header
:
gettext
(
'
Online
'
),
type
:
'
boolean
'
,
hidden
:
true
,
convert
:
function
(
value
,
record
)
{
...
...
@@ -57,7 +58,7 @@ Ext.define('PVE.data.ResourceStore', {
}
},
text
:
{
header
:
'
Text
'
,
header
:
gettext
(
'
Description
'
)
,
type
:
'
text
'
,
sortable
:
true
,
width
:
200
,
...
...
@@ -92,20 +93,20 @@ Ext.define('PVE.data.ResourceStore', {
width
:
80
},
name
:
{
header
:
'
Name
'
,
header
:
gettext
(
'
Name
'
)
,
hidden
:
true
,
sortable
:
true
,
type
:
'
text
'
},
disk
:
{
header
:
'
Disk usage
'
,
header
:
gettext
(
'
Disk usage
'
)
,
type
:
'
integer
'
,
renderer
:
PVE
.
Utils
.
render_disk_usage
,
sortable
:
true
,
width
:
100
},
maxdisk
:
{
header
:
'
Disk size
'
,
header
:
gettext
(
'
Disk size
'
)
,
type
:
'
integer
'
,
renderer
:
PVE
.
Utils
.
render_size
,
sortable
:
true
,
...
...
@@ -113,22 +114,22 @@ Ext.define('PVE.data.ResourceStore', {
width
:
100
},
mem
:
{
header
:
'
Memory usage
'
,
header
:
gettext
(
'
Memory usage
'
)
,
type
:
'
integer
'
,
renderer
:
PVE
.
Utils
.
render_mem_usage
,
sortable
:
true
,
width
:
100
},
maxmem
:
{
header
:
'
Mem size
'
,
type
:
'
integer
'
,
header
:
gettext
(
'
Memory size
'
)
,
type
:
'
integer
'
,
renderer
:
PVE
.
Utils
.
render_size
,
hidden
:
true
,
sortable
:
true
,
width
:
100
},
cpu
:
{
header
:
'
CPU usage
'
,
header
:
gettext
(
'
CPU usage
'
)
,
type
:
'
float
'
,
renderer
:
PVE
.
Utils
.
render_cpu
,
sortable
:
true
,
...
...
@@ -142,21 +143,21 @@ Ext.define('PVE.data.ResourceStore', {
width
:
60
},
uptime
:
{
header
:
'
Uptime
'
,
header
:
gettext
(
'
Uptime
'
)
,
type
:
'
integer
'
,
renderer
:
PVE
.
Utils
.
render_uptime
,
sortable
:
true
,
width
:
110
},
node
:
{
header
:
'
Node
'
,
header
:
gettext
(
'
Node
'
)
,
type
:
'
text
'
,
hidden
:
true
,
sortable
:
true
,
width
:
110
},
storage
:
{
header
:
'
Storage
'
,
header
:
gettext
(
'
Storage
'
)
,
type
:
'
text
'
,
hidden
:
true
,
sortable
:
true
,
...
...
www/manager/dc/OptionView.js
View file @
05e01237
...
...
@@ -5,12 +5,12 @@ Ext.define('PVE.dc.HttpProxyEdit', {
var
me
=
this
;
Ext
.
applyIf
(
me
,
{
title
:
"
Edit HTTP proxy settings
"
,
title
:
gettext
(
"
Edit HTTP proxy settings
"
)
,
items
:
{
xtype
:
'
pvetextfield
'
,
name
:
'
http_proxy
'
,
vtype
:
'
HttpProxy
'
,
emptyText
:
'
Do not use any proxy
'
,
emptyText
:
gettext
(
'
Do not use any proxy
'
)
,
deleteEmpty
:
true
,
value
:
''
,
fieldLabel
:
'
HTTP proxy
'
...
...
@@ -30,12 +30,12 @@ Ext.define('PVE.dc.LanguageEdit', {
var
me
=
this
;
Ext
.
applyIf
(
me
,
{
title
:
"
Edit language settings
"
,
title
:
gettext
(
"
Edit language settings
"
)
,
items
:
{
xtype
:
'
pveLanguageSelector
'
,
name
:
'
language
'
,
value
:
''
,
fieldLabel
:
'
Language
'
fieldLabel
:
gettext
(
'
Language
'
)
}
});
...
...
@@ -52,12 +52,12 @@ Ext.define('PVE.dc.KeyboardEdit', {
var
me
=
this
;
Ext
.
applyIf
(
me
,
{
title
:
"
Edit keyboard settings
"
,
title
:
gettext
(
"
Edit keyboard settings
"
)
,
items
:
{
xtype
:
'
VNCKeyboardSelector
'
,
name
:
'
keyboard
'
,
value
:
''
,
fieldLabel
:
'
Keyboard Layout
'
fieldLabel
:
gettext
(
'
Keyboard Layout
'
)
}
});
...
...
@@ -71,6 +71,8 @@ Ext.define('PVE.dc.OptionView', {
extend
:
'
PVE.grid.ObjectGrid
'
,
alias
:
[
'
widget.pveDcOptionView
'
],
noProxyText
:
gettext
(
'
Do not use any proxy
'
),
initComponent
:
function
()
{
var
me
=
this
;
...
...
@@ -80,13 +82,13 @@ Ext.define('PVE.dc.OptionView', {
var
rows
=
{
keyboard
:
{
header
:
'
Keyboard
'
,
header
:
gettext
(
'
Keyboard
'
)
,
editor
:
'
PVE.dc.KeyboardEdit
'
,
renderer
:
PVE
.
Utils
.
render_kvm_language
,
required
:
true
},
language
:
{
header
:
'
GUI language
'
,
header
:
gettext
(
'
GUI language
'
)
,
editor
:
'
PVE.dc.LanguageEdit
'
,
renderer
:
PVE
.
Utils
.
render_language
,
required
:
true
...
...
@@ -97,7 +99,7 @@ Ext.define('PVE.dc.OptionView', {
required
:
true
,
renderer
:
function
(
value
)
{
if
(
!
value
)
{
return
"
Do not use any proxy
"
;
return
me
.
noProxyText
;
}
return
value
;
}
...
...
@@ -125,7 +127,7 @@ Ext.define('PVE.dc.OptionView', {
};
var
edit_btn
=
new
Ext
.
Button
({
text
:
'
Edit
'
,
text
:
gettext
(
'
Edit
'
)
,
disabled
:
true
,
handler
:
run_editor
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment