public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager] ui: mark Key and Value as translatable
Date: Tue, 24 Feb 2026 15:15:19 +0100	[thread overview]
Message-ID: <20260224141521.377518-1-m.sandoval@proxmox.com> (raw)

These are seen on the Summary when creating a VM or container.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---

Quickly tested on a VM.

 www/manager6/lxc/CreateWizard.js   | 4 ++--
 www/manager6/qemu/CreateWizard.js  | 4 ++--
 www/manager6/window/GuestImport.js | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/manager6/lxc/CreateWizard.js b/www/manager6/lxc/CreateWizard.js
index 46835e7a..bba194b4 100644
--- a/www/manager6/lxc/CreateWizard.js
+++ b/www/manager6/lxc/CreateWizard.js
@@ -275,8 +275,8 @@ Ext.define('PVE.lxc.CreateWizard', {
                         ],
                     },
                     columns: [
-                        { header: 'Key', width: 150, dataIndex: 'key' },
-                        { header: 'Value', flex: 1, dataIndex: 'value', renderer: Ext.htmlEncode },
+                        { header: gettext('Key'), width: 150, dataIndex: 'key' },
+                        { header: gettext('Value'), flex: 1, dataIndex: 'value', renderer: Ext.htmlEncode },
                     ],
                 },
             ],
diff --git a/www/manager6/qemu/CreateWizard.js b/www/manager6/qemu/CreateWizard.js
index 341324c8..145be534 100644
--- a/www/manager6/qemu/CreateWizard.js
+++ b/www/manager6/qemu/CreateWizard.js
@@ -255,8 +255,8 @@ Ext.define('PVE.qemu.CreateWizard', {
                         ],
                     },
                     columns: [
-                        { header: 'Key', width: 150, dataIndex: 'key' },
-                        { header: 'Value', flex: 1, dataIndex: 'value', renderer: Ext.htmlEncode },
+                        { header: gettext('Key'), width: 150, dataIndex: 'key' },
+                        { header: gettext('Value'), flex: 1, dataIndex: 'value', renderer: Ext.htmlEncode },
                     ],
                 },
             ],
diff --git a/www/manager6/window/GuestImport.js b/www/manager6/window/GuestImport.js
index 3e7fff39..9c9b0f1b 100644
--- a/www/manager6/window/GuestImport.js
+++ b/www/manager6/window/GuestImport.js
@@ -965,8 +965,8 @@ Ext.define('PVE.window.GuestImport', {
                                 ],
                             },
                             columns: [
-                                { header: 'Key', width: 150, dataIndex: 'key' },
-                                { header: 'Value', flex: 1, dataIndex: 'value' },
+                                { header: gettext('Key'), width: 150, dataIndex: 'key' },
+                                { header: gettext('Value'), flex: 1, dataIndex: 'value' },
                             ],
                         },
                     ],
-- 
2.47.3





                 reply	other threads:[~2026-02-24 14:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260224141521.377518-1-m.sandoval@proxmox.com \
    --to=m.sandoval@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal