summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2008-02-17 21:43:55 +0000
committerJonas Häggqvist <rasher@rasher.dk>2008-02-17 21:43:55 +0000
commit81338420badc81850a8bfca7c6570b117513955c (patch)
tree9924240b7d719594e23e63f905a4ea8df7941ba0
parent4b8d4902824f68a16c50f6d2d4dafa4368025351 (diff)
Exclude languages that don't work on the Player's charcell display when building for the Player. Also include commented out functionality to exclude langauges on all targets (such as very incomplete languages in case of release).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16334 a1c6a512-1295-4272-9138-f99709370657
-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/;