From: Antoine Musso Date: Fri, 3 Sep 2004 18:52:58 +0000 (+0000) Subject: Comments. No more alpha version X-Git-Tag: 1.5.0alpha1~2134 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=641cfc1d61050bbfa750a2b40853d20e577c7c5f;p=lhc%2Fweb%2Fwiklou.git Comments. No more alpha version --- diff --git a/maintenance/DiffLanguage.php b/maintenance/DiffLanguage.php index 359403267d..59bb36dcb9 100644 --- a/maintenance/DiffLanguage.php +++ b/maintenance/DiffLanguage.php @@ -18,23 +18,23 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # http://www.gnu.org/copyleft/gpl.html +/** + * The goal is to get a list of messages not yet localised in a + * languageXX.php file using the language.php file as reference. + * + * Usage: + * php DiffLanguage.php + * + * Enter the language code following "Language" of the LanguageXX.php + * you want to check. If using linux you might need to follow case aka + * Zh and not zh. + * + * The script then print a list of wgAllMessagesXX keys that aren't + * localised, a percentage of messages correctly localised and the + * number of messages to be translated. + */ -# This script is an alpha version. -# -# The goal is to get a list of messages not yet localised in a -# languageXX.php file using the language.php file as reference. -# -# Usage: -# php DiffLanguage.php -# -# Enter the language code following "Language" of the LanguageXX.php -# you want to check. If using linux you might need to follow case aka -# Zh and not zh. -# -# The script then print a list of wgAllMessagesXX keys that aren't -# localised, a percentage of messages correctly localised and the -# number of messages to be translated. - +/** This script run from the commandline */ require_once( "commandLine.inc" ); $wgLanguageCode = strtoupper(substr($wgLanguageCode,0,1)).strtolower(substr($wgLanguageCode,1));