From 48d4cf4f368caa4e053d26b7d40cfa0e33fd497e Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Wed, 17 Dec 2014 15:12:11 +0300 Subject: [PATCH] WebUI: Drop old translation hack. --- src/webui/www/public/scripts/misc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/www/public/scripts/misc.js b/src/webui/www/public/scripts/misc.js index 4c78858d5..31dad6c89 100644 --- a/src/webui/www/public/scripts/misc.js +++ b/src/webui/www/public/scripts/misc.js @@ -32,7 +32,7 @@ function friendlyDuration(seconds) { if (seconds == 0) return "0"; if (seconds < 60) - return "< " + "QBT_TR(%1m)QBT_TR".replace("%1", "1"); //translation of "< 1m" not working + return "QBT_TR(< 1m)QBT_TR"; var minutes = seconds / 60; if (minutes < 60) return "QBT_TR(%1m)QBT_TR".replace("%1", parseInt(minutes)); @@ -72,4 +72,4 @@ if (!Date.prototype.toISOString) { }; }()); -} \ No newline at end of file +}