all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager 5/5] ui: add context to nouns which match a verb
Date: Thu, 26 Nov 2026 14:16:15 +0100	[thread overview]
Message-ID: <20261126131617.229829-6-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20261126131617.229829-1-m.sandoval@proxmox.com>

Otherwise it is not clear if these refer to, e.g. the "import" action or
"import" as a noun.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 www/manager6/Utils.js           | 2 +-
 www/manager6/dc/StorageView.js  | 2 +-
 www/manager6/storage/NFSEdit.js | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index fc3667f51..a7feace96 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -760,7 +760,7 @@ Ext.define('PVE.Utils', {
             iso: gettext('ISO image'),
             rootdir: gettext('Container'),
             snippets: gettext('Snippets'),
-            import: gettext('Import'),
+            import: pgettext('This is a noun', 'Import'),
             'vm-vol': gettext('VM Disk'),
             'vm-state': gettext('VM State'),
             'ct-vol': gettext('Container Volume'),
diff --git a/www/manager6/dc/StorageView.js b/www/manager6/dc/StorageView.js
index 7f7d8bd0b..9c4f1fd9f 100644
--- a/www/manager6/dc/StorageView.js
+++ b/www/manager6/dc/StorageView.js
@@ -159,7 +159,7 @@ Ext.define(
             { id: 'network', text: gettext('Network') },
             { id: 'san', text: gettext('SAN') },
             { id: 'backup', text: gettext('Backup') },
-            { id: 'import', text: gettext('Import') },
+            { id: 'import', text: pgettext('This is a noun', 'Import') },
             { id: 'custom', text: gettext('Custom Plugins') },
             {
                 id: 'local',
diff --git a/www/manager6/storage/NFSEdit.js b/www/manager6/storage/NFSEdit.js
index 08aa04a2a..c803885b2 100644
--- a/www/manager6/storage/NFSEdit.js
+++ b/www/manager6/storage/NFSEdit.js
@@ -90,7 +90,7 @@ Ext.define('PVE.storage.NFSInputPanel', {
                     xtype: isCreate ? 'pveNFSScan' : 'displayfield',
                     name: 'export',
                     value: '',
-                    fieldLabel: 'Export',
+                    fieldLabel: pgettext('This is a noun', 'Export'),
                     allowBlank: false,
                 },
                 version: {
-- 
2.47.3





      parent reply	other threads:[~2026-11-26 13:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 13:16 [PATCH manager 0/5] ui: improvements on translatable strings post 9.3 Maximiliano Sandoval
2026-11-26 13:16 ` [PATCH manager 1/5] ui: mark some strings as translatable Maximiliano Sandoval
2026-11-26 13:16 ` [PATCH manager 2/5] ui: prefer starting actions with verbs Maximiliano Sandoval
2026-11-26 13:16 ` [PATCH manager 3/5] ui: s/Bluestore/BlueStore/ on translatable string Maximiliano Sandoval
2026-11-26 13:16 ` [PATCH manager 4/5] ui: Use qga's full name in translatable strings Maximiliano Sandoval
2026-11-26 13:16 ` Maximiliano Sandoval [this message]

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=20261126131617.229829-6-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal