forked from len0rd/rockbox
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
This commit is contained in:
parent
74701a16a5
commit
62a5ed49cc
8 changed files with 106 additions and 54 deletions
|
|
@ -8441,44 +8441,44 @@
|
|||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_KILOBYTE
|
||||
desc: a unit postfix, also voiced
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: "KB"
|
||||
*: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: "KB"
|
||||
*: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: "kilobyte"
|
||||
*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_MEGABYTE
|
||||
desc: a unit postfix, also voiced
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: "MB"
|
||||
*: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: "MB"
|
||||
*: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: "megabyte"
|
||||
*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_GIGABYTE
|
||||
desc: a unit postfix, also voiced
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: "GB"
|
||||
*: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: "GB"
|
||||
*: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: "gigabyte"
|
||||
*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
@ -13647,3 +13647,45 @@
|
|||
*: "Disable Touch"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_KIBIBYTE
|
||||
desc: a unit postfix, also voiced
|
||||
user: core
|
||||
<source>
|
||||
*: "KiB"
|
||||
</source>
|
||||
<dest>
|
||||
*: "KiB"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "kibibyte"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_MEBIBYTE
|
||||
desc: a unit postfix, also voiced
|
||||
user: core
|
||||
<source>
|
||||
*: "MiB"
|
||||
</source>
|
||||
<dest>
|
||||
*: "MiB"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "mebibyte"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_GIBIBYTE
|
||||
desc: a unit postfix, also voiced
|
||||
user: core
|
||||
<source>
|
||||
*: "GiB"
|
||||
</source>
|
||||
<dest>
|
||||
*: "GiB"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "gibibyte"
|
||||
</voice>
|
||||
</phrase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue