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
9d035626
Commit
9d035626
authored
Dec 07, 2011
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update translations in Utils.js
parent
f7b706cb
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
371 additions
and
212 deletions
+371
-212
de.po
po/de.po
+124
-68
fr.po
po/fr.po
+116
-66
messages.pot
po/messages.pot
+96
-48
Utils.js
www/manager/Utils.js
+35
-30
No files found.
po/de.po
View file @
9d035626
This diff is collapsed.
Click to expand it.
po/fr.po
View file @
9d035626
This diff is collapsed.
Click to expand it.
po/messages.pot
View file @
9d035626
This diff is collapsed.
Click to expand it.
www/manager/Utils.js
View file @
9d035626
...
...
@@ -96,7 +96,7 @@ Ext.define('PVE.Utils', { statics: {
},
kvm_ostypes
:
{
other
:
'
Other
'
,
other
:
gettext
(
'
Other OS types
'
)
,
wxp
:
'
Microsoft Windows XP/2003
'
,
w2k
:
'
Microsoft Windows 2000
'
,
w2k8
:
'
Microsoft Windows Vista/2008
'
,
...
...
@@ -107,7 +107,7 @@ Ext.define('PVE.Utils', { statics: {
render_kvm_ostype
:
function
(
value
)
{
if
(
!
value
)
{
return
'
Other
'
;
return
gettext
(
'
Other OS types
'
)
;
}
var
text
=
PVE
.
Utils
.
kvm_ostypes
[
value
];
if
(
text
)
{
...
...
@@ -162,7 +162,7 @@ Ext.define('PVE.Utils', { statics: {
render_kvm_language
:
function
(
value
)
{
if
(
!
value
)
{
return
'
Default
'
;
return
PVE
.
Utils
.
defaultText
;
}
var
text
=
PVE
.
Utils
.
kvm_keymaps
[
value
];
if
(
text
)
{
...
...
@@ -208,7 +208,7 @@ Ext.define('PVE.Utils', { statics: {
render_kvm_vga_driver
:
function
(
value
)
{
if
(
!
value
)
{
return
'
OS default
'
;
return
PVE
.
Utils
.
defaultText
;
}
var
text
=
PVE
.
Utils
.
kvm_vga_drivers
[
value
];
if
(
text
)
{
...
...
@@ -370,36 +370,41 @@ Ext.define('PVE.Utils', { statics: {
},
task_desc_table
:
{
vncproxy
:
'
VNC connection to VM/CT {0}
'
,
vncshell
:
'
VNC shell
'
,
qmcreate
:
'
Create VM {0}
'
,
qmrestore
:
'
Restore VM {0}
'
,
qmdestroy
:
'
Destroy VM {0}
'
,
qmigrate
:
'
Migrate VM {0}
'
,
qmstart
:
'
Start VM {0}
'
,
qmstop
:
'
Stop VM {0}
'
,
qmreset
:
'
Reset VM {0}
'
,
qmshutdown
:
'
Shutdown VM {0}
'
,
qmsuspend
:
'
Suspend VM {0}
'
,
qmresume
:
'
Resume VM {0}
'
,
vzcreate
:
'
Create CT {0}
'
,
vzrestore
:
'
Restore CT {0}
'
,
vzdestroy
:
'
Destroy CT {0}
'
,
vzstart
:
'
Start CT {0}
'
,
vzstop
:
'
Stop CT {0}
'
,
srvstart
:
'
Start service {0}
'
,
srvstop
:
'
Stop service {0}
'
,
srvrestart
:
'
Restart service {0}
'
,
srvreload
:
'
Reload service {0}
'
,
vzdump
:
'
Backup
'
vncproxy
:
[
'
VM/CT
'
,
gettext
(
'
VNC connection to {0}
'
)
]
,
vncshell
:
[
''
,
gettext
(
'
Shell
'
)
]
,
qmcreate
:
[
'
VM
'
,
gettext
(
'
Create {0}
'
)
]
,
qmrestore
:
[
'
VM
'
,
gettext
(
'
Restore {0}
'
)
]
,
qmdestroy
:
[
'
VM
'
,
gettext
(
'
Destroy {0}
'
)
]
,
qmigrate
:
[
'
VM
'
,
gettext
(
'
Migrate {0}
'
)
]
,
qmstart
:
[
'
VM
'
,
gettext
(
'
Start {0}
'
)
]
,
qmstop
:
[
'
VM
'
,
gettext
(
'
Stop {0}
'
)
]
,
qmreset
:
[
'
VM
'
,
gettext
(
'
Reset {0}
'
)
]
,
qmshutdown
:
[
'
VM
'
,
gettext
(
'
Shutdown {0}
'
)
]
,
qmsuspend
:
[
'
VM
'
,
gettext
(
'
Suspend {0}
'
)
]
,
qmresume
:
[
'
VM
'
,
gettext
(
'
Resume {0}
'
)
]
,
vzcreate
:
[
'
CT
'
,
gettext
(
'
Create {0}
'
)
]
,
vzrestore
:
[
'
CT
'
,
gettext
(
'
Restore {0}
'
)
]
,
vzdestroy
:
[
'
CT
'
,
gettext
(
'
Destroy {0}
'
)
]
,
vzstart
:
[
'
CT
'
,
gettext
(
'
Start {0}
'
)
]
,
vzstop
:
[
'
CT
'
,
gettext
(
'
Stop {0}
'
)
]
,
srvstart
:
[
'
SRV
'
,
gettext
(
'
Start {0}
'
)
]
,
srvstop
:
[
'
SRV
'
,
gettext
(
'
Stop {0}
'
)
]
,
srvrestart
:
[
'
SRV
'
,
gettext
(
'
Restart {0}
'
)
]
,
srvreload
:
[
'
SRV
'
,
gettext
(
'
Reload {0}
'
)
]
,
vzdump
:
[
''
,
gettext
(
'
Backup
'
)
]
},
format_task_description
:
function
(
type
,
id
)
{
var
f
ormat
=
PVE
.
Utils
.
task_desc_table
[
type
];
if
(
format
)
{
return
Ext
.
String
.
format
(
format
,
id
)
;
var
f
array
=
PVE
.
Utils
.
task_desc_table
[
type
];
if
(
!
farray
)
{
return
type
;
}
return
type
;
var
prefix
=
farray
[
0
];
var
format
=
farray
[
1
];
if
(
prefix
)
{
return
Ext
.
String
.
format
(
format
,
prefix
+
'
'
+
id
);
}
return
Ext
.
String
.
format
(
format
,
id
);
},
parse_task_upid
:
function
(
upid
)
{
...
...
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