Fix minor JavaScript defects

This commit is contained in:
Thomas Piccirello 2018-09-26 23:10:51 -04:00
parent 08df3277df
commit 1e6942e967
12 changed files with 871 additions and 872 deletions

View file

@ -2,7 +2,7 @@
* JS counterpart of the function in src/misc.cpp
*/
function friendlyUnit(value, isSpeed) {
units = [
var units = [
"QBT_TR(B)QBT_TR[CONTEXT=misc]",
"QBT_TR(KiB)QBT_TR[CONTEXT=misc]",
"QBT_TR(MiB)QBT_TR[CONTEXT=misc]",