diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-21 08:54:14 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-21 17:22:45 +0000 |
commit | a5df94beb5cd7fd87828b9532b4a1a4da13ef774 (patch) | |
tree | 6b36c2e23f576ee104331d2de3b58ad39a77ba40 /apps/talk.c | |
parent | 688c89cfe13658dc0c36c67235ed968e286d78bf (diff) | |
download | rockbox-a5df94beb5cd7fd87828b9532b4a1a4da13ef774.tar.gz rockbox-a5df94beb5cd7fd87828b9532b4a1a4da13ef774.zip |
build: Tweaks to better support non-English as primary language
* get rid of $(LANGUAGE) in top-level makefile (and configure script)
* un-hardcode English-as-primary-language in a couple more places
* allow DEFAULT_VOICE_LANG to be overriden
To actually change the primary from English, one must change:
* $english in voice.pl
* hardcoded 'english' in rbutil
* $ENGLISH in apps/lang/lang.make
* DEFAULT_VOICE_LANG in apps/talk.c
* configure script (default prompt)
Of course, if one wants to change the default UI language, it's simpler
to change the default language setting variable at compile time, or
perhaps by adding a configuration file with the desired value into the
.rockbox directory when the .zip is assembled.
Change-Id: If5cf76019d416e838628a2eccd4ec7d6cbaeeb74
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/talk.c b/apps/talk.c index d38432de7c..3c532d964c 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -82,7 +82,9 @@ const char* const file_thumbnail_ext = ".talk"; | |||
82 | 82 | ||
83 | #define LOADED_MASK 0x80000000 /* MSB */ | 83 | #define LOADED_MASK 0x80000000 /* MSB */ |
84 | 84 | ||
85 | #ifndef DEFAULT_VOICE_LANG | ||
85 | #define DEFAULT_VOICE_LANG "english" | 86 | #define DEFAULT_VOICE_LANG "english" |
87 | #endif | ||
86 | 88 | ||
87 | /***************** Data types *****************/ | 89 | /***************** Data types *****************/ |
88 | 90 | ||