Index: trunk/extensions/GeoData/CoordinatesParserFunction.php |
— | — | @@ -109,8 +109,7 @@ |
110 | 110 | } |
111 | 111 | $geoData->limitExceeded = true; |
112 | 112 | return Status::newFatal( 'geodata-limit-exceeded', |
113 | | - $wgContLang->formatNum( $wgMaxCoordinatesPerPage ), |
114 | | - $wgMaxCoordinatesPerPage |
| 113 | + $wgContLang->formatNum( $wgMaxCoordinatesPerPage ) |
115 | 114 | ); |
116 | 115 | } |
117 | 116 | if ( $coord->primary ) { |
Index: trunk/extensions/GeoData/GeoData.i18n.php |
— | — | @@ -8,6 +8,9 @@ |
9 | 9 | |
10 | 10 | $messages = array(); |
11 | 11 | |
| 12 | +/** English |
| 13 | + * @author Max Semenik |
| 14 | + */ |
12 | 15 | $messages['en'] = array( |
13 | 16 | 'geodata-desc' => 'Adds geographical coordinates storage and retrieval functionality.', |
14 | 17 | 'geodata-bad-input' => 'Invalid arguments have been passed to the <nowiki>{{#coordinates:}}</nowiki> function', |
— | — | @@ -15,11 +18,14 @@ |
16 | 19 | 'geodata-bad-longitude' => '<nowiki>{{#coordinates:}}</nowiki>: invalid longitude', |
17 | 20 | 'geodata-bad-region' => '<nowiki>{{#coordinates:}}</nowiki>: invalid region code format', |
18 | 21 | 'geodata-multiple-primary' => '<nowiki>{{#coordinates:}}</nowiki>: cannot have more than one primary tag per page', |
19 | | - 'geodata-limit-exceeded' => 'The limit of $1 <nowiki>{{#coordinates:}}</nowiki> {{PLURAL:$2|tag|tags}} per page has been exceeded', |
| 22 | + 'geodata-limit-exceeded' => 'The limit of $1 <nowiki>{{#coordinates:}}</nowiki> {{PLURAL:$1|tag|tags}} per page has been exceeded', |
20 | 23 | 'geodata-broken-tags-category' => 'Pages with malformed coordinate tags', |
21 | 24 | 'geodata-primary-coordinate' => 'primary', |
22 | 25 | ); |
23 | 26 | |
| 27 | +/** Message documentation (Message documentation) |
| 28 | + * @author Max Semenik |
| 29 | + */ |
24 | 30 | $messages['qqq'] = array( |
25 | 31 | 'geodata-desc' => '{{desc}}', |
26 | 32 | 'geodata-limit-exceeded' => '$1 is a number', |
— | — | @@ -27,6 +33,9 @@ |
28 | 34 | 'geodata-primary-coordinate' => 'Localised name of parameter that makes <nowiki>{{#coordinates:}}</nowiki> tag primary', |
29 | 35 | ); |
30 | 36 | |
| 37 | +/** Russian (Русский) |
| 38 | + * @author Max Semenik |
| 39 | + */ |
31 | 40 | $messages['ru'] = array( |
32 | 41 | 'geodata-multiple-primary' => '<nowiki>{{#coordinates:}}</nowiki>: нельзя иметь более одной первичной метки на странице', |
33 | | -); |
\ No newline at end of file |
| 42 | +); |