From 70e72e01d24bd6fe1e9ef15bcf3ceeccb69e2d6b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 21 Sep 2021 19:16:23 -0400 Subject: talk: Add support for languages that swap the tens position in numbers For example, English would say "231" as "two hundred thirty one" but many other languages would say "two hundred one and thirty" So, if VOICE_NUMERIC_TENS_SWAP_SEPARATOR is not an empty string, swap the tens and ones position and use that string ("and" in the above example) as the voiced separator. Change-Id: I69f8064d44b3995827327cabae6ad352bf257d04 --- apps/lang/english.lang | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'apps/lang/english.lang') diff --git a/apps/lang/english.lang b/apps/lang/english.lang index 67624aa2a3..60cb17d245 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -16080,3 +16080,17 @@ *: "Bit rate" + + id: VOICE_NUMERIC_TENS_SWAP_SEPARATOR + desc: voice only, for speaking numbers in languages that swap the tens and ones fields. Leave blank for languages that do not need it, such as English ("231" => "two hundred thirty one") but other languages may speak it as "two hundred one [AND] thirty" + user: core + + *: "" + + + *: "" + + + *: "" + + -- cgit v1.2.3