mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 10:32:50 +00:00
update translation files
We try to avoid duplicate translation by using {0} instead if 'VM {0}' and 'CT {0}'.
This commit is contained in:
parent
4507171400
commit
cdac411263
@ -27,7 +27,7 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
me.title = "CT " + vmid;
|
me.title = gettext('CT') + ' ' + vmid;
|
||||||
|
|
||||||
me.items = [
|
me.items = [
|
||||||
{
|
{
|
||||||
@ -53,7 +53,7 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
text: gettext('Suspend'),
|
text: gettext('Suspend'),
|
||||||
icon: '/pve2/images/forward.png',
|
icon: '/pve2/images/forward.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to suspend CT {0}?"), vmid);
|
var msg = Ext.String.format(gettext("Do you really want to suspend {0}?"), gettext('CT') + ' ' + vmid);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
@ -74,7 +74,7 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
text: gettext('Shutdown'),
|
text: gettext('Shutdown'),
|
||||||
icon: '/pve2/images/stop.png',
|
icon: '/pve2/images/stop.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to shutdown CT {0}?"), vmid);
|
var msg = Ext.String.format(gettext("Do you really want to shutdown {0}?"), gettext('CT') + ' ' + vmid);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
@ -88,7 +88,7 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
text: gettext('Stop'),
|
text: gettext('Stop'),
|
||||||
icon: '/pve2/images/gtk-stop.png',
|
icon: '/pve2/images/gtk-stop.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to stop CT {0}?"), vmid);
|
var msg = Ext.String.format(gettext("Do you really want to stop {0}?"), gettext('CT') + ' ' + vmid);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
|
@ -94,7 +94,7 @@ Ext.define('PVE.lxc.MemoryInputPanel', {
|
|||||||
maxValue: 512*1024,
|
maxValue: 512*1024,
|
||||||
value: '512',
|
value: '512',
|
||||||
step: 32,
|
step: 32,
|
||||||
fieldLabel: gettext('Memory (MB)'),
|
fieldLabel: gettext('Memory') + ' (MB)',
|
||||||
labelWidth: labelWidth,
|
labelWidth: labelWidth,
|
||||||
allowBlank: false
|
allowBlank: false
|
||||||
},
|
},
|
||||||
@ -105,7 +105,7 @@ Ext.define('PVE.lxc.MemoryInputPanel', {
|
|||||||
maxValue: 128*1024,
|
maxValue: 128*1024,
|
||||||
value: '512',
|
value: '512',
|
||||||
step: 32,
|
step: 32,
|
||||||
fieldLabel: gettext('Swap (MB)'),
|
fieldLabel: gettext('Swap') + ' (MB)',
|
||||||
labelWidth: labelWidth,
|
labelWidth: labelWidth,
|
||||||
allowBlank: false
|
allowBlank: false
|
||||||
}
|
}
|
||||||
|
@ -35,10 +35,10 @@ Ext.define('PVE.node.Config', {
|
|||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
text: gettext('Start All VMs'),
|
text: gettext('Start all VMs and Containers'),
|
||||||
icon: '/pve2/images/start.png',
|
icon: '/pve2/images/start.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to start all Vms on node {0}?"), nodename);
|
var msg = Ext.String.format(gettext("Do you really want to start all VMs and Containers on node {0}?"), nodename);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
@ -56,10 +56,10 @@ Ext.define('PVE.node.Config', {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Stop All VMs'),
|
text: gettext('Stop all VMs and Containers'),
|
||||||
icon: '/pve2/images/gtk-stop.png',
|
icon: '/pve2/images/gtk-stop.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to stop all Vms on node {0}?"), nodename);
|
var msg = Ext.String.format(gettext("Do you really want to stop all VMs and Containers on node {0}?"), nodename);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
@ -77,7 +77,7 @@ Ext.define('PVE.node.Config', {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Migrate All VMs'),
|
text: gettext('Migrate all VMs and Containers'),
|
||||||
icon: '/pve2/images/forward.png',
|
icon: '/pve2/images/forward.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var win = Ext.create('PVE.window.MigrateAll', {
|
var win = Ext.create('PVE.window.MigrateAll', {
|
||||||
|
@ -80,7 +80,7 @@ Ext.define('PVE.qemu.CPUOptions', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Ext.apply(me, {
|
Ext.apply(me, {
|
||||||
subject: gettext('CPU Options'),
|
subject: gettext('CPU options'),
|
||||||
items: ipanel,
|
items: ipanel,
|
||||||
width: 150
|
width: 150
|
||||||
});
|
});
|
||||||
|
@ -53,7 +53,7 @@ Ext.define('PVE.qemu.CmdMenu', {
|
|||||||
text: gettext('Suspend'),
|
text: gettext('Suspend'),
|
||||||
icon: '/pve2/images/forward.png',
|
icon: '/pve2/images/forward.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to suspend VM {0}?"), vmid);
|
var msg = Ext.String.format(gettext("Do you really want to suspend {0}?"), gettext('VM') + ' ' + vmid);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
@ -73,7 +73,7 @@ Ext.define('PVE.qemu.CmdMenu', {
|
|||||||
text: gettext('Shutdown'),
|
text: gettext('Shutdown'),
|
||||||
icon: '/pve2/images/stop.png',
|
icon: '/pve2/images/stop.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to shutdown VM {0}?"), vmid);
|
var msg = Ext.String.format(gettext("Do you really want to shutdown {0}?"), gettext('VM') + ' ' + vmid);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
@ -87,7 +87,7 @@ Ext.define('PVE.qemu.CmdMenu', {
|
|||||||
text: gettext('Stop'),
|
text: gettext('Stop'),
|
||||||
icon: '/pve2/images/gtk-stop.png',
|
icon: '/pve2/images/gtk-stop.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to stop VM {0}?"), vmid);
|
var msg = Ext.String.format(gettext("Do you really want to stop {0}?"), gettext('VM') + ' ' + vmid);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
@ -112,7 +112,7 @@ Ext.define('PVE.qemu.CmdMenu', {
|
|||||||
text: gettext('Convert to template'),
|
text: gettext('Convert to template'),
|
||||||
icon: '/pve2/images/forward.png',
|
icon: '/pve2/images/forward.png',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var msg = Ext.String.format(gettext("Do you really want to convert VM {0} into a template?"), vmid);
|
var msg = Ext.String.format(gettext("Do you really want to convert {0} into a template?"), gettext('VM') + ' ' + vmid);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user