From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id BB1811FF183 for ; Wed, 30 Jul 2025 15:34:01 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 855C7F1C9; Wed, 30 Jul 2025 15:35:20 +0200 (CEST) From: Maximiliano Sandoval To: pve-devel@lists.proxmox.com Date: Wed, 30 Jul 2025 15:35:06 +0200 Message-ID: <20250730133516.409663-5-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250730133516.409663-1-m.sandoval@proxmox.com> References: <20250730133516.409663-1-m.sandoval@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1753882505454 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.096 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH widget-toolkit v3 1/2] add context to translatable strings X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" These will be displayed in translator editors and provide context for translators. Signed-off-by: Maximiliano Sandoval --- src/Utils.js | 2 ++ src/form/MultiDiskSelector.js | 1 + src/panel/NotificationConfigView.js | 1 + src/window/ZFSDetail.js | 1 + 4 files changed, 5 insertions(+) diff --git a/src/Utils.js b/src/Utils.js index 92cbf28..40b27d1 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -786,6 +786,7 @@ Ext.define('Proxmox.Utils', { format_size: function (size, useSI) { let unitsSI = [ + // TRANSLATORS: This is the Bytes unit (e.g. 1B = 8 bits) gettext('B'), gettext('KB'), gettext('MB'), @@ -797,6 +798,7 @@ Ext.define('Proxmox.Utils', { gettext('YB'), ]; let unitsIEC = [ + // TRANSLATORS: This is the Bytes unit (e.g. 1B = 8 bits) gettext('B'), gettext('KiB'), gettext('MiB'), diff --git a/src/form/MultiDiskSelector.js b/src/form/MultiDiskSelector.js index 50e819b..51c3858 100644 --- a/src/form/MultiDiskSelector.js +++ b/src/form/MultiDiskSelector.js @@ -115,6 +115,7 @@ Ext.define('Proxmox.form.MultiDiskSelector', { flex: 1, }, { + // TRANSLATORS: This is a noun header: gettext('Order'), xtype: 'widgetcolumn', dataIndex: 'order', diff --git a/src/panel/NotificationConfigView.js b/src/panel/NotificationConfigView.js index 92e1f9b..85e45a0 100644 --- a/src/panel/NotificationConfigView.js +++ b/src/panel/NotificationConfigView.js @@ -163,6 +163,7 @@ Ext.define('Proxmox.panel.NotificationEndpointView', { }, { dataIndex: 'name', + // TRANSLATORS: As in "the target's name" text: gettext('Target Name'), renderer: Ext.String.htmlEncode, flex: 2, diff --git a/src/window/ZFSDetail.js b/src/window/ZFSDetail.js index 1c63b5a..2617b87 100644 --- a/src/window/ZFSDetail.js +++ b/src/window/ZFSDetail.js @@ -83,6 +83,7 @@ Ext.define('Proxmox.window.ZFSDetail', { renderer: Proxmox.Utils.render_zfs_health, }, scan: { + // TRANSLATORS: This is a noun header: gettext('Scan'), }, status: { -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel