fix timer day translation

This commit is contained in:
Raphaël Jakse 2020-12-12 11:01:46 +01:00
parent 94650bf219
commit 235d51c802
1 changed files with 1 additions and 1 deletions

View File

@ -2239,7 +2239,7 @@
const sec = (s < 10) ? "0" + s : s;
const min = (m < 10) ? "0" + m : m;
const hour = (h < 10) ? "0" + h : h;
return ((d > 0) ? format(_("{0}d "), d) : "") +
return ((d > 0) ? format(_("{0}d"), d) + " " : "") +
((h + d > 0) ? format(_("{0}h {1}' {2}''"), (d > 0) ? hour : h, min, sec) : format(_("{0}' {1}''"), m, sec));
}