r51008 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51007‎ | r51008 | r51009 >
Date:11:44, 26 May 2009
Author:siebrand
Status:deferred
Tags:
Comment:
* some message files were renamed, adapting.
* add optional and ignored.
Modified paths:
  • /trunk/extensions/Translate/groups/Nocc.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/Nocc.php
@@ -20,17 +20,17 @@
2121 public function setPath( $value ) { $this->fileDir = $value; }
2222
2323 protected $codeMap = array(
24 - 'fa' => 'farsi',
2524 'sr-el' => 'sr',
26 - 'ko' => 'kr',
27 - 'zh-hans' => 'zh-gb',
28 - 'zh-hant' => 'zh-tw',
2925 );
3026
31 -/* protected $optional = array(
32 - 'key',
33 - ); */
 27+ protected $optional = array(
 28+ 'lang_locale', 'lang_dir',
 29+ );
3430
 31+ protected $ignored = array(
 32+ 'charset',
 33+ );
 34+
3535 public $header = '<?php
3636 /**
3737 * Language configuration file for NOCC

Status & tagging log