diff options
author | Norbert Preining <preining@logic.at> | 2008-08-08 20:10:50 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-08-08 20:10:50 +0000 |
commit | e1df696e9cf37cb32c4225cb0d26551cc8fc1112 (patch) | |
tree | 8b78fd6c13927c8e8bc487a4bafa8f38c47c0d00 /Master/tlpkg | |
parent | 24d42b705d56dafbfb57d7ee2e81e9a96383fd7c (diff) |
GUI instaler: if the user asks for lang = zh he gets zh-cn, simplified chinese
git-svn-id: svn://tug.org/texlive/trunk@10184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r-- | Master/tlpkg/installer/install-menu-perltk.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/tlpkg/installer/install-menu-perltk.pl b/Master/tlpkg/installer/install-menu-perltk.pl index 2f1d7f12d95..593b9475446 100644 --- a/Master/tlpkg/installer/install-menu-perltk.pl +++ b/Master/tlpkg/installer/install-menu-perltk.pl @@ -38,6 +38,10 @@ no utf8; if (defined($::opt_lang)) { $::lang = $::opt_lang; + if ($::lang eq "zh") { + # set language to simplified chinese + $::lang = "zh-cn"; + } } else { if ($^O =~ /^MSWin(32|64)$/i) { # trying to deduce automatically the country code |