diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/buildzip.pl | 5 | ||||
-rwxr-xr-x | tools/updatelang | 10 | ||||
-rwxr-xr-x | tools/voice.pl | 8 |
3 files changed, 21 insertions, 2 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/"); |
diff --git a/tools/updatelang b/tools/updatelang index 98c5d3cb73..febfadbfe0 100755 --- a/tools/updatelang +++ b/tools/updatelang | |||
@@ -237,8 +237,14 @@ foreach (@englishorder) { | |||
237 | foreach (@missingorder) { | 237 | foreach (@missingorder) { |
238 | # print "#!! '$_' missing\n"; | 238 | # print "#!! '$_' missing\n"; |
239 | push(@langorder, $_); | 239 | push(@langorder, $_); |
240 | $lang{$_} = $english{$_}; | 240 | if ($_ eq 'VOICE_LANG_NAME') { |
241 | $lang{$_}{'notes'} .= "### This phrase is missing entirely, copying from english!\n"; | 241 | $lang{$_} = $english{$_}; |
242 | $lang{$_}{'voice'}{'*'} = ""; | ||
243 | $lang{$_}{'notes'} .= "### This phrase is missing entirely, please fill out\n"; | ||
244 | } else { | ||
245 | $lang{$_} = $english{$_}; | ||
246 | $lang{$_}{'notes'} .= "### This phrase is missing entirely, copying from english!\n"; | ||
247 | } | ||
242 | $lang{$_}{'new'} = 1; | 248 | $lang{$_}{'new'} = 1; |
243 | } | 249 | } |
244 | undef @missingorder; | 250 | undef @missingorder; |
diff --git a/tools/voice.pl b/tools/voice.pl index b582c96235..c62e4c164a 100755 --- a/tools/voice.pl +++ b/tools/voice.pl | |||
@@ -511,6 +511,14 @@ sub generateclips { | |||
511 | if (defined($ENV{'POOL'})) { | 511 | if (defined($ENV{'POOL'})) { |
512 | copy($enc, $pool_file); | 512 | copy($enc, $pool_file); |
513 | } | 513 | } |
514 | # Special cases | ||
515 | if ($id eq "VOICE_INVALID_VOICE_FILE") { | ||
516 | copy ($enc, "InvalidVoice_$language.talk"); | ||
517 | } | ||
518 | if ($id eq "VOICE_LANG_NAME") { | ||
519 | copy ($enc, "$language.lng.talk"); | ||
520 | } | ||
521 | |||
514 | unlink($wav); | 522 | unlink($wav); |
515 | } | 523 | } |
516 | $voice = ""; | 524 | $voice = ""; |