From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 1A7DB1FF0B3 for ; Thu, 26 Nov 2026 14:16:59 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 4FFE42178C; Thu, 26 Nov 2026 14:16:23 +0100 (CET) From: Maximiliano Sandoval 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 Message-ID: <20261126131617.229829-6-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261126131617.229829-1-m.sandoval@proxmox.com> References: <20261126131617.229829-1-m.sandoval@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1795698977997 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.676 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 4IB2TFZDTU2PHNEGLNXV4UWKJKIHX3K6 X-Message-ID-Hash: 4IB2TFZDTU2PHNEGLNXV4UWKJKIHX3K6 X-MailFrom: m.sandoval@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Otherwise it is not clear if these refer to, e.g. the "import" action or "import" as a noun. Signed-off-by: Maximiliano Sandoval --- 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