summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-10 15:46:34 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-10 15:46:34 +0800
commitc5380a4dde5ad35d86328dd745b4606a355b7844 (patch)
tree25c155f8d7a08655f6ad468fe6eb8c6870717967
parent280466b4059062242eb42bb1e767f5feeaf0d818 (diff)
downloadpttbbs-c5380a4dde5ad35d86328dd745b4606a355b7844.tar
pttbbs-c5380a4dde5ad35d86328dd745b4606a355b7844.tar.gz
pttbbs-c5380a4dde5ad35d86328dd745b4606a355b7844.tar.bz2
pttbbs-c5380a4dde5ad35d86328dd745b4606a355b7844.tar.lz
pttbbs-c5380a4dde5ad35d86328dd745b4606a355b7844.tar.xz
pttbbs-c5380a4dde5ad35d86328dd745b4606a355b7844.tar.zst
pttbbs-c5380a4dde5ad35d86328dd745b4606a355b7844.zip
s/zh_CN/zh-CN/; s/zh_TW/zh-TW/
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-xstaticweb/index.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/staticweb/index.pl b/staticweb/index.pl
index 87c9b5f5..25bd0359 100755
--- a/staticweb/index.pl
+++ b/staticweb/index.pl
@@ -15,13 +15,13 @@ sub main
if( param('gb') ){
$rh{gb} = 1;
$rh{encoding} = 'gb2312';
- $rh{lang} = 'zh_CN';
+ $rh{lang} = 'zh-CN';
$rh{charset} = 'gb2312'; }
else{
print redirect("/man.pl/$1/")
if( $ENV{REDIRECT_REQUEST_URI} =~ m|/\?(.*)| );
$rh{encoding} = 'Big5';
- $rh{lang} = 'zh_TW';
+ $rh{lang} = 'zh-TW';
$rh{charset} = 'big5';
}