Index: branches/wmf/1.17wmf1/extensions/LiquidThreads/compat/Lqt-compat.i18n.php |
— | — | @@ -1,778 +0,0 @@ |
2 | | -<?php |
3 | | -// This file is generated automatically by generateCompatibilityLocalisation.php |
4 | | -$messages = array ( |
5 | | - 'ar' => |
6 | | - array ( |
7 | | - 'htmlform-reset' => 'الرجوع عن التغييرات', |
8 | | - 'htmlform-submit' => 'تنفيذ', |
9 | | - 'htmlform-int-invalid' => 'القيمة التي حددتها ليست عددا صحيحا.', |
10 | | - 'htmlform-int-toolow' => 'القيمة التي حددتها أقل من الحد الأدنى وهو $1', |
11 | | - 'htmlform-int-toohigh' => 'القيمة التي حددتها أكبر من الحد الأقصى وهو $1', |
12 | | - 'htmlform-select-badoption' => 'القيمة التي تم تحديدها غير صالحة كخيار.', |
13 | | - 'htmlform-selectorother-other' => 'أخرى', |
14 | | - 'htmlform-invalid-input' => 'توجد مشكلات ضمن بعض من مدخلاتك', |
15 | | - ), |
16 | | - 'arc' => |
17 | | - array ( |
18 | | - 'htmlform-reset' => 'ܠܐ ܥܒܘܕ ܫܘܚܠܦ̈ܐ', |
19 | | - 'htmlform-submit' => 'ܫܕܪ', |
20 | | - 'htmlform-selectorother-other' => 'ܐܚܪܢܐ', |
21 | | - ), |
22 | | - 'arz' => |
23 | | - array ( |
24 | | - 'htmlform-reset' => 'الرجوع فى التغييرات', |
25 | | - 'htmlform-submit' => 'تقديم', |
26 | | - 'htmlform-int-invalid' => 'القيمه اللى حددتها ما هياش عدد صحيح', |
27 | | - 'htmlform-int-toolow' => 'القيمه اللى حددتها اصغر من الحد الادنى اللى هو $1', |
28 | | - 'htmlform-int-toohigh' => 'القيمه اللى حددتها اكبر من الحد الاقصى اللى هو $1', |
29 | | - 'htmlform-select-badoption' => 'القيمه اللى حددتها ما تنفعش كاختيار.', |
30 | | - 'htmlform-selectorother-other' => 'تانيين', |
31 | | - 'htmlform-invalid-input' => 'فى مشاكل فى المدخلات بتاعتك', |
32 | | - ), |
33 | | - 'bcc' => |
34 | | - array ( |
35 | | - 'htmlform-reset' => 'ترینگ تغییرات', |
36 | | - 'htmlform-submit' => 'دیم دی', |
37 | | - 'htmlform-int-invalid' => 'مقداری که وارد کرته اید یک عدد صحیح نهنت.', |
38 | | - 'htmlform-int-toolow' => 'مقداری که وارد کرته اید کمتر چه $1 انت', |
39 | | - 'htmlform-int-toohigh' => 'مقداری که وارد کرته اید گیشتر چه $1 انت', |
40 | | - 'htmlform-select-badoption' => 'مقدار وارد بیتگ یک گزینهٔ قابل قبول نهنت.', |
41 | | - 'htmlform-selectorother-other' => 'دگه', |
42 | | - 'htmlform-invalid-input' => 'لهتی چه ورودی شما مشکل هست', |
43 | | - ), |
44 | | - 'be-tarask' => |
45 | | - array ( |
46 | | - 'htmlform-reset' => 'Адмяніць зьмены', |
47 | | - 'htmlform-submit' => 'Захаваць', |
48 | | - 'htmlform-int-invalid' => 'Значэньне, якое Вы выбралі, не зьяўляецца цэлым лікам.', |
49 | | - 'htmlform-int-toolow' => 'Значэньне, якое вы выбралі, менш за $1', |
50 | | - 'htmlform-int-toohigh' => 'Значэньне, якое Вы выбралі, больш за $1', |
51 | | - 'htmlform-select-badoption' => 'Значэньне, якое Вы выбралі, не зьяўляецца слушным.', |
52 | | - 'htmlform-selectorother-other' => 'Іншае', |
53 | | - 'htmlform-invalid-input' => 'Узьніклі праблемы з некаторымі з Вашых уваходных зьвестак', |
54 | | - ), |
55 | | - 'bg' => |
56 | | - array ( |
57 | | - 'htmlform-reset' => 'Отказване на промените', |
58 | | - 'htmlform-submit' => 'Изпращане', |
59 | | - 'htmlform-selectorother-other' => 'Друга', |
60 | | - ), |
61 | | - 'br' => |
62 | | - array ( |
63 | | - 'htmlform-reset' => 'Dizober ar c\'hemmoù', |
64 | | - 'htmlform-submit' => 'Kas', |
65 | | - 'htmlform-int-invalid' => 'N\'eus ket un niver anterin eus an dalvoudenn skrivet ganeoc\'h.', |
66 | | - 'htmlform-int-toolow' => 'Skrivet hoc\'h eus un dalvoudenn zo dindan an niver bihanañ aotreet a $1', |
67 | | - 'htmlform-int-toohigh' => 'Skrivet hoc\'h eus un dalvoudenn a ya dreist d\'an niver uhelañ aotreet a $1', |
68 | | - 'htmlform-select-badoption' => 'Direizh eo an dalvoudenn skrivet ganeoc\'h.', |
69 | | - 'htmlform-selectorother-other' => 'Unan all', |
70 | | - 'htmlform-invalid-input' => 'Kudennoù zo gant talvoudennoù zo merket ganeoc\'h.', |
71 | | - ), |
72 | | - 'bs' => |
73 | | - array ( |
74 | | - 'htmlform-reset' => 'Vrati izmjene', |
75 | | - 'htmlform-submit' => 'Pošalji', |
76 | | - 'htmlform-int-invalid' => 'Vrijednost koju ste naveli nije cijeli broj.', |
77 | | - 'htmlform-int-toolow' => 'Vrijednost koju ste naveli je ispod minimuma od $1', |
78 | | - 'htmlform-int-toohigh' => 'Vrijednost koju ste naveli je iznad maksimuma od $1', |
79 | | - 'htmlform-select-badoption' => 'Vrijednost koju ste naveli nije valjana opcija.', |
80 | | - 'htmlform-selectorother-other' => 'Ostalo', |
81 | | - 'htmlform-invalid-input' => 'Postoje određeni problemi s Vašim unosom', |
82 | | - ), |
83 | | - 'ca' => |
84 | | - array ( |
85 | | - 'htmlform-reset' => 'Desfés els canvis', |
86 | | - 'htmlform-submit' => 'Tramet', |
87 | | - 'htmlform-int-invalid' => 'El valor que heu especificat no és un nombre enter.', |
88 | | - 'htmlform-int-toolow' => 'El valor que heu especifcat està per sota del mínim de $1', |
89 | | - 'htmlform-int-toohigh' => 'El valor que heu especificat està per sobre del màxim de $1', |
90 | | - 'htmlform-select-badoption' => 'El valor que heu especificat no és una opció vàlida.', |
91 | | - 'htmlform-selectorother-other' => 'Altres', |
92 | | - 'htmlform-invalid-input' => 'Hi ha problemes amb alguna de les seves entrades', |
93 | | - ), |
94 | | - 'ckb' => |
95 | | - array ( |
96 | | - 'htmlform-reset' => 'گەڕانەوەی گۆڕانکاری', |
97 | | - ), |
98 | | - 'cs' => |
99 | | - array ( |
100 | | - 'htmlform-reset' => 'Vrátit změny', |
101 | | - 'htmlform-submit' => 'Odeslat', |
102 | | - 'htmlform-int-invalid' => 'Uvedená hodnota není celé číslo.', |
103 | | - 'htmlform-int-toolow' => 'Vámi zadaná hodnota je menší než dovolené minimum $1', |
104 | | - 'htmlform-int-toohigh' => 'Vámi zadaná hodnota je větší než dovolené maximum $1', |
105 | | - 'htmlform-select-badoption' => 'Vámi uvedená hodnota není platná možnost.', |
106 | | - 'htmlform-selectorother-other' => 'Jiná hodnota', |
107 | | - 'htmlform-invalid-input' => 'Některé vámi zadané údaje jsou chybné', |
108 | | - ), |
109 | | - 'cy' => |
110 | | - array ( |
111 | | - 'htmlform-reset' => 'Datod y newidiadau', |
112 | | - 'htmlform-selectorother-other' => 'Arall', |
113 | | - ), |
114 | | - 'da' => |
115 | | - array ( |
116 | | - 'htmlform-reset' => 'Annuller ændringer', |
117 | | - 'htmlform-submit' => 'Gem', |
118 | | - 'htmlform-int-invalid' => 'Den angivne værdi er ikke et heltal.', |
119 | | - 'htmlform-int-toolow' => 'Den angivne værdi er under minimumsværdien på $1', |
120 | | - 'htmlform-int-toohigh' => 'Den angivne værdi er over maksimumsværdien på $1', |
121 | | - 'htmlform-select-badoption' => 'Den angivne værdi er ikke gyldigt valg.', |
122 | | - 'htmlform-selectorother-other' => 'Anden', |
123 | | - 'htmlform-invalid-input' => 'Det er problemer med dine angivelser', |
124 | | - ), |
125 | | - 'de' => |
126 | | - array ( |
127 | | - 'htmlform-reset' => 'Änderungen rückgängig machen', |
128 | | - 'htmlform-submit' => 'Übertragen', |
129 | | - 'htmlform-int-invalid' => 'Der angegebene Wert ist keine Ganzzahl.', |
130 | | - 'htmlform-int-toolow' => 'Der angegebene Wert ist unter dem Minimum von $1', |
131 | | - 'htmlform-int-toohigh' => 'Der angegebene Wert ist über dem Maximum von $1', |
132 | | - 'htmlform-select-badoption' => 'Der angegebene Wert ist keine gültige Option.', |
133 | | - 'htmlform-selectorother-other' => 'Andere', |
134 | | - 'htmlform-invalid-input' => 'Mit einigen Eingaben gibt es Probleme', |
135 | | - ), |
136 | | - 'dsb' => |
137 | | - array ( |
138 | | - 'htmlform-reset' => 'Změny anulěrowaś', |
139 | | - 'htmlform-submit' => 'Wótpósłaś', |
140 | | - 'htmlform-int-invalid' => 'Gódnota, kótaruž sy pódał, njejo ceła licba.', |
141 | | - 'htmlform-int-toolow' => 'Gódnota, kótaruž sy pódał, jo mjeńša ako minimum $1', |
142 | | - 'htmlform-int-toohigh' => 'Gódnota, kótaruž sy pódał, jo wětša ako maksimum $1', |
143 | | - 'htmlform-select-badoption' => 'Gódnota, kótaruž sy pódał, njejo płaśiwa opcija.', |
144 | | - 'htmlform-selectorother-other' => 'Druge', |
145 | | - 'htmlform-invalid-input' => 'Su někotare problemy z twójim zapodaśim', |
146 | | - ), |
147 | | - 'el' => |
148 | | - array ( |
149 | | - 'htmlform-reset' => 'Αναστροφή αλλαγών', |
150 | | - 'htmlform-submit' => 'Υποβολή', |
151 | | - 'htmlform-int-invalid' => 'Η τιμή που καθορίσατε δεν είναι ένας ακέραιος αριθμός.', |
152 | | - 'htmlform-int-toolow' => 'Η αξία που θέσατε είναι πιο κάτω από το ελάχιστο όριο $1', |
153 | | - 'htmlform-int-toohigh' => 'Η τιμή που θέσατε είναι πιο πάνω από το μέγιστο όριο $1', |
154 | | - 'htmlform-select-badoption' => 'Η τιμή που καθορίσατε δεν είναι μια έγκυρη επιλογή.', |
155 | | - 'htmlform-selectorother-other' => 'Άλλο', |
156 | | - 'htmlform-invalid-input' => 'Υπάρχουν κάποια προβλήματα με μερικές από τις εισροές σας', |
157 | | - ), |
158 | | - 'en' => |
159 | | - array ( |
160 | | - 'htmlform-reset' => 'Undo changes', |
161 | | - 'htmlform-submit' => 'Submit', |
162 | | - 'htmlform-int-invalid' => 'The value you specified is not an integer.', |
163 | | - 'htmlform-int-toolow' => 'The value you specified is below the minimum of $1', |
164 | | - 'htmlform-int-toohigh' => 'The value you specified is above the maximum of $1', |
165 | | - 'htmlform-select-badoption' => 'The value you specified is not a valid option.', |
166 | | - 'htmlform-selectorother-other' => 'Other', |
167 | | - 'htmlform-invalid-input' => 'There are problems with some of your input', |
168 | | - ), |
169 | | - 'eo' => |
170 | | - array ( |
171 | | - 'htmlform-reset' => 'Malfari ŝanĝojn', |
172 | | - 'htmlform-submit' => 'Ek!', |
173 | | - 'htmlform-int-invalid' => 'La valuto kiun vi specifigis ne estas entjero.', |
174 | | - 'htmlform-int-toolow' => 'La valuto kiun vi specifigis estas sub la minimumo de $1', |
175 | | - 'htmlform-int-toohigh' => 'La valuto kiun vi specifigis estas super la maksimumo de $1', |
176 | | - 'htmlform-select-badoption' => 'La valuto kiun vi specifigis ne estas valida.', |
177 | | - 'htmlform-selectorother-other' => 'Alia', |
178 | | - 'htmlform-invalid-input' => 'Estas problemoj kun iom da via enigo', |
179 | | - ), |
180 | | - 'es' => |
181 | | - array ( |
182 | | - 'htmlform-reset' => 'Deshacer cambios', |
183 | | - 'htmlform-submit' => 'Enviar', |
184 | | - 'htmlform-int-invalid' => 'El valor que especificaste no es un entero.', |
185 | | - 'htmlform-int-toolow' => 'El valor que especificaste está debajo del mínimo de $1', |
186 | | - 'htmlform-int-toohigh' => 'El valor que especificaste está arriba del máximo de $1', |
187 | | - 'htmlform-select-badoption' => 'El valor que especificaste no es una opción válida.', |
188 | | - 'htmlform-selectorother-other' => 'Otro', |
189 | | - 'htmlform-invalid-input' => 'Hay problemas con alguno de tus ingresos', |
190 | | - ), |
191 | | - 'eu' => |
192 | | - array ( |
193 | | - 'htmlform-reset' => 'Aldaketak desegin', |
194 | | - 'htmlform-submit' => 'Bidali', |
195 | | - 'htmlform-selectorother-other' => 'Beste bat', |
196 | | - ), |
197 | | - 'fa' => |
198 | | - array ( |
199 | | - 'htmlform-reset' => 'خنثی کردن تغییرات', |
200 | | - 'htmlform-submit' => 'ارسال', |
201 | | - 'htmlform-int-invalid' => 'مقداری که وارد کردید یک عدد صحیح نیست.', |
202 | | - 'htmlform-int-toolow' => 'مقداری که وارد کردید کمتر از $1 است', |
203 | | - 'htmlform-int-toohigh' => 'مقداری که وارد کردید بیشتر از $1 است', |
204 | | - 'htmlform-select-badoption' => 'مقدار وارد شده یک گزینهٔ قابل قبول نیست.', |
205 | | - 'htmlform-selectorother-other' => 'دیگر', |
206 | | - 'htmlform-invalid-input' => 'بخشی از ورودی شما مشکل دارد', |
207 | | - ), |
208 | | - 'fi' => |
209 | | - array ( |
210 | | - 'htmlform-reset' => 'Kumoa muutokset', |
211 | | - 'htmlform-submit' => 'Lähetä', |
212 | | - 'htmlform-int-invalid' => 'Antamasi arvo ei ole kokonaisluku.', |
213 | | - 'htmlform-int-toolow' => 'Annettu arvo on pienempi kuin alaraja $1', |
214 | | - 'htmlform-int-toohigh' => 'Annettu arvo on suurempi kuin yläraja $1', |
215 | | - 'htmlform-select-badoption' => 'Antamasi arvo ei ole kelvollinen.', |
216 | | - 'htmlform-selectorother-other' => 'Muu', |
217 | | - 'htmlform-invalid-input' => 'Antamassasi syötteessä on ongelmia', |
218 | | - ), |
219 | | - 'fr' => |
220 | | - array ( |
221 | | - 'htmlform-reset' => 'Défaire les modifications', |
222 | | - 'htmlform-submit' => 'Soumettre', |
223 | | - 'htmlform-int-invalid' => 'La valeur que vous avec spécifiée n’est pas un entier.', |
224 | | - 'htmlform-int-toolow' => 'La valeur que vous avez spécifiée est plus petite que le minimum de $1', |
225 | | - 'htmlform-int-toohigh' => 'La valeur que vous avez spécifiée est plus grande que le maximum de $1', |
226 | | - 'htmlform-select-badoption' => 'La valeur que vous avez spécifiée n’est pas une option valide.', |
227 | | - 'htmlform-selectorother-other' => 'Autre', |
228 | | - 'htmlform-invalid-input' => 'Des problèmes sont survenus avec certaines valeurs', |
229 | | - ), |
230 | | - 'frp' => |
231 | | - array ( |
232 | | - 'htmlform-reset' => 'Dèfâre los changements', |
233 | | - 'htmlform-submit' => 'Sometre', |
234 | | - 'htmlform-int-invalid' => 'La valor que vos éd spècefiâ est pas un entiér.', |
235 | | - 'htmlform-int-toolow' => 'La valor que vos éd spècefiâ est en-desot du muens de $1', |
236 | | - 'htmlform-int-toohigh' => 'La valor que vos éd spècefiâ est en-dessus du més de $1', |
237 | | - 'htmlform-select-badoption' => 'La valor que vos éd spècefiâ est pas un chouèx valido.', |
238 | | - 'htmlform-selectorother-other' => 'Ôtro', |
239 | | - 'htmlform-invalid-input' => 'Des problèmos sont arrevâs avouéc quârques valors', |
240 | | - ), |
241 | | - 'gl' => |
242 | | - array ( |
243 | | - 'htmlform-reset' => 'Desfacer os cambios', |
244 | | - 'htmlform-submit' => 'Enviar', |
245 | | - 'htmlform-int-invalid' => 'O valor que especificou non é un número enteiro.', |
246 | | - 'htmlform-int-toolow' => 'O valor que especificou está por baixo do mínimo de $1', |
247 | | - 'htmlform-int-toohigh' => 'O valor que especificou está por riba do máximo de $1', |
248 | | - 'htmlform-select-badoption' => 'O valor que especificou non é unha opción válida.', |
249 | | - 'htmlform-selectorother-other' => 'Outra', |
250 | | - 'htmlform-invalid-input' => 'Hai algún problema con partes do texto que inseriu', |
251 | | - ), |
252 | | - 'grc' => |
253 | | - array ( |
254 | | - 'htmlform-reset' => 'Ἀναστρέφειν μεταβολάς', |
255 | | - 'htmlform-submit' => 'Ὑποβάλλειν', |
256 | | - 'htmlform-int-invalid' => 'Ἡ τιμὴ ἡ καθωρισμένη ὑπὸ ἐσοῦ οὐκ ἔστι ἀκέραιος ἀριθμός.', |
257 | | - 'htmlform-int-toolow' => 'Ἡ τιμὴ ἡ καθωρισμένη ὑπὸ ἐσοῦ ἐστὶ ὑπὸ τὸ ἐλάχιστον τοῦ $1', |
258 | | - 'htmlform-int-toohigh' => 'Ἡ τιμὴ ἡ καθωρισμένη ὑπὸ ἐσοῦ ἐστὶ ὑπεράνω τοῦ μεγίστου τοῦ $1', |
259 | | - 'htmlform-select-badoption' => 'Ἡ τιμὴ ἡ καθωρισμένη ὑπὸ ἐσοῦ οὐκ ἔστι ἔγκυρος ἐπιλογή.', |
260 | | - 'htmlform-selectorother-other' => 'Ἄλλον', |
261 | | - 'htmlform-invalid-input' => 'Μέρος τῶν εἰσαγομένων δεδομένων σου προβληματικὸν ἐστίν', |
262 | | - ), |
263 | | - 'gsw' => |
264 | | - array ( |
265 | | - 'htmlform-reset' => 'Änderige ruckgängig mache', |
266 | | - 'htmlform-submit' => 'Ibertrage', |
267 | | - 'htmlform-int-invalid' => 'Dr Wärt, wu aagee hesch, isch kei Ganzzahl.', |
268 | | - 'htmlform-int-toolow' => 'Dr Wärt, wu aagee hesch, isch unter em Minimum vu $1', |
269 | | - 'htmlform-int-toohigh' => 'Dr Wärt, wu aagee hesch, isch iber em Maximum vu $1', |
270 | | - 'htmlform-select-badoption' => 'Dr Wärt, wu aagee hesch, isch kei giltigi Option.', |
271 | | - 'htmlform-selectorother-other' => 'Anderi', |
272 | | - 'htmlform-invalid-input' => 'Mit e Teil Yygabe git s Probläm', |
273 | | - ), |
274 | | - 'he' => |
275 | | - array ( |
276 | | - 'htmlform-reset' => 'ביטול השינויים', |
277 | | - 'htmlform-submit' => 'שליחה', |
278 | | - 'htmlform-int-invalid' => 'הערך שציינתם אינו מספר שלם.', |
279 | | - 'htmlform-int-toolow' => 'הערך שציינתם הוא מתחת למינימום, $1', |
280 | | - 'htmlform-int-toohigh' => 'הערך שציינתם הוא מעל למקסימום, $1', |
281 | | - 'htmlform-select-badoption' => 'הערך שציינתם אינו אפשרות תקינה.', |
282 | | - 'htmlform-selectorother-other' => 'אחר', |
283 | | - 'htmlform-invalid-input' => 'יש בעיות עם חלק מהקלט שהכנסתם', |
284 | | - ), |
285 | | - 'hr' => |
286 | | - array ( |
287 | | - 'htmlform-reset' => 'Poništi izmjene', |
288 | | - 'htmlform-submit' => 'Pošalji', |
289 | | - 'htmlform-int-invalid' => 'Vrijednost koju ste naveli nije cijeli broj.', |
290 | | - 'htmlform-int-toolow' => 'Vrijednost koju ste naveli je ispod minimuma od $1', |
291 | | - 'htmlform-int-toohigh' => 'Vrijednost koju ste naveli je iznad maksimuma od $1', |
292 | | - 'htmlform-select-badoption' => 'Vrijednost koju ste naveli nije ispravan izbor.', |
293 | | - 'htmlform-selectorother-other' => 'Drugi', |
294 | | - 'htmlform-invalid-input' => 'Postoje problemi s nekim od vaših unosa', |
295 | | - ), |
296 | | - 'hsb' => |
297 | | - array ( |
298 | | - 'htmlform-reset' => 'Změny cofnyć', |
299 | | - 'htmlform-submit' => 'Wotpósłać', |
300 | | - 'htmlform-int-invalid' => 'Hódnota, kotruž sy zapodał, cyła ličba njeje.', |
301 | | - 'htmlform-int-toolow' => 'Hódnota, kotruž sy zapodał, je mjeńša hač minimum $1.', |
302 | | - 'htmlform-int-toohigh' => 'Hódnota, kotruž sy zapodał, je wjetša hač maksimum $1.', |
303 | | - 'htmlform-select-badoption' => 'Hódnota, kotruž sy zapodał, płaćiwa opcija njeje.', |
304 | | - 'htmlform-selectorother-other' => 'Druhe', |
305 | | - 'htmlform-invalid-input' => 'Su problemy z twojim zapodaćom', |
306 | | - ), |
307 | | - 'hu' => |
308 | | - array ( |
309 | | - 'htmlform-reset' => 'Változtatások visszavonása', |
310 | | - 'htmlform-submit' => 'Elküldés', |
311 | | - 'htmlform-int-invalid' => 'A megadott érték nem szám.', |
312 | | - 'htmlform-int-toolow' => 'A megadott érték a minimum, $1 alatt van', |
313 | | - 'htmlform-int-toohigh' => 'A megadott érték a maximum, $1 felett van', |
314 | | - 'htmlform-select-badoption' => 'A megadott érték nem érvényes.', |
315 | | - 'htmlform-selectorother-other' => 'egyéb', |
316 | | - 'htmlform-invalid-input' => 'Probléma van az általad megadott értékkel', |
317 | | - ), |
318 | | - 'ia' => |
319 | | - array ( |
320 | | - 'htmlform-reset' => 'Disfacer modificationes', |
321 | | - 'htmlform-submit' => 'Submitter', |
322 | | - 'htmlform-int-invalid' => 'Le valor que tu specificava non es un numero integre.', |
323 | | - 'htmlform-int-toolow' => 'Le valor que tu specificava es sub le minimo de $1', |
324 | | - 'htmlform-int-toohigh' => 'Le valor que tu specificava es super le maximo de $1', |
325 | | - 'htmlform-select-badoption' => 'Le valor que tu specificava non es un option valide.', |
326 | | - 'htmlform-selectorother-other' => 'Altere', |
327 | | - 'htmlform-invalid-input' => 'Il ha problemas con alique que tu entrava', |
328 | | - ), |
329 | | - 'id' => |
330 | | - array ( |
331 | | - 'htmlform-reset' => 'Batalkan perubahan', |
332 | | - 'htmlform-submit' => 'Kirim', |
333 | | - 'htmlform-int-invalid' => 'Nilai yang Anda masukkan bukan integer.', |
334 | | - 'htmlform-int-toolow' => 'Nilai yang Anda masukkan terlalu rendah di bawah nilai minimum $1', |
335 | | - 'htmlform-int-toohigh' => 'Nilai yang Anda masukkan melebihi nilai maksimum $1', |
336 | | - 'htmlform-select-badoption' => 'Nilai yang Anda masukkan tidak sah', |
337 | | - 'htmlform-selectorother-other' => 'Lain-lain', |
338 | | - 'htmlform-invalid-input' => 'Ada kesalahan dalam beberapa input Anda', |
339 | | - ), |
340 | | - 'it' => |
341 | | - array ( |
342 | | - 'htmlform-reset' => 'Annulla modifiche', |
343 | | - 'htmlform-submit' => 'Invia', |
344 | | - 'htmlform-int-invalid' => 'Il valore specificato non è un intero.', |
345 | | - 'htmlform-int-toolow' => 'Il valore specificato è inferiore al minimo di $1', |
346 | | - 'htmlform-int-toohigh' => 'Il valore specificato è superiore al massimo di $1', |
347 | | - 'htmlform-select-badoption' => 'Il valore specificato non è un\'opzione valida.', |
348 | | - 'htmlform-selectorother-other' => 'Altro', |
349 | | - 'htmlform-invalid-input' => 'Ci sono problemi con l\'input inserito', |
350 | | - ), |
351 | | - 'ja' => |
352 | | - array ( |
353 | | - 'htmlform-reset' => '変更を取り消す', |
354 | | - 'htmlform-submit' => '送信', |
355 | | - 'htmlform-int-invalid' => '指定された値が整数ではありません。', |
356 | | - 'htmlform-int-toolow' => '指定された値が$1の最小値未満です', |
357 | | - 'htmlform-int-toohigh' => '指定された値が$1の最大値を超えています', |
358 | | - 'htmlform-select-badoption' => '指定された値が有効なものではありません。', |
359 | | - 'htmlform-selectorother-other' => 'その他', |
360 | | - 'htmlform-invalid-input' => '入力になんらかの問題があります', |
361 | | - ), |
362 | | - 'jv' => |
363 | | - array ( |
364 | | - 'htmlform-reset' => 'Batalna pangowahan', |
365 | | - 'htmlform-int-invalid' => 'Aji sing panjenengan lebokaké dudu angka wutuh (integer).', |
366 | | - 'htmlform-int-toolow' => 'Aji sing panjenengan lebokaké keciliken ing sangisoré aji minimum $1', |
367 | | - 'htmlform-int-toohigh' => 'Aji sing panjenengan lebokaké kegedhèn ngluwihi aji maksimum $1', |
368 | | - 'htmlform-select-badoption' => 'Aji sing panjenengan lebokaké ora absah', |
369 | | - 'htmlform-selectorother-other' => 'Liya', |
370 | | - 'htmlform-invalid-input' => 'Ana masalah jroning sawetara input panjenengan', |
371 | | - ), |
372 | | - 'ka' => |
373 | | - array ( |
374 | | - 'htmlform-reset' => 'ცვლილებების გაუქმება', |
375 | | - 'htmlform-submit' => 'შენახვა', |
376 | | - 'htmlform-int-invalid' => 'თქვენს მიერ მითითებული მნიშვნელობა არ არის მთელი რიცხვი.', |
377 | | - 'htmlform-int-toolow' => 'თქვენს მიერ მითითებული მნიშვნელობა მინიმუმზე დაბალია — $1', |
378 | | - 'htmlform-int-toohigh' => 'თქვენს მიერ მითითებული მნიშვნელობა მაქსიმალურს აღემატება — $1', |
379 | | - 'htmlform-select-badoption' => 'თქვენს მიერ მითითებული მნიშვნელობა მიუღებელია.', |
380 | | - 'htmlform-selectorother-other' => 'სხვა', |
381 | | - 'htmlform-invalid-input' => 'თქვენს მიერ შეყვანილი ინფორმაციის ნაწილმა გამოიწვია პრობლემები', |
382 | | - ), |
383 | | - 'ko' => |
384 | | - array ( |
385 | | - 'htmlform-reset' => '변경한 것을 되돌리기', |
386 | | - 'htmlform-submit' => '저장', |
387 | | - 'htmlform-int-invalid' => '당신이 입력한 값은 정수가 아닙니다.', |
388 | | - 'htmlform-int-toolow' => '당신이 입력한 값은 최소값 $1 미만입니다.', |
389 | | - 'htmlform-int-toohigh' => '당신이 입력한 값은 최대값 $1 이상입니다.', |
390 | | - 'htmlform-select-badoption' => '당신이 입력한 값은 올바른 설정이 아닙니다.', |
391 | | - 'htmlform-selectorother-other' => '기타', |
392 | | - 'htmlform-invalid-input' => '당신이 입력한 값에 문제가 있습니다.', |
393 | | - ), |
394 | | - 'ksh' => |
395 | | - array ( |
396 | | - 'htmlform-reset' => 'Änderunge retuur nämme', |
397 | | - 'htmlform-submit' => 'Loß Jonn!', |
398 | | - 'htmlform-int-invalid' => 'Dinge aanjejovve Wäät eß kein janze Zahl.', |
399 | | - 'htmlform-int-toolow' => 'Dinge aanjejovve Wäät litt onger dämm winnischßde, wat müjjelesch es, un dat es $1.', |
400 | | - 'htmlform-int-toohigh' => 'Dinge aanjejovve Wäät litt övver dämm hühßte, wat jeiht, un dat es $1.', |
401 | | - 'htmlform-select-badoption' => 'Dinge aanjejovve Wäät es kein müjjelesche Ußwahl.', |
402 | | - 'htmlform-selectorother-other' => 'Annder', |
403 | | - 'htmlform-invalid-input' => 'Mer han e Problem met jet wat De enjejovve häß', |
404 | | - ), |
405 | | - 'la' => |
406 | | - array ( |
407 | | - 'htmlform-selectorother-other' => 'Aliud', |
408 | | - ), |
409 | | - 'lb' => |
410 | | - array ( |
411 | | - 'htmlform-reset' => 'Ännerungen zrécksetzen', |
412 | | - 'htmlform-submit' => 'Späicheren', |
413 | | - 'htmlform-int-invalid' => 'De Wert deen dir aginn hutt ass keng ganz Zuel.', |
414 | | - 'htmlform-int-toolow' => 'De Wert deen Dir uginn hut ass ënnert dem Minimum vu(n) $1', |
415 | | - 'htmlform-int-toohigh' => 'De Wert deen Dir uginn hutt ass iwwert dem Maximum vu(n) $1', |
416 | | - 'htmlform-select-badoption' => 'De Wert deen Dir aginn hutt ass keng valabel Optioun.', |
417 | | - 'htmlform-selectorother-other' => 'Anerer', |
418 | | - 'htmlform-invalid-input' => 'Et gëtt Problemer mat de Werter déi dir aginn hutt.', |
419 | | - ), |
420 | | - 'lt' => |
421 | | - array ( |
422 | | - 'htmlform-reset' => 'Atšaukti pakeitimus', |
423 | | - 'htmlform-submit' => 'Siųsti', |
424 | | - 'htmlform-int-invalid' => 'Reikšmė, kurią nurodėte, nėra sveikasis skaičius.', |
425 | | - 'htmlform-int-toolow' => 'Reikšmė, kurią nurodėte, yra mažesnė nei mažiausia leistina $1', |
426 | | - 'htmlform-int-toohigh' => 'Reikšmė, kurią nurodėte, yra didesnė nei didžiausia leistina $1', |
427 | | - 'htmlform-select-badoption' => 'Reikšmė, kurią nurodėte, nėra leistina.', |
428 | | - 'htmlform-selectorother-other' => 'Kita', |
429 | | - 'htmlform-invalid-input' => 'Yra problemų su jūsų įvestimi', |
430 | | - ), |
431 | | - 'lzh' => |
432 | | - array ( |
433 | | - 'htmlform-reset' => '復', |
434 | | - 'htmlform-submit' => '呈', |
435 | | - 'htmlform-int-invalid' => '爾之值為非整數也。', |
436 | | - 'htmlform-int-toolow' => '爾之值比$1以低', |
437 | | - 'htmlform-int-toohigh' => '爾之值比$1以高', |
438 | | - 'htmlform-select-badoption' => '爾之值為非效之。', |
439 | | - 'htmlform-selectorother-other' => '他', |
440 | | - 'htmlform-invalid-input' => '爾之輸問也', |
441 | | - ), |
442 | | - 'mk' => |
443 | | - array ( |
444 | | - 'htmlform-reset' => 'Откажи промени', |
445 | | - 'htmlform-submit' => 'Зачувај', |
446 | | - 'htmlform-int-invalid' => 'Вредноста која ја наведовте не е цел број.', |
447 | | - 'htmlform-int-toolow' => 'Вредноста која ја наведовте е под минимумот од $1', |
448 | | - 'htmlform-int-toohigh' => 'Вредноста која ја наведовте е над максимумот од $1', |
449 | | - 'htmlform-select-badoption' => 'Вредноста која ја наведовте не е валиден избор.', |
450 | | - 'htmlform-selectorother-other' => 'Друго', |
451 | | - 'htmlform-invalid-input' => 'Има проблеми со дел од вашиот внес', |
452 | | - ), |
453 | | - 'ml' => |
454 | | - array ( |
455 | | - 'htmlform-reset' => 'മാറ്റങ്ങള് വേണ്ട', |
456 | | - ), |
457 | | - 'ms' => |
458 | | - array ( |
459 | | - 'htmlform-reset' => 'Undur perubahan', |
460 | | - 'htmlform-submit' => 'Hantar', |
461 | | - 'htmlform-int-invalid' => 'Nilai yang anda tetapkan bukan satu integer.', |
462 | | - 'htmlform-select-badoption' => 'Nilai yang anda tentukan bukan satu pilihan yang sah.', |
463 | | - 'htmlform-selectorother-other' => 'Lain-lain', |
464 | | - 'htmlform-invalid-input' => 'Terdapat beberapa masalah dengan input anda', |
465 | | - ), |
466 | | - 'mt' => |
467 | | - array ( |
468 | | - 'htmlform-reset' => 'Annulla l-modifiki', |
469 | | - 'htmlform-submit' => 'Ibgħat', |
470 | | - 'htmlform-int-invalid' => 'Il-valur li speċifikajt mhuwiex sħiħ.', |
471 | | - 'htmlform-int-toolow' => 'Il-valur li speċifikajt hu inferjuri għall-minimu ta\' $1', |
472 | | - 'htmlform-int-toohigh' => 'Il-valur li speċifikjat hu \'l fuq mill-massimu ta\' $1', |
473 | | - 'htmlform-select-badoption' => 'Il-valur li speċifikajt mhuwiex għażla valida.', |
474 | | - 'htmlform-selectorother-other' => 'Oħrajn', |
475 | | - 'htmlform-invalid-input' => 'Hemm xi problemi f\'dak li daħħalt', |
476 | | - ), |
477 | | - 'nds' => |
478 | | - array ( |
479 | | - 'htmlform-reset' => 'Ännern trüchsetten', |
480 | | - 'htmlform-submit' => 'Afspiekern', |
481 | | - 'htmlform-int-invalid' => 'De angeven Tall is keen ganze Tall.', |
482 | | - 'htmlform-int-toolow' => 'De angeven Weert liggt ünner dat Minimum vun $1', |
483 | | - 'htmlform-int-toohigh' => 'De angeven Weert liggt över dat Maximum vun $1', |
484 | | - 'htmlform-select-badoption' => 'De angeven Weert is nich güllig.', |
485 | | - 'htmlform-selectorother-other' => 'Annere', |
486 | | - 'htmlform-invalid-input' => 'Mit welk vun de angeven Weerten gifft dat Problemen', |
487 | | - ), |
488 | | - 'nds-nl' => |
489 | | - array ( |
490 | | - 'htmlform-reset' => 'Wiezigingen ongedaonmaken', |
491 | | - 'htmlform-submit' => 'Opslaon', |
492 | | - 'htmlform-int-invalid' => 'De in-egeven weerde is gien geheel getal.', |
493 | | - 'htmlform-int-toolow' => 'De in-egeven weerde lig onder de minimumweerde van $1', |
494 | | - 'htmlform-int-toohigh' => 'De in-egeven weerde lig boven de maximumweerde van $1', |
495 | | - 'htmlform-select-badoption' => 'De in-egeven weerde is ongeldig.', |
496 | | - 'htmlform-selectorother-other' => 'Aanders', |
497 | | - 'htmlform-invalid-input' => 'Der bin preblemen mit een paor in-egeven weerden', |
498 | | - ), |
499 | | - 'nl' => |
500 | | - array ( |
501 | | - 'htmlform-reset' => 'Wijzigingen ongedaan maken', |
502 | | - 'htmlform-submit' => 'Opslaan', |
503 | | - 'htmlform-int-invalid' => 'De ingegeven waarde is geen geheel getal.', |
504 | | - 'htmlform-int-toolow' => 'De ingegeven waarde ligt onder de minimumwaarde van $1', |
505 | | - 'htmlform-int-toohigh' => 'De ingegeven waarde ligt boven de maximumwaarde van $1', |
506 | | - 'htmlform-select-badoption' => 'De ingegeven waarde is ongeldig.', |
507 | | - 'htmlform-selectorother-other' => 'Anders', |
508 | | - 'htmlform-invalid-input' => 'Er zijn problemen met enkele ingegeven waarden', |
509 | | - ), |
510 | | - 'nn' => |
511 | | - array ( |
512 | | - 'htmlform-reset' => 'Gjer om endringar', |
513 | | - 'htmlform-submit' => 'Lagre', |
514 | | - 'htmlform-int-invalid' => 'Verdien du valde er ikkje eit heiltal.', |
515 | | - 'htmlform-int-toolow' => 'Verdien du valde er under minstetalet på $1', |
516 | | - 'htmlform-int-toohigh' => 'Verdien du valde er over høgste moglege tal $1', |
517 | | - 'htmlform-select-badoption' => 'Verdien du valde er ikkje eit gyldig alternativ.', |
518 | | - 'htmlform-selectorother-other' => 'Andre', |
519 | | - 'htmlform-invalid-input' => 'Det finst problem med innskrivinga di', |
520 | | - ), |
521 | | - 'no' => |
522 | | - array ( |
523 | | - 'htmlform-reset' => 'Omgjør endringer', |
524 | | - 'htmlform-submit' => 'Lagre', |
525 | | - 'htmlform-int-invalid' => 'Verdien du valgte er ikke et heltall.', |
526 | | - 'htmlform-int-toolow' => 'Verdien du valgte er mindre enn minimum på $1', |
527 | | - 'htmlform-int-toohigh' => 'Verdien du valgte er over det mulige $1', |
528 | | - 'htmlform-select-badoption' => 'Verdien du valgte er ikke et gyldig alternativ.', |
529 | | - 'htmlform-selectorother-other' => 'Andre', |
530 | | - 'htmlform-invalid-input' => 'Det er problemer med noen av inndatene dine', |
531 | | - ), |
532 | | - 'oc' => |
533 | | - array ( |
534 | | - 'htmlform-reset' => 'Desfar las modificacions', |
535 | | - 'htmlform-submit' => 'Sometre', |
536 | | - 'htmlform-int-invalid' => 'La valor qu\'avètz especificada es pas un nombre entièr.', |
537 | | - 'htmlform-int-toolow' => 'La valor qu\'avètz especificada es en dejós del minimum de $1', |
538 | | - 'htmlform-int-toohigh' => 'La valor qu\'avètz especificada es en dessús del minimum de $1', |
539 | | - 'htmlform-select-badoption' => 'La valor qu\'avètz especificada es pas una opcion valida.', |
540 | | - 'htmlform-selectorother-other' => 'Autre', |
541 | | - 'htmlform-invalid-input' => 'De problèmas son arribats amb d\'unas valors', |
542 | | - ), |
543 | | - 'pdc' => |
544 | | - array ( |
545 | | - 'htmlform-selectorother-other' => 'Annere', |
546 | | - ), |
547 | | - 'pl' => |
548 | | - array ( |
549 | | - 'htmlform-reset' => 'Cofnij zmiany', |
550 | | - 'htmlform-submit' => 'Zapisz', |
551 | | - 'htmlform-int-invalid' => 'Podano wartość, która nie jest liczbą całkowitą.', |
552 | | - 'htmlform-int-toolow' => 'Podana wartość jest poniżej dopuszczalnego minimum $1', |
553 | | - 'htmlform-int-toohigh' => 'Podana wartość jest powyżej dopuszczalnego maximum $1', |
554 | | - 'htmlform-select-badoption' => 'Podano nieprawidłową wartość.', |
555 | | - 'htmlform-selectorother-other' => 'Inne', |
556 | | - 'htmlform-invalid-input' => 'Wystąpił problem z wprowadzonymi danymi', |
557 | | - ), |
558 | | - 'pnt' => |
559 | | - array ( |
560 | | - 'htmlform-selectorother-other' => 'Άλλον', |
561 | | - ), |
562 | | - 'pt' => |
563 | | - array ( |
564 | | - 'htmlform-reset' => 'Desfazer alterações', |
565 | | - 'htmlform-submit' => 'Enviar', |
566 | | - 'htmlform-int-invalid' => 'O valor que você especificou não é um inteiro.', |
567 | | - 'htmlform-int-toolow' => 'O valor que você especificou está abaixo do mínimo de $1', |
568 | | - 'htmlform-int-toohigh' => 'O valor que você especificou está acima do máximo de $1', |
569 | | - 'htmlform-select-badoption' => 'O valor que você especificou não é uma opção válida.', |
570 | | - 'htmlform-selectorother-other' => 'Outros', |
571 | | - 'htmlform-invalid-input' => 'Existem problemas com alguns dos dados introduzidos', |
572 | | - ), |
573 | | - 'qu' => |
574 | | - array ( |
575 | | - 'htmlform-reset' => 'Hukchasqakunata kutichiy', |
576 | | - 'htmlform-submit' => 'Kachay', |
577 | | - 'htmlform-int-invalid' => 'Sapaqchasqayki chaniqa manam hunt\'a yupaychu.', |
578 | | - 'htmlform-int-toolow' => 'Sapaqchasqayki chaniqa pisi saywa kaq $1-manta aswan pisim.', |
579 | | - 'htmlform-int-toohigh' => 'Sapaqchasqayki chaniqa achka saywa kaq $1-manta aswan achkam.', |
580 | | - 'htmlform-select-badoption' => 'Sapaqchasqayki chaniqa manam allin akllanachu.', |
581 | | - 'htmlform-selectorother-other' => 'Wakin', |
582 | | - 'htmlform-invalid-input' => 'Yaykuchisqaykiwanqa sasachakuykunam kachkan', |
583 | | - ), |
584 | | - 'ro' => |
585 | | - array ( |
586 | | - 'htmlform-reset' => 'Anulează modificările', |
587 | | - 'htmlform-submit' => 'Trimite', |
588 | | - 'htmlform-int-invalid' => 'Valoarea specificată nu este un întreg.', |
589 | | - 'htmlform-int-toolow' => 'Valoarea specificată este sub maximul $1', |
590 | | - 'htmlform-int-toohigh' => 'Valoarea specificată este peste maximul $1', |
591 | | - 'htmlform-select-badoption' => 'Valoarea specificată nu este o opţiune validă.', |
592 | | - 'htmlform-selectorother-other' => 'Altul', |
593 | | - 'htmlform-invalid-input' => 'Există probleme la valorile introduse', |
594 | | - ), |
595 | | - 'roa-tara' => |
596 | | - array ( |
597 | | - 'htmlform-reset' => 'Annulle le cangiaminde', |
598 | | - 'htmlform-submit' => 'Conferme', |
599 | | - 'htmlform-int-invalid' => '\'U valore ca è specificate non g\'è \'n\'indere.', |
600 | | - 'htmlform-int-toolow' => '\'U valore ca è specificate jè sotte a \'u minime de $1', |
601 | | - 'htmlform-int-toohigh' => '\'U valore ca è specificate jè suverchie a \'u massime de $1', |
602 | | - 'htmlform-select-badoption' => '\'U valore ca è specificate non g\'è \'n\'opziona valide.', |
603 | | - 'htmlform-selectorother-other' => 'Otre', |
604 | | - 'htmlform-invalid-input' => 'Stonne probbleme cu certe input ca tu è mise', |
605 | | - ), |
606 | | - 'ru' => |
607 | | - array ( |
608 | | - 'htmlform-reset' => 'Отменить изменения', |
609 | | - 'htmlform-submit' => 'Отправить', |
610 | | - 'htmlform-int-invalid' => 'Указанное вами значение не является целым числом.', |
611 | | - 'htmlform-int-toolow' => 'Указанное вами значение ниже минимального — $1', |
612 | | - 'htmlform-int-toohigh' => 'указанное вами значение выше максимального — $1', |
613 | | - 'htmlform-select-badoption' => 'Указанное вами значение не является допустимым.', |
614 | | - 'htmlform-selectorother-other' => 'Иное', |
615 | | - 'htmlform-invalid-input' => 'Часть введённых вами данных вызвала проблемы', |
616 | | - ), |
617 | | - 'sah' => |
618 | | - array ( |
619 | | - 'htmlform-reset' => 'Уларытыыны төннөр', |
620 | | - 'htmlform-submit' => 'Ыыт', |
621 | | - 'htmlform-int-invalid' => 'Эппит чыыһылаҥ төгүрүк буолбатах.', |
622 | | - 'htmlform-int-toolow' => 'Эппит чыыһылаҥ минимальнайтан кыра — $1', |
623 | | - 'htmlform-int-toohigh' => 'Эппит чыыһылаҥ максимальнайтан улахан — $1', |
624 | | - 'htmlform-select-badoption' => 'Ыйбыт туруоруугун манна ыйар сатаммат.', |
625 | | - 'htmlform-selectorother-other' => 'Атын', |
626 | | - 'htmlform-invalid-input' => 'Киллэрбит сибидиэнньэҥ сорҕото алҕаһы таһаарда', |
627 | | - ), |
628 | | - 'sc' => |
629 | | - array ( |
630 | | - 'htmlform-selectorother-other' => 'Àteru', |
631 | | - ), |
632 | | - 'sh' => |
633 | | - array ( |
634 | | - 'htmlform-reset' => 'Vrati izmjene', |
635 | | - 'htmlform-submit' => 'Unesi', |
636 | | - 'htmlform-int-invalid' => 'Vrijednost koju ste unijeli nije cijeli broj.', |
637 | | - 'htmlform-int-toolow' => 'Vrijednost koju ste unijeli je ispod minimuma od $1', |
638 | | - 'htmlform-int-toohigh' => 'Vrijednost koju ste unijeli je iznad maksimuma od $1', |
639 | | - 'htmlform-select-badoption' => 'Vrijednost koju ste unijeli nije valjana opcija.', |
640 | | - 'htmlform-selectorother-other' => 'Ostalo', |
641 | | - 'htmlform-invalid-input' => 'Postoje određeni problemi sa Vašim unosom', |
642 | | - ), |
643 | | - 'si' => |
644 | | - array ( |
645 | | - 'htmlform-reset' => 'වෙනස්කිරීම් අහෝසිකරන්න', |
646 | | - 'htmlform-submit' => 'යොමුකරන්න', |
647 | | - 'htmlform-int-invalid' => 'ඔබ විසින් හුවාදක්වා ඇති අගය පූර්ණාංකයක් නොවේ.', |
648 | | - 'htmlform-int-toolow' => 'ඔබ විසින් හුවාදක්වා ඇති අගය, අවම අගය වන $1 ට වඩා අඩුය', |
649 | | - 'htmlform-int-toohigh' => 'ඔබ විසින් හුවාදක්වා ඇති අගය, උපරිම අගය වන $1 ට වඩා වැඩිය', |
650 | | - 'htmlform-select-badoption' => 'ඔබ විසින් හුවාදක්වා ඇති අගය නීතික විකල්පයක් නොවේ.', |
651 | | - 'htmlform-selectorother-other' => 'වෙනත්', |
652 | | - 'htmlform-invalid-input' => 'ඔබගේ සමහරක් ප්රදානයන් විෂයයෙහි ගැටළු ඇත', |
653 | | - ), |
654 | | - 'sk' => |
655 | | - array ( |
656 | | - 'htmlform-reset' => 'Vrátiť zmeny', |
657 | | - 'htmlform-submit' => 'Odoslať', |
658 | | - 'htmlform-int-invalid' => 'Hodnota, ktorú ste uviedli nie je celé číslo.', |
659 | | - 'htmlform-int-toolow' => 'Hodnota, ktorú ste zadali je menšia ako minimálna hodnota $1', |
660 | | - 'htmlform-int-toohigh' => 'Hodnota, ktorú ste zadali je väčšia ako maximálna hodnota $1', |
661 | | - 'htmlform-select-badoption' => 'Hodnota, ktorú ste uviedli nie je platná.', |
662 | | - 'htmlform-selectorother-other' => 'Iné', |
663 | | - 'htmlform-invalid-input' => 'Niekotrý z údajov, ktoré ste zadali je problematický', |
664 | | - ), |
665 | | - 'sr-ec' => |
666 | | - array ( |
667 | | - 'htmlform-reset' => 'Врати измене', |
668 | | - 'htmlform-submit' => 'Пошаљи', |
669 | | - 'htmlform-int-invalid' => 'Вредност који сте навели није цели број.', |
670 | | - 'htmlform-int-toolow' => 'Вредности коју сте навели је испод минимума од $1', |
671 | | - 'htmlform-int-toohigh' => 'Вредност коју сте навели је изнад максимума од $1', |
672 | | - 'htmlform-select-badoption' => 'Вредност коју сте навели није исправна опција.', |
673 | | - 'htmlform-selectorother-other' => 'Друго', |
674 | | - 'htmlform-invalid-input' => 'Има проблема са делом Вашег уноса', |
675 | | - ), |
676 | | - 'sv' => |
677 | | - array ( |
678 | | - 'htmlform-reset' => 'Ogör ändringar', |
679 | | - 'htmlform-submit' => 'Spara', |
680 | | - 'htmlform-int-invalid' => 'Värdet du valde är inte ett heltal.', |
681 | | - 'htmlform-int-toolow' => 'Värdet du valde är under minimumet på $1', |
682 | | - 'htmlform-int-toohigh' => 'Värdet du valde är över maximumet på $1', |
683 | | - 'htmlform-select-badoption' => 'Värdet du valde är inte ett giltigt alternativ.', |
684 | | - 'htmlform-selectorother-other' => 'Andra', |
685 | | - 'htmlform-invalid-input' => 'Det finns problem med din inmatning', |
686 | | - ), |
687 | | - 'sw' => |
688 | | - array ( |
689 | | - 'htmlform-selectorother-other' => 'Nyingine', |
690 | | - ), |
691 | | - 'te' => |
692 | | - array ( |
693 | | - 'htmlform-selectorother-other' => 'ఇతర', |
694 | | - ), |
695 | | - 'tr' => |
696 | | - array ( |
697 | | - 'htmlform-reset' => 'Değişiklikleri geri al', |
698 | | - 'htmlform-submit' => 'Gönder', |
699 | | - 'htmlform-int-invalid' => 'Belirttiğiniz değer bir tamsayı değil.', |
700 | | - 'htmlform-int-toolow' => 'Belirttiğiniz değer asgari $1\'in altında', |
701 | | - 'htmlform-int-toohigh' => 'Belirttiğiniz değer azami $1\'in üstünde', |
702 | | - 'htmlform-select-badoption' => 'Belirttiğiniz değer geçerli bir seçenek değil.', |
703 | | - 'htmlform-selectorother-other' => 'Diğer', |
704 | | - 'htmlform-invalid-input' => 'Girdinizin bir kısmıyla ilgili sorunlar var', |
705 | | - ), |
706 | | - 'uk' => |
707 | | - array ( |
708 | | - 'htmlform-reset' => 'Відкотити зміни', |
709 | | - 'htmlform-submit' => 'Відправити', |
710 | | - 'htmlform-int-invalid' => 'Зазначене вами значення не є цілим числом.', |
711 | | - 'htmlform-int-toolow' => 'Вказане вами значення нижче за мінімальне — $1', |
712 | | - 'htmlform-int-toohigh' => 'Зазначене вами значення вище за максимальне — $1', |
713 | | - 'htmlform-select-badoption' => 'Зазначене вами значення є недопустимим.', |
714 | | - 'htmlform-selectorother-other' => 'Інше', |
715 | | - 'htmlform-invalid-input' => 'Частина введених вами даних викликала проблеми', |
716 | | - ), |
717 | | - 'vec' => |
718 | | - array ( |
719 | | - 'htmlform-reset' => 'Scancèla modifiche', |
720 | | - 'htmlform-submit' => 'Manda', |
721 | | - 'htmlform-int-invalid' => 'El valor che te ghè indicà no\'l xe un nùmaro intero.', |
722 | | - 'htmlform-int-toolow' => 'El valor che te ghè indicà el xe soto al minimo, che xe $1', |
723 | | - 'htmlform-int-toohigh' => 'El valor che te ghè indicà el xe sora al màssimo, che xe $1', |
724 | | - 'htmlform-select-badoption' => 'El valor che te ghè indicà no\'l xe mia valido.', |
725 | | - 'htmlform-invalid-input' => 'Ghe xe problemi con l\'input che te ghè inserìo', |
726 | | - ), |
727 | | - 'vi' => |
728 | | - array ( |
729 | | - 'htmlform-reset' => 'Hủy các thay đổi', |
730 | | - 'htmlform-submit' => 'Đăng', |
731 | | - 'htmlform-int-invalid' => 'Giá trị đưa vào không phải số nguyên.', |
732 | | - 'htmlform-int-toolow' => 'Giá trị đưa vào phải ít nhất $1', |
733 | | - 'htmlform-int-toohigh' => 'Giá trị không được vượt quá $1', |
734 | | - 'htmlform-select-badoption' => 'Giá trị đưa vào không hợp lệ.', |
735 | | - 'htmlform-selectorother-other' => 'Khác', |
736 | | - 'htmlform-invalid-input' => 'Có vấn đề trong dữ liệu bạn vừa đưa vào', |
737 | | - ), |
738 | | - 'vo' => |
739 | | - array ( |
740 | | - 'htmlform-selectorother-other' => 'Votik', |
741 | | - ), |
742 | | - 'xal' => |
743 | | - array ( |
744 | | - 'htmlform-reset' => 'Сольлһдудиг уга кех', |
745 | | - ), |
746 | | - 'yue' => |
747 | | - array ( |
748 | | - 'htmlform-reset' => '復原更改', |
749 | | - 'htmlform-submit' => '遞交', |
750 | | - 'htmlform-int-invalid' => '你所指定嘅值唔係一個整數。', |
751 | | - 'htmlform-int-toolow' => '你所指定嘅值低過最細值$1', |
752 | | - 'htmlform-int-toohigh' => '你所指定嘅值高過最大值$1', |
753 | | - 'htmlform-select-badoption' => '你所指定嘅值唔係一個有效嘅選項。', |
754 | | - 'htmlform-selectorother-other' => '其它', |
755 | | - 'htmlform-invalid-input' => '響你嘅輸入度有一啲問題', |
756 | | - ), |
757 | | - 'zh-hans' => |
758 | | - array ( |
759 | | - 'htmlform-reset' => '撤销更改', |
760 | | - 'htmlform-submit' => '提交', |
761 | | - 'htmlform-int-invalid' => '您所指定的值不是整数。', |
762 | | - 'htmlform-int-toolow' => '您所指定的值低于最小值$1', |
763 | | - 'htmlform-int-toohigh' => '您所指定的值高于最大值$1', |
764 | | - 'htmlform-select-badoption' => '您所指定的值不是有效的选项。', |
765 | | - 'htmlform-selectorother-other' => '其他', |
766 | | - 'htmlform-invalid-input' => '您输入的内容存在问题', |
767 | | - ), |
768 | | - 'zh-hant' => |
769 | | - array ( |
770 | | - 'htmlform-reset' => '復原更改', |
771 | | - 'htmlform-submit' => '遞交', |
772 | | - 'htmlform-int-invalid' => '您所指定的值不是一個整數。', |
773 | | - 'htmlform-int-toolow' => '您所指定的值低於最小值$1', |
774 | | - 'htmlform-int-toohigh' => '您所指定的值高於最大值$1', |
775 | | - 'htmlform-select-badoption' => '您所指定的值不是一個有效的選項。', |
776 | | - 'htmlform-selectorother-other' => '其它', |
777 | | - 'htmlform-invalid-input' => '在您的輸入中出現了一些問題', |
778 | | - ), |
779 | | -); |
Index: branches/wmf/1.17wmf1/extensions/LiquidThreads/compat/generateCompatibilityLocalisation.php |
— | — | @@ -1,64 +0,0 @@ |
2 | | -<?php |
3 | | -// Utility script to generate an extension messages file for backwards-compatibility. |
4 | | - |
5 | | -require_once ( getenv( 'MW_INSTALL_PATH' ) !== false |
6 | | - ? getenv( 'MW_INSTALL_PATH' ) . "/maintenance/commandLine.inc" |
7 | | - : dirname( __FILE__ ) . '/../../maintenance/commandLine.inc' ); |
8 | | - |
9 | | -$messages = array( |
10 | | - 'htmlform-reset', |
11 | | - 'htmlform-submit', |
12 | | - 'htmlform-int-invalid', |
13 | | - 'htmlform-int-toolow', |
14 | | - 'htmlform-int-toohigh', |
15 | | - 'htmlform-select-badoption', |
16 | | - 'htmlform-selectorother-other', |
17 | | - 'htmlform-invalid-input', |
18 | | -); |
19 | | - |
20 | | -$languages = array_keys( Language::getLanguageNames( false ) ); |
21 | | -$data = array_fill_keys( $languages, array() ); |
22 | | - |
23 | | -foreach ( $messages as $msg ) { |
24 | | - print "\nGetting localisation for $msg..."; |
25 | | - foreach ( $languages as $lang ) { |
26 | | - $data[$lang][$msg] = $wgMessageCache->get( $msg, false, $lang ); |
27 | | - print " $lang "; |
28 | | - } |
29 | | - print "\n"; |
30 | | -} |
31 | | - |
32 | | -$originalData = $data; |
33 | | - |
34 | | -print "Eliminating redundant data... "; |
35 | | - |
36 | | -foreach ( $languages as $lang ) { |
37 | | - $fallback = Language::getFallbackFor( $lang ); |
38 | | - |
39 | | - print " [$lang from $fallback] "; |
40 | | - $lastFallback = $lang; |
41 | | - |
42 | | - while ( $fallback && !isset( $originalData[$fallback] ) && $fallback != $lastFallback ) { |
43 | | - $lastFallback = $fallback; |
44 | | - $fallback = Language::getFallbackFor( $lang ); |
45 | | - } |
46 | | - |
47 | | - if ( $fallback && isset( $originalData[$fallback] ) ) { |
48 | | - $fallbackData = $originalData[$fallback]; |
49 | | - |
50 | | - $data[$lang] = array_diff_assoc( $originalData[$lang], $fallbackData ); |
51 | | - |
52 | | - if ( !count( $data[$lang] ) ) |
53 | | - unset( $data[$lang] ); |
54 | | - } |
55 | | -} |
56 | | - |
57 | | -print "\nSaving...\n"; |
58 | | - |
59 | | -$export = "<?php\n" . |
60 | | - "// This file is generated automatically by generateCompatibilityLocalisation.php\n" . |
61 | | - '$messages = ' . var_export( $data, true ) . ";\n"; |
62 | | - |
63 | | -file_put_contents( 'Lqt-compat.i18n.php', $export ); |
64 | | - |
65 | | -print "Done\n"; |
Index: branches/wmf/1.17wmf1/extensions/LiquidThreads/compat/HTMLForm.php |
— | — | @@ -1,831 +0,0 @@ |
2 | | -<?php |
3 | | -class HTMLForm { |
4 | | - static $jsAdded = false; |
5 | | - |
6 | | - /* The descriptor is an array of arrays. |
7 | | - i.e. array( |
8 | | - 'fieldname' => array( |
9 | | - 'section' => 'section/subsection', |
10 | | - properties... |
11 | | - ), |
12 | | - ... |
13 | | - ) |
14 | | - */ |
15 | | - |
16 | | - static $typeMappings = array( |
17 | | - 'text' => 'HTMLTextField', |
18 | | - 'select' => 'HTMLSelectField', |
19 | | - 'radio' => 'HTMLRadioField', |
20 | | - 'multiselect' => 'HTMLMultiSelectField', |
21 | | - 'check' => 'HTMLCheckField', |
22 | | - 'toggle' => 'HTMLCheckField', |
23 | | - 'int' => 'HTMLIntField', |
24 | | - 'info' => 'HTMLInfoField', |
25 | | - 'selectorother' => 'HTMLSelectOrOtherField', |
26 | | - ); |
27 | | - |
28 | | - function __construct( $descriptor, $messagePrefix ) { |
29 | | - wfLoadExtensionMessages( 'Lqt-Compat' ); |
30 | | - |
31 | | - $this->mMessagePrefix = $messagePrefix; |
32 | | - |
33 | | - // Expand out into a tree. |
34 | | - $loadedDescriptor = array(); |
35 | | - $this->mFlatFields = array(); |
36 | | - |
37 | | - foreach ( $descriptor as $fieldname => $info ) { |
38 | | - $section = ''; |
39 | | - if ( isset( $info['section'] ) ) |
40 | | - $section = $info['section']; |
41 | | - |
42 | | - $info['name'] = $fieldname; |
43 | | - |
44 | | - $field = $this->loadInputFromParameters( $info ); |
45 | | - $field->mParent = $this; |
46 | | - |
47 | | - $setSection =& $loadedDescriptor; |
48 | | - if ( $section ) { |
49 | | - $sectionParts = explode( '/', $section ); |
50 | | - |
51 | | - while ( count( $sectionParts ) ) { |
52 | | - $newName = array_shift( $sectionParts ); |
53 | | - |
54 | | - if ( !isset( $setSection[$newName] ) ) { |
55 | | - $setSection[$newName] = array(); |
56 | | - } |
57 | | - |
58 | | - $setSection =& $setSection[$newName]; |
59 | | - } |
60 | | - } |
61 | | - |
62 | | - $setSection[$fieldname] = $field; |
63 | | - $this->mFlatFields[$fieldname] = $field; |
64 | | - } |
65 | | - |
66 | | - $this->mFieldTree = $loadedDescriptor; |
67 | | - |
68 | | - $this->mShowReset = true; |
69 | | - } |
70 | | - |
71 | | - static function addJS() { |
72 | | - // No-op, the JS is just helper stuff |
73 | | - } |
74 | | - |
75 | | - static function loadInputFromParameters( $descriptor ) { |
76 | | - if ( isset( $descriptor['class'] ) ) { |
77 | | - $class = $descriptor['class']; |
78 | | - } elseif ( isset( $descriptor['type'] ) ) { |
79 | | - $class = self::$typeMappings[$descriptor['type']]; |
80 | | - $descriptor['class'] = $class; |
81 | | - } |
82 | | - |
83 | | - if ( !$class ) { |
84 | | - throw new MWException( "Descriptor with no class: " . print_r( $descriptor, true ) ); |
85 | | - } |
86 | | - |
87 | | - $obj = new $class( $descriptor ); |
88 | | - |
89 | | - return $obj; |
90 | | - } |
91 | | - |
92 | | - function show() { |
93 | | - self::addJS(); |
94 | | - |
95 | | - // Load data from the request. |
96 | | - $this->loadData(); |
97 | | - |
98 | | - // Try a submission |
99 | | - global $wgUser, $wgRequest; |
100 | | - $editToken = $wgRequest->getVal( 'wpEditToken' ); |
101 | | - |
102 | | - $result = false; |
103 | | - if ( $wgUser->matchEditToken( $editToken ) ) |
104 | | - $result = $this->trySubmit(); |
105 | | - |
106 | | - if ( $result === true ) |
107 | | - return $result; |
108 | | - |
109 | | - // Display form. |
110 | | - $this->displayForm( $result ); |
111 | | - } |
112 | | - |
113 | | - /** Return values: |
114 | | - * TRUE == Successful submission |
115 | | - * FALSE == No submission attempted |
116 | | - * Anything else == Error to display. |
117 | | - */ |
118 | | - function trySubmit() { |
119 | | - // Check for validation |
120 | | - foreach ( $this->mFlatFields as $fieldname => $field ) { |
121 | | - if ( !empty( $field->mParams['nodata'] ) ) continue; |
122 | | - if ( $field->validate( |
123 | | - $this->mFieldData[$fieldname], |
124 | | - $this->mFieldData ) !== true ) |
125 | | - { |
126 | | - return isset( $this->mValidationErrorMessage ) |
127 | | - ? $this->mValidationErrorMessage |
128 | | - : array( 'htmlform-invalid-input' ); |
129 | | - } |
130 | | - } |
131 | | - |
132 | | - $callback = $this->mSubmitCallback; |
133 | | - |
134 | | - $data = $this->filterDataForSubmit( $this->mFieldData ); |
135 | | - |
136 | | - $res = call_user_func( $callback, $data ); |
137 | | - |
138 | | - return $res; |
139 | | - } |
140 | | - |
141 | | - function setSubmitCallback( $cb ) { |
142 | | - $this->mSubmitCallback = $cb; |
143 | | - } |
144 | | - |
145 | | - function setValidationErrorMessage( $msg ) { |
146 | | - $this->mValidationErrorMessage = $msg; |
147 | | - } |
148 | | - |
149 | | - function setIntro( $msg ) { |
150 | | - $this->mIntro = $msg; |
151 | | - } |
152 | | - |
153 | | - function displayForm( $submitResult ) { |
154 | | - global $wgOut; |
155 | | - |
156 | | - if ( $submitResult !== false ) { |
157 | | - $this->displayErrors( $submitResult ); |
158 | | - } |
159 | | - |
160 | | - if ( isset( $this->mIntro ) ) { |
161 | | - $wgOut->addHTML( $this->mIntro ); |
162 | | - } |
163 | | - |
164 | | - $html = $this->getBody(); |
165 | | - |
166 | | - // Hidden fields |
167 | | - $html .= $this->getHiddenFields(); |
168 | | - |
169 | | - // Buttons |
170 | | - $html .= $this->getButtons(); |
171 | | - |
172 | | - $html = $this->wrapForm( $html ); |
173 | | - |
174 | | - $wgOut->addHTML( $html ); |
175 | | - } |
176 | | - |
177 | | - function wrapForm( $html ) { |
178 | | - return Xml::tags( |
179 | | - 'form', |
180 | | - array( |
181 | | - 'action' => $this->getTitle()->getFullURL(), |
182 | | - 'method' => 'post', |
183 | | - ), |
184 | | - $html |
185 | | - ); |
186 | | - } |
187 | | - |
188 | | - function getHiddenFields() { |
189 | | - global $wgUser; |
190 | | - $html = ''; |
191 | | - |
192 | | - $html .= Xml::hidden( 'wpEditToken', $wgUser->editToken() ) . "\n"; |
193 | | - $html .= Xml::hidden( 'title', $this->getTitle() ) . "\n"; |
194 | | - |
195 | | - return $html; |
196 | | - } |
197 | | - |
198 | | - function getButtons() { |
199 | | - $html = ''; |
200 | | - |
201 | | - $attribs = array(); |
202 | | - |
203 | | - if ( isset( $this->mSubmitID ) ) |
204 | | - $attribs['id'] = $this->mSubmitID; |
205 | | - |
206 | | - $attribs['class'] = 'mw-htmlform-submit'; |
207 | | - |
208 | | - $html .= Xml::submitButton( $this->getSubmitText(), $attribs ) . "\n"; |
209 | | - |
210 | | - if ( $this->mShowReset ) { |
211 | | - $html .= Xml::element( |
212 | | - 'input', |
213 | | - array( |
214 | | - 'type' => 'reset', |
215 | | - 'value' => wfMsg( 'htmlform-reset' ) |
216 | | - ) |
217 | | - ) . "\n"; |
218 | | - } |
219 | | - |
220 | | - return $html; |
221 | | - } |
222 | | - |
223 | | - function getBody() { |
224 | | - return $this->displaySection( $this->mFieldTree ); |
225 | | - } |
226 | | - |
227 | | - function displayErrors( $errors ) { |
228 | | - if ( is_array( $errors ) ) { |
229 | | - $errorstr = $this->formatErrors( $errors ); |
230 | | - } else { |
231 | | - $errorstr = $errors; |
232 | | - } |
233 | | - |
234 | | - $errorstr = Xml::tags( 'div', array( 'class' => 'error' ), $errorstr ); |
235 | | - |
236 | | - global $wgOut; |
237 | | - $wgOut->addHTML( $errorstr ); |
238 | | - } |
239 | | - |
240 | | - static function formatErrors( $errors ) { |
241 | | - $errorstr = ''; |
242 | | - foreach ( $errors as $error ) { |
243 | | - if ( is_array( $error ) ) { |
244 | | - $msg = array_shift( $error ); |
245 | | - } else { |
246 | | - $msg = $error; |
247 | | - $error = array(); |
248 | | - } |
249 | | - $errorstr .= Xml::tags( |
250 | | - 'li', |
251 | | - null, |
252 | | - wfMsgExt( $msg, array( 'parseinline' ), $error ) |
253 | | - ); |
254 | | - } |
255 | | - |
256 | | - $errorstr = Xml::tags( 'ul', null, $errorstr ); |
257 | | - |
258 | | - return $errorstr; |
259 | | - } |
260 | | - |
261 | | - function setSubmitText( $t ) { |
262 | | - $this->mSubmitText = $t; |
263 | | - } |
264 | | - |
265 | | - function getSubmitText() { |
266 | | - return isset( $this->mSubmitText ) ? $this->mSubmitText : wfMsg( 'htmlform-submit' ); |
267 | | - } |
268 | | - |
269 | | - function setSubmitID( $t ) { |
270 | | - $this->mSubmitID = $t; |
271 | | - } |
272 | | - |
273 | | - function setMessagePrefix( $p ) { |
274 | | - $this->mMessagePrefix = $p; |
275 | | - } |
276 | | - |
277 | | - function setTitle( $t ) { |
278 | | - $this->mTitle = $t; |
279 | | - } |
280 | | - |
281 | | - function getTitle() { |
282 | | - return $this->mTitle; |
283 | | - } |
284 | | - |
285 | | - function displaySection( $fields ) { |
286 | | - $tableHtml = ''; |
287 | | - $subsectionHtml = ''; |
288 | | - $hasLeftColumn = false; |
289 | | - |
290 | | - foreach ( $fields as $key => $value ) { |
291 | | - if ( is_object( $value ) ) { |
292 | | - $v = empty( $value->mParams['nodata'] ) |
293 | | - ? $this->mFieldData[$key] |
294 | | - : $value->getDefault(); |
295 | | - $tableHtml .= $value->getTableRow( $v ); |
296 | | - |
297 | | - if ( $value->getLabel() != ' ' ) |
298 | | - $hasLeftColumn = true; |
299 | | - } elseif ( is_array( $value ) ) { |
300 | | - $section = $this->displaySection( $value ); |
301 | | - $legend = wfMsg( "{$this->mMessagePrefix}-$key" ); |
302 | | - $subsectionHtml .= Xml::fieldset( $legend, $section ) . "\n"; |
303 | | - } |
304 | | - } |
305 | | - |
306 | | - $classes = array(); |
307 | | - if ( !$hasLeftColumn ) // Avoid strange spacing when no labels exist |
308 | | - $classes[] = 'mw-htmlform-nolabel'; |
309 | | - $classes = implode( ' ', $classes ); |
310 | | - |
311 | | - $tableHtml = "<table class='$classes'><tbody>\n$tableHtml\n</tbody></table>\n"; |
312 | | - |
313 | | - return $subsectionHtml . "\n" . $tableHtml; |
314 | | - } |
315 | | - |
316 | | - function loadData() { |
317 | | - global $wgRequest; |
318 | | - |
319 | | - $fieldData = array(); |
320 | | - |
321 | | - foreach ( $this->mFlatFields as $fieldname => $field ) { |
322 | | - if ( !empty( $field->mParams['nodata'] ) ) continue; |
323 | | - if ( !empty( $field->mParams['disabled'] ) ) { |
324 | | - $fieldData[$fieldname] = $field->getDefault(); |
325 | | - } else { |
326 | | - $fieldData[$fieldname] = $field->loadDataFromRequest( $wgRequest ); |
327 | | - } |
328 | | - } |
329 | | - |
330 | | - // Filter data. |
331 | | - foreach ( $fieldData as $name => &$value ) { |
332 | | - $field = $this->mFlatFields[$name]; |
333 | | - $value = $field->filter( $value, $this->mFlatFields ); |
334 | | - } |
335 | | - |
336 | | - $this->mFieldData = $fieldData; |
337 | | - } |
338 | | - |
339 | | - function importData( $fieldData ) { |
340 | | - // Filter data. |
341 | | - foreach ( $fieldData as $name => &$value ) { |
342 | | - $field = $this->mFlatFields[$name]; |
343 | | - $value = $field->filter( $value, $this->mFlatFields ); |
344 | | - } |
345 | | - |
346 | | - foreach ( $this->mFlatFields as $fieldname => $field ) { |
347 | | - if ( !isset( $fieldData[$fieldname] ) ) |
348 | | - $fieldData[$fieldname] = $field->getDefault(); |
349 | | - } |
350 | | - |
351 | | - $this->mFieldData = $fieldData; |
352 | | - } |
353 | | - |
354 | | - function suppressReset( $suppressReset = true ) { |
355 | | - $this->mShowReset = !$suppressReset; |
356 | | - } |
357 | | - |
358 | | - function filterDataForSubmit( $data ) { |
359 | | - return $data; |
360 | | - } |
361 | | -} |
362 | | - |
363 | | -abstract class HTMLFormField { |
364 | | - abstract function getInputHTML( $value ); |
365 | | - |
366 | | - function validate( $value, $alldata ) { |
367 | | - if ( isset( $this->mValidationCallback ) ) { |
368 | | - return call_user_func( $this->mValidationCallback, $value, $alldata ); |
369 | | - } |
370 | | - |
371 | | - return true; |
372 | | - } |
373 | | - |
374 | | - function filter( $value, $alldata ) { |
375 | | - if ( isset( $this->mFilterCallback ) ) { |
376 | | - $value = call_user_func( $this->mFilterCallback, $value, $alldata ); |
377 | | - } |
378 | | - |
379 | | - return $value; |
380 | | - } |
381 | | - |
382 | | - function loadDataFromRequest( $request ) { |
383 | | - if ( $request->getCheck( $this->mName ) ) { |
384 | | - return $request->getText( $this->mName ); |
385 | | - } else { |
386 | | - return $this->getDefault(); |
387 | | - } |
388 | | - } |
389 | | - |
390 | | - function __construct( $params ) { |
391 | | - $this->mParams = $params; |
392 | | - |
393 | | - if ( isset( $params['label-message'] ) ) { |
394 | | - $msgInfo = $params['label-message']; |
395 | | - |
396 | | - if ( is_array( $msgInfo ) ) { |
397 | | - $msg = array_shift( $msgInfo ); |
398 | | - } else { |
399 | | - $msg = $msgInfo; |
400 | | - $msgInfo = array(); |
401 | | - } |
402 | | - |
403 | | - $this->mLabel = wfMsgExt( $msg, 'parseinline', $msgInfo ); |
404 | | - } elseif ( isset( $params['label'] ) ) { |
405 | | - $this->mLabel = $params['label']; |
406 | | - } |
407 | | - |
408 | | - if ( isset( $params['name'] ) ) { |
409 | | - $this->mName = 'wp' . $params['name']; |
410 | | - $this->mID = 'mw-input-' . $params['name']; |
411 | | - } |
412 | | - |
413 | | - if ( isset( $params['default'] ) ) { |
414 | | - $this->mDefault = $params['default']; |
415 | | - } |
416 | | - |
417 | | - if ( isset( $params['id'] ) ) { |
418 | | - $this->mID = $params['id']; |
419 | | - } |
420 | | - |
421 | | - if ( isset( $params['validation-callback'] ) ) { |
422 | | - $this->mValidationCallback = $params['validation-callback']; |
423 | | - } |
424 | | - |
425 | | - if ( isset( $params['filter-callback'] ) ) { |
426 | | - $this->mFilterCallback = $params['filter-callback']; |
427 | | - } |
428 | | - } |
429 | | - |
430 | | - function getTableRow( $value ) { |
431 | | - // Check for invalid data. |
432 | | - global $wgRequest; |
433 | | - |
434 | | - $errors = $this->validate( $value, $this->mParent->mFieldData ); |
435 | | - if ( $errors === true || !$wgRequest->wasPosted() ) { |
436 | | - $errors = ''; |
437 | | - } else { |
438 | | - $errors = Xml::tags( 'span', array( 'class' => 'error' ), $errors ); |
439 | | - } |
440 | | - |
441 | | - $html = ''; |
442 | | - |
443 | | - $html .= Xml::tags( 'td', array( 'class' => 'mw-label' ), |
444 | | - Xml::tags( 'label', array( 'for' => $this->mID ), $this->getLabel() ) |
445 | | - ); |
446 | | - $html .= Xml::tags( 'td', array( 'class' => 'mw-input' ), |
447 | | - $this->getInputHTML( $value ) . "\n$errors" ); |
448 | | - |
449 | | - $fieldType = get_class( $this ); |
450 | | - |
451 | | - $html = Xml::tags( 'tr', array( 'class' => "mw-htmlform-field-$fieldType" ), |
452 | | - $html ) . "\n"; |
453 | | - |
454 | | - // Help text |
455 | | - if ( isset( $this->mParams['help-message'] ) ) { |
456 | | - $msg = $this->mParams['help-message']; |
457 | | - |
458 | | - $text = wfMsgExt( $msg, 'parseinline' ); |
459 | | - |
460 | | - if ( !wfEmptyMsg( $msg, $text ) ) { |
461 | | - $row = Xml::tags( |
462 | | - 'td', |
463 | | - array( 'colspan' => 2, 'class' => 'htmlform-tip' ), |
464 | | - $text |
465 | | - ); |
466 | | - |
467 | | - $row = Xml::tags( 'tr', null, $row ); |
468 | | - |
469 | | - $html .= "$row\n"; |
470 | | - } |
471 | | - } |
472 | | - |
473 | | - return $html; |
474 | | - } |
475 | | - |
476 | | - function getLabel() { |
477 | | - return $this->mLabel; |
478 | | - } |
479 | | - |
480 | | - function getDefault() { |
481 | | - if ( isset( $this->mDefault ) ) { |
482 | | - return $this->mDefault; |
483 | | - } else { |
484 | | - return null; |
485 | | - } |
486 | | - } |
487 | | - |
488 | | - static function flattenOptions( $options ) { |
489 | | - $flatOpts = array(); |
490 | | - |
491 | | - foreach ( $options as $key => $value ) { |
492 | | - if ( is_array( $value ) ) { |
493 | | - $flatOpts = array_merge( $flatOpts, self::flattenOptions( $value ) ); |
494 | | - } else { |
495 | | - $flatOpts[] = $value; |
496 | | - } |
497 | | - } |
498 | | - |
499 | | - return $flatOpts; |
500 | | - } |
501 | | -} |
502 | | - |
503 | | -class HTMLTextField extends HTMLFormField { |
504 | | - |
505 | | - function getSize() { |
506 | | - return isset( $this->mParams['size'] ) ? $this->mParams['size'] : 45; |
507 | | - } |
508 | | - |
509 | | - function getInputHTML( $value ) { |
510 | | - $attribs = array( 'id' => $this->mID ); |
511 | | - |
512 | | - if ( isset( $this->mParams['maxlength'] ) ) { |
513 | | - $attribs['maxlength'] = $this->mParams['maxlength']; |
514 | | - } |
515 | | - |
516 | | - if ( !empty( $this->mParams['disabled'] ) ) { |
517 | | - $attribs['disabled'] = 'disabled'; |
518 | | - } |
519 | | - |
520 | | - return Xml::input( |
521 | | - $this->mName, |
522 | | - $this->getSize(), |
523 | | - $value, |
524 | | - $attribs |
525 | | - ); |
526 | | - } |
527 | | -} |
528 | | - |
529 | | -class HTMLIntField extends HTMLTextField { |
530 | | - function getSize() { |
531 | | - return isset( $this->mParams['size'] ) ? $this->mParams['size'] : 20; |
532 | | - } |
533 | | - |
534 | | - function validate( $value, $alldata ) { |
535 | | - $p = parent::validate( $value, $alldata ); |
536 | | - |
537 | | - if ( $p !== true ) return $p; |
538 | | - |
539 | | - if ( intval( $value ) != $value ) { |
540 | | - return wfMsgExt( 'htmlform-int-invalid', 'parse' ); |
541 | | - } |
542 | | - |
543 | | - if ( isset( $this->mParams['min'] ) ) { |
544 | | - $min = $this->mParams['min']; |
545 | | - if ( $min > $value ) |
546 | | - return wfMsgExt( 'htmlform-int-toolow', 'parse', array( $min ) ); |
547 | | - } |
548 | | - |
549 | | - if ( isset( $this->mParams['max'] ) ) { |
550 | | - $max = $this->mParams['max']; |
551 | | - if ( $max < $value ) |
552 | | - return wfMsgExt( 'htmlform-int-toohigh', 'parse', array( $max ) ); |
553 | | - } |
554 | | - |
555 | | - return true; |
556 | | - } |
557 | | -} |
558 | | - |
559 | | -class HTMLCheckField extends HTMLFormField { |
560 | | - function getInputHTML( $value ) { |
561 | | - if ( !empty( $this->mParams['invert'] ) ) |
562 | | - $value = !$value; |
563 | | - |
564 | | - $attr = array( 'id' => $this->mID ); |
565 | | - if ( !empty( $this->mParams['disabled'] ) ) { |
566 | | - $attr['disabled'] = 'disabled'; |
567 | | - } |
568 | | - |
569 | | - return Xml::check( $this->mName, $value, $attr ) . ' ' . |
570 | | - Xml::tags( 'label', array( 'for' => $this->mID ), $this->mLabel ); |
571 | | - } |
572 | | - |
573 | | - function getLabel() { |
574 | | - return ' '; // In the right-hand column. |
575 | | - } |
576 | | - |
577 | | - function loadDataFromRequest( $request ) { |
578 | | - $invert = false; |
579 | | - if ( isset( $this->mParams['invert'] ) && $this->mParams['invert'] ) { |
580 | | - $invert = true; |
581 | | - } |
582 | | - |
583 | | - // GetCheck won't work like we want for checks. |
584 | | - if ( $request->getCheck( 'wpEditToken' ) ) { |
585 | | - // XOR has the following truth table, which is what we want |
586 | | - // INVERT VALUE | OUTPUT |
587 | | - // true true | false |
588 | | - // false true | true |
589 | | - // false false | false |
590 | | - // true false | true |
591 | | - return $request->getBool( $this->mName ) xor $invert; |
592 | | - } else { |
593 | | - return $this->getDefault(); |
594 | | - } |
595 | | - } |
596 | | -} |
597 | | - |
598 | | -class HTMLSelectField extends HTMLFormField { |
599 | | - |
600 | | - function validate( $value, $alldata ) { |
601 | | - $p = parent::validate( $value, $alldata ); |
602 | | - if ( $p !== true ) return $p; |
603 | | - |
604 | | - $validOptions = HTMLFormField::flattenOptions( $this->mParams['options'] ); |
605 | | - if ( in_array( $value, $validOptions ) ) |
606 | | - return true; |
607 | | - else |
608 | | - return wfMsgExt( 'htmlform-select-badoption', 'parseinline' ); |
609 | | - } |
610 | | - |
611 | | - function getInputHTML( $value ) { |
612 | | - $select = new XmlSelect( $this->mName, $this->mID, strval( $value ) ); |
613 | | - |
614 | | - // If one of the options' 'name' is int(0), it is automatically selected. |
615 | | - // because PHP sucks and things int(0) == 'some string'. |
616 | | - // Working around this by forcing all of them to strings. |
617 | | - $options = array_map( 'strval', $this->mParams['options'] ); |
618 | | - |
619 | | - if ( !empty( $this->mParams['disabled'] ) ) { |
620 | | - $select->setAttribute( 'disabled', 'disabled' ); |
621 | | - } |
622 | | - |
623 | | - $select->addOptions( $options ); |
624 | | - |
625 | | - return $select->getHTML(); |
626 | | - } |
627 | | -} |
628 | | - |
629 | | -class HTMLSelectOrOtherField extends HTMLTextField { |
630 | | - static $jsAdded = false; |
631 | | - |
632 | | - function __construct( $params ) { |
633 | | - if ( !in_array( 'other', $params['options'] ) ) { |
634 | | - $params['options'][wfMsg( 'htmlform-selectorother-other' )] = 'other'; |
635 | | - } |
636 | | - |
637 | | - parent::__construct( $params ); |
638 | | - } |
639 | | - |
640 | | - function getInputHTML( $value ) { |
641 | | - $valInSelect = false; |
642 | | - |
643 | | - if ( $value !== false ) |
644 | | - $valInSelect = in_array( $value, |
645 | | - HTMLFormField::flattenOptions( $this->mParams['options'] ) ); |
646 | | - |
647 | | - $selected = $valInSelect ? $value : 'other'; |
648 | | - |
649 | | - $select = new XmlSelect( $this->mName, $this->mID, $selected ); |
650 | | - $select->addOptions( $this->mParams['options'] ); |
651 | | - |
652 | | - $select->setAttribute( 'class', 'mw-htmlform-select-or-other' ); |
653 | | - |
654 | | - $tbAttribs = array( 'id' => $this->mID . '-other' ); |
655 | | - if ( !empty( $this->mParams['disabled'] ) ) { |
656 | | - $select->setAttribute( 'disabled', 'disabled' ); |
657 | | - $tbAttribs['disabled'] = 'disabled'; |
658 | | - } |
659 | | - |
660 | | - $select = $select->getHTML(); |
661 | | - |
662 | | - if ( isset( $this->mParams['maxlength'] ) ) { |
663 | | - $tbAttribs['maxlength'] = $this->mParams['maxlength']; |
664 | | - } |
665 | | - |
666 | | - $textbox = Xml::input( |
667 | | - $this->mName . '-other', |
668 | | - $this->getSize(), |
669 | | - $valInSelect ? '' : $value, |
670 | | - $tbAttribs |
671 | | - ); |
672 | | - |
673 | | - return "$select<br />\n$textbox"; |
674 | | - } |
675 | | - |
676 | | - function loadDataFromRequest( $request ) { |
677 | | - if ( $request->getCheck( $this->mName ) ) { |
678 | | - $val = $request->getText( $this->mName ); |
679 | | - |
680 | | - if ( $val == 'other' ) { |
681 | | - $val = $request->getText( $this->mName . '-other' ); |
682 | | - } |
683 | | - |
684 | | - return $val; |
685 | | - } else { |
686 | | - return $this->getDefault(); |
687 | | - } |
688 | | - } |
689 | | -} |
690 | | - |
691 | | -class HTMLMultiSelectField extends HTMLFormField { |
692 | | - function validate( $value, $alldata ) { |
693 | | - $p = parent::validate( $value, $alldata ); |
694 | | - if ( $p !== true ) return $p; |
695 | | - |
696 | | - if ( !is_array( $value ) ) return false; |
697 | | - |
698 | | - // If all options are valid, array_intersect of the valid options and the provided |
699 | | - // options will return the provided options. |
700 | | - $validOptions = HTMLFormField::flattenOptions( $this->mParams['options'] ); |
701 | | - |
702 | | - $validValues = array_intersect( $value, $validOptions ); |
703 | | - if ( count( $validValues ) == count( $value ) ) |
704 | | - return true; |
705 | | - else |
706 | | - return wfMsgExt( 'htmlform-select-badoption', 'parseinline' ); |
707 | | - } |
708 | | - |
709 | | - function getInputHTML( $value ) { |
710 | | - $html = $this->formatOptions( $this->mParams['options'], $value ); |
711 | | - |
712 | | - return $html; |
713 | | - } |
714 | | - |
715 | | - function formatOptions( $options, $value ) { |
716 | | - $html = ''; |
717 | | - |
718 | | - $attribs = array(); |
719 | | - if ( !empty( $this->mParams['disabled'] ) ) { |
720 | | - $attribs['disabled'] = 'disabled'; |
721 | | - } |
722 | | - |
723 | | - foreach ( $options as $label => $info ) { |
724 | | - if ( is_array( $info ) ) { |
725 | | - $html .= Xml::tags( 'h1', null, $label ) . "\n"; |
726 | | - $html .= $this->formatOptions( $info, $value ); |
727 | | - } else { |
728 | | - $thisAttribs = array( 'id' => $this->mID . "-$info", 'value' => $info ); |
729 | | - |
730 | | - $checkbox = Xml::check( |
731 | | - $this->mName . '[]', in_array( $info, $value ), |
732 | | - $attribs + $thisAttribs |
733 | | - ); |
734 | | - $checkbox .= ' ' . Xml::tags( 'label', array( 'for' => $this->mID . "-$info" ), $label ); |
735 | | - |
736 | | - $html .= $checkbox . '<br />'; |
737 | | - } |
738 | | - } |
739 | | - |
740 | | - return $html; |
741 | | - } |
742 | | - |
743 | | - function loadDataFromRequest( $request ) { |
744 | | - // won't work with getCheck |
745 | | - if ( $request->getCheck( 'wpEditToken' ) ) { |
746 | | - $arr = $request->getArray( $this->mName ); |
747 | | - |
748 | | - if ( !$arr ) |
749 | | - $arr = array(); |
750 | | - |
751 | | - return $arr; |
752 | | - } else { |
753 | | - return $this->getDefault(); |
754 | | - } |
755 | | - } |
756 | | - |
757 | | - function getDefault() { |
758 | | - if ( isset( $this->mDefault ) ) { |
759 | | - return $this->mDefault; |
760 | | - } else { |
761 | | - return array(); |
762 | | - } |
763 | | - } |
764 | | -} |
765 | | - |
766 | | -class HTMLRadioField extends HTMLFormField { |
767 | | - function validate( $value, $alldata ) { |
768 | | - $p = parent::validate( $value, $alldata ); |
769 | | - if ( $p !== true ) return $p; |
770 | | - |
771 | | - if ( !is_string( $value ) && !is_int( $value ) ) |
772 | | - return false; |
773 | | - |
774 | | - $validOptions = HTMLFormField::flattenOptions( $this->mParams['options'] ); |
775 | | - |
776 | | - if ( in_array( $value, $validOptions ) ) |
777 | | - return true; |
778 | | - else |
779 | | - return wfMsgExt( 'htmlform-select-badoption', 'parseinline' ); |
780 | | - } |
781 | | - |
782 | | - function getInputHTML( $value ) { |
783 | | - $html = $this->formatOptions( $this->mParams['options'], $value ); |
784 | | - |
785 | | - return $html; |
786 | | - } |
787 | | - |
788 | | - function formatOptions( $options, $value ) { |
789 | | - $html = ''; |
790 | | - |
791 | | - $attribs = array(); |
792 | | - if ( !empty( $this->mParams['disabled'] ) ) { |
793 | | - $attribs['disabled'] = 'disabled'; |
794 | | - } |
795 | | - |
796 | | - foreach ( $options as $label => $info ) { |
797 | | - if ( is_array( $info ) ) { |
798 | | - $html .= Xml::tags( 'h1', null, $label ) . "\n"; |
799 | | - $html .= $this->formatOptions( $info, $value ); |
800 | | - } else { |
801 | | - $html .= Xml::radio( $this->mName, $info, $info == $value, |
802 | | - $attribs + array( 'id' => $this->mID . "-$info" ) ); |
803 | | - $html .= ' ' . |
804 | | - Xml::tags( 'label', array( 'for' => $this->mID . "-$info" ), $label ); |
805 | | - |
806 | | - $html .= "<br />\n"; |
807 | | - } |
808 | | - } |
809 | | - |
810 | | - return $html; |
811 | | - } |
812 | | -} |
813 | | - |
814 | | -class HTMLInfoField extends HTMLFormField { |
815 | | - function __construct( $info ) { |
816 | | - $info['nodata'] = true; |
817 | | - |
818 | | - parent::__construct( $info ); |
819 | | - } |
820 | | - |
821 | | - function getInputHTML( $value ) { |
822 | | - return !empty( $this->mParams['raw'] ) ? $value : htmlspecialchars( $value ); |
823 | | - } |
824 | | - |
825 | | - function getTableRow( $value ) { |
826 | | - if ( !empty( $this->mParams['rawrow'] ) ) { |
827 | | - return $value; |
828 | | - } |
829 | | - |
830 | | - return parent::getTableRow( $value ); |
831 | | - } |
832 | | -} |
Index: branches/wmf/1.17wmf1/extensions/LiquidThreads/LiquidThreads.php |
— | — | @@ -164,10 +164,6 @@ |
165 | 165 | |
166 | 166 | // Backwards-compatibility |
167 | 167 | $wgAutoloadClasses['Article_LQT_Compat'] = $dir . 'compat/LqtCompatArticle.php'; |
168 | | -if ( version_compare( $wgVersion, '1.16', '<' ) ) { |
169 | | - $wgAutoloadClasses['HTMLForm'] = "$dir/compat/HTMLForm.php"; |
170 | | - $wgExtensionMessagesFiles['Lqt-Compat'] = "$dir/compat/Lqt-compat.i18n.php"; |
171 | | -} |
172 | 168 | |
173 | 169 | // Logging |
174 | 170 | $wgLogTypes[] = 'liquidthreads'; |