Nikerabbit has submitted this change and it was merged. Change subject: Migrate to JSON i18n ......................................................................
Migrate to JSON i18n Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php with shim. Change-Id: I969d567296a56abd3bbd070ea79301afb4cbc607 --- M Mpdf.i18n.php M Mpdf.php A i18n/ast.json A i18n/be-tarask.json A i18n/br.json A i18n/cs.json A i18n/de.json A i18n/diq.json A i18n/dsb.json A i18n/en.json A i18n/es.json A i18n/et.json A i18n/fa.json A i18n/fi.json A i18n/fr.json A i18n/frp.json A i18n/gl.json A i18n/he.json A i18n/hsb.json A i18n/id.json A i18n/it.json A i18n/ja.json A i18n/ka.json A i18n/ko.json A i18n/ksh.json A i18n/lb.json A i18n/mk.json A i18n/ms.json A i18n/mt.json A i18n/nb.json A i18n/nl.json A i18n/pl.json A i18n/pms.json A i18n/pt-br.json A i18n/qqq.json A i18n/ro.json A i18n/roa-tara.json A i18n/ru.json A i18n/si.json A i18n/sv.json A i18n/ta.json A i18n/tl.json A i18n/uk.json A i18n/zh-hans.json 44 files changed, 446 insertions(+), 386 deletions(-) Approvals: Nikerabbit: Verified; Looks good to me, approved diff --git a/Mpdf.i18n.php b/Mpdf.i18n.php index 2cc8d8e..eeb2776 100644 --- a/Mpdf.i18n.php +++ b/Mpdf.i18n.php @@ -1,389 +1,31 @@ <?php /** - * Internationalisation file for the extension Mpdf + * This is a backwards-compatibility shim, generated by: + * https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php * - * @file - * @ingroup Extensions - * @author Aran Dunkley, Pavel Astakhov - * @licence GNU General Public Licence 2.0 or later + * 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(); +$GLOBALS['wgHooks']['LocalisationCacheRecache'][] = function ( $cache, $code, &$cachedData ) { + $codeSequence = array_merge( array( $code ), $cachedData['fallbackSequence'] ); + foreach ( $codeSequence as $csCode ) { + $fileName = __DIR__ . "/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'] ); + } -/** English - * @author Aran Dunkley - */ -$messages['en'] = array( - 'mpdf-action' => 'PDF Export', - 'mpdf-log' => '$1 exported as a PDF', - 'mpdf-desc' => 'Converts current page to PDF and sends to browser', -); - -/** Message documentation (Message documentation) - * @author Lloffiwr - * @author Purodha - * @author Shirayuki - */ -$messages['qqq'] = array( - 'mpdf-action' => 'Used as link text', - 'mpdf-log' => 'Parameters: -* $1 - the username of the user who exports the PDF book', - 'mpdf-desc' => '{{desc|name=Mpdf|url=http://www.mediawiki.org/wiki/Extension:Mpdf}}', -); - -/** Asturian (asturianu) - * @author Xuacu - */ -$messages['ast'] = array( - 'mpdf-action' => 'Esportación a PDF', - 'mpdf-log' => '$1 esportáu como PDF', - 'mpdf-desc' => 'Convierte la páxina actual a PDF y la unvia al navegador', -); - -/** Belarusian (Taraškievica orthography) (беларуская (тарашкевіца)) - * @author Wizardist - */ -$messages['be-tarask'] = array( - 'mpdf-action' => 'Экспарт PDF', - 'mpdf-log' => '«$1» экспартаваная ў PDF', - 'mpdf-desc' => 'Канвэртуе бягучую старонку ў PDF і аддае яе браўзэру', -); - -/** Breton (brezhoneg) - * @author Y-M D - */ -$messages['br'] = array( - 'mpdf-action' => 'Ezporzhiañ e PDF', - 'mpdf-log' => '$1 bet ezporzhiet dindan ar furmad PDF', - 'mpdf-desc' => "Amdreiñ e PDF ar bajenn red hag he c'has d'ar merdeer", -); - -/** Czech (čeština) - * @author Jezevec - * @author Mormegil - */ -$messages['cs'] = array( - 'mpdf-action' => 'Exportovat do PDF', - 'mpdf-log' => '$1 exportoval do PDF', - 'mpdf-desc' => 'Převede aktuální stránku do PDF a pošle do prohlížeče', -); - -/** German (Deutsch) - * @author Kghbln - * @author Metalhead64 - */ -$messages['de'] = array( - 'mpdf-action' => 'PDF-Export', - 'mpdf-log' => '$1 wurde als PDF-Datei exportiert', - 'mpdf-desc' => 'Ermöglicht die Ausgabe einer Seite als PDF-Datei', -); - -/** Zazaki (Zazaki) - * @author Erdemaslancan - */ -$messages['diq'] = array( - 'mpdf-action' => "Pdf'i ateber de", -); - -/** Lower Sorbian (dolnoserbski) - * @author Michawiki - */ -$messages['dsb'] = array( - 'mpdf-action' => 'PDF-eksport', - 'mpdf-log' => '$1 jo se ako PDF-dataja eksportěrował', - 'mpdf-desc' => 'Konwertěrujo aktualny bok do PDF-dataje a sćelo ju do wobglědowaka', -); - -/** Spanish (español) - * @author Armando-Martin - */ -$messages['es'] = array( - 'mpdf-action' => 'Exportación en PDF', - 'mpdf-log' => '$1 exportado como PDF', - 'mpdf-desc' => 'Convierte la página actual en un archivo PDF y la envía al navegador', -); - -/** Estonian (eesti) - * @author Avjoska - */ -$messages['et'] = array( - 'mpdf-action' => 'PDF-i eksport', -); - -/** Persian (فارسی) - * @author Armin1392 - * @author Mjbmr - */ -$messages['fa'] = array( - 'mpdf-action' => 'خروجی پیدیاف', - 'mpdf-log' => '$1 به عنوان یک پیدیاف صادر شده', - 'mpdf-desc' => 'تبدیل صفحهٔ فعلی به پیدیاف و فرستادن به مرورگر', -); - -/** Finnish (suomi) - * @author Nedergard - */ -$messages['fi'] = array( - 'mpdf-action' => 'PDF-vienti', - 'mpdf-log' => '$1 viety PDF-muodossa', - 'mpdf-desc' => 'Muuntaa nykyisen sivun PDF:ksi ja lähettää sen selaimelle', -); - -/** French (français) - * @author Linedwell - * @author Wyz - */ -$messages['fr'] = array( - 'mpdf-action' => 'Exporter en PDF', - 'mpdf-log' => '$1 exporté au format PDF', - 'mpdf-desc' => "Convertit en PDF la page actuelle et l'envoie au navigateur", -); - -/** Franco-Provençal (arpetan) - * @author ChrisPtDe - */ -$messages['frp'] = array( - 'mpdf-action' => 'Èxportar en PDF', - 'mpdf-log' => '$1 at èxportâ coment PDF', - 'mpdf-desc' => 'Convèrtét en PDF la pâge d’ora et pués la mande u navigator', -); - -/** Galician (galego) - * @author Toliño - */ -$messages['gl'] = array( - 'mpdf-action' => 'Exportación en PDF', - 'mpdf-log' => '$1 exportado como PDF', - 'mpdf-desc' => 'Converte a páxina actual nun PDF e mándalla ao navegador', -); - -/** Hebrew (עברית) - * @author Amire80 - */ -$messages['he'] = array( - 'mpdf-action' => 'יצוא PDF', - 'mpdf-log' => '$1 יוּצא כ־PDF', - 'mpdf-desc' => 'המרת הדף הנוכחי ל־PDF ושליחתו לדפדפן', -); - -/** Upper Sorbian (hornjoserbsce) - * @author Michawiki - */ -$messages['hsb'] = array( - 'mpdf-action' => 'PDF-eksport', - 'mpdf-log' => '$1 bu jako PDF-dataja eksportowany', - 'mpdf-desc' => 'Konwertuje aktualnu stronu do PDF-dataje a sćele ju do wobhladowaka', -); - -/** Indonesian (Bahasa Indonesia) - * @author Farras - */ -$messages['id'] = array( - 'mpdf-action' => 'Ekspor PDF', - 'mpdf-log' => '$1 diekspor sebagai PDF', -); - -/** Italian (italiano) - * @author Darth Kule - */ -$messages['it'] = array( - 'mpdf-action' => 'Esportazione in PDF', - 'mpdf-log' => '$1 esportato in formato PDF', - 'mpdf-desc' => 'Converte la pagina corrente in PDF e la invia al browser', -); - -/** Japanese (日本語) - * @author Shirayuki - */ -$messages['ja'] = array( - 'mpdf-action' => 'PDF書き出し', - 'mpdf-log' => '$1をPDFとしてエクスポート', - 'mpdf-desc' => '現在のページをPDFに変換してブラウザーに送る', -); - -/** Georgian (ქართული) - * @author David1010 - */ -$messages['ka'] = array( - 'mpdf-action' => 'PDF-ის ექსპორტი', - 'mpdf-log' => '$1 ექსპორტირებულია როგორც PDF', -); - -/** Korean (한국어) - * @author 아라 - */ -$messages['ko'] = array( - 'mpdf-action' => 'Pdf 내보내기', - 'mpdf-log' => '$1 사용자가 PDF로 내보냄', - 'mpdf-desc' => 'PDF로 현재 문서를 변환하고 브라우저로 보냅니다', -); - -/** Colognian (Ripoarisch) - * @author Purodha - */ -$messages['ksh'] = array( - 'mpdf-action' => 'PDF-Äxpoot', - 'mpdf-log' => '$1 als en PDF-Dattei expoteet', - 'mpdf-desc' => 'Määd uß dä aktoölle Sigg en PDF-Dattei un scheck se aan dä Brauser.', -); - -/** Luxembourgish (Lëtzebuergesch) - * @author Robby - */ -$messages['lb'] = array( - 'mpdf-action' => 'PDF-Export', - 'mpdf-log' => '$1 huet et als PDF exportéiert', - 'mpdf-desc' => 'Wandelt déi aktuell Säit an e PDF ëm a schéckt et op de Browser', -); - -/** Macedonian (македонски) - * @author Bjankuloski06 - */ -$messages['mk'] = array( - 'mpdf-action' => 'PDF-извоз', - 'mpdf-log' => 'Извоз на $1 како PDF', - 'mpdf-desc' => 'Ја претвора тековната страница во PDF и му ја испраќа на прелистувачот', -); - -/** Malay (Bahasa Melayu) - * @author Anakmalaysia - */ -$messages['ms'] = array( - 'mpdf-action' => 'Eksport PDF', - 'mpdf-log' => '$1 mengeksport PDF', - 'mpdf-desc' => 'Menukarkan halaman semasa kepad PDF dan menghantarnya ke pelayar', -); - -/** Maltese (Malti) - * @author Chrisportelli - */ -$messages['mt'] = array( - 'mpdf-action' => 'Esportazzjoni bil-PDF', - 'mpdf-log' => "$1 esporta f'format PDF", - 'mpdf-desc' => "Jikkonverti l-paġna attwali f'PDF u jibgħatha għall-browżer", -); - -/** Norwegian Bokmål (norsk bokmål) - */ -$messages['nb'] = array( - 'mpdf-action' => 'PDF-eksport', - 'mpdf-log' => '$1 eksportert som PDF', - 'mpdf-desc' => 'Konverterer nåværende side til PDF og sender den til nettleseren', -); - -/** Dutch (Nederlands) - * @author Siebrand - */ -$messages['nl'] = array( - 'mpdf-action' => 'Pdfexport', - 'mpdf-log' => '$1 is geëxporteerd als pdf', - 'mpdf-desc' => 'Converteert de huidige pagina naar pdf en verzendt die naar de browser', -); - -/** Polish (polski) - * @author BeginaFelicysym - */ -$messages['pl'] = array( - 'mpdf-action' => 'Eksport do Pdf', - 'mpdf-log' => 'wyeksportowano $1 do formatu PDF', - 'mpdf-desc' => 'Zamienia bieżącą stronę na PDF i przesyła do przeglądarki', -); - -/** Piedmontese (Piemontèis) - * @author Borichèt - * @author Dragonòt - */ -$messages['pms'] = array( - 'mpdf-action' => 'Esportassion ëd PDF', - 'mpdf-log' => '$1 esportà com PDF', - 'mpdf-desc' => 'A convert la pàgina corenta an PDF e a la manda al navigador', -); - -/** Brazilian Portuguese (português do Brasil) - * @author Cainamarques - */ -$messages['pt-br'] = array( - 'mpdf-action' => 'Exportar como PDF', - 'mpdf-log' => '$1 exportado como PDF', - 'mpdf-desc' => 'Converte página atual em PDF e envia ao navegador', -); - -/** Romanian (română) - * @author Firilacroco - * @author Minisarm - */ -$messages['ro'] = array( - 'mpdf-action' => 'Exportare ca PDF', - 'mpdf-log' => '$1 a exportat ca PDF', -); - -/** tarandíne (tarandíne) - * @author Joetaras - */ -$messages['roa-tara'] = array( - 'mpdf-action' => "Esporte 'u PDF", - 'mpdf-log' => "$1 esportate cumme 'nu PDF", - 'mpdf-desc' => "converte 'a pàgena corrende jndr'à 'nu PDF e 'u manne a 'u browser", -); - -/** Russian (русский) - * @author Pastakhov - */ -$messages['ru'] = array( - 'mpdf-action' => 'Экспорт в PDF', - 'mpdf-log' => '$1 экспортировано в PDF', - 'mpdf-desc' => 'Преобразует текущую страницу в PDF и отправляет браузеру', -); - -/** Sinhala (සිංහල) - * @author පසිඳු කාවින්ද - */ -$messages['si'] = array( - 'mpdf-action' => 'Pdf නිර්යාත කිරීම', - 'mpdf-log' => '$1 PDF ලෙස නිර්යාත කරන ලදී', -); - -/** Swedish (svenska) - * @author Jopparn - * @author WikiPhoenix - */ -$messages['sv'] = array( - 'mpdf-action' => 'PDF-export', - 'mpdf-log' => '$1 exporterad som PDF', - 'mpdf-desc' => 'Konverterar aktuell sida till PDF och skickar till webbläsaren', -); - -/** Tamil (தமிழ்) - * @author Shanmugamp7 - */ -$messages['ta'] = array( - 'mpdf-action' => 'Pdf ஏற்றுமதி', - 'mpdf-log' => '$1 PDF ஆக ஏற்றுமதி செய்யப்பட்டது', -); - -/** Tagalog (Tagalog) - * @author AnakngAraw - */ -$messages['tl'] = array( - 'mpdf-action' => 'Pagluluwas ng PDF', - 'mpdf-log' => 'Iniluwas ang $1 bilang isang PDF', - 'mpdf-desc' => 'Nagpapalit ng kasalukuyang pahinang upang maging PDF at ipinapadala sa pantingin-tingin', -); - -/** Ukrainian (українська) - * @author Ата - */ -$messages['uk'] = array( - 'mpdf-action' => 'Експорт у PDF', - 'mpdf-log' => '{{GENDER:$1|експортував|експортувала}} у PDF', - 'mpdf-desc' => 'Перетворює поточну сторінку на PDF і надсилає до браузера', -); - -/** Simplified Chinese (中文(简体)) - * @author Yfdyh000 - */ -$messages['zh-hans'] = array( - 'mpdf-action' => 'PDF 导出', - 'mpdf-log' => '$1 导出了一个 PDF', - 'mpdf-desc' => '将当前网页转换为 PDF 并发送到浏览器', -); + $cachedData['deps'][] = new FileDependency( $fileName ); + } + return true; +}; diff --git a/Mpdf.php b/Mpdf.php index 79c39a0..719a7ed 100644 --- a/Mpdf.php +++ b/Mpdf.php @@ -10,7 +10,7 @@ * Based by PdfBook extension [http://www.mediawiki.org/Extension:PdfBook], * author Aran Dunkley [http://www.organicdesign.co.nz/nad User:Nad], * licence GNU General Public Licence 2.0 or later - * + * * @file * @ingroup Extensions * @author Aran Dunkley [http://www.organicdesign.co.nz/nad User:Nad], Pavel Astakhov @@ -19,10 +19,11 @@ */ if( !defined( 'MEDIAWIKI' ) ) die( "Not an entry point." ); -define( 'MPDF_VERSION', "0.2, 2012-11-12" ); +define( 'MPDF_VERSION', "0.3.0, 2014-04-01" ); $dir = __DIR__; $wgAutoloadClasses['MpdfHooks'] = $dir . '/Mpdf.hooks.php'; +$wgMessagesDirs['Mpdf'] = __DIR__ . '/i18n'; $wgExtensionMessagesFiles['Mpdf'] = $dir . '/Mpdf.i18n.php'; $wgExtensionMessagesFiles['MpdfMagic'] = $dir . '/Mpdf.i18n.magic.php'; $wgHooks['ParserFirstCallInit'][] = 'mpdf_Setup'; @@ -35,7 +36,6 @@ 'version' => MPDF_VERSION, 'descriptionmsg' => 'mpdf-desc', ); - $wgMpdfTab = false; # Whether or not an action tab is wanted for printing to PDF diff --git a/i18n/ast.json b/i18n/ast.json new file mode 100644 index 0000000..81ec0f9 --- /dev/null +++ b/i18n/ast.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Xuacu" + ] + }, + "mpdf-action": "Esportación a PDF", + "mpdf-log": "$1 esportáu como PDF", + "mpdf-desc": "Convierte la páxina actual a PDF y la unvia al navegador" +} \ No newline at end of file diff --git a/i18n/be-tarask.json b/i18n/be-tarask.json new file mode 100644 index 0000000..209b66c --- /dev/null +++ b/i18n/be-tarask.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Wizardist" + ] + }, + "mpdf-action": "Экспарт PDF", + "mpdf-log": "«$1» экспартаваная ў PDF", + "mpdf-desc": "Канвэртуе бягучую старонку ў PDF і аддае яе браўзэру" +} \ No newline at end of file diff --git a/i18n/br.json b/i18n/br.json new file mode 100644 index 0000000..4c7007d --- /dev/null +++ b/i18n/br.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Y-M D" + ] + }, + "mpdf-action": "Ezporzhiañ e PDF", + "mpdf-log": "$1 bet ezporzhiet dindan ar furmad PDF", + "mpdf-desc": "Amdreiñ e PDF ar bajenn red hag he c'has d'ar merdeer" +} \ No newline at end of file diff --git a/i18n/cs.json b/i18n/cs.json new file mode 100644 index 0000000..dd8eb81 --- /dev/null +++ b/i18n/cs.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Jezevec", + "Mormegil" + ] + }, + "mpdf-action": "Exportovat do PDF", + "mpdf-log": "$1 exportoval do PDF", + "mpdf-desc": "Převede aktuální stránku do PDF a pošle do prohlížeče" +} \ No newline at end of file diff --git a/i18n/de.json b/i18n/de.json new file mode 100644 index 0000000..618b49b --- /dev/null +++ b/i18n/de.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Kghbln", + "Metalhead64" + ] + }, + "mpdf-action": "PDF-Export", + "mpdf-log": "$1 wurde als PDF-Datei exportiert", + "mpdf-desc": "Ermöglicht die Ausgabe einer Seite als PDF-Datei" +} \ No newline at end of file diff --git a/i18n/diq.json b/i18n/diq.json new file mode 100644 index 0000000..85e2982 --- /dev/null +++ b/i18n/diq.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Erdemaslancan" + ] + }, + "mpdf-action": "Pdf'i ateber de" +} \ No newline at end of file diff --git a/i18n/dsb.json b/i18n/dsb.json new file mode 100644 index 0000000..253059b --- /dev/null +++ b/i18n/dsb.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Michawiki" + ] + }, + "mpdf-action": "PDF-eksport", + "mpdf-log": "$1 jo se ako PDF-dataja eksportěrował", + "mpdf-desc": "Konwertěrujo aktualny bok do PDF-dataje a sćelo ju do wobglědowaka" +} \ No newline at end of file diff --git a/i18n/en.json b/i18n/en.json new file mode 100644 index 0000000..cf0c797 --- /dev/null +++ b/i18n/en.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Aran Dunkley" + ] + }, + "mpdf-action": "PDF Export", + "mpdf-log": "$1 exported as a PDF", + "mpdf-desc": "Converts current page to PDF and sends to browser" +} \ No newline at end of file diff --git a/i18n/es.json b/i18n/es.json new file mode 100644 index 0000000..a806698 --- /dev/null +++ b/i18n/es.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Armando-Martin" + ] + }, + "mpdf-action": "Exportación en PDF", + "mpdf-log": "$1 exportado como PDF", + "mpdf-desc": "Convierte la página actual en un archivo PDF y la envía al navegador" +} \ No newline at end of file diff --git a/i18n/et.json b/i18n/et.json new file mode 100644 index 0000000..82aa98f --- /dev/null +++ b/i18n/et.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Avjoska" + ] + }, + "mpdf-action": "PDF-i eksport" +} \ No newline at end of file diff --git a/i18n/fa.json b/i18n/fa.json new file mode 100644 index 0000000..e4eb8e5 --- /dev/null +++ b/i18n/fa.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Armin1392", + "Mjbmr" + ] + }, + "mpdf-action": "خروجی پیدیاف", + "mpdf-log": "$1 به عنوان یک پیدیاف صادر شده", + "mpdf-desc": "تبدیل صفحهٔ فعلی به پیدیاف و فرستادن به مرورگر" +} \ No newline at end of file diff --git a/i18n/fi.json b/i18n/fi.json new file mode 100644 index 0000000..d05a316 --- /dev/null +++ b/i18n/fi.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Nedergard" + ] + }, + "mpdf-action": "PDF-vienti", + "mpdf-log": "$1 viety PDF-muodossa", + "mpdf-desc": "Muuntaa nykyisen sivun PDF:ksi ja lähettää sen selaimelle" +} \ No newline at end of file diff --git a/i18n/fr.json b/i18n/fr.json new file mode 100644 index 0000000..d5af6b9 --- /dev/null +++ b/i18n/fr.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Linedwell", + "Wyz" + ] + }, + "mpdf-action": "Exporter en PDF", + "mpdf-log": "$1 exporté au format PDF", + "mpdf-desc": "Convertit en PDF la page actuelle et l'envoie au navigateur" +} \ No newline at end of file diff --git a/i18n/frp.json b/i18n/frp.json new file mode 100644 index 0000000..c50f187 --- /dev/null +++ b/i18n/frp.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "ChrisPtDe" + ] + }, + "mpdf-action": "Èxportar en PDF", + "mpdf-log": "$1 at èxportâ coment PDF", + "mpdf-desc": "Convèrtét en PDF la pâge d’ora et pués la mande u navigator" +} \ No newline at end of file diff --git a/i18n/gl.json b/i18n/gl.json new file mode 100644 index 0000000..a859dcc --- /dev/null +++ b/i18n/gl.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Toliño" + ] + }, + "mpdf-action": "Exportación en PDF", + "mpdf-log": "$1 exportado como PDF", + "mpdf-desc": "Converte a páxina actual nun PDF e mándalla ao navegador" +} \ No newline at end of file diff --git a/i18n/he.json b/i18n/he.json new file mode 100644 index 0000000..d01bc7f --- /dev/null +++ b/i18n/he.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Amire80" + ] + }, + "mpdf-action": "יצוא PDF", + "mpdf-log": "$1 יוּצא כ־PDF", + "mpdf-desc": "המרת הדף הנוכחי ל־PDF ושליחתו לדפדפן" +} \ No newline at end of file diff --git a/i18n/hsb.json b/i18n/hsb.json new file mode 100644 index 0000000..d25f8f2 --- /dev/null +++ b/i18n/hsb.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Michawiki" + ] + }, + "mpdf-action": "PDF-eksport", + "mpdf-log": "$1 bu jako PDF-dataja eksportowany", + "mpdf-desc": "Konwertuje aktualnu stronu do PDF-dataje a sćele ju do wobhladowaka" +} \ No newline at end of file diff --git a/i18n/id.json b/i18n/id.json new file mode 100644 index 0000000..acf1a07 --- /dev/null +++ b/i18n/id.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Farras" + ] + }, + "mpdf-action": "Ekspor PDF", + "mpdf-log": "$1 diekspor sebagai PDF" +} \ No newline at end of file diff --git a/i18n/it.json b/i18n/it.json new file mode 100644 index 0000000..76efae6 --- /dev/null +++ b/i18n/it.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Darth Kule" + ] + }, + "mpdf-action": "Esportazione in PDF", + "mpdf-log": "$1 esportato in formato PDF", + "mpdf-desc": "Converte la pagina corrente in PDF e la invia al browser" +} \ No newline at end of file diff --git a/i18n/ja.json b/i18n/ja.json new file mode 100644 index 0000000..af4ae2d --- /dev/null +++ b/i18n/ja.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Shirayuki" + ] + }, + "mpdf-action": "PDF書き出し", + "mpdf-log": "$1をPDFとしてエクスポート", + "mpdf-desc": "現在のページをPDFに変換してブラウザーに送る" +} \ No newline at end of file diff --git a/i18n/ka.json b/i18n/ka.json new file mode 100644 index 0000000..cd66503 --- /dev/null +++ b/i18n/ka.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "David1010" + ] + }, + "mpdf-action": "PDF-ის ექსპორტი", + "mpdf-log": "$1 ექსპორტირებულია როგორც PDF" +} \ No newline at end of file diff --git a/i18n/ko.json b/i18n/ko.json new file mode 100644 index 0000000..2a1f5f3 --- /dev/null +++ b/i18n/ko.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "아라" + ] + }, + "mpdf-action": "Pdf 내보내기", + "mpdf-log": "$1 사용자가 PDF로 내보냄", + "mpdf-desc": "PDF로 현재 문서를 변환하고 브라우저로 보냅니다" +} \ No newline at end of file diff --git a/i18n/ksh.json b/i18n/ksh.json new file mode 100644 index 0000000..e0b0104 --- /dev/null +++ b/i18n/ksh.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Purodha" + ] + }, + "mpdf-action": "PDF-Äxpoot", + "mpdf-log": "$1 als en PDF-Dattei expoteet", + "mpdf-desc": "Määd uß dä aktoölle Sigg en PDF-Dattei un scheck se aan dä Brauser." +} \ No newline at end of file diff --git a/i18n/lb.json b/i18n/lb.json new file mode 100644 index 0000000..3253c71 --- /dev/null +++ b/i18n/lb.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Robby" + ] + }, + "mpdf-action": "PDF-Export", + "mpdf-log": "$1 huet et als PDF exportéiert", + "mpdf-desc": "Wandelt déi aktuell Säit an e PDF ëm a schéckt et op de Browser" +} \ No newline at end of file diff --git a/i18n/mk.json b/i18n/mk.json new file mode 100644 index 0000000..62206f8 --- /dev/null +++ b/i18n/mk.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Bjankuloski06" + ] + }, + "mpdf-action": "PDF-извоз", + "mpdf-log": "Извоз на $1 како PDF", + "mpdf-desc": "Ја претвора тековната страница во PDF и му ја испраќа на прелистувачот" +} \ No newline at end of file diff --git a/i18n/ms.json b/i18n/ms.json new file mode 100644 index 0000000..e652402 --- /dev/null +++ b/i18n/ms.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Anakmalaysia" + ] + }, + "mpdf-action": "Eksport PDF", + "mpdf-log": "$1 mengeksport PDF", + "mpdf-desc": "Menukarkan halaman semasa kepad PDF dan menghantarnya ke pelayar" +} \ No newline at end of file diff --git a/i18n/mt.json b/i18n/mt.json new file mode 100644 index 0000000..8ff5e09 --- /dev/null +++ b/i18n/mt.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Chrisportelli" + ] + }, + "mpdf-action": "Esportazzjoni bil-PDF", + "mpdf-log": "$1 esporta f'format PDF", + "mpdf-desc": "Jikkonverti l-paġna attwali f'PDF u jibgħatha għall-browżer" +} \ No newline at end of file diff --git a/i18n/nb.json b/i18n/nb.json new file mode 100644 index 0000000..9742602 --- /dev/null +++ b/i18n/nb.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [] + }, + "mpdf-action": "PDF-eksport", + "mpdf-log": "$1 eksportert som PDF", + "mpdf-desc": "Konverterer nåværende side til PDF og sender den til nettleseren" +} \ No newline at end of file diff --git a/i18n/nl.json b/i18n/nl.json new file mode 100644 index 0000000..3ce9d76 --- /dev/null +++ b/i18n/nl.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Siebrand" + ] + }, + "mpdf-action": "Pdfexport", + "mpdf-log": "$1 is geëxporteerd als pdf", + "mpdf-desc": "Converteert de huidige pagina naar pdf en verzendt die naar de browser" +} \ No newline at end of file diff --git a/i18n/pl.json b/i18n/pl.json new file mode 100644 index 0000000..1a4a949 --- /dev/null +++ b/i18n/pl.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "BeginaFelicysym" + ] + }, + "mpdf-action": "Eksport do Pdf", + "mpdf-log": "wyeksportowano $1 do formatu PDF", + "mpdf-desc": "Zamienia bieżącą stronę na PDF i przesyła do przeglądarki" +} \ No newline at end of file diff --git a/i18n/pms.json b/i18n/pms.json new file mode 100644 index 0000000..1722392 --- /dev/null +++ b/i18n/pms.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Borichèt", + "Dragonòt" + ] + }, + "mpdf-action": "Esportassion ëd PDF", + "mpdf-log": "$1 esportà com PDF", + "mpdf-desc": "A convert la pàgina corenta an PDF e a la manda al navigador" +} \ No newline at end of file diff --git a/i18n/pt-br.json b/i18n/pt-br.json new file mode 100644 index 0000000..d352e29 --- /dev/null +++ b/i18n/pt-br.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Cainamarques" + ] + }, + "mpdf-action": "Exportar como PDF", + "mpdf-log": "$1 exportado como PDF", + "mpdf-desc": "Converte página atual em PDF e envia ao navegador" +} \ No newline at end of file diff --git a/i18n/qqq.json b/i18n/qqq.json new file mode 100644 index 0000000..ce528bd --- /dev/null +++ b/i18n/qqq.json @@ -0,0 +1,12 @@ +{ + "@metadata": { + "authors": [ + "Lloffiwr", + "Purodha", + "Shirayuki" + ] + }, + "mpdf-action": "Used as link text", + "mpdf-log": "Parameters:\n* $1 - the username of the user who exports the PDF book", + "mpdf-desc": "{{desc|name=Mpdf|url=http://www.mediawiki.org/wiki/Extension:Mpdf}}" +} \ No newline at end of file diff --git a/i18n/ro.json b/i18n/ro.json new file mode 100644 index 0000000..5ef75bc --- /dev/null +++ b/i18n/ro.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Firilacroco", + "Minisarm" + ] + }, + "mpdf-action": "Exportare ca PDF", + "mpdf-log": "$1 a exportat ca PDF" +} \ No newline at end of file diff --git a/i18n/roa-tara.json b/i18n/roa-tara.json new file mode 100644 index 0000000..887cb85 --- /dev/null +++ b/i18n/roa-tara.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Joetaras" + ] + }, + "mpdf-action": "Esporte 'u PDF", + "mpdf-log": "$1 esportate cumme 'nu PDF", + "mpdf-desc": "converte 'a pàgena corrende jndr'à 'nu PDF e 'u manne a 'u browser" +} \ No newline at end of file diff --git a/i18n/ru.json b/i18n/ru.json new file mode 100644 index 0000000..3c6fc62 --- /dev/null +++ b/i18n/ru.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Pastakhov" + ] + }, + "mpdf-action": "Экспорт в PDF", + "mpdf-log": "$1 экспортировано в PDF", + "mpdf-desc": "Преобразует текущую страницу в PDF и отправляет браузеру" +} \ No newline at end of file diff --git a/i18n/si.json b/i18n/si.json new file mode 100644 index 0000000..018e199 --- /dev/null +++ b/i18n/si.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "පසිඳු කාවින්ද" + ] + }, + "mpdf-action": "Pdf නිර්යාත කිරීම", + "mpdf-log": "$1 PDF ලෙස නිර්යාත කරන ලදී" +} \ No newline at end of file diff --git a/i18n/sv.json b/i18n/sv.json new file mode 100644 index 0000000..3b16028 --- /dev/null +++ b/i18n/sv.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Jopparn", + "WikiPhoenix" + ] + }, + "mpdf-action": "PDF-export", + "mpdf-log": "$1 exporterad som PDF", + "mpdf-desc": "Konverterar aktuell sida till PDF och skickar till webbläsaren" +} \ No newline at end of file diff --git a/i18n/ta.json b/i18n/ta.json new file mode 100644 index 0000000..e3547a5 --- /dev/null +++ b/i18n/ta.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Shanmugamp7" + ] + }, + "mpdf-action": "Pdf ஏற்றுமதி", + "mpdf-log": "$1 PDF ஆக ஏற்றுமதி செய்யப்பட்டது" +} \ No newline at end of file diff --git a/i18n/tl.json b/i18n/tl.json new file mode 100644 index 0000000..8807e5a --- /dev/null +++ b/i18n/tl.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "AnakngAraw" + ] + }, + "mpdf-action": "Pagluluwas ng PDF", + "mpdf-log": "Iniluwas ang $1 bilang isang PDF", + "mpdf-desc": "Nagpapalit ng kasalukuyang pahinang upang maging PDF at ipinapadala sa pantingin-tingin" +} \ No newline at end of file diff --git a/i18n/uk.json b/i18n/uk.json new file mode 100644 index 0000000..e90e78c --- /dev/null +++ b/i18n/uk.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Ата" + ] + }, + "mpdf-action": "Експорт у PDF", + "mpdf-log": "{{GENDER:$1|експортував|експортувала}} у PDF", + "mpdf-desc": "Перетворює поточну сторінку на PDF і надсилає до браузера" +} \ No newline at end of file diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json new file mode 100644 index 0000000..06fcadc --- /dev/null +++ b/i18n/zh-hans.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Yfdyh000" + ] + }, + "mpdf-action": "PDF 导出", + "mpdf-log": "$1 导出了一个 PDF", + "mpdf-desc": "将当前网页转换为 PDF 并发送到浏览器" +} \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/122702 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I969d567296a56abd3bbd070ea79301afb4cbc607 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Mpdf Gerrit-Branch: master Gerrit-Owner: Siebrand <siebr...@kitano.nl> Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: Siebrand <siebr...@kitano.nl> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits