Index: trunk/extensions/Transliterator/Transliterator.i18n.php |
— | — | @@ -6,8 +6,11 @@ |
7 | 7 | |
8 | 8 | /** |
9 | 9 | * English |
| 10 | + * @author: Conrad.Irwin |
| 11 | + * @author: Purodha |
10 | 12 | */ |
11 | 13 | $messages['en'] = array( |
| 14 | + 'transliterator-desc' => "Provides a configurable parser function for transliteration", |
12 | 15 | 'transliterator-invoke' => 'transliterate', // {{#transliterate:blah}} |
13 | 16 | 'transliterator-prefix' => 'Transliterator:', // [[MediaWiki:Transliterator:blah]] NOTE: changing this requires moving all maps |
14 | 17 | // $1 is the line from the map, 'a => z', $2 is the map-page including prefix. |
— | — | @@ -17,5 +20,42 @@ |
18 | 21 | 'transliterator-error-rulecount' => "More than $1 rules in [[MediaWiki:$2]]", |
19 | 22 | // $2 is the limit on the length of the left hand side (e.g. 'alpha => beta' has 5) |
20 | 23 | 'transliterator-error-rulesize' => "Rule '$1' has more than $2 characters on the left in [[MediaWiki:$3]]", |
21 | | - 'transliterator-description' => "Provides a configurable parser function for transliteration" |
22 | 24 | ); |
| 25 | + |
| 26 | +/** |
| 27 | + * Message Documentation. |
| 28 | + * @author: Purodha |
| 29 | + */ |
| 30 | +$messages['qqq'] = array( |
| 31 | + 'transliterator-desc' => 'This is a short description of the extension. It is shown in [[Special:Version]].', |
| 32 | + 'transliterator-invoke' => "This is the name of a parserfunction: {<nowiki />{#transliterate:''blah''}}", |
| 33 | + 'transliterator-prefix' => "This is a prefix for the transliteration maps, used in the MediaWiki namespace like [<nowiki />[MediaWiki:Transliterator:''blah'']]. Changing this requires moving all maps.", |
| 34 | + 'transliterator-error-ambiguous' => 'Parameters: |
| 35 | +* $1 is the line from the map, such as: <code>a => z</code> |
| 36 | +* $2 is the map-page including thr prefix {{msg-mw|transliterator-invoke}}', |
| 37 | + 'transliterator-error-syntax' => 'Parameters: |
| 38 | +* $1 is the line from the map, such as: <code>a => z</code> |
| 39 | +* $2 is the map-page including thr prefix {{msg-mw|transliterator-invoke}}', |
| 40 | + 'transliterator-error-rulecount' => 'Parameters: |
| 41 | +* $1 is the limit on number of rules |
| 42 | +* $2 is the map-page including thr prefix {{msg-mw|transliterator-invoke}}', |
| 43 | + 'transliterator-error-rulesize' => 'Parameters: |
| 44 | +* $1 is the line from the map, such as: <code>a => z</code> |
| 45 | +* $2 is the limit on the length of the left hand side (e.g. <code>alpha => beta</code> has 5) |
| 46 | +* $3 is the map-page including thr prefix {{msg-mw|transliterator-invoke}}', |
| 47 | +); |
| 48 | + |
| 49 | +/** |
| 50 | + * Ripuarian (Ripoaresch) |
| 51 | + * @author: Purodha |
| 52 | + */ |
| 53 | +$messages['ksh'] = array( |
| 54 | + 'transliterator-desc' => 'Deiht en ennslellba Paaserfunxjuhn en et Wiki, di Boochshtabe tuusche kann.', |
| 55 | + 'transliterator-invoke' => 'transliterate', |
| 56 | + 'transliterator-prefix' => 'Transliterator:', |
| 57 | + 'transliterator-error-ambiguous' => 'Unkloh Rejel <code>$1</code> en [[MediaWiki:$2]]', |
| 58 | + 'transliterator-error-syntax' => 'En kappodde syntax <code>$1</code> es en [[MediaWiki:$2]]', |
| 59 | + 'transliterator-error-rulecount' => 'Et sin mieh wi $1 Rejelle en [[MediaWiki:$2]]', |
| 60 | + 'transliterator-error-rulesize' => 'En de Rejel <code>$1</code> sinn_er mieh wi $2 Zeische op de lengke Sigg, en [[MediaWiki:$3]]', |
| 61 | +); |
| 62 | + |
Index: trunk/extensions/Transliterator/Transliterator.php |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | $wgExtensionCredits['parserhook'][] = array( |
22 | 22 | 'name' => "Transliterator", |
23 | 23 | 'version' => "1.0", |
24 | | - 'descriptionmsg' => "transliterator-description", |
| 24 | + 'descriptionmsg' => "transliterator-desc", |
25 | 25 | 'author' => 'Conrad Irwin', |
26 | 26 | 'url' => 'http://en.wiktionary.org/wiki/User:Conrad.Irwin/Transliterator.php' |
27 | 27 | ); |