From 235d51c802e1cc3feab057e8de421ed15a6d8923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Jakse?= Date: Sat, 12 Dec 2020 11:01:46 +0100 Subject: [PATCH] fix timer day translation --- public/trivabble.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/trivabble.js b/public/trivabble.js index 74e0c0b..717ebd8 100644 --- a/public/trivabble.js +++ b/public/trivabble.js @@ -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)); }