From 62a5ed49cc187120793ea50e0eec4e18c8bc0441 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 9 Dec 2018 12:09:40 -0600 Subject: Fix possible truncation misc.c->output_dyn_value + use Kibytes output_dyn_value now requires the count for number of units Binary scale now shows Kibibytes instead of kilobytes (g#1742) Fixes output for negative values as well Change-Id: I8aa896860e97d2453fa35069e2dfe1caac60109f --- apps/lang/english.lang | 66 +++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 54 insertions(+), 12 deletions(-) (limited to 'apps/lang') diff --git a/apps/lang/english.lang b/apps/lang/english.lang index d4e0697667..f4f1b12032 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -8441,44 +8441,44 @@ id: LANG_KILOBYTE - desc: a unit postfix, also voiced + desc: deprecated user: core - *: "KB" + *: "" - *: "KB" + *: "" - *: "kilobyte" + *: "" id: LANG_MEGABYTE - desc: a unit postfix, also voiced + desc: deprecated user: core - *: "MB" + *: "" - *: "MB" + *: "" - *: "megabyte" + *: "" id: LANG_GIGABYTE - desc: a unit postfix, also voiced + desc: deprecated user: core - *: "GB" + *: "" - *: "GB" + *: "" - *: "gigabyte" + *: "" @@ -13647,3 +13647,45 @@ *: "Disable Touch" + + id: LANG_KIBIBYTE + desc: a unit postfix, also voiced + user: core + + *: "KiB" + + + *: "KiB" + + + *: "kibibyte" + + + + id: LANG_MEBIBYTE + desc: a unit postfix, also voiced + user: core + + *: "MiB" + + + *: "MiB" + + + *: "mebibyte" + + + + id: LANG_GIBIBYTE + desc: a unit postfix, also voiced + user: core + + *: "GiB" + + + *: "GiB" + + + *: "gibibyte" + + -- cgit v1.2.3