r22868 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22867‎ | r22868 | r22869 >
Date:16:52, 9 June 2007
Author:ivanlanin
Status:old
Tags:
Comment:
Indonesian (id) ParserFunctions magic words.
Modified paths:
  • /trunk/extensions/ParserFunctions/ParserFunctions.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserFunctions/ParserFunctions.i18n.php
@@ -8,7 +8,7 @@
99 */
1010 function efParserFunctionsWords( $lang ) {
1111 $words = array();
12 -
 12+
1313 /**
1414 * English
1515 */
@@ -24,7 +24,7 @@
2525 'rel2abs' => array( 0, 'rel2abs' ),
2626 'titleparts' => array( 0, 'titleparts' ),
2727 );
28 -
 28+
2929 /**
3030 * Farsi-Persian
3131 */
@@ -54,8 +54,24 @@
5555 'time' => array( 0, 'זמן', 'time' ),
5656 'rel2abs' => array( 0, 'יחסי למוחלט', 'rel2abs' ),
5757 'titleparts' => array( 0, 'חלק בכותרת', 'titleparts' ),
58 - );
 58+ );
5959
 60+ /**
 61+ * Indonesian
 62+ */
 63+ $words['id'] = array(
 64+ 'expr' => array( 0, 'hitung', 'expr' ),
 65+ 'if' => array( 0, 'jika', 'if' ),
 66+ 'ifeq' => array( 0, 'jikasama', 'ifeq' ),
 67+ 'ifexpr' => array( 0, 'jikahitung', 'ifexpr' ),
 68+ 'switch' => array( 0, 'pilih', 'switch' ),
 69+ 'default' => array( 0, '#baku', '#default' ),
 70+ 'ifexist' => array( 0, 'jikaada', 'ifexist' ),
 71+ 'time' => array( 0, 'waktu', 'time' ),
 72+ 'rel2abs' => array( 0, 'rel2abs' ),
 73+ 'titleparts' => array( 0, 'bagianjudul', 'titleparts' ),
 74+ );
 75+
6076 # English is used as a fallback, and the English synonyms are
6177 # used if a translation has not been provided for a given word
6278 return ( $lang == 'en' || !isset( $words[$lang] ) )

Status & tagging log