all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Dominic Jäger" <d.jaeger@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] ui: running tasks: Use gettext for column labels
Date: Tue,  5 Jan 2021 12:34:31 +0100	[thread overview]
Message-ID: <20210105113431.53165-1-d.jaeger@proxmox.com> (raw)

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
---
 www/dashboard/RunningTasks.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/dashboard/RunningTasks.js b/www/dashboard/RunningTasks.js
index f990a6e2..4529d0d3 100644
--- a/www/dashboard/RunningTasks.js
+++ b/www/dashboard/RunningTasks.js
@@ -69,13 +69,13 @@ Ext.define('PBS.RunningTasks', {
 
     columns: [
 	{
-	    text: 'Task',
+	    text: gettext('Task'),
 	    dataIndex: 'upid',
 	    renderer: Proxmox.Utils.render_upid,
 	    flex: 2,
 	},
 	{
-	    text: 'Starttime',
+	    text: gettext('Starttime'),
 	    dataIndex: 'starttime',
 	    renderer: function(value) {
 		return Ext.Date.format(value, "Y-m-d H:i:s");
@@ -83,7 +83,7 @@ Ext.define('PBS.RunningTasks', {
 	    flex: 1,
 	},
 	{
-	    text: 'Duration',
+	    text: gettext('Duration'),
 	    dataIndex: 'duration',
 	    renderer: function(value, md, record) {
 		return Proxmox.Utils.format_duration_human((Date.now() - record.data.starttime)/1000);
-- 
2.20.1




             reply	other threads:[~2021-01-05 11:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-05 11:34 Dominic Jäger [this message]
2021-01-05 12:53 ` [pbs-devel] applied: " Dietmar Maurer

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=20210105113431.53165-1-d.jaeger@proxmox.com \
    --to=d.jaeger@proxmox.com \
    --cc=pbs-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