Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94650bf
)
fix timer day translation
author
Raphaël Jakse
<raphael.trivabble@jakse.fr>
Sat, 12 Dec 2020 10:01:46 +0000
(11:01 +0100)
committer
Raphaël Jakse
<raphael.trivabble@jakse.fr>
Sat, 12 Dec 2020 10:01:46 +0000
(11:01 +0100)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 74e0c0b66005bde833791edd366ba1248ef0c180..717ebd8c7f69519d3288c9476454f893ca761ab1 100644
(file)
--- 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));
}