From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id F34FF1FF140 for ; Fri, 24 Apr 2026 16:24:25 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C42321BC21; Fri, 24 Apr 2026 16:24:25 +0200 (CEST) From: Shannon Sterz To: pbs-devel@lists.proxmox.com Subject: [PATCH proxmox-backup] www: datastore/window: add translator notes for http methods Date: Fri, 24 Apr 2026 16:24:06 +0200 Message-ID: <20260424142405.236121-2-s.sterz@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1777040569908 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.119 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 Message-ID-Hash: ER3G5MEI7IX4G64X73DUFOLQY42KKJLW X-Message-ID-Hash: ER3G5MEI7IX4G64X73DUFOLQY42KKJLW X-MailFrom: s.sterz@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 Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Shannon Sterz --- www/datastore/Summary.js | 10 ++++++++++ www/window/NotificationThresholds.js | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/www/datastore/Summary.js b/www/datastore/Summary.js index 960f0446e..d118eb7e5 100644 --- a/www/datastore/Summary.js +++ b/www/datastore/Summary.js @@ -181,6 +181,7 @@ Ext.define('PBS.DataStoreS3Stats', { padding: '10 0 5 0', }, { + // TRANSLATORS: GET, like the HTTP method title: gettext('GET'), printBar: false, bind: { @@ -190,6 +191,7 @@ Ext.define('PBS.DataStoreS3Stats', { }, }, { + // TRANSLATORS: PUT, like the HTTP method title: gettext('PUT'), printBar: false, bind: { @@ -199,6 +201,7 @@ Ext.define('PBS.DataStoreS3Stats', { }, }, { + // TRANSLATORS: POST, like the HTTP method title: gettext('POST'), printBar: false, bind: { @@ -208,6 +211,7 @@ Ext.define('PBS.DataStoreS3Stats', { }, }, { + // TRANSLATORS: HEAD, like the HTTP method title: gettext('HEAD'), printBar: false, bind: { @@ -217,6 +221,7 @@ Ext.define('PBS.DataStoreS3Stats', { }, }, { + // TRANSLATORS: DELETE, like the HTTP method title: gettext('DELETE'), printBar: false, bind: { @@ -368,10 +373,15 @@ Ext.define('PBS.DataStoreSummary', { 's3/total/delete', ], fieldTitles: [ + // TRANSLATORS: GET, like the HTTP method gettext('GET'), + // TRANSLATORS: PUT, like the HTTP method gettext('PUT'), + // TRANSLATORS: POST, like the HTTP method gettext('POST'), + // TRANSLATORS: HEAD, like the HTTP method gettext('HEAD'), + // TRANSLATORS: DELETE, like the HTTP method gettext('DELETE'), ], bind: { diff --git a/www/window/NotificationThresholds.js b/www/window/NotificationThresholds.js index 76a7e906b..46e4a9b83 100644 --- a/www/window/NotificationThresholds.js +++ b/www/window/NotificationThresholds.js @@ -40,6 +40,7 @@ Ext.define('PBS.window.NotificationThresholds', { { xtype: 'proxmoxintegerfield', name: 's3-get', + // TRANSLATORS: GET, like the HTTP method fieldLabel: gettext('GET'), emptyText: gettext('none'), fieldStyle: 'text-align: right', @@ -49,6 +50,7 @@ Ext.define('PBS.window.NotificationThresholds', { { xtype: 'proxmoxintegerfield', name: 's3-put', + // TRANSLATORS: PUT, like the HTTP method fieldLabel: gettext('PUT'), emptyText: gettext('none'), fieldStyle: 'text-align: right', @@ -58,6 +60,7 @@ Ext.define('PBS.window.NotificationThresholds', { { xtype: 'proxmoxintegerfield', name: 's3-post', + // TRANSLATORS: POST, like the HTTP method fieldLabel: gettext('POST'), emptyText: gettext('none'), fieldStyle: 'text-align: right', @@ -67,6 +70,7 @@ Ext.define('PBS.window.NotificationThresholds', { { xtype: 'proxmoxintegerfield', name: 's3-head', + // TRANSLATORS: HEAD, like the HTTP method fieldLabel: gettext('HEAD'), emptyText: gettext('none'), fieldStyle: 'text-align: right', @@ -76,6 +80,7 @@ Ext.define('PBS.window.NotificationThresholds', { { xtype: 'proxmoxintegerfield', name: 's3-delete', + // TRANSLATORS: DELETE, like the HTTP method fieldLabel: gettext('DELETE'), emptyText: gettext('none'), fieldStyle: 'text-align: right', -- 2.47.3