Index: trunk/extensions/SemanticPageSeries/SemanticPageSeries.i18n.php |
— | — | @@ -12,20 +12,20 @@ |
13 | 13 | 'semanticpageseries-desc' => 'Creating a series of pages from one [https://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Form]', |
14 | 14 | 'spssuccesstitle' => 'Creating $1 pages', |
15 | 15 | 'spssuccess' => '{{PLURAL:$1|One page|$1 pages}} will be created.', |
16 | | - 'spssuccess_returntoorigin' => 'Return to $1', |
| 16 | + 'spssuccess-returntoorigin' => 'Return to $1', |
17 | 17 | 'spserror' => 'An error occurred', |
18 | 18 | |
19 | | - 'spserror_diffnotsupported' => 'The diff action is not supported for page series.', |
20 | | - 'spserror_previewnotsupported' => 'The preview action is not supported for page series.', |
21 | | - 'spserror_noiteratorname' => 'No iterator specified. You have to set the parameter "iterator" in the #serieslink parser function call.', |
22 | | - 'spserror_iteratorunknown' => 'Iterator "$1" does not exist. You have to correct the parameter "iterator" in the #serieslink parser function call.', |
23 | | - 'spserror_noformname' => 'No form name given. You have to set the parameter "form" in the #serieslink parser function.', |
24 | | - 'spserror_formunknown' => 'Form "$1" does not exist.', |
25 | | - 'spserror_notargetformname' => 'No target form name given. You have to set the parameter "target form" in the #serieslink parser function call.', |
26 | | - 'spserror_notargetfieldname' => 'No target field name given. You have to set the parameter "target field" in the #serieslink parser function call.', |
27 | | - 'spserror_iteratorparammissing' => "The following iterator parameters are missing in the #serieslink call:\n$1", |
28 | | - 'spserror_noiteratordata' => 'No iterator parameters found in the sent data.', |
29 | | - 'spserror_pagegenerationlimitexeeded' => 'You tried to generate {{PLURAL:$1|one page|$1 pages}}. This exeeds your allowed limit of {{PLURAL:$2|one page|$2 pages}}.', |
| 19 | + 'spserror-diffnotsupported' => 'The diff action is not supported for page series.', |
| 20 | + 'spserror-previewnotsupported' => 'The preview action is not supported for page series.', |
| 21 | + 'spserror-noiteratorname' => 'No iterator specified. You have to set the parameter "iterator" in the #serieslink parser function call.', |
| 22 | + 'spserror-iteratorunknown' => 'Iterator "$1" does not exist. You have to correct the parameter "iterator" in the #serieslink parser function call.', |
| 23 | + 'spserror-noformname' => 'No form name given. You have to set the parameter "form" in the #serieslink parser function.', |
| 24 | + 'spserror-formunknown' => 'Form "$1" does not exist.', |
| 25 | + 'spserror-notargetformname' => 'No target form name given. You have to set the parameter "target form" in the #serieslink parser function call.', |
| 26 | + 'spserror-notargetfieldname' => 'No target field name given. You have to set the parameter "target field" in the #serieslink parser function call.', |
| 27 | + 'spserror-iteratorparammissing' => "The following iterator parameters are missing in the #serieslink call:\n$1", |
| 28 | + 'spserror-noiteratordata' => 'No iterator parameters found in the sent data.', |
| 29 | + 'spserror-pagegenerationlimitexeeded' => 'You tried to generate {{PLURAL:$1|one page|$1 pages}}. This exeeds your allowed limit of {{PLURAL:$2|one page|$2 pages}}.', |
30 | 30 | ); |
31 | 31 | |
32 | 32 | /** Message documentation (Message documentation) |
— | — | @@ -36,19 +36,19 @@ |
37 | 37 | 'semanticpageseries-desc' => '{{desc}}', |
38 | 38 | 'spssuccesstitle' => 'The title of a page containing a success message. The parameter will contain the category of pages to be created, e.g. Event', |
39 | 39 | 'spssuccess' => 'A success message. The parameter will contain a number.', |
40 | | - 'spssuccess_returntoorigin' => 'Provides navigation back to the origin page. The parameter is the link.', |
| 40 | + 'spssuccess-returntoorigin' => 'Provides navigation back to the origin page. The parameter is the link.', |
41 | 41 | 'spserror' => 'The title of en error page', |
42 | | - 'spserror_diffnotsupported' => 'An error message', |
43 | | - 'spserror_previewnotsupported' => 'An error message', |
44 | | - 'spserror_noiteratorname' => 'An error message. See the [[wikipedia:Iterator | wikipedia page]] for the meaning of iterator. The name of the parameter in quotes should not be translated!', |
45 | | - 'spserror_iteratorunknown' => 'An error message. See the [[wikipedia:Iterator | wikipedia page]] for the meaning of iterator. The name of the parameter in quotes should not be translated!', |
46 | | - 'spserror_noformname' => 'An error message. The name of the parameter in quotes should not be translated!', |
47 | | - 'spserror_formunknown' => 'An error message', |
48 | | - 'spserror_notargetformname' => 'An error message. The name of the parameter in quotes should not be translated!', |
49 | | - 'spserror_notargetfieldname' => 'An error message. The name of the parameter in quotes should not be translated!', |
50 | | - 'spserror_iteratorparammissing' => 'An error message. See the [[wikipedia:Iterator | wikipedia page]] for the meaning of iterator. Do not translate <code>#serieslink</code>.', |
51 | | - 'spserror_noiteratordata' => 'An error message. See the [[wikipedia:Iterator | wikipedia page]] for the meaning of iterator.', |
52 | | - 'spserror_pagegenerationlimitexeeded' => 'An error message', |
| 42 | + 'spserror-diffnotsupported' => 'An error message', |
| 43 | + 'spserror-previewnotsupported' => 'An error message', |
| 44 | + 'spserror-noiteratorname' => 'An error message. See the [[wikipedia:Iterator | wikipedia page]] for the meaning of iterator. The name of the parameter in quotes should not be translated!', |
| 45 | + 'spserror-iteratorunknown' => 'An error message. See the [[wikipedia:Iterator | wikipedia page]] for the meaning of iterator. The name of the parameter in quotes should not be translated!', |
| 46 | + 'spserror-noformname' => 'An error message. The name of the parameter in quotes should not be translated!', |
| 47 | + 'spserror-formunknown' => 'An error message', |
| 48 | + 'spserror-notargetformname' => 'An error message. The name of the parameter in quotes should not be translated!', |
| 49 | + 'spserror-notargetfieldname' => 'An error message. The name of the parameter in quotes should not be translated!', |
| 50 | + 'spserror-iteratorparammissing' => 'An error message. See the [[wikipedia:Iterator | wikipedia page]] for the meaning of iterator. Do not translate <code>#serieslink</code>.', |
| 51 | + 'spserror-noiteratordata' => 'An error message. See the [[wikipedia:Iterator | wikipedia page]] for the meaning of iterator.', |
| 52 | + 'spserror-pagegenerationlimitexeeded' => 'An error message', |
53 | 53 | ); |
54 | 54 | |
55 | 55 | /** German (Deutsch) |
— | — | @@ -59,18 +59,18 @@ |
60 | 60 | 'spssuccesstitle' => '$1 Seiten werden erstellt …', |
61 | 61 | 'spssuccess' => '{{PLURAL:$1|Eine Seite wird|$1 Seiten werden}} erstellt.', |
62 | 62 | 'spserror' => 'Ein Fehler ist aufgetreten', |
63 | | - 'spserror_diffnotsupported' => 'Die Aktion „diff“ wird nicht unterstützt.', |
64 | | - 'spserror_previewnotsupported' => 'Die Seitenvorschau wird nicht unterstützt.', |
65 | | - 'spserror_noiteratorname' => 'Der Seitenfolgebezeichner wurde nicht angegeben. Der Parameter „iterator“ muss zur Funktion #serieslink angegeben werden.', |
66 | | - 'spserror_iteratorunknown' => 'Der Seitenfolgebezeichner „$1“ ist nicht vorhanden. Der Parameter „iterator“ der Funktion #serieslink muss berichtigt werden.', |
67 | | - 'spserror_noformname' => 'Der Name des Formulars wurde nicht angegeben.', |
68 | | - 'spserror_formunknown' => 'Das Formular „$1“ ist nicht vorhanden.', |
69 | | - 'spserror_notargetformname' => 'Der Name des Zielformulars wurde nicht angegeben. Der Parameter „target form“ muss zur Funktion #serieslink angegeben werden.', |
70 | | - 'spserror_notargetfieldname' => 'Der Name des Zielfeldes wurde nicht angegeben. Der Parameter „target field“ muss zur Funktion #serieslink angegeben werden.', |
71 | | - 'spserror_iteratorparammissing' => 'Die folgenden Parameter zum Seitenfolgebezeichner fehlen beim Aufruf der Funktion #serieslink: |
| 63 | + 'spserror-diffnotsupported' => 'Die Aktion „diff“ wird nicht unterstützt.', |
| 64 | + 'spserror-previewnotsupported' => 'Die Seitenvorschau wird nicht unterstützt.', |
| 65 | + 'spserror-noiteratorname' => 'Der Seitenfolgebezeichner wurde nicht angegeben. Der Parameter „iterator“ muss zur Funktion #serieslink angegeben werden.', |
| 66 | + 'spserror-iteratorunknown' => 'Der Seitenfolgebezeichner „$1“ ist nicht vorhanden. Der Parameter „iterator“ der Funktion #serieslink muss berichtigt werden.', |
| 67 | + 'spserror-noformname' => 'Der Name des Formulars wurde nicht angegeben.', |
| 68 | + 'spserror-formunknown' => 'Das Formular „$1“ ist nicht vorhanden.', |
| 69 | + 'spserror-notargetformname' => 'Der Name des Zielformulars wurde nicht angegeben. Der Parameter „target form“ muss zur Funktion #serieslink angegeben werden.', |
| 70 | + 'spserror-notargetfieldname' => 'Der Name des Zielfeldes wurde nicht angegeben. Der Parameter „target field“ muss zur Funktion #serieslink angegeben werden.', |
| 71 | + 'spserror-iteratorparammissing' => 'Die folgenden Parameter zum Seitenfolgebezeichner fehlen beim Aufruf der Funktion #serieslink: |
72 | 72 | $1', |
73 | | - 'spserror_noiteratordata' => 'Die gesendeten Daten enthalten keine Parameter zum Seitenfolgebezeichner.', |
74 | | - 'spserror_pagegenerationlimitexeeded' => 'Es {{PLURAL:$1|sollte eine Seite|sollten $1 Seiten}} erstellt werden. Diese Anzahl übertrifft den zulässigen Grenzwert von {{PLURAL:$2|einer Seite|$2 Seiten}}.', |
| 73 | + 'spserror-noiteratordata' => 'Die gesendeten Daten enthalten keine Parameter zum Seitenfolgebezeichner.', |
| 74 | + 'spserror-pagegenerationlimitexeeded' => 'Es {{PLURAL:$1|sollte eine Seite|sollten $1 Seiten}} erstellt werden. Diese Anzahl übertrifft den zulässigen Grenzwert von {{PLURAL:$2|einer Seite|$2 Seiten}}.', |
75 | 75 | ); |
76 | 76 | |
77 | 77 | /** French (Français) |
— | — | @@ -81,18 +81,18 @@ |
82 | 82 | 'spssuccesstitle' => 'Créer $1 pages', |
83 | 83 | 'spssuccess' => '{{PLURAL:$1|Une page sera créée|$1 pages seront créées}}.', |
84 | 84 | 'spserror' => 'Une erreur est survenue', |
85 | | - 'spserror_diffnotsupported' => "L'action diff n'est pas supportée pour les séries de page.", |
86 | | - 'spserror_previewnotsupported' => "L'action de prévisualisation n'est pas supportée pour les séries de page.", |
87 | | - 'spserror_noiteratorname' => "Aucun itérateur n'a été spécifié. Vous devez définir le paramètre \"iterator\" dans l'appel à la fonction #serieslink de l'analyseur.", |
88 | | - 'spserror_iteratorunknown' => 'L\'itérateur "$1" n\'existe pas. Vous devez corriger le paramètre "iterator" dans l\'appel à la fonction #serieslink de l\'analyseur.', |
89 | | - 'spserror_noformname' => 'Aucun nom de formulaire n\'a été fourni. Vous devez définir le paramètre "form" dans la fonction #serieslink de l\'analyseur.', |
90 | | - 'spserror_formunknown' => 'Le formulaire "$1" n\'existe pas.', |
91 | | - 'spserror_notargetformname' => "Aucun nom de formulaire cible n'a été fourni. Vous devez définir le paramètre \"target form\" dans l'appel à la fonction #serieslink de l'analyseur.", |
92 | | - 'spserror_notargetfieldname' => "Aucun nom de champ cible n'a été fourni. Vous devez définir le paramètre \"target field\" dans l'appel à la fonction #serieslink de l'analyseur.", |
93 | | - 'spserror_iteratorparammissing' => "Les paramètres suivants de l'itérateur sont absents dans l'appel à #serieslink: |
| 85 | + 'spserror-diffnotsupported' => "L'action diff n'est pas supportée pour les séries de page.", |
| 86 | + 'spserror-previewnotsupported' => "L'action de prévisualisation n'est pas supportée pour les séries de page.", |
| 87 | + 'spserror-noiteratorname' => "Aucun itérateur n'a été spécifié. Vous devez définir le paramètre \"iterator\" dans l'appel à la fonction #serieslink de l'analyseur.", |
| 88 | + 'spserror-iteratorunknown' => 'L\'itérateur "$1" n\'existe pas. Vous devez corriger le paramètre "iterator" dans l\'appel à la fonction #serieslink de l\'analyseur.', |
| 89 | + 'spserror-noformname' => 'Aucun nom de formulaire n\'a été fourni. Vous devez définir le paramètre "form" dans la fonction #serieslink de l\'analyseur.', |
| 90 | + 'spserror-formunknown' => 'Le formulaire "$1" n\'existe pas.', |
| 91 | + 'spserror-notargetformname' => "Aucun nom de formulaire cible n'a été fourni. Vous devez définir le paramètre \"target form\" dans l'appel à la fonction #serieslink de l'analyseur.", |
| 92 | + 'spserror-notargetfieldname' => "Aucun nom de champ cible n'a été fourni. Vous devez définir le paramètre \"target field\" dans l'appel à la fonction #serieslink de l'analyseur.", |
| 93 | + 'spserror-iteratorparammissing' => "Les paramètres suivants de l'itérateur sont absents dans l'appel à #serieslink: |
94 | 94 | $1", |
95 | | - 'spserror_noiteratordata' => "Aucun paramètre de l'itérateur n'a été trouvé dans les données envoyées.", |
96 | | - 'spserror_pagegenerationlimitexeeded' => 'Vous avez essayé de générer {{PLURAL:$1|une page|$1 pages}}. Cela dépasse votre limite autorisée de {{PLURAL:$2|une page|$2 pages}}.', |
| 95 | + 'spserror-noiteratordata' => "Aucun paramètre de l'itérateur n'a été trouvé dans les données envoyées.", |
| 96 | + 'spserror-pagegenerationlimitexeeded' => 'Vous avez essayé de générer {{PLURAL:$1|une page|$1 pages}}. Cela dépasse votre limite autorisée de {{PLURAL:$2|une page|$2 pages}}.', |
97 | 97 | ); |
98 | 98 | |
99 | 99 | /** Upper Sorbian (Hornjoserbsce) |
— | — | @@ -103,17 +103,17 @@ |
104 | 104 | 'spssuccesstitle' => '$1 stronow so wutwarja', |
105 | 105 | 'spssuccess' => '{{PLURAL:$1|Jedna strona so wutwori|$1 stronje so wutworitej|$1 strony so wutworja|$1 stronow so wutwori}}.', |
106 | 106 | 'spserror' => 'Zmylk je wustupił', |
107 | | - 'spserror_diffnotsupported' => 'Akcija "diff" so za slědy stronow njepodpěruje.', |
108 | | - 'spserror_previewnotsupported' => 'Přehlad so za slědow stronow njepodpěruje.', |
109 | | - 'spserror_noiteratorname' => 'Žane iteratorowe mjeno njepodate. Parameter "iterator" dyrbi so we wołanju parseroweje funkcije #serieslink podać.', |
110 | | - 'spserror_iteratorunknown' => 'Iterator "$1" njeeksistuje. Parameter "iterator" dyrbi so we wołanju parseroweje funkcije #serieslink podać.', |
111 | | - 'spserror_noformname' => 'Žane formularne mjeno njepodate.', |
112 | | - 'spserror_formunknown' => 'Formular "$1" njeeksistuje.', |
113 | | - 'spserror_notargetformname' => 'Žadyn cilowy formular njepodaty. Parameter "target form" dyrbi so we wołanju parseroweje funkcije #serieslink podać.', |
114 | | - 'spserror_notargetfieldname' => 'Žane cilowe polo njepodate. Parameter "target field" dyrbi so we wołanju parseroweje funkcije #serieslink podać.', |
115 | | - 'spserror_iteratorparammissing' => 'Slědowace iteratorowe parametry při wołanju funkcije #serieslink faluja: $1', |
116 | | - 'spserror_noiteratordata' => 'Žane iteratorowe parametry w pósłanych datach namakane.', |
117 | | - 'spserror_pagegenerationlimitexeeded' => 'Sy spytał {{PLURAL:$1|jednu stronu|$1 stronje|$1 strony|$1 stronow}} płodźić. To překročuje dowoleny limit wot {{PLURAL:$2|jedneje strony|$2 stronow|$2 stronow|$1 stronow}}.', |
| 107 | + 'spserror-diffnotsupported' => 'Akcija "diff" so za slědy stronow njepodpěruje.', |
| 108 | + 'spserror-previewnotsupported' => 'Přehlad so za slědow stronow njepodpěruje.', |
| 109 | + 'spserror-noiteratorname' => 'Žane iteratorowe mjeno njepodate. Parameter "iterator" dyrbi so we wołanju parseroweje funkcije #serieslink podać.', |
| 110 | + 'spserror-iteratorunknown' => 'Iterator "$1" njeeksistuje. Parameter "iterator" dyrbi so we wołanju parseroweje funkcije #serieslink podać.', |
| 111 | + 'spserror-noformname' => 'Žane formularne mjeno njepodate.', |
| 112 | + 'spserror-formunknown' => 'Formular "$1" njeeksistuje.', |
| 113 | + 'spserror-notargetformname' => 'Žadyn cilowy formular njepodaty. Parameter "target form" dyrbi so we wołanju parseroweje funkcije #serieslink podać.', |
| 114 | + 'spserror-notargetfieldname' => 'Žane cilowe polo njepodate. Parameter "target field" dyrbi so we wołanju parseroweje funkcije #serieslink podać.', |
| 115 | + 'spserror-iteratorparammissing' => 'Slědowace iteratorowe parametry při wołanju funkcije #serieslink faluja: $1', |
| 116 | + 'spserror-noiteratordata' => 'Žane iteratorowe parametry w pósłanych datach namakane.', |
| 117 | + 'spserror-pagegenerationlimitexeeded' => 'Sy spytał {{PLURAL:$1|jednu stronu|$1 stronje|$1 strony|$1 stronow}} płodźić. To překročuje dowoleny limit wot {{PLURAL:$2|jedneje strony|$2 stronow|$2 stronow|$1 stronow}}.', |
118 | 118 | ); |
119 | 119 | |
120 | 120 | /** Interlingua (Interlingua) |
— | — | @@ -124,18 +124,18 @@ |
125 | 125 | 'spssuccesstitle' => 'Crea $1 paginas', |
126 | 126 | 'spssuccess' => '{{PLURAL:$1|Un pagina|$1 paginas}} essera create.', |
127 | 127 | 'spserror' => 'Un error ha occurrite', |
128 | | - 'spserror_diffnotsupported' => 'Le action "diff" non es supportate pro series de paginas.', |
129 | | - 'spserror_previewnotsupported' => 'Le action de previsualisation non es supportate pro series de paginas.', |
130 | | - 'spserror_noiteratorname' => 'Nulle iterator specificate. Es necessari specificar le parametro "iterator" in le appello al function analysator #serieslink.', |
131 | | - 'spserror_iteratorunknown' => 'Le iterator "$1" non existe. Es necessari corriger le parametro "iterator" in le appello al function analysator #serieslink.', |
132 | | - 'spserror_noformname' => 'Nulle nomine de formulario specificate.', |
133 | | - 'spserror_formunknown' => 'Le formulario "$1" non existe.', |
134 | | - 'spserror_notargetformname' => 'Nulle nomine de formulario de destination specificate. Es necessari specificar le parametro "target form" in le appello al function analysator #serieslink.', |
135 | | - 'spserror_notargetfieldname' => 'Nulle nomine de campo de destination specificate. Es necessari specificar le parametro "target field" in le appello al function analysator #serieslink.', |
136 | | - 'spserror_iteratorparammissing' => 'Le sequente parametros de iterator manca in le appello #serieslink: |
| 128 | + 'spserror-diffnotsupported' => 'Le action "diff" non es supportate pro series de paginas.', |
| 129 | + 'spserror-previewnotsupported' => 'Le action de previsualisation non es supportate pro series de paginas.', |
| 130 | + 'spserror-noiteratorname' => 'Nulle iterator specificate. Es necessari specificar le parametro "iterator" in le appello al function analysator #serieslink.', |
| 131 | + 'spserror-iteratorunknown' => 'Le iterator "$1" non existe. Es necessari corriger le parametro "iterator" in le appello al function analysator #serieslink.', |
| 132 | + 'spserror-noformname' => 'Nulle nomine de formulario specificate.', |
| 133 | + 'spserror-formunknown' => 'Le formulario "$1" non existe.', |
| 134 | + 'spserror-notargetformname' => 'Nulle nomine de formulario de destination specificate. Es necessari specificar le parametro "target form" in le appello al function analysator #serieslink.', |
| 135 | + 'spserror-notargetfieldname' => 'Nulle nomine de campo de destination specificate. Es necessari specificar le parametro "target field" in le appello al function analysator #serieslink.', |
| 136 | + 'spserror-iteratorparammissing' => 'Le sequente parametros de iterator manca in le appello #serieslink: |
137 | 137 | $1', |
138 | | - 'spserror_noiteratordata' => 'Nulle parametro de iterator trovate in le datos inviate.', |
139 | | - 'spserror_pagegenerationlimitexeeded' => 'Tu tentava generar {{PLURAL:$1|un pagina|$1 paginas}}. Isto excede tu limite autorisate de {{PLURAL:$2|un pagina|$2 paginas}}.', |
| 138 | + 'spserror-noiteratordata' => 'Nulle parametro de iterator trovate in le datos inviate.', |
| 139 | + 'spserror-pagegenerationlimitexeeded' => 'Tu tentava generar {{PLURAL:$1|un pagina|$1 paginas}}. Isto excede tu limite autorisate de {{PLURAL:$2|un pagina|$2 paginas}}.', |
140 | 140 | ); |
141 | 141 | |
142 | 142 | /** Macedonian (Македонски) |
— | — | @@ -146,24 +146,24 @@ |
147 | 147 | 'spssuccesstitle' => 'Создате $1 страници', |
148 | 148 | 'spssuccess' => '{{PLURAL:$1|Ќе биде создадена една страница|Ќе бидат создадени $1 страници}}', |
149 | 149 | 'spserror' => 'Се појави грешка', |
150 | | - 'spserror_diffnotsupported' => 'Функцијата „разлика“ не е достапна за цели низи од страници.', |
151 | | - 'spserror_previewnotsupported' => 'Функцијата „преглед“ не е достапна за цели низи од страници.', |
152 | | - 'spserror_noiteratorname' => 'Нема укажано повторувач. Треба да зададете параметар „iterator“ во повикот #serieslink на парсерската функција.', |
153 | | - 'spserror_iteratorunknown' => 'Повторувачот „$1“ не постои. Ќе треба да го исправите параметарот „iterator“ во повикот #serieslink на парсерската функција.', |
154 | | - 'spserror_noformname' => 'Нема укажано име на образецот.', |
155 | | - 'spserror_formunknown' => 'Образецот „$1“ не постои.', |
156 | | - 'spserror_notargetformname' => 'Нема укажано име на целниот образец. Треба да зададете параметар „target form“ во повикот #serieslink на парсерската функција.', |
157 | | - 'spserror_notargetfieldname' => 'Нема укажано име на целното поле. Треба да зададете параметар „target field“ во повикот #serieslink на парсерската функција.', |
158 | | - 'spserror_iteratorparammissing' => 'Следниве параметри за повторувачот недостасуваат во повикот #serieslink call: |
| 150 | + 'spserror-diffnotsupported' => 'Функцијата „разлика“ не е достапна за цели низи од страници.', |
| 151 | + 'spserror-previewnotsupported' => 'Функцијата „преглед“ не е достапна за цели низи од страници.', |
| 152 | + 'spserror-noiteratorname' => 'Нема укажано повторувач. Треба да зададете параметар „iterator“ во повикот #serieslink на парсерската функција.', |
| 153 | + 'spserror-iteratorunknown' => 'Повторувачот „$1“ не постои. Ќе треба да го исправите параметарот „iterator“ во повикот #serieslink на парсерската функција.', |
| 154 | + 'spserror-noformname' => 'Нема укажано име на образецот.', |
| 155 | + 'spserror-formunknown' => 'Образецот „$1“ не постои.', |
| 156 | + 'spserror-notargetformname' => 'Нема укажано име на целниот образец. Треба да зададете параметар „target form“ во повикот #serieslink на парсерската функција.', |
| 157 | + 'spserror-notargetfieldname' => 'Нема укажано име на целното поле. Треба да зададете параметар „target field“ во повикот #serieslink на парсерската функција.', |
| 158 | + 'spserror-iteratorparammissing' => 'Следниве параметри за повторувачот недостасуваат во повикот #serieslink call: |
159 | 159 | $1', |
160 | | - 'spserror_noiteratordata' => 'Не пронајдов параметри за повторувачот во испратените податоци.', |
161 | | - 'spserror_pagegenerationlimitexeeded' => 'Се обидовте да создадете {{PLURAL:$1|една страница|$1 страници}}. Со тоа ја надминувате дозволената граница од {{PLURAL:$2|една страница|$2 страници}}.', |
| 160 | + 'spserror-noiteratordata' => 'Не пронајдов параметри за повторувачот во испратените податоци.', |
| 161 | + 'spserror-pagegenerationlimitexeeded' => 'Се обидовте да создадете {{PLURAL:$1|една страница|$1 страници}}. Со тоа ја надминувате дозволената граница од {{PLURAL:$2|една страница|$2 страници}}.', |
162 | 162 | ); |
163 | 163 | |
164 | 164 | /** Dutch (Nederlands) |
165 | 165 | * @author SPQRobin |
166 | 166 | */ |
167 | 167 | $messages['nl'] = array( |
168 | | - 'spserror_formunknown' => 'Formulier "$1" bestaat niet.', |
| 168 | + 'spserror-formunknown' => 'Formulier "$1" bestaat niet.', |
169 | 169 | ); |
170 | 170 | |
Index: trunk/extensions/SemanticPageSeries/includes/SPSException.php |
— | — | @@ -26,8 +26,7 @@ |
27 | 27 | * @return String html to output |
28 | 28 | */ |
29 | 29 | function getHTML() { |
30 | | - return '<p>' . nl2br( htmlspecialchars( $this->getMessage() ) ) . |
31 | | - "</p>\n"; |
| 30 | + return Html::rawElement( 'p', array('class' => 'spserror'), nl2br( htmlspecialchars( $this->getMessage() ) ) ); |
32 | 31 | } |
33 | 32 | |
34 | 33 | /** |
— | — | @@ -48,7 +47,7 @@ |
49 | 48 | */ |
50 | 49 | function getPageTitle() { |
51 | 50 | if ( $this->useMessageCache() ) { |
52 | | - return wfMsg( 'spserror' ); |
| 51 | + return wfMsgForContent( 'spserror' ); |
53 | 52 | } else { |
54 | 53 | global $wgSitename; |
55 | 54 | return "$wgSitename error"; |
Index: trunk/extensions/SemanticPageSeries/includes/SPSUtils.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | $count++; |
67 | 67 | } |
68 | 68 | |
69 | | - $params[] = "origin$count=" . $wgTitle->getArticleId(); |
| 69 | + $params[] = "origin$count=" . $parser->getTitle()->getArticleId(); |
70 | 70 | |
71 | 71 | // hack to remove newline from beginning of output, thanks to |
72 | 72 | // http://jimbojw.com/wiki/index.php?title=Raw_HTML_Output_from_a_MediaWiki_Parser_Function |
Index: trunk/extensions/SemanticPageSeries/includes/SPSSpecialSeriesEdit.php |
— | — | @@ -30,12 +30,12 @@ |
31 | 31 | if ( $wgRequest->getCheck( 'wpDiff' ) ) { |
32 | 32 | |
33 | 33 | // no support for the diff action |
34 | | - throw new SPSException( $this->msg( 'spserror_diffnotsupported' ) ); |
| 34 | + throw new SPSException( $this->buildMessage( 'spserror-diffnotsupported' ) ); |
35 | 35 | |
36 | 36 | } elseif ( $wgRequest->getCheck( 'wpPreview' ) ) { |
37 | 37 | |
38 | 38 | // no support for the preview action |
39 | | - throw new SPSException( $this->msg( 'spserror_previewnotsupported' ) ); |
| 39 | + throw new SPSException( $this->buildMessage( 'spserror-previewnotsupported' ) ); |
40 | 40 | |
41 | 41 | } elseif ( $wgRequest->getCheck( 'wpSave' ) ) { |
42 | 42 | |
— | — | @@ -88,14 +88,14 @@ |
89 | 89 | |
90 | 90 | // if the form name wasn't in the URL either, throw an error |
91 | 91 | if ( is_null( $formName ) || $formName === '' ) { |
92 | | - throw new SPSException( $this->msg( 'spserror_noformname' ) ); |
| 92 | + throw new SPSException( $this->buildMessage( 'spserror-noformname' ) ); |
93 | 93 | } |
94 | 94 | } |
95 | 95 | |
96 | 96 | $formTitle = Title::makeTitleSafe( SF_NS_FORM, $formName ); |
97 | 97 | |
98 | 98 | if ( !$formTitle->exists() ) { |
99 | | - throw new SPSException( $this->msg( 'spserror_formunknown', $formName ) ); |
| 99 | + throw new SPSException( $this->buildMessage( 'spserror-formunknown', $formName ) ); |
100 | 100 | } |
101 | 101 | |
102 | 102 | $formArticle = new Article( $formTitle ); |
— | — | @@ -140,7 +140,7 @@ |
141 | 141 | if ( $formPageTitle != null ) { |
142 | 142 | $wgOut->setPageTitle( $formPageTitle ); |
143 | 143 | } else { |
144 | | - $wgOut->setPageTitle( $this->msg( 'sf_formedit_createtitlenotarget', $formTitle->getText() ) ); |
| 144 | + $wgOut->setPageTitle( $this->buildMessage( 'sf_formedit_createtitlenotarget', $formTitle->getText() ) ); |
145 | 145 | } |
146 | 146 | |
147 | 147 | $preFormHtml = ''; |
— | — | @@ -173,11 +173,11 @@ |
174 | 174 | $iteratorData = FormatJson::decode( $requestValues['iteratordata'], true ); |
175 | 175 | unset( $requestValues['iteratordata'] ); |
176 | 176 | } else { |
177 | | - throw new SPSException( $this->msg( 'spserror_noiteratordata' ) ); |
| 177 | + throw new SPSException( $this->buildMessage( 'spserror-noiteratordata' ) ); |
178 | 178 | } |
179 | 179 | |
180 | 180 | if ( !array_key_exists( 'general', $iteratorData ) ) { |
181 | | - throw new SPSException( $this->msg( 'spserror_noiteratordata' ) ); |
| 181 | + throw new SPSException( $this->buildMessage( 'spserror-noiteratordata' ) ); |
182 | 182 | } |
183 | 183 | |
184 | 184 | $iteratorName = null; |
— | — | @@ -211,11 +211,11 @@ |
212 | 212 | } |
213 | 213 | |
214 | 214 | if ( is_null( $iteratorName ) || $iteratorName === '' ) { |
215 | | - throw new SPSException( $this->msg( 'spserror_noiteratorname' ) ); |
| 215 | + throw new SPSException( $this->buildMessage( 'spserror-noiteratorname' ) ); |
216 | 216 | } |
217 | 217 | |
218 | 218 | if ( !array_key_exists( $iteratorName, $spsgIterators ) ) { |
219 | | - throw new SPSException( $this->msg( 'spserror_iteratorunknown', $iteratorName ) ); |
| 219 | + throw new SPSException( $this->buildMessage( 'spserror-iteratorunknown', $iteratorName ) ); |
220 | 220 | } |
221 | 221 | |
222 | 222 | // iterator |
— | — | @@ -227,7 +227,7 @@ |
228 | 228 | |
229 | 229 | // check userlimit |
230 | 230 | if ( $iteratorValuesCount > $userlimit ) { |
231 | | - throw new SPSException( $this->msg( 'spserror_pagegenerationlimitexeeded', $iteratorValuesCount, $userlimit ) ); |
| 231 | + throw new SPSException( $this->buildMessage( 'spserror-pagegenerationlimitexeeded', $iteratorValuesCount, $userlimit ) ); |
232 | 232 | } |
233 | 233 | |
234 | 234 | $targetFormTitle = Title::makeTitleSafe( SF_NS_FORM, $targetFormName ); |
— | — | @@ -258,15 +258,15 @@ |
259 | 259 | } |
260 | 260 | |
261 | 261 | private function printSuccessPage( $formId, $createdPages, $originId ) { |
262 | | - global $wgOut, $wgMessageCache; |
| 262 | + global $wgOut; |
263 | 263 | |
264 | 264 | $originTitle = Title::newFromID( $originId ); |
265 | 265 | |
266 | | - $wgOut->setPageTitle( $this->msg( 'spssuccesstitle', Title::newFromID( $formId )->getText() )); |
| 266 | + $wgOut->setPageTitle( $this->buildMessage( 'spssuccesstitle', Title::newFromID( $formId )->getText() )); |
267 | 267 | $wgOut->addHTML( |
268 | | - Html::rawElement( 'p', array( 'class' => 'spssuccess' ), $this->msg( 'spssuccess', $createdPages ) ) . |
269 | | - Html::rawElement( 'p', array( 'class' => 'spssuccess_returntoorigin' ), $this->msg( |
270 | | - 'spssuccess_returntoorigin', '[[' . $originTitle->getPrefixedText() . ']]' |
| 268 | + Html::rawElement( 'p', array( 'class' => 'spssuccess' ), $this->buildMessage( 'spssuccess', $createdPages ) ) . |
| 269 | + Html::rawElement( 'p', array( 'class' => 'spssuccess-returntoorigin' ), $this->buildMessage( |
| 270 | + 'spssuccess-returntoorigin', '[[' . $originTitle->getPrefixedText() . ']]' |
271 | 271 | ) |
272 | 272 | ) |
273 | 273 | ); |
— | — | @@ -285,11 +285,11 @@ |
286 | 286 | $iteratorName = $request->getVal( 'iterator' ); |
287 | 287 | |
288 | 288 | if ( is_null( $iteratorName ) ) { |
289 | | - throw new SPSException( $this->msg( 'spserror_noiteratorname' ) ); |
| 289 | + throw new SPSException( $this->buildMessage( 'spserror-noiteratorname' ) ); |
290 | 290 | } |
291 | 291 | |
292 | 292 | if ( !array_key_exists( $iteratorName, $spsgIterators ) ) { |
293 | | - throw new SPSException( $this->msg( 'spserror_iteratorunknown', $iteratorName ) ); |
| 293 | + throw new SPSException( $this->buildMessage( 'spserror-iteratorunknown', $iteratorName ) ); |
294 | 294 | } |
295 | 295 | |
296 | 296 | // iterator |
— | — | @@ -299,7 +299,7 @@ |
300 | 300 | $targetFormName = $request->getVal( 'target_form' ); |
301 | 301 | |
302 | 302 | if ( is_null( $targetFormName ) ) { |
303 | | - throw new SPSException( $this->msg( 'spserror_notargetformname' ) ); |
| 303 | + throw new SPSException( $this->buildMessage( 'spserror-notargetformname' ) ); |
304 | 304 | } |
305 | 305 | |
306 | 306 | // targetFormTitle is not really needed at this stage, |
— | — | @@ -307,14 +307,14 @@ |
308 | 308 | $targetFormTitle = Title::makeTitleSafe( SF_NS_FORM, $targetFormName ); |
309 | 309 | |
310 | 310 | if ( !$targetFormTitle->exists() ) { |
311 | | - throw new SPSException( $this->msg( 'spserror_formunknown', $targetFormName ) ); |
| 311 | + throw new SPSException( $this->buildMessage( 'spserror-formunknown', $targetFormName ) ); |
312 | 312 | } |
313 | 313 | |
314 | 314 | // targetFieldName |
315 | 315 | $targetFieldName = $request->getVal( 'target_field' ); |
316 | 316 | |
317 | 317 | if ( is_null( $targetFieldName ) ) { |
318 | | - throw new SPSException( $this->msg( 'spserror_notargetfieldname' ) ); |
| 318 | + throw new SPSException( $this->buildMessage( 'spserror-notargetfieldname' ) ); |
319 | 319 | } |
320 | 320 | |
321 | 321 | $params = array( |
— | — | @@ -349,7 +349,7 @@ |
350 | 350 | } |
351 | 351 | |
352 | 352 | if ( $errors !== '' ) { |
353 | | - throw new SPSException( $this->msg( 'spserror_iteratorparammissing', $errors ) ); |
| 353 | + throw new SPSException( $this->buildMessage( 'spserror-iteratorparammissing', $errors ) ); |
354 | 354 | } |
355 | 355 | |
356 | 356 | return FormatJson::encode( $params ); |
— | — | @@ -416,8 +416,7 @@ |
417 | 417 | return $limit; |
418 | 418 | } |
419 | 419 | |
420 | | - public function msg ( $key ) { |
421 | | - global $wgMessageCache; |
| 420 | + public function buildMessage ( $key ) { |
422 | 421 | |
423 | 422 | $args = func_get_args(); |
424 | 423 | array_shift($args); |