diff options
Diffstat (limited to 'extensions/Poem/Poem.i18n.php')
-rw-r--r-- | extensions/Poem/Poem.i18n.php | 748 |
1 files changed, 30 insertions, 718 deletions
diff --git a/extensions/Poem/Poem.i18n.php b/extensions/Poem/Poem.i18n.php index c58ce78d..748ec734 100644 --- a/extensions/Poem/Poem.i18n.php +++ b/extensions/Poem/Poem.i18n.php @@ -1,723 +1,35 @@ <?php /** - * Internationalisation file for Poem extension. + * This is a backwards-compatibility shim, generated by: + * https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php * - * @file - * @ingroup Extensions + * Beginning with MediaWiki 1.23, translation strings are stored in json files, + * and the EXTENSION.i18n.php file only exists to provide compatibility with + * older releases of MediaWiki. For more information about this migration, see: + * https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format + * + * This shim maintains compatibility back to MediaWiki 1.17. */ - $messages = array(); - -$messages['en'] = array( - 'poem-desc' => 'Adds <code><poem></code> tag for poem formatting', -); - -/** Message documentation (Message documentation) - * @author Raymond - */ -$messages['qqq'] = array( - 'poem-desc' => 'Extension description displayed on [[Special:Version]]', -); - -/** Afrikaans (Afrikaans) - * @author Naudefj - */ -$messages['af'] = array( - 'poem-desc' => "Maak 'n <code><poem></code> etiket beskikbaar vir die formatering van poësie", -); - -/** Aragonese (aragonés) - * @author Juanpabl - */ -$messages['an'] = array( - 'poem-desc' => 'Adibe a etiqueta <code><poem></code> ta formateyar poesía', -); - -/** Arabic (العربية) - * @author Meno25 - */ -$messages['ar'] = array( - 'poem-desc' => 'يضيف الوسم <code><poem></code> لصياغة القصيدة', -); - -/** Egyptian Spoken Arabic (مصرى) - * @author Ramsis II - */ -$messages['arz'] = array( - 'poem-desc' => 'بيضيف تاج ال <code><poem></code> لصياغة القصيدة', -); - -/** Asturian (asturianu) - * @author Esbardu - */ -$messages['ast'] = array( - 'poem-desc' => 'Añade la etiqueta <code><poem></code> pal formatu de poemes', -); - -/** Azerbaijani (azərbaycanca) - * @author Sortilegus - */ -$messages['az'] = array( - 'poem-desc' => 'Şeirlərin formatlaşdırılması üçün <code><poem></code> teqini əlavə edir', -); - -/** Bashkir (башҡортса) - * @author Assele - */ -$messages['ba'] = array( - 'poem-desc' => 'Шиғырҙарҙы форматлау өсөн <code><poem></code> билдәһен өҫтәй', -); - -/** Bavarian (Boarisch) - * @author Man77 - */ -$messages['bar'] = array( - 'poem-desc' => "Fügt s'<code><poem></code>-Tag zum Formatian vu Gedichtln dazua", -); - -/** Southern Balochi (بلوچی مکرانی) - * @author Mostafadaneshvar - */ -$messages['bcc'] = array( - 'poem-desc' => 'هورکنت <code><poem></code> برچسپء په فرمت شئر', -); - -/** Belarusian (Taraškievica orthography) (беларуская (тарашкевіца)) - * @author Jim-by - */ -$messages['be-tarask'] = array( - 'poem-desc' => 'Дадае тэг <code><poem></code> для фарматаваньня вершаў', -); - -/** Bulgarian (български) - * @author DCLXVI - */ -$messages['bg'] = array( - 'poem-desc' => 'Добавя етикет <code><poem></code> за форматиране на стихове', -); - -/** Bengali (বাংলা) - * @author Bellayet - */ -$messages['bn'] = array( - 'poem-desc' => 'কবিতার ফরমেটিং এর জন্য <code><poem></code> ট্যাগ যোগ করুন', -); - -/** Breton (brezhoneg) - * @author Fulup - */ -$messages['br'] = array( - 'poem-desc' => 'Ouzhpennañ a ra ar valizenn <code><poem></code> da furmadiñ testennoù barzhonegoù.', -); - -/** Bosnian (bosanski) - * @author CERminator - */ -$messages['bs'] = array( - 'poem-desc' => 'Dodaje oznaku <code><poem></code> za formatiranje stihova', -); - -/** Catalan (català) - * @author Paucabot - */ -$messages['ca'] = array( - 'poem-desc' => "Afegeix l'etiqueta <code><poem></code> per al formatatge de poemes", -); - -/** Sorani Kurdish (کوردی) - * @author Asoxor - */ -$messages['ckb'] = array( - 'poem-desc' => 'تاگی <code><poem></code> زێدەدەکات بۆ ڕێکخستنی ھۆنراوەکان', -); - -/** Czech (česky) - * @author Matěj Grabovský - */ -$messages['cs'] = array( - 'poem-desc' => 'Přidává značku <code><poem></code> pro formátování básní', -); - -/** Danish (dansk) - * @author Peter Alberti - */ -$messages['da'] = array( - 'poem-desc' => 'Tilføjer tagget <code><poem></code> til formatering af digte', -); - -/** German (Deutsch) - * @author Kghbln - * @author Raimond Spekking - */ -$messages['de'] = array( - 'poem-desc' => 'Ergänzt das Tag <code><poem></code> zur Formatierung von Gedichten', -); - -/** Zazaki (Zazaki) - * @author Aspar - */ -$messages['diq'] = array( - 'poem-desc' => 'qey fesaldayişê şiiri etiketê <code><poem></code>i têarê keno', -); - -/** Lower Sorbian (dolnoserbski) - * @author Michawiki - */ -$messages['dsb'] = array( - 'poem-desc' => 'Pśidawa toflicku <code><poem></code> za formatěrowanje basnjow', -); - -/** Greek (Ελληνικά) - * @author Dead3y3 - */ -$messages['el'] = array( - 'poem-desc' => 'Προσθέτει την ετικέτα <code><poem></code> για την μορφοποίηση ποιημάτων', -); - -/** Esperanto (Esperanto) - * @author Yekrats - */ -$messages['eo'] = array( - 'poem-desc' => 'Aldonas <code><poem></code> etikedon por formatado de poezio.', -); - -/** Spanish (español) - * @author Muro de Aguas - */ -$messages['es'] = array( - 'poem-desc' => 'Añade la etiqueta <code><poem></code> para dar el formato propio de un poema.', -); - -/** Estonian (eesti) - * @author Pikne - */ -$messages['et'] = array( - 'poem-desc' => 'Lisab <code><poem></code>-sildi luuletuse vormindamiseks.', -); - -/** Basque (euskara) - * @author Theklan - */ -$messages['eu'] = array( - 'poem-desc' => '<code><poem></code> etiketa gehitzen du olerkien formaturako', -); - -/** Persian (فارسی) - * @author Huji - */ -$messages['fa'] = array( - 'poem-desc' => 'برچسب <code><poem></code> را برای قالببندی شعرها میافزاید', -); - -/** Finnish (suomi) - * @author Nike - */ -$messages['fi'] = array( - 'poem-desc' => 'Mahdollistaa runojen muotoilun <code><poem></code>-elementillä.', -); - -/** French (français) - * @author Grondin - */ -$messages['fr'] = array( - 'poem-desc' => 'Ajoute la balise <code><poem></code> pour le formatage des poèmes', -); - -/** Franco-Provençal (arpetan) - * @author ChrisPtDe - */ -$messages['frp'] = array( - 'poem-desc' => 'Apond la balisa <code><poem></code> por lo formatâjo des poèmos.', -); - -/** Northern Frisian (Nordfriisk) - * @author Murma174 - */ -$messages['frr'] = array( - 'poem-desc' => 'Saat <code><poem></code> diartu, am dachtangen tu formatiarin', -); - -/** Galician (galego) - * @author Alma - */ -$messages['gl'] = array( - 'poem-desc' => 'Engada a etiqueta <code><poem></code> para o formato poema', -); - -/** Swiss German (Alemannisch) - * @author Als-Holder - */ -$messages['gsw'] = array( - 'poem-desc' => 'Fiegt s <code><poem></code>-Tag zue zum Formatiere vu Gedicht', -); - -/** Hebrew (עברית) - */ -$messages['he'] = array( - 'poem-desc' => 'הוספת התגית <code><poem></code> לעיצוב שירה', -); - -/** Hindi (हिन्दी) - * @author Kaustubh - */ -$messages['hi'] = array( - 'poem-desc' => 'कविता लिखने के लिये आवश्यक <code><poem></code> टॅग देता हैं', -); - -/** Hiligaynon (Ilonggo) - * @author Tagimata - */ -$messages['hil'] = array( - 'poem-desc' => 'Gadugang <code><poem></code> tag para sa pagformat sang tula', -); - -/** Croatian (hrvatski) - * @author Dalibor Bosits - */ -$messages['hr'] = array( - 'poem-desc' => 'Dodaje <code><poem></code> oznaku za formatiranje pjesama', -); - -/** Upper Sorbian (hornjoserbsce) - * @author Michawiki - */ -$messages['hsb'] = array( - 'poem-desc' => 'Přidawa tafličku <code><poem></code> za formatowanje basnjow', -); - -/** Hungarian (magyar) - * @author Dani - */ -$messages['hu'] = array( - 'poem-desc' => '<code><poem></code> tag a versek formázásához', -); - -/** Interlingua (interlingua) - * @author McDutchie - */ -$messages['ia'] = array( - 'poem-desc' => 'Adde le etiquetta <code><poem></code> pro formatar poemas', -); - -/** Indonesian (Bahasa Indonesia) - * @author IvanLanin - */ -$messages['id'] = array( - 'poem-desc' => 'Menambahkan tag <code><poem></code> tag untuk pemformatan puisi', -); - -/** Iloko (Ilokano) - * @author Lam-ang - */ -$messages['ilo'] = array( - 'poem-desc' => 'Ikkan na iti<code><poem></code> nga tag para ti pagporma ti daniw', -); - -/** Italian (italiano) - * @author BrokenArrow - */ -$messages['it'] = array( - 'poem-desc' => 'Aggiunge il tag <code><poem></code> per la formattazione dei testi poetici', -); - -/** Japanese (日本語) - * @author Aotake - * @author JtFuruhata - * @author Shirayuki - */ -$messages['ja'] = array( - 'poem-desc' => '詩を整形する <code><poem></code> タグを追加する', -); - -/** Jutish (jysk) - * @author Huslåke - */ -$messages['jut'] = array( - 'poem-desc' => 'Tilføje <code><poem></code> tag før digt formåter', -); - -/** Javanese (Basa Jawa) - * @author Meursault2004 - */ -$messages['jv'] = array( - 'poem-desc' => 'Nambahaké tag <code><poem></code> tag kanggo formatting tembang utawa puisi', -); - -/** Georgian (ქართული) - * @author David1010 - */ -$messages['ka'] = array( - 'poem-desc' => 'ამატებს ტეგს <code><პოემა></code> ლექსების ფორმატირებისათვის', -); - -/** Khmer (ភាសាខ្មែរ) - * @author Lovekhmer - * @author Thearith - */ -$messages['km'] = array( - 'poem-desc' => 'ដាក់ប្លាក <code><poem></code> សម្រាប់ទ្រង់ទ្រាយកំណាព្យ', -); - -/** Korean (한국어) - * @author ToePeu - * @author 아라 - */ -$messages['ko'] = array( - 'poem-desc' => '시 형식을 위해 <code><poem></code> 태그를 추가합니다', -); - -/** Colognian (Ripoarisch) - * @author Purodha - */ -$messages['ksh'] = array( - 'poem-desc' => 'Brengk et <code><poem></code>-Kommando met, för Jedeeshte ze jeshtallde.', -); - -/** Luxembourgish (Lëtzebuergesch) - * @author Robby - */ -$messages['lb'] = array( - 'poem-desc' => "Setzt de <code><poem></code>-Tag fir d'Formatéierung vu Gedichter derbäi", -); - -/** Limburgish (Limburgs) - * @author Matthias - */ -$messages['li'] = array( - 'poem-desc' => 'Voegt de tag <code><poem></code> toe veur de opmaak van poëzie', -); - -/** Lithuanian (lietuvių) - * @author Garas - * @author Hugo.arg - */ -$messages['lt'] = array( - 'poem-desc' => 'Prideda <code><poem></code> gaires poemų formatavimui', -); - -/** Mizo (Mizo ţawng) - * @author RMizo - */ -$messages['lus'] = array( - 'poem-desc' => 'Hlahril tàrphung siamrem nan tàrreuh <code><poem></code> hi a belh.', -); - -/** Latvian (latviešu) - * @author Papuass - * @author Xil - */ -$messages['lv'] = array( - 'poem-desc' => 'Pievieno <code><poem></code> iezīmi dzejas formatēšanai', -); - -/** Macedonian (македонски) - * @author Bjankuloski06 - * @author Brest - */ -$messages['mk'] = array( - 'poem-desc' => 'Додава <code><poem></code> ознака за форматирање на стихови', -); - -/** Malayalam (മലയാളം) - * @author Shijualex - */ -$messages['ml'] = array( - 'poem-desc' => 'പദ്യത്തിന്റെ ഫോർമാറ്റിങ്ങിനു <code><poem></code> എന്ന ടാഗ് ചേർക്കുന്നു', -); - -/** Marathi (मराठी) - * @author Kaustubh - */ -$messages['mr'] = array( - 'poem-desc' => 'कवितेच्या सादरीकरणासाठी आवश्यक असणारा <code><poem></code> टॅग देतो.', -); - -/** Malay (Bahasa Melayu) - * @author Aviator - */ -$messages['ms'] = array( - 'poem-desc' => 'Menambah tag <code><poem></code> untuk pemformatan puisi', -); - -/** Norwegian Bokmål (norsk bokmål) - */ -$messages['nb'] = array( - 'poem-desc' => 'Legger til taggen <code><poem></code> for å kunne formatere dikt', -); - -/** Low German (Plattdüütsch) - * @author Slomox - */ -$messages['nds'] = array( - 'poem-desc' => 'Föögt dat <code><poem></code>-Tag för dat Formateren vun Gedichten to', -); - -/** Dutch (Nederlands) - * @author Siebrand - */ -$messages['nl'] = array( - 'poem-desc' => 'Voegt de tag <code><poem></code> toe voor de opmaak van poëzie', -); - -/** Norwegian Nynorsk (norsk nynorsk) - * @author Harald Khan - */ -$messages['nn'] = array( - 'poem-desc' => 'Legg til merket <code><poem></code> for å kunna formatera dikt', -); - -/** Occitan (occitan) - * @author Cedric31 - */ -$messages['oc'] = array( - 'poem-desc' => 'Apond la balisa <code><poem></code> pel formatatge dels poèmas', -); - -/** Polish (polski) - * @author Sp5uhe - */ -$messages['pl'] = array( - 'poem-desc' => 'Dodaje znacznik <code><poem></code> służący do formatowania wierszy', -); - -/** Piedmontese (Piemontèis) - * @author Dragonòt - */ -$messages['pms'] = array( - 'poem-desc' => 'A gionta ël tag <code><poem></code> për formatassion ëd poema', -); - -/** Pashto (پښتو) - * @author Ahmed-Najib-Biabani-Ibrahimkhel - */ -$messages['ps'] = array( - 'poem-desc' => 'د شعر بڼه ورکولو کړنې لپاره د <tt><شعر></tt> وييکه ورگډوي', -); - -/** Portuguese (português) - * @author Hamilton Abreu - * @author Malafaya - */ -$messages['pt'] = array( - 'poem-desc' => 'Adiciona o elemento <code><poem></code> para formatação de poemas', -); - -/** Brazilian Portuguese (português do Brasil) - * @author Eduardo.mps - */ -$messages['pt-br'] = array( - 'poem-desc' => 'Adiciona a marca <code><poem></code> para formatação de poemas', -); - -/** Tarifit (Tarifit) - * @author Aryaz - */ -$messages['rif'] = array( - 'poem-desc' => 'Issadaf <code><poem></code> i usmal d tira n tmdyazt', -); - -/** Romanian (română) - * @author Mihai - */ -$messages['ro'] = array( - 'poem-desc' => 'Adaugă eticheta <code><poem></code> pentru formatarea poem', -); - -/** tarandíne (tarandíne) - * @author Joetaras - */ -$messages['roa-tara'] = array( - 'poem-desc' => "Aggiunge 'u tag <code><poem></code> p'a formattazione de le poesie", -); - -/** Russian (русский) - * @author Александр Сигачёв - */ -$messages['ru'] = array( - 'poem-desc' => 'Добавляет тег <code><poem></code> для форматирования стихов', -); - -/** Rusyn (русиньскый) - * @author Gazeb - */ -$messages['rue'] = array( - 'poem-desc' => 'Додасть значку <code><poem></code> про форматованя віршів', -); - -/** Sakha (саха тыла) - * @author HalanTul - */ -$messages['sah'] = array( - 'poem-desc' => 'Хоһооннору суруйарга <code><poem></code> тиэги эбэр', -); - -/** Sicilian (sicilianu) - * @author Melos - */ -$messages['scn'] = array( - 'poem-desc' => 'Iunci lu tag <code><poem></code> pi la furmattazioni di li testa puetici', -); - -/** Slovak (slovenčina) - * @author Helix84 - */ -$messages['sk'] = array( - 'poem-desc' => 'Pridáva značku <code><poem></code> pre formátovanie básní', -); - -/** Slovenian (slovenščina) - * @author Dbc334 - */ -$messages['sl'] = array( - 'poem-desc' => 'Doda etiketo <code><poem></code> za oblikovanje pesmi', -); - -/** Lower Silesian (Schläsch) - * @author Piotron - */ -$messages['sli'] = array( - 'poem-desc' => 'Fiegt is <code><poem></code>-Tag zur Furmatierung voo Gedichta hinzu', -); - -/** Albanian (shqip) - * @author Puntori - */ -$messages['sq'] = array( - 'poem-desc' => 'Vendosë kodin <code><poem></code> për formatim të poezive', -); - -/** Serbian (Cyrillic script) (српски (ћирилица)) - * @author Millosh - * @author Nikola Smolenski - */ -$messages['sr-ec'] = array( - 'poem-desc' => 'Додаје <code><poem></code> ознаку за форматирање песама.', -); - -/** Serbian (Latin script) (srpski (latinica)) - * @author Michaello - */ -$messages['sr-el'] = array( - 'poem-desc' => 'Dodaje <code><poem></code> oznaku za formatiranje pesama.', -); - -/** Seeltersk (Seeltersk) - * @author Pyt - */ -$messages['stq'] = array( - 'poem-desc' => 'Föiget dät <code><poem></code>-Tag tou ju Formatierenge fon Gedichte bietou', -); - -/** Swedish (svenska) - * @author Lejonel - */ -$messages['sv'] = array( - 'poem-desc' => 'Lägger till taggen <code><poem></code> för att formatera dikter', -); - -/** Telugu (తెలుగు) - * @author Veeven - */ -$messages['te'] = array( - 'poem-desc' => 'పద్యాల ఫార్మాటింగుకై <code><poem></code> అనే టాగుని చేరుస్తుంది', -); - -/** Tajik (Cyrillic script) (тоҷикӣ) - * @author Ibrahim - */ -$messages['tg-cyrl'] = array( - 'poem-desc' => 'Барчасби <code><poem></code>-ро барои қолаббандиҳои шеърҳо илова мекунад', -); - -/** Tajik (Latin script) (tojikī) - * @author Liangent - */ -$messages['tg-latn'] = array( - 'poem-desc' => "Barcasbi <code><poem></code>-ro baroi qolabbandihoi şe'rho ilova mekunad", -); - -/** Thai (ไทย) - * @author Octahedron80 - */ -$messages['th'] = array( - 'poem-desc' => 'เพิ่มแท็ก <code><poem></code> สำหรับการจัดรูปแบบบทกวี', -); - -/** Turkmen (Türkmençe) - * @author Hanberke - */ -$messages['tk'] = array( - 'poem-desc' => 'Goşgy formatirlemesi üçin <code><poem></code> tegini goşýar', -); - -/** Tagalog (Tagalog) - * @author AnakngAraw - */ -$messages['tl'] = array( - 'poem-desc' => 'Nagdaragdag ng tatak na <code><poem></code> para sa pagpopormat ng tula', -); - -/** Turkish (Türkçe) - * @author Joseph - */ -$messages['tr'] = array( - 'poem-desc' => 'Şiir biçimlendirmesi için <code><poem></code> etiketini ekler', -); - -/** Ukrainian (українська) - * @author Ahonc - */ -$messages['uk'] = array( - 'poem-desc' => 'Додає тег <code><poem></code> для форматування віршів', -); - -/** vèneto (vèneto) - * @author Candalua - */ -$messages['vec'] = array( - 'poem-desc' => 'Zonta el tag <code><poem></code> par la formatazion dei testi poetici', -); - -/** Veps (vepsän kel’) - * @author Игорь Бродский - */ -$messages['vep'] = array( - 'poem-desc' => 'Ližadab <code><poem></code>-virg runod formatiruides', -); - -/** Vietnamese (Tiếng Việt) - * @author Minh Nguyen - */ -$messages['vi'] = array( - 'poem-desc' => 'Thêm thẻ <code><poem></code> để định dạng các bài thơ', -); - -/** Volapük (Volapük) - * @author Smeira - */ -$messages['vo'] = array( - 'poem-desc' => 'Läükon mali: <code><poem></code> pro fomät: poedot', -); - -/** Cantonese (粵語) - * @author Shinjiman - */ -$messages['yue'] = array( - 'poem-desc' => '加 <code><poem></code> 標籤畀詩格式用', -); - -/** Simplified Chinese (中文(简体)) - * @author Shinjiman - * @author Wmr89502270 - * @author Xiaomingyan - */ -$messages['zh-hans'] = array( - 'poem-desc' => '添加“<code><poem></code>”标签用于诗歌格式', -); - -/** Traditional Chinese (中文(繁體)) - * @author Shinjiman - */ -$messages['zh-hant'] = array( - 'poem-desc' => '加入 <code><poem></code> 標籤給予詩歌格式使用', -); +if ( !function_exists( 'wfJsonI18nShim6c20180b417f57bc' ) ) { + function wfJsonI18nShim6c20180b417f57bc( $cache, $code, &$cachedData ) { + $codeSequence = array_merge( array( $code ), $cachedData['fallbackSequence'] ); + foreach ( $codeSequence as $csCode ) { + $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json"; + if ( is_readable( $fileName ) ) { + $data = FormatJson::decode( file_get_contents( $fileName ), true ); + foreach ( array_keys( $data ) as $key ) { + if ( $key === '' || $key[0] === '@' ) { + unset( $data[$key] ); + } + } + $cachedData['messages'] = array_merge( $data, $cachedData['messages'] ); + } + + $cachedData['deps'][] = new FileDependency( $fileName ); + } + return true; + } + + $GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 'wfJsonI18nShim6c20180b417f57bc'; +} |