https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113596
Revision: 113596 Author: siebrand Date: 2012-03-11 22:17:12 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Update/add some documentation. Modified Paths: -------------- trunk/translatewiki/MantisBT/README trunk/translatewiki/StatusNet/README Added Paths: ----------- trunk/translatewiki/EOL/README trunk/translatewiki/Mwlib/README Added: trunk/translatewiki/EOL/README =================================================================== --- trunk/translatewiki/EOL/README (rev 0) +++ trunk/translatewiki/EOL/README 2012-03-11 22:17:12 UTC (rev 113596) @@ -0,0 +1,10 @@ +== Setup == + cd %GROUPROOT% + git clone git://github.com/EncyclopediaOfLife/eol.git eol + +Add to your LocalSettings.php: + wfAddNamespace( 1242, 'EOL' ); + $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/EOL/EOL.yaml" + +== Export === + php export.php --target=$EXPORTPATH --no-fuzzy --groupprefix=out-eol- --lang='*' --skip=en --threshold=35 Property changes on: trunk/translatewiki/EOL/README ___________________________________________________________________ Added: svn:eol-style + native Modified: trunk/translatewiki/MantisBT/README =================================================================== --- trunk/translatewiki/MantisBT/README 2012-03-11 22:06:51 UTC (rev 113595) +++ trunk/translatewiki/MantisBT/README 2012-03-11 22:17:12 UTC (rev 113596) @@ -1,11 +1,11 @@ == Setup == cd %GROUPROOT% git clone git://git.mantisbt.org/mantisbt mantisbt + git checkout --track -b master-1.2.x origin/master-1.2.x Add to your LocalSettings.php wfAddNamespace( 1210, 'Mantis' ); $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/MantisBT/MantisBT.yaml"; == Export == -@todo - + php export.php --target=$EXPORTPATH --groupprefix=out-mantis- --lang='*' --skip=en --threshold=35 Added: trunk/translatewiki/Mwlib/README =================================================================== --- trunk/translatewiki/Mwlib/README (rev 0) +++ trunk/translatewiki/Mwlib/README 2012-03-11 22:17:12 UTC (rev 113596) @@ -0,0 +1,11 @@ +== Setup == + cd %GROUPROOT% + git clone git://github.com/pediapress/mwlib.rl.git mwlib.rl + +Add to your LocalSettings.php: + wfAddNamespace( 1212, 'Mwlib' ); + $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Mwlib/Mwlibrl.yaml"; + +== Export === + php export.php --target=$EXPORTPATH/ --lang='*' --group=out-mwlibrl --ppgettext=%GROUPROOT% --threshold=10 + php export.php --target=$EXPORTPATH/ --lang=qqq --group=out-mwlibrl --ppgettext=%GROUPROOT% Property changes on: trunk/translatewiki/Mwlib/README ___________________________________________________________________ Added: svn:eol-style + native Modified: trunk/translatewiki/StatusNet/README =================================================================== --- trunk/translatewiki/StatusNet/README 2012-03-11 22:06:51 UTC (rev 113595) +++ trunk/translatewiki/StatusNet/README 2012-03-11 22:17:12 UTC (rev 113596) @@ -6,7 +6,7 @@ git clone git://gitorious.org/statusnet/mainline.git statusnet </source> -Then check out the current development branch (origin/0.9.x) in the clone. +Then check out the current development branch (origin/1.0.x) in the clone. ==Settings== <source lang="php"> @@ -35,7 +35,7 @@ echo "Rebuilding POT..." $HOME/statusnet/scripts/update_po_templates.php echo "Exporting all StatusNet groups in languages over 35%..." -php $SCRIPTPATH/export.php --target=$EXPORTPATH/ --lang=* --skip=en,qqq --threshold=35 --ppgettext=$HOME --grouptrail=out-statusnet +php $SCRIPTPATH/export.php --target=$EXPORTPATH/ --lang=* --skip=en,qqq --threshold=35 --ppgettext=$HOME --groupprefix=out-statusnet echo "Copying updated POT files into export..." cd $HOME for i in `find statusnet |grep [.]pot$ |grep locale` _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs