summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/buildzip.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index af87be07dc..cc6bf8458b 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -161,6 +161,15 @@ sub buildlangs {
my @files = grep { /\.lang$/ } readdir(DIR);
closedir(DIR);
+ # Exclude some bad languages (uncomment and adjust in case of release
+ # and/or End Times)
+ # @files = grep(!/(afrikaans|hindi|slovenscina|turkce)\.lang/, @files);
+
+ # Exclude more languages on the player which won't work on charcell display
+ if ($archos =~ /^"?player:/ ) {
+ @files = grep(!/(chinese-simp|bulgarian|chinese-trad|hindi|japanese|korean|thai)\.lang/, @files);
+ }
+
for(@files) {
my $output = $_;
$output =~ s/(.*)\.lang/$1.lng/;