diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-12-15 19:02:54 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-12-15 19:19:44 -0500 |
commit | b53d2bc4329b13069ca10f7cca980b5c94319bf5 (patch) | |
tree | 7101dd2f2ffe9bed2f4c18d8b5d864efb435561e /apps/lang | |
parent | 651853f5df0935d717336da06c742f34bc8b0bfc (diff) | |
download | rockbox-b53d2bc4329b13069ca10f7cca980b5c94319bf5.tar.gz rockbox-b53d2bc4329b13069ca10f7cca980b5c94319bf5.zip |
languages: Fix RTL language file generation
The 'rtl' flags for Arabic and Hebrew was inadvertantly deleted
in 7ff3c94e1 (over a year ago, in November 2020!) but it's actually been
broken since the introduction of 'updatelang', in 2305966d (July 2020)
The fix here is to change the 'RTL' flag from an <options> section in
the language file to a comment in the header. It's not as pure in a
design sense but it makes for a much cleaner implementation.
I may further revamp this by making the 'RTL' flag into an explicit
LANG_xxx string
Change-Id: I48f394adfadc0aa804fd67690c87cc28f04fccdc
Diffstat (limited to 'apps/lang')
-rw-r--r-- | apps/lang/arabic.lang | 2 | ||||
-rw-r--r-- | apps/lang/hebrew.lang | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/lang/arabic.lang b/apps/lang/arabic.lang index a7961cfefc..e94bd19cef 100644 --- a/apps/lang/arabic.lang +++ b/apps/lang/arabic.lang | |||
@@ -14,6 +14,8 @@ | |||
14 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | 14 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
15 | # KIND, either express or implied. | 15 | # KIND, either express or implied. |
16 | # | 16 | # |
17 | # LANGUAGE_IS_RTL | ||
18 | # | ||
17 | # Arabic language file, translated by: | 19 | # Arabic language file, translated by: |
18 | # - Mohamed Tarek | 20 | # - Mohamed Tarek |
19 | # - Raafat Akkad | 21 | # - Raafat Akkad |
diff --git a/apps/lang/hebrew.lang b/apps/lang/hebrew.lang index 89475017ba..f7f03a562b 100644 --- a/apps/lang/hebrew.lang +++ b/apps/lang/hebrew.lang | |||
@@ -14,6 +14,8 @@ | |||
14 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | 14 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
15 | # KIND, either express or implied. | 15 | # KIND, either express or implied. |
16 | # | 16 | # |
17 | # LANGUAGE_IS_RTL | ||
18 | # | ||
17 | # Hebrew language file, translated by: | 19 | # Hebrew language file, translated by: |
18 | # - Ariel Saghiv | 20 | # - Ariel Saghiv |
19 | # - Liberman Shachar | 21 | # - Liberman Shachar |