r92719 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92718‎ | r92719 | r92720 >
Date:00:44, 21 July 2011
Author:demon
Status:deferred (Comments)
Tags:
Comment:
Resolve fixmes on r92436, r92439 by readding prefix to msg names
Modified paths:
  • /trunk/extensions/PageSchemas/PageSchemas.i18n.php (modified) (history)
  • /trunk/extensions/PageSchemas/specials/GeneratePages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/specials/GeneratePages.php
@@ -15,8 +15,8 @@
1616 global $wgRequest, $wgOut;
1717 global $wgSkin;
1818 $this->setHeaders();
19 - $generate_page_text = wfMsg( 'generatepages' );
20 - $generate_page_desc = wfMsg( 'generatepages-desc' );
 19+ $generate_page_text = wfMsg( 'ps-generatepages' );
 20+ $generate_page_desc = wfMsg( 'ps-generatepages-desc' );
2121 $param = $wgRequest->getText('param');
2222 $text_1 = '<p>All pages will be generated! </p>';
2323 if ( $param != "" && $category != "" ) {
Index: trunk/extensions/PageSchemas/PageSchemas.i18n.php
@@ -15,12 +15,12 @@
1616 $messages = array();
1717
1818 $messages['en'] = array(
19 - 'pageschemas-desc' => 'XML schemas for defining the structure of wiki pages',
 19+ 'pageschemas-desc' => 'Supports templates defining their data structure via XML markup',
2020 'pageschemas-header' => 'The XML definition for this template is:',
2121 'ps-property-isproperty' => 'This is a property of type $1.',
2222 'ps-property-allowedvals' => 'The allowed {{PLURAL:$1|value for this property is|values for this property are}}:',
23 - 'generatepages' => 'Generate pages',
24 - 'generatepages-desc' => 'Generate the following pages, based on this category\'s schema:',
 23+ 'ps-generate-pages' => 'Generate Pages',
 24+ 'ps-generate-pages-desc' => 'Generate the following pages, based on this category\'s schema:',
2525 );
2626
2727 /** Message documentation (Message documentation)
@@ -66,8 +66,8 @@
6767 'pageschemas-header' => 'XML-вызначэньне гэтага шаблёну:',
6868 'ps-property-isproperty' => 'Гэта ўласьцівасьць тыпу $1.',
6969 'ps-property-allowedvals' => '{{PLURAL:$1|Дазволенае значэньне|Дазволеныя значэньні}} для гэтай уласьцівасьці:',
70 - 'generatepages' => 'Стварыць старонкі',
71 - 'generatepages-desc' => 'Стварае старонкі, зыходзячы са схемы катэгорыі:',
 70+ 'ps-generate-pages' => 'Стварыць старонкі',
 71+ 'ps-generate-pages-desc' => 'Стварае старонкі, зыходзячы са схемы катэгорыі:',
7272 );
7373
7474 /** Breton (Brezhoneg)
@@ -95,8 +95,8 @@
9696 'pageschemas-header' => 'Die XML-Definition für diese Vorlage ist:',
9797 'ps-property-isproperty' => 'Dies ist ein Attribut vom Datentyp $1.',
9898 'ps-property-allowedvals' => '{{PLURAL:$1|Der zulässige Wert für dieses Attribut lautet|Die zulässigen Werte für dieses Attribut lauten}}:',
99 - 'generatepages' => 'Seiten generieren',
100 - 'generatepages-desc' => 'Generiere die folgenden Seiten auf Basis des Schemas dieser Kategorie:',
 99+ 'ps-generate-pages' => 'Seiten generieren',
 100+ 'ps-generate-pages-desc' => 'Generiere die folgenden Seiten auf Basis des Schemas dieser Kategorie:',
101101 );
102102
103103 /** Lower Sorbian (Dolnoserbski)
@@ -172,8 +172,8 @@
173173 'pageschemas-header' => 'הגדרת ה־XML עבור תבנית זו היא:',
174174 'ps-property-isproperty' => 'זהו מאפיין מסוג $1.',
175175 'ps-property-allowedvals' => '{{PLURAL:$1|הערך התקין למאפיין הזה הוא|הערכים התקינים למאפיין הזה הם}}:',
176 - 'generatepages' => 'יצירת דפים',
177 - 'generatepages-desc' => 'לחולל את דפי הוויקי הבאים, לפי הסכֵמה של הקטגוריה הזאת:',
 176+ 'ps-generate-pages' => 'יצירת דפים',
 177+ 'ps-generate-pages-desc' => 'לחולל את דפי הוויקי הבאים, לפי הסכֵמה של הקטגוריה הזאת:',
178178 );
179179
180180 /** Upper Sorbian (Hornjoserbsce)
@@ -200,8 +200,8 @@
201201 'pageschemas-header' => 'Le definition XML pro iste patrono es:',
202202 'ps-property-isproperty' => 'Isto es un proprietate del typo $1.',
203203 'ps-property-allowedvals' => 'Le {{PLURAL:$1|valor|valores}} permittite pro iste proprietate es:',
204 - 'generatepages' => 'Generar paginas',
205 - 'generatepages-desc' => 'Generar le sequente paginas a base del schema de iste categoria:',
 204+ 'ps-generate-pages' => 'Generar paginas',
 205+ 'ps-generate-pages-desc' => 'Generar le sequente paginas a base del schema de iste categoria:',
206206 );
207207
208208 /** Indonesian (Bahasa Indonesia)
@@ -249,7 +249,7 @@
250250 $messages['lb'] = array(
251251 'pageschemas-desc' => "XML Schemae fir d'Struktur vu Wikisäiten ze definéieren",
252252 'pageschemas-header' => "D'XML-Definitioun fir dës Schabloun ass:",
253 - 'generatepages' => 'Säite generéieren',
 253+ 'ps-generate-pages' => 'Säite generéieren',
254254 );
255255
256256 /** Macedonian (Македонски)
@@ -260,8 +260,8 @@
261261 'pageschemas-header' => 'XML-определбата за овој шаблон е:',
262262 'ps-property-isproperty' => 'Ова е својство од типот $1.',
263263 'ps-property-allowedvals' => '{{PLURAL:$1|Допуштената вредност за ова својство е|Допуштените вредности за ова својство се}}:',
264 - 'generatepages' => 'Создај страници',
265 - 'generatepages-desc' => 'Создај ги следниве страници врз основа на шемата на категоријата:',
 264+ 'ps-generate-pages' => 'Создај страници',
 265+ 'ps-generate-pages-desc' => 'Создај ги следниве страници врз основа на шемата на категоријата:',
266266 );
267267
268268 /** Dutch (Nederlands)
@@ -324,8 +324,8 @@
325325 'pageschemas-header' => 'O modelo de dados em XML para esta predefinição é:',
326326 'ps-property-isproperty' => 'Esta é uma propriedade do tipo $1.',
327327 'ps-property-allowedvals' => '{{PLURAL:$1|O valor permitido para esta propriedade é|Os valores permitidos para esta propriedade são}}:',
328 - 'generatepages' => 'Gerar Páginas',
329 - 'generatepages-desc' => 'Gerar as seguintes páginas, com base no modelo de dados desta categoria:',
 328+ 'ps-generate-pages' => 'Gerar Páginas',
 329+ 'ps-generate-pages-desc' => 'Gerar as seguintes páginas, com base no esquema desta categoria:',
330330 );
331331
332332 /** Brazilian Portuguese (Português do Brasil)
@@ -360,8 +360,8 @@
361361 'pageschemas-header' => 'Opredelitev XML predloge je:',
362362 'ps-property-isproperty' => 'To je lastnost vrste $1.',
363363 'ps-property-allowedvals' => '{{PLURAL:$1|Dovoljena vrednost te lastnosti je|Dovoljeni vrednosti te lastnosti sta|Dovoljene vrednosti te lastnosti so}}:',
364 - 'generatepages' => 'Ustvarjajte strani',
365 - 'generatepages-desc' => 'Ustvari naslednje strani, temelječe na shemi te kategorije:',
 364+ 'ps-generate-pages' => 'Ustvarjajte strani',
 365+ 'ps-generate-pages-desc' => 'Ustvari naslednje strani, temelječe na shemi te kategorije:',
366366 );
367367
368368 /** Serbian Cyrillic ekavian (‪Српски (ћирилица)‬)

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92436modifying few names to match standardsankitgarg83315:37, 18 July 2011
r92439changing the key. ps-generate-pages to generatepagesankitgarg83315:41, 18 July 2011

Comments

#Comment by 😂 (talk | contribs)   00:45, 21 July 2011

And on r92437.

Status & tagging log