diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2023-05-22 10:30:13 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2023-05-22 10:30:13 -0400 |
commit | 92b80bdba589672b99820a90ad2624d89f555ef1 (patch) | |
tree | aa36f69c7f54a941cfb2d1638f0f04daced99e61 /apps/lang | |
parent | ab0ba139f50a9c9b3eadbe1c15d44ce88cf980d3 (diff) | |
download | rockbox-92b80bdba589672b99820a90ad2624d89f555ef1.tar.gz rockbox-92b80bdba589672b99820a90ad2624d89f555ef1.zip |
lang: Support languages that speak the units before a numerical value
Previously, it was hardcoded to the english convention of units-last, so
"100%" would be voiced as "one hundred percent". This adds a new
language flag that makes the units be voiced first, ie "100%" will be
voiced as "percent one hundred".
So far only the Chinese-traditional and Chinese-simplified languages
utilize this feature (taken from an old ticket, FS#10340) but I'm sure
others would want this feature too.
Change-Id: Idf825ec9299dc0ed09921cf67aec61b1ab262fc6
Diffstat (limited to 'apps/lang')
-rw-r--r-- | apps/lang/chinese-simp.lang | 2 | ||||
-rw-r--r-- | apps/lang/chinese-trad.lang | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/lang/chinese-simp.lang b/apps/lang/chinese-simp.lang index 3d1d0ecaa3..b7702ee3c7 100644 --- a/apps/lang/chinese-simp.lang +++ b/apps/lang/chinese-simp.lang | |||
@@ -13,6 +13,8 @@ | |||
13 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | 13 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
14 | # KIND, either express or implied. | 14 | # KIND, either express or implied. |
15 | # | 15 | # |
16 | # LANGUAGE_UNITS_FIRST | ||
17 | # | ||
16 | # Simplified Chinese language file, translated by: | 18 | # Simplified Chinese language file, translated by: |
17 | # - Ye Wei | 19 | # - Ye Wei |
18 | # - Xinlu Huang | 20 | # - Xinlu Huang |
diff --git a/apps/lang/chinese-trad.lang b/apps/lang/chinese-trad.lang index 02e14645e0..e7ee7ae607 100644 --- a/apps/lang/chinese-trad.lang +++ b/apps/lang/chinese-trad.lang | |||
@@ -13,6 +13,8 @@ | |||
13 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | 13 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
14 | # KIND, either express or implied. | 14 | # KIND, either express or implied. |
15 | # | 15 | # |
16 | # LANGUAGE_UNITS_FIRST | ||
17 | # | ||
16 | # Traditional Chinese language file, translated by: | 18 | # Traditional Chinese language file, translated by: |
17 | # - Wenbin Leo | 19 | # - Wenbin Leo |
18 | # - Xinlu Huang | 20 | # - Xinlu Huang |