From 81338420badc81850a8bfca7c6570b117513955c Mon Sep 17 00:00:00 2001 From: Jonas Häggqvist Date: Sun, 17 Feb 2008 21:43:55 +0000 Subject: 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 --- tools/buildzip.pl | 9 +++++++++ 1 file changed, 9 insertions(+) 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/; -- cgit v1.2.3