summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-11-05 15:20:25 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-11-05 15:20:25 +0000
commit60d75942189c697f911623784e066e2ca6c55fb4 (patch)
treea1c7799b533bc9234826a0612629de27cd9dcf7b
parenta234b6d3606f96c6dc4672f2ddc205861eeeb69d (diff)
downloaddraklive-60d75942189c697f911623784e066e2ca6c55fb4.tar
draklive-60d75942189c697f911623784e066e2ca6c55fb4.tar.gz
draklive-60d75942189c697f911623784e066e2ca6c55fb4.tar.bz2
draklive-60d75942189c697f911623784e066e2ca6c55fb4.tar.xz
draklive-60d75942189c697f911623784e066e2ca6c55fb4.zip
make sure zh_TW and zh_CN will be included in language list
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 646c03e..76758f0 100755
--- a/draklive
+++ b/draklive
@@ -359,7 +359,7 @@ sub write_dist_lists {
require lang;
my @live_langs = get_langs($live);
- my @langs = grep { member(lang::locale_to_main_locale($_), @live_langs) } lang::list_langs();
+ my @langs = grep { member($_, @live_langs) || member(lang::locale_to_main_locale($_), @live_langs) } lang::list_langs();
my $langs_file = $lists_dir . '/' . $live->get_name . '.langs';
output_p($langs_file, map { lang::l2name($_) . " (" . $_ . ")\n" } sort(@langs));
}