Index: trunk/extensions/NaturalLanguageList/NaturalLanguageList.i18n.php |
— | — | @@ -1,13 +1,35 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Internationalisation file for extension NaturalLanguageList. |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | + */ |
3 | 8 | |
| 9 | +$messages = array(); |
| 10 | + |
| 11 | +/** English */ |
4 | 12 | $messages['en'] = array ( |
5 | | - 'nll-itemoutput' => '$1', |
6 | | - 'nll-separator' => ', ', |
7 | | - 'nll-lastseparator' => ' and ', |
| 13 | + 'nll-desc' => 'Easy formatting of lists in natural languages', |
| 14 | + 'nll-itemoutput' => '$1', # do not translate or duplicate this message to other languages |
| 15 | + 'nll-separator' => ', ', # only translate this message to other languages if you have to change it |
| 16 | + 'nll-lastseparator' => ' and ', |
8 | 17 | ); |
| 18 | + |
| 19 | +/** Danish (Dansk) */ |
9 | 20 | $messages['da'] = array ( |
10 | 21 | 'nll-lastseparator' => ' og ', |
11 | 22 | ); |
| 23 | + |
| 24 | +/** Estonian (Eesti) */ |
12 | 25 | $messages['et'] = array ( |
13 | 26 | 'nll-lastseparator' => ' ning ', |
14 | 27 | ); |
| 28 | + |
| 29 | +/** Message documentation (Message documentation) |
| 30 | + * @author Raimond Spekking |
| 31 | + */ |
| 32 | +$messages['qqq'] = array( |
| 33 | + 'nll-separator' => '{{Optional}}', |
| 34 | + 'nll-lastseparator' => '{{Identical/And}}', |
| 35 | +); |
| 36 | + |
Index: trunk/extensions/NaturalLanguageList/NaturalLanguageList.php |
— | — | @@ -37,10 +37,12 @@ |
38 | 38 | */ |
39 | 39 | |
40 | 40 | $wgExtensionCredits['parserhook'][] = array( |
| 41 | + 'path' => __FILE__, |
41 | 42 | 'name' => 'Natural Language List', |
42 | 43 | 'author' => array( 'Svip', 'Happy-melon', 'Conrad Irwin' ), |
43 | 44 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Natural_Language_List', |
44 | 45 | 'description' => 'Easy formatting of lists in natural languages.', |
| 46 | + 'descriptionmsg' => 'nll-desc', |
45 | 47 | 'version' => '2.2' |
46 | 48 | ); |
47 | 49 | |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -685,6 +685,11 @@ |
686 | 686 | MW Releases |
687 | 687 | ignored = mwreleases-list |
688 | 688 | |
| 689 | +Natural Language List |
| 690 | +descmsg = nll-desc |
| 691 | +ignored = nll-itemoutput |
| 692 | +optional = nll-separator |
| 693 | + |
689 | 694 | Navigation Popups |
690 | 695 | |
691 | 696 | Negref |