* [pbs-devel] [PATCH proxmox-backup] ui: running tasks: Use gettext for column labels
@ 2021-01-05 11:34 Dominic Jäger
2021-01-05 12:53 ` [pbs-devel] applied: " Dietmar Maurer
0 siblings, 1 reply; 2+ messages in thread
From: Dominic Jäger @ 2021-01-05 11:34 UTC (permalink / raw)
To: pbs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-05 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 11:34 [pbs-devel] [PATCH proxmox-backup] ui: running tasks: Use gettext for column labels Dominic Jäger
2021-01-05 12:53 ` [pbs-devel] applied: " Dietmar Maurer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox