rockbox/apps/lang
Solomon Peachy 0abfb3ff78 voice: Include a simple string enumeration in voicestrings.zip
This maps the numerical IDs contained within the binary .vstrings files
to their logical LANG_* and VOICE_* names.

While not strictly needed to produce voice files, it adds the final
piece to be able to use vstrings files to produce the same voice files
as the existing 'make voice' flow that directly parses the language files.

The 'make voice' flow intentionally divert a few of the generated clips
into standalone files:

 * "invalid voice file"
 * <spoken language name>
 * <short pause>

For this to be possible, we need to know which specific entries in
vstrings map to the ones we care about, and without this enumeration
(which can change on a per-target or even per-build basis) this is
effectively impossible.

The produced lang-enum.txt is simple, with one entry per line of the
format: number:name

Note that nothing uses this new file yet; that will come in subsequent
commits.

Change-Id: Iec3fccbb6d503dd7e2d529aad318009a489b1d77
2026-01-09 20:47:34 -05:00
..
arabic.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
basque.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
bulgarian.lang Add USB-DAC strings to the Bulgarian translation 2025-11-18 13:35:57 +02:00
catala.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
chinese-simp.lang Translation updates: 2025-12-28 08:22:06 -05:00
chinese-trad.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
czech.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
dansk.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
deutsch.lang translations: Minor mechanical fix to German translation 2025-12-29 09:02:09 -05:00
eesti.lang shortcuts: Don't require name for 'time' (i.e. talk or sleep) shortcuts 2025-06-06 18:12:06 +02:00
english-us.lang Translation updates: 2025-12-28 08:22:06 -05:00
english.lang Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
espanol.lang lang: Fix a missing colon in the previous commit 2025-10-03 12:16:34 -04:00
esperanto.lang shortcuts: Don't require name for 'time' (i.e. talk or sleep) shortcuts 2025-06-06 18:12:06 +02:00
finnish.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
francais.lang Minor mechanical correction to French translation 2025-12-23 20:08:52 -05:00
galego.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
greek.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
hebrew.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
hindi.lang lang: More title case corrections to English 2025-05-08 21:19:41 -04:00
hrvatski.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -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 Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
italiano.lang FS#13736: Updated Italian translation (Alessio Lenzi) 2025-12-29 09:02:32 -05:00
japanese.lang lang: Fix a missing colon in the previous commit 2025-10-03 12:16:34 -04:00
korean.lang Translation updates: 2025-12-28 08:22:06 -05:00
lang.make voice: Include a simple string enumeration in voicestrings.zip 2026-01-09 20:47:34 -05:00
latviesu.lang Translation updates: 2025-12-31 06:58:48 -05:00
lietuviu.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
magyar.lang Translation updates: 2025-12-31 06:58:48 -05:00
moldoveneste.lang lang: Correct LANG_TIME_REVERT and LANG_TIME_BUTTON_SET for xduoox3/x3ii 2025-10-03 10:03:17 -04:00
nederlands.lang Another correction for the Dutch translation 2025-12-29 12:57:19 -05:00
norsk-nynorsk.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
norsk.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
polski.lang Translation updates: 2025-12-28 08:22:06 -05:00
portugues-brasileiro.lang lang: Fix a missing colon in the previous commit 2025-10-03 12:16:34 -04:00
portugues.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
romaneste.lang lang: Fix a missing colon in the previous commit 2025-10-03 12:16:34 -04:00
russian.lang FS#13708: Corrections to Russian translation (Ivan Romaniuk-Mikhailovsky) 2025-11-29 16:10:43 -05:00
slovak.lang Translation updates: 2025-12-28 08:22:06 -05:00
slovenscina.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
SOURCES lang: Actually remove the deleted translations from SOURCES 2026-01-04 17:43:41 -05:00
srpski.lang translations: Minor corrections to Serbian and Korean 2025-11-21 12:07:32 -05:00
svenska.lang Translation updates: 2025-12-28 08:22:06 -05:00
tagalog.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
thai.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
turkce.lang lang: Fix a missing colon in the previous commit 2025-10-03 12:16:34 -04:00
ukrainian.lang Mechanical correction for Ukrainian translation 2026-01-03 14:03:57 -05:00
vietnamese.lang FS#13739: Updated Vietnamese Translation (Chu Khanh Hanh) 2025-12-30 23:18:04 -05:00
vlaams.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00
walon.lang Fix wrong order of strings in .lang files 2025-10-02 12:48:02 -04:00