public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Davy Defaud <davy.defaud@free.fr>
To: pve-devel@lists.proxmox.com
Cc: Davy Defaud <davy.defaud@free.fr>
Subject: [Gettextize OSD table header patch 1/1] Gettextize OSD table header
Date: Fri, 30 Oct 2026 11:48:23 +0100	[thread overview]
Message-ID: <20261030104823.43052-2-davy.defaud@free.fr> (raw)
In-Reply-To: <20261030104823.43052-1-davy.defaud@free.fr>

Signed-off-by: Davy Defaud <davy.defaud@free.fr>
Fixes: https://bugzilla.proxmox.com/show_bug.cgi?id=8206

fix #8006: Gettextize OSD table header

Signed-off-by: Davy Defaud <davy.defaud@free.fr>
---
 www/manager6/ceph/OSD.js | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js
index 4c2face6..d7e7378f 100644
--- a/www/manager6/ceph/OSD.js
+++ b/www/manager6/ceph/OSD.js
@@ -1199,7 +1199,7 @@ Ext.define('PVE.node.CephOsdTree', {
     columns: [
         {
             xtype: 'treecolumn',
-            text: 'Name',
+            text: gettext('Name'),
             dataIndex: 'name',
             width: 150,
             sorter: {
@@ -1208,7 +1208,7 @@ Ext.define('PVE.node.CephOsdTree', {
             },
         },
         {
-            text: 'Type',
+            text: gettext('Type'),
             dataIndex: 'type',
             hidden: true,
             align: 'right',
@@ -1222,13 +1222,13 @@ Ext.define('PVE.node.CephOsdTree', {
             renderer: Ext.htmlEncode,
         },
         {
-            text: 'OSD Type',
+            text: gettext('OSD Type'),
             dataIndex: 'osdtype',
             align: 'right',
             width: 100,
         },
         {
-            text: 'Bluestore Device',
+            text: gettext('Bluestore Device'),
             dataIndex: 'blfsdev',
             align: 'right',
             width: 75,
@@ -1236,7 +1236,7 @@ Ext.define('PVE.node.CephOsdTree', {
             renderer: Ext.htmlEncode,
         },
         {
-            text: 'DB Device',
+            text: gettext('DB Device'),
             dataIndex: 'dbdev',
             align: 'right',
             width: 75,
@@ -1244,7 +1244,7 @@ Ext.define('PVE.node.CephOsdTree', {
             renderer: Ext.htmlEncode,
         },
         {
-            text: 'WAL Device',
+            text: gettext('WAL Device'),
             dataIndex: 'waldev',
             align: 'right',
             renderer: 'render_wal',
@@ -1252,7 +1252,7 @@ Ext.define('PVE.node.CephOsdTree', {
             hidden: true,
         },
         {
-            text: 'Status',
+            text: gettext('Status'),
             dataIndex: 'status',
             align: 'right',
             renderer: 'render_status',
@@ -1265,21 +1265,21 @@ Ext.define('PVE.node.CephOsdTree', {
             renderer: 'render_version',
         },
         {
-            text: 'weight',
+            text: gettext('weight'),
             dataIndex: 'crush_weight',
             align: 'right',
             renderer: 'render_osd_weight',
             width: 90,
         },
         {
-            text: 'reweight',
+            text: gettext('reweight'),
             dataIndex: 'reweight',
             align: 'right',
             renderer: 'render_osd_weight',
             width: 90,
         },
         {
-            text: gettext('Used') + ' (%)',
+            text: gettext('Used (%)'),
             dataIndex: 'percent_used',
             align: 'right',
             renderer: function (value, metaData, rec) {
@@ -1298,14 +1298,14 @@ Ext.define('PVE.node.CephOsdTree', {
             width: 100,
         },
         {
-            text: 'Apply/Commit<br>Latency (ms)',
+            text: gettext('Apply/Commit<br>Latency (ms)'),
             dataIndex: 'apply_latency_ms',
             align: 'right',
             renderer: 'render_osd_latency',
             width: 120,
         },
         {
-            text: 'PGs',
+            text: gettext('PGs'),
             dataIndex: 'pgs',
             align: 'right',
             renderer: 'render_osd_val',
-- 
2.47.3




      reply	other threads:[~2026-10-30 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30 10:48 [PATCH pve-manager] fix #8206: Getexttize OSD table header patch Davy Defaud
2026-10-30 10:48 ` Davy Defaud [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=20261030104823.43052-2-davy.defaud@free.fr \
    --to=davy.defaud@free.fr \
    --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