diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-11-05 15:20:25 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-11-05 15:20:25 +0000 |
commit | 60d75942189c697f911623784e066e2ca6c55fb4 (patch) | |
tree | a1c7799b533bc9234826a0612629de27cd9dcf7b | |
parent | a234b6d3606f96c6dc4672f2ddc205861eeeb69d (diff) | |
download | drakiso-60d75942189c697f911623784e066e2ca6c55fb4.tar drakiso-60d75942189c697f911623784e066e2ca6c55fb4.tar.gz drakiso-60d75942189c697f911623784e066e2ca6c55fb4.tar.bz2 drakiso-60d75942189c697f911623784e066e2ca6c55fb4.tar.xz drakiso-60d75942189c697f911623784e066e2ca6c55fb4.zip |
make sure zh_TW and zh_CN will be included in language list
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } |