2008-01-13 01:06:28 +00:00
|
|
|
<?php
|
|
|
|
|
2009-08-12 13:08:25 +00:00
|
|
|
$magicWords = array();
|
|
|
|
|
2008-01-13 01:06:28 +00:00
|
|
|
/**
|
2009-08-12 13:08:25 +00:00
|
|
|
* English
|
2008-01-13 01:06:28 +00:00
|
|
|
*/
|
2009-08-12 13:08:25 +00:00
|
|
|
'expr' => array( 0, 'expr' ),
|
|
|
|
'if' => array( 0, 'if' ),
|
|
|
|
'ifeq' => array( 0, 'ifeq' ),
|
|
|
|
'ifexpr' => array( 0, 'ifexpr' ),
|
|
|
|
'iferror' => array( 0, 'iferror' ),
|
|
|
|
'switch' => array( 0, 'switch' ),
|
|
|
|
'default' => array( 0, '#default' ),
|
|
|
|
'ifexist' => array( 0, 'ifexist' ),
|
|
|
|
'time' => array( 0, 'time' ),
|
|
|
|
'timel' => array( 0, 'timel' ),
|
|
|
|
'rel2abs' => array( 0, 'rel2abs' ),
|
|
|
|
'titleparts' => array( 0, 'titleparts' ),
|
|
|
|
'len' => array( 0, 'len' ),
|
|
|
|
'pos' => array( 0, 'pos' ),
|
|
|
|
'rpos' => array( 0, 'rpos' ),
|
|
|
|
'sub' => array( 0, 'sub' ),
|
|
|
|
'count' => array( 0, 'count' ),
|
|
|
|
'replace' => array( 0, 'replace' ),
|
|
|
|
'explode' => array( 0, 'explode' ),
|
|
|
|
);
|
2008-01-13 01:06:28 +00:00
|
|
|
|
2009-08-12 13:08:25 +00:00
|
|
|
/**
|
|
|
|
* Farsi-Persian
|
|
|
|
*/
|
|
|
|
$magicWords['fa'] = array(
|
|
|
|
'expr' => array( 0, 'حساب', 'expr' ),
|
|
|
|
'if' => array( 0, 'اگر', 'if' ),
|
|
|
|
'ifeq' => array( 0, 'اگرمساوی', 'ifeq' ),
|
|
|
|
'ifexpr' => array( 0, 'اگرحساب', 'ifexpr' ),
|
|
|
|
'iferror' => array( 0, 'اگرخطا', 'iferror' ),
|
|
|
|
'switch' => array( 0, 'گزینه', 'switch' ),
|
|
|
|
'default' => array( 0, '#پیشفرض', '#default' ),
|
|
|
|
'ifexist' => array( 0, 'اگرموجود', 'ifexist' ),
|
|
|
|
'time' => array( 0, 'زمان', 'time' ),
|
|
|
|
'timel' => array( 0, 'زمانبلند', 'timel' ),
|
|
|
|
'rel2abs' => array( 0, 'نسبیبهمطلق', 'rel2abs' ),
|
|
|
|
'titleparts' => array( 0, 'پارهعنوان', 'titleparts' ),
|
|
|
|
);
|
2008-01-13 01:06:28 +00:00
|
|
|
|
2009-08-12 13:08:25 +00:00
|
|
|
/**
|
|
|
|
* Hebrew
|
|
|
|
*/
|
|
|
|
$magicWords['he'] = array(
|
|
|
|
'expr' => array( 0, 'חשב', 'expr' ),
|
|
|
|
'if' => array( 0, 'תנאי', 'if' ),
|
|
|
|
'ifeq' => array( 0, 'שווה', 'ifeq' ),
|
|
|
|
'ifexpr' => array( 0, 'חשב תנאי', 'ifexpr' ),
|
|
|
|
'iferror' => array( 0, 'תנאי שגיאה', 'iferror' ),
|
|
|
|
'switch' => array( 0, 'בחר', 'switch' ),
|
|
|
|
'default' => array( 0, '#ברירת מחדל', '#default' ),
|
|
|
|
'ifexist' => array( 0, 'קיים', 'ifexist' ),
|
|
|
|
'time' => array( 0, 'זמן', 'time' ),
|
|
|
|
'timel' => array( 0, 'זמןמ', 'timel' ),
|
|
|
|
'rel2abs' => array( 0, 'יחסי למוחלט', 'rel2abs' ),
|
|
|
|
'titleparts' => array( 0, 'חלק בכותרת', 'titleparts' ),
|
|
|
|
);
|
2008-01-13 01:06:28 +00:00
|
|
|
|
2009-08-12 13:08:25 +00:00
|
|
|
/**
|
|
|
|
* Indonesian
|
|
|
|
*/
|
|
|
|
$magicWords['id'] = array(
|
|
|
|
'expr' => array( 0, 'hitung', 'expr' ),
|
|
|
|
'if' => array( 0, 'jika', 'if' ),
|
|
|
|
'ifeq' => array( 0, 'jikasama', 'ifeq' ),
|
|
|
|
'ifexpr' => array( 0, 'jikahitung', 'ifexpr' ),
|
|
|
|
'iferror' => array( 0, 'jikasalah', 'iferror' ),
|
|
|
|
'switch' => array( 0, 'pilih', 'switch' ),
|
|
|
|
'default' => array( 0, '#baku', '#default' ),
|
|
|
|
'ifexist' => array( 0, 'jikaada', 'ifexist' ),
|
|
|
|
'time' => array( 0, 'waktu', 'time' ),
|
|
|
|
'timel' => array( 0, 'waktu1', 'timel' ),
|
|
|
|
'rel2abs' => array( 0, 'rel2abs' ),
|
|
|
|
'titleparts' => array( 0, 'bagianjudul', 'titleparts' ),
|
|
|
|
);
|
2009-02-02 17:45:44 +00:00
|
|
|
|
2009-08-12 13:08:25 +00:00
|
|
|
/**
|
|
|
|
* Yiddish
|
|
|
|
*/
|
|
|
|
$magicWords['yi'] = array(
|
|
|
|
'expr' => array( 0, 'רעכן', 'expr' ),
|
|
|
|
'if' => array( 0, 'תנאי', 'if' ),
|
|
|
|
'ifeq' => array( 0, 'גלייך', 'ifeq' ),
|
|
|
|
'ifexpr' => array( 0, 'אויברעכן', 'ifexpr' ),
|
|
|
|
'switch' => array( 0, 'קלייב', 'switch' ),
|
|
|
|
'default' => array( 0, '#גרונט', '#default' ),
|
|
|
|
'ifexist' => array( 0, 'עקזיסט', 'ifexist' ),
|
|
|
|
'time' => array( 0, 'צייט', 'time' ),
|
|
|
|
'timel' => array( 0, 'צייטל', 'timel' ),
|
|
|
|
);
|