summaryrefslogtreecommitdiff
path: root/tools/buildzip.pl
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-06-20 16:54:51 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-06-20 17:31:31 -0400
commite100daf343d1ee00641402aeca5b631c97b96977 (patch)
tree4684d3bd46279470eaab08ec6456351fbbec86e8 /tools/buildzip.pl
parent8cb8a30f9d8e87fbd1103abef6447358393cfcd1 (diff)
downloadrockbox-e100daf343d1ee00641402aeca5b631c97b96977.tar.gz
rockbox-e100daf343d1ee00641402aeca5b631c97b96977.zip
voice: Voiced strings for INVALID_VOICE and LANGUAGE_NAME
* Voice generation script will create standalone .talk clips * These talk clips will be included in the rockbox .zip file * All .voice files will be included in the rockbox .zip file * Added LANGUAGE_NAME for all languages in the nightly builds This way, any voice pack installed will give you a the langauge voiced in the browser, and if the voice file fails to load you will get a natively translated error message. Change-Id: I6b627a51746cd088d6e200666dd326ea2745f55f
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-xtools/buildzip.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 65aca59e13..fb26597290 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -658,6 +658,11 @@ sub buildzip {
658 # Copy over the Invalid Language fallback stuff 658 # Copy over the Invalid Language fallback stuff
659 glob_copy("$ROOT/apps/lang/Invalid*.talk", "$temp_dir/langs/"); 659 glob_copy("$ROOT/apps/lang/Invalid*.talk", "$temp_dir/langs/");
660 660
661 # Copy over any generated voice/talk clips
662 glob_copy('Invalid*.talk', "$temp_dir/langs/");
663 glob_copy('*.lng.talk', "$temp_dir/langs/");
664 glob_copy('*.voice', "$temp_dir/langs/");
665
661 # copy the .lua files 666 # copy the .lua files
662 glob_mkdir("$temp_dir/rocks/viewers/lua/"); 667 glob_mkdir("$temp_dir/rocks/viewers/lua/");
663 glob_copy('apps/plugins/lua/*.lua', "$temp_dir/rocks/viewers/lua/"); 668 glob_copy('apps/plugins/lua/*.lua', "$temp_dir/rocks/viewers/lua/");