rockbox/apps/lang
Solomon Peachy a88ef80560 lang: Complain if there are multiple target matches for a given string
The tooling will always use the *final* match, which may or may not be
what is desired.  Treat this as a bug, and complain appropriately.

However, there is a special case.  The RTC set screen uses strings that
include the device button names. There should be an entry for the
specific device, but if not, we wanted to fall back to the string
specified by the 'rtc' feature flag as opposed to falling back to the
default, empty string.

To still support this, add a special "FALLBACK" value; If we end up
using this for a device, the tooling will treat this as a bug, and
complain accordingly.

This should fix FS#13615 and FS13616, and may introduce build failures
on targets that are missing appropriate entries.  We'll see.

Change-Id: Ie78bb247f968e19d450a0fbf6e1177b6d01126a1
2025-05-04 08:53:22 -04:00
..
afrikaans.lang lang: Make all swcodec &| lcd_bitmap strings default. 2020-11-17 11:06:09 -05:00
arabic.lang lang: Replace all <...> with [...] 2024-09-17 10:21:46 -04:00
basque.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
bulgarian.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
catala.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
chinese-simp.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
chinese-trad.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
czech.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
dansk.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
deutsch.lang FS#13618: Updated German translation (Yannic Schmidt) 2025-05-04 07:14:05 -04:00
eesti.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
english-us.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
english.lang lang: Complain if there are multiple target matches for a given string 2025-05-04 08:53:22 -04:00
espanol.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
esperanto.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
finnish.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
francais.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
galego.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
greek.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
hebrew.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
hindi.lang lang: Replace all <...> with [...] 2024-09-17 10:21:46 -04:00
hrvatski.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
InvalidVoice_english.talk voice: Switch default English Piper voice to 'en_GB-semaine-medium' 2024-07-27 07:47:12 -04:00
islenska.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
italiano.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
japanese.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
korean.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
lang.make build: Make the lang.h and genlang.h depend on the genlang tool 2021-04-10 22:59:28 -04:00
latviesu.lang languages: Correct Latvian time reporting 2025-04-29 21:42:54 -04:00
lietuviu.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
magyar.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
moldoveneste.lang FS#13614: Add Moldavian (ro_MD) language (Mihai Alexandru Vasiliu) 2025-05-02 16:51:23 -04:00
nederlands.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
norsk-nynorsk.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
norsk.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
polski.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
portugues-brasileiro.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
portugues.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
romaneste.lang FS#13613: Updated Romanian translation (Mihai Alexandru Vasiliu) 2025-05-02 09:02:37 -04:00
russian.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
slovak.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
slovenscina.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
SOURCES FS#13614: Add Moldavian (ro_MD) language (Mihai Alexandru Vasiliu) 2025-05-02 16:51:23 -04:00
srpski.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
svenska.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
tagalog.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
thai.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
turkce.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
ukrainian.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
vlaams.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00
wallisertitsch.lang lang: Replace all <...> with [...] 2024-09-17 10:21:46 -04:00
walon.lang Some fixes for language and voice scripts: 2025-04-29 20:03:11 -04:00