mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 19:32:35 +00:00
move gettext.wesnoth.org to our new ibiblio.org host...
...and change things as needed therefor add zh_TW sort textdomains
This commit is contained in:
parent
8437e2358b
commit
bf284914db
@ -1,16 +1,18 @@
|
||||
#!/bin/sh
|
||||
cd $HOME/wesnoth/wesnoth-1.2/po
|
||||
|
||||
|
||||
cd $HOME/source/1.4/po
|
||||
find . -name "*.po" -exec rm {} \;
|
||||
svn cleanup
|
||||
svn up
|
||||
|
||||
cd $HOME/wesnoth/wesnoth/po
|
||||
cd $HOME/source/trunk/po
|
||||
find . -name "*.po" -exec rm {} \;
|
||||
svn cleanup
|
||||
svn up
|
||||
|
||||
cd $HOME/wesnoth/wescamp-i18n/
|
||||
cd $HOME/source/wescamp-i18n/
|
||||
find . -name "*.po" -exec rm {} \;
|
||||
svn cleanup
|
||||
svn up
|
||||
wget -q -O /dev/null http://pulsar.unizar.es/~isaac/wesnoth-gettext/westats/grab-stats.php
|
||||
php html/gettext/grab-stats.php
|
||||
|
@ -10,17 +10,17 @@
|
||||
// the msgfmt program path
|
||||
$msgfmt="/usr/bin/msgfmt";
|
||||
|
||||
$branch="1.2";
|
||||
$branch="1.4";
|
||||
|
||||
$trunkbasedir="/home/isaac/wesnoth/wesnoth/";
|
||||
$branchbasedir="/home/isaac/wesnoth/wesnoth-" . $branch . "/";
|
||||
$extrabasedir="/home/isaac/wesnoth/wescamp-i18n/";
|
||||
$trunkbasedir="/export/sunsite/users/ivanovic/source/trunk/";
|
||||
$branchbasedir="/export/sunsite/users/ivanovic/source/" . $branch . "/";
|
||||
$extrabasedir="/export/sunsite/users/ivanovic/source/wescamp-i18n/";
|
||||
|
||||
//$packages = file_get_contents($basedir . "/po/DOMAINS");
|
||||
//$packages = substr($packages, 0, strlen($packages)-1);
|
||||
$corepackages = "wesnoth wesnoth-lib wesnoth-httt wesnoth-tutorial";
|
||||
$corepackages = "wesnoth wesnoth-lib wesnoth-units wesnoth-multiplayer wesnoth-httt wesnoth-tutorial";
|
||||
//$packages = trim(system("grep ^SUBDIRS " . $basedir . "/po/Makefile.am | cut -d= -f2"));
|
||||
$packages = "wesnoth wesnoth-editor wesnoth-lib wesnoth-units wesnoth-multiplayer wesnoth-tutorial wesnoth-manpages wesnoth-manual wesnoth-httt wesnoth-did wesnoth-ei wesnoth-l wesnoth-nr wesnoth-sof wesnoth-sotbe wesnoth-trow wesnoth-tb wesnoth-tsg wesnoth-utbs wesnoth-aoi wesnoth-thot";
|
||||
$packages = "wesnoth wesnoth-lib wesnoth-editor wesnoth-units wesnoth-multiplayer wesnoth-tutorial wesnoth-manpages wesnoth-manual wesnoth-aoi wesnoth-did wesnoth-ei wesnoth-httt wesnoth-l wesnoth-nr wesnoth-sof wesnoth-sotbe wesnoth-tb wesnoth-thot wesnoth-trow wesnoth-tsg wesnoth-utbs";
|
||||
//get unofficial packages
|
||||
$dir = opendir($extrabasedir);
|
||||
|
||||
|
@ -40,4 +40,5 @@ $langs['tl'] = 'Filipino';
|
||||
$langs['tr'] = 'Turkish';
|
||||
//$langs['vi'] = 'Vietnamese';
|
||||
$langs['zh_CN'] = 'Chinese';
|
||||
$langs['zh_TW'] = 'Chinese (Taiwan)';
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user