mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
New function for formatting large-range values for output, both printed and voiced. This replaces num2max5(). It is currently used for the total/free space display in the info menu, for the recorded number of bytes (recorders) and the MMC debug info (Ondios).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5721 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
19afad88f8
commit
2116bba296
7 changed files with 209 additions and 100 deletions
|
|
@ -998,15 +998,15 @@ voice: "Recording Settings"
|
|||
new:
|
||||
|
||||
id: LANG_DISK_STAT
|
||||
desc: disk size info
|
||||
eng: "Disk: %d.%dGB"
|
||||
desc: DEPRECATED
|
||||
eng: ""
|
||||
voice: ""
|
||||
new:
|
||||
|
||||
id: LANG_DISK_FREE_STAT
|
||||
desc: disk size info
|
||||
eng: "Free: %d.%dGB"
|
||||
voice: "Free diskspace:"
|
||||
desc: DEPRECATED
|
||||
eng: ""
|
||||
voice: ""
|
||||
new:
|
||||
|
||||
id: LANG_POWEROFF
|
||||
|
|
@ -2270,9 +2270,9 @@ voice: "plus"
|
|||
new:
|
||||
|
||||
id: VOICE_POINT
|
||||
desc: spoken only, decimal separator for composing numbers
|
||||
desc: DEPRECATED
|
||||
eng: ""
|
||||
voice: "point"
|
||||
voice: ""
|
||||
new:
|
||||
|
||||
id: VOICE_MILLISECONDS
|
||||
|
|
@ -2336,15 +2336,15 @@ voice: "percent"
|
|||
new:
|
||||
|
||||
id: VOICE_MEGABYTE
|
||||
desc: spoken only, a unit postfix, currently not used
|
||||
desc: DEPRECATED
|
||||
eng: ""
|
||||
voice: "megabyte"
|
||||
voice: ""
|
||||
new:
|
||||
|
||||
id: VOICE_GIGABYTE
|
||||
desc: spoken only, a unit postfix
|
||||
desc: DEPRECATED
|
||||
eng: ""
|
||||
voice: "gigabyte"
|
||||
voice: ""
|
||||
new:
|
||||
|
||||
id: VOICE_MILLIAMPHOURS
|
||||
|
|
@ -2943,3 +2943,46 @@ desc: in battery settings
|
|||
eng: "NiMH"
|
||||
voice: "Nickel metal hydride"
|
||||
new:
|
||||
|
||||
id: LANG_POINT
|
||||
desc: decimal separator for composing numbers
|
||||
eng: "."
|
||||
voice: "point"
|
||||
new:
|
||||
|
||||
id: LANG_BYTE
|
||||
desc: a unit postfix
|
||||
eng: "B"
|
||||
voice: ""
|
||||
new:
|
||||
|
||||
id: LANG_KILOBYTE
|
||||
desc: a unit postfix, also voiced
|
||||
eng: "KB"
|
||||
voice: "kilobyte"
|
||||
new:
|
||||
|
||||
id: LANG_MEGABYTE
|
||||
desc: a unit postfix, also voiced
|
||||
eng: "MB"
|
||||
voice: "megabyte"
|
||||
new:
|
||||
|
||||
id: LANG_GIGABYTE
|
||||
desc: a unit postfix, also voiced
|
||||
eng: "GB"
|
||||
voice: "gigabyte"
|
||||
new:
|
||||
|
||||
id: LANG_DISK_SIZE_INFO
|
||||
desc: disk size info
|
||||
eng: "Disk:"
|
||||
voice: ""
|
||||
new:
|
||||
|
||||
id: LANG_DISK_FREE_INFO
|
||||
desc: disk size info
|
||||
eng: "Free:"
|
||||
voice: "Free diskspace:"
|
||||
new:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue