From e100daf343d1ee00641402aeca5b631c97b96977 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 20 Jun 2024 16:54:51 -0400 Subject: 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 --- tools/buildzip.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/buildzip.pl') 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 { # Copy over the Invalid Language fallback stuff glob_copy("$ROOT/apps/lang/Invalid*.talk", "$temp_dir/langs/"); + # Copy over any generated voice/talk clips + glob_copy('Invalid*.talk', "$temp_dir/langs/"); + glob_copy('*.lng.talk', "$temp_dir/langs/"); + glob_copy('*.voice', "$temp_dir/langs/"); + # copy the .lua files glob_mkdir("$temp_dir/rocks/viewers/lua/"); glob_copy('apps/plugins/lua/*.lua', "$temp_dir/rocks/viewers/lua/"); -- cgit v1.2.3