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)
downloadrockbox-81338420badc81850a8bfca7c6570b117513955c.tar.gz
rockbox-81338420badc81850a8bfca7c6570b117513955c.zip
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 {
161 my @files = grep { /\.lang$/ } readdir(DIR); 161 my @files = grep { /\.lang$/ } readdir(DIR);
162 closedir(DIR); 162 closedir(DIR);
163 163
164 # Exclude some bad languages (uncomment and adjust in case of release
165 # and/or End Times)
166 # @files = grep(!/(afrikaans|hindi|slovenscina|turkce)\.lang/, @files);
167
168 # Exclude more languages on the player which won't work on charcell display
169 if ($archos =~ /^"?player:/ ) {
170 @files = grep(!/(chinese-simp|bulgarian|chinese-trad|hindi|japanese|korean|thai)\.lang/, @files);
171 }
172
164 for(@files) { 173 for(@files) {
165 my $output = $_; 174 my $output = $_;
166 $output =~ s/(.*)\.lang/$1.lng/; 175 $output =~ s/(.*)\.lang/$1.lng/;