summaryrefslogtreecommitdiff
path: root/extensions/PdfHandler
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/PdfHandler')
-rw-r--r--extensions/PdfHandler/Gruntfile.js19
-rw-r--r--extensions/PdfHandler/PdfHandler.image.php4
-rw-r--r--extensions/PdfHandler/PdfHandler_body.php13
-rw-r--r--extensions/PdfHandler/Rakefile14
-rw-r--r--extensions/PdfHandler/composer.json10
-rw-r--r--extensions/PdfHandler/extension.json3
-rw-r--r--extensions/PdfHandler/i18n/ast.json4
-rw-r--r--extensions/PdfHandler/i18n/cs.json4
-rw-r--r--extensions/PdfHandler/i18n/es.json4
-rw-r--r--extensions/PdfHandler/i18n/fr.json7
-rw-r--r--extensions/PdfHandler/i18n/gl.json8
-rw-r--r--extensions/PdfHandler/i18n/gu.json6
-rw-r--r--extensions/PdfHandler/i18n/hi.json6
-rw-r--r--extensions/PdfHandler/i18n/hu.json7
-rw-r--r--extensions/PdfHandler/i18n/it.json4
-rw-r--r--extensions/PdfHandler/i18n/kk-cyrl.json11
-rw-r--r--extensions/PdfHandler/i18n/ksh.json4
-rw-r--r--extensions/PdfHandler/i18n/lt.json13
-rw-r--r--extensions/PdfHandler/i18n/ml.json4
-rw-r--r--extensions/PdfHandler/i18n/nap.json18
-rw-r--r--extensions/PdfHandler/i18n/nb.json7
-rw-r--r--extensions/PdfHandler/i18n/ne.json8
-rw-r--r--extensions/PdfHandler/i18n/nl.json4
-rw-r--r--extensions/PdfHandler/i18n/olo.json9
-rw-r--r--extensions/PdfHandler/i18n/qqq.json4
-rw-r--r--extensions/PdfHandler/i18n/roa-tara.json4
-rw-r--r--extensions/PdfHandler/i18n/ru.json6
-rw-r--r--extensions/PdfHandler/i18n/sa.json6
-rw-r--r--extensions/PdfHandler/i18n/tr.json10
-rw-r--r--extensions/PdfHandler/i18n/uk.json7
-rw-r--r--extensions/PdfHandler/i18n/vi.json4
-rw-r--r--extensions/PdfHandler/i18n/zh-hans.json2
-rw-r--r--extensions/PdfHandler/i18n/zh-hant.json4
33 files changed, 208 insertions, 30 deletions
diff --git a/extensions/PdfHandler/Gruntfile.js b/extensions/PdfHandler/Gruntfile.js
new file mode 100644
index 00000000..5a87e7b6
--- /dev/null
+++ b/extensions/PdfHandler/Gruntfile.js
@@ -0,0 +1,19 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+ grunt.loadNpmTasks( 'grunt-banana-checker' );
+ grunt.loadNpmTasks( 'grunt-jsonlint' );
+
+ var conf = grunt.file.readJSON( 'extension.json' );
+ grunt.initConfig( {
+ banana: conf.MessagesDirs,
+ jsonlint: {
+ all: [
+ '**/*.json',
+ '!node_modules/**'
+ ]
+ }
+ } );
+
+ grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+ grunt.registerTask( 'default', 'test' );
+};
diff --git a/extensions/PdfHandler/PdfHandler.image.php b/extensions/PdfHandler/PdfHandler.image.php
index 49da7f4e..ea016e34 100644
--- a/extensions/PdfHandler/PdfHandler.image.php
+++ b/extensions/PdfHandler/PdfHandler.image.php
@@ -19,6 +19,8 @@
* http://www.gnu.org/copyleft/gpl.html
*/
+use MediaWiki\Logger\LoggerFactory;
+
/**
* inspired by djvuimage from Brion Vibber
* modified and written by xarax
@@ -295,7 +297,7 @@ class PdfImage {
// is present (Almost always is present)
// @todo: This only handles generic xmp properties. Would be improved
// by handling pdf xmp properties (pdf and pdfx) via XMPInfo hook.
- $xmp = new XMPReader();
+ $xmp = new XMPReader( LoggerFactory::getInstance( 'XMP' ) );
$xmp->parse( $data['xmp'] );
$xmpRes = $xmp->getResults();
foreach ( $xmpRes as $type => $xmpSection ) {
diff --git a/extensions/PdfHandler/PdfHandler_body.php b/extensions/PdfHandler/PdfHandler_body.php
index 0b192bbb..7cb9a51d 100644
--- a/extensions/PdfHandler/PdfHandler_body.php
+++ b/extensions/PdfHandler/PdfHandler_body.php
@@ -271,11 +271,14 @@ class PdfHandler extends ImageHandler {
return false;
}
- wfProfileIn( __METHOD__ );
- wfSuppressWarnings();
- $image->pdfMetaArray = unserialize( $metadata );
- wfRestoreWarnings();
- wfProfileOut( __METHOD__ );
+ $work = new PoolCounterWorkViaCallback( 'PdfHandler-unserialize-metadata', $image->getName(), array(
+ 'doWork' => function() use ( $image, $metadata ) {
+ wfSuppressWarnings();
+ $image->pdfMetaArray = unserialize( $metadata );
+ wfRestoreWarnings();
+ },
+ ) );
+ $work->execute();
return $image->pdfMetaArray;
}
diff --git a/extensions/PdfHandler/Rakefile b/extensions/PdfHandler/Rakefile
new file mode 100644
index 00000000..4835bcda
--- /dev/null
+++ b/extensions/PdfHandler/Rakefile
@@ -0,0 +1,14 @@
+require "bundler/setup"
+
+require "rubocop/rake_task"
+RuboCop::RakeTask.new(:rubocop) do |task|
+ # If you use mediawiki-vagrant, rubocop will by default use it's .rubocop.yml
+ # The next line makes it explicit that you want .rubocop.yml from the
+ # directory where `bundle exec rake` is executed:
+ task.options = ["-c", ".rubocop.yml"]
+end
+
+task default: [:test]
+
+desc "Run all build/tests commands (CI entry point)"
+task test: [:rubocop]
diff --git a/extensions/PdfHandler/composer.json b/extensions/PdfHandler/composer.json
new file mode 100644
index 00000000..fd380fb7
--- /dev/null
+++ b/extensions/PdfHandler/composer.json
@@ -0,0 +1,10 @@
+{
+ "require-dev": {
+ "jakub-onderka/php-parallel-lint": "0.9"
+ },
+ "scripts": {
+ "test": [
+ "parallel-lint . --exclude node_modules --exclude vendor"
+ ]
+ }
+}
diff --git a/extensions/PdfHandler/extension.json b/extensions/PdfHandler/extension.json
index 0736ee8e..0c5acebd 100644
--- a/extensions/PdfHandler/extension.json
+++ b/extensions/PdfHandler/extension.json
@@ -41,5 +41,6 @@
"PdfImage": "PdfHandler.image.php",
"PdfHandler": "PdfHandler_body.php",
"CreatePdfThumbnailsJob": "CreatePdfThumbnailsJob.class.php"
- }
+ },
+ "manifest_version": 1
}
diff --git a/extensions/PdfHandler/i18n/ast.json b/extensions/PdfHandler/i18n/ast.json
index b2ad9d48..c2c275dc 100644
--- a/extensions/PdfHandler/i18n/ast.json
+++ b/extensions/PdfHandler/i18n/ast.json
@@ -5,6 +5,10 @@
]
},
"pdf-desc": "Xestor pa ver los ficheros PDF en mou d'imaxe",
+ "pdf-file-page-warning": "PDF ye un formatu complexu que pue esponer dalguna información privada en dellos casos. Asegúrate de configurar el to llector de PDF de manera segura.",
+ "pdf-file-page-warning-header": "Consideraciones d'intimidá",
+ "pdf-file-page-warning-footer": "Esti problema nun ye específicu d'esti ficheru concretu, sinón que ye un problema xeneral col formatu PDF.",
+ "pdf-file-page-warning-info": "Más información sobro esti problema.",
"pdf_no_metadata": "Nun se pudieron sacar los metadatos del PDF",
"pdf_page_error": "El númberu de la páxina nun ta nel rangu",
"exif-pdf-producer": "Programa de conversión",
diff --git a/extensions/PdfHandler/i18n/cs.json b/extensions/PdfHandler/i18n/cs.json
index 204a5374..eab1ccc0 100644
--- a/extensions/PdfHandler/i18n/cs.json
+++ b/extensions/PdfHandler/i18n/cs.json
@@ -6,6 +6,10 @@
]
},
"pdf-desc": "Ovladač pro prohlížení PDF souborů jako obrázků",
+ "pdf-file-page-warning": "PDF je komplexní formát, který může v jistých případech prozradit některé vaše soukromé údaje. Ujistěte se, že máte svůj PDF prohlížeč nakonfigurován bezpečným způsobem.",
+ "pdf-file-page-warning-header": "Poznámka k ochraně soukromí",
+ "pdf-file-page-warning-footer": "Tento problém se netýká přímo tohoto konkrétního souboru, jde o obecný problém formátu PDF.",
+ "pdf-file-page-warning-info": "Více informací k tomuto tématu.",
"pdf_no_metadata": "Z PDF se nepodařilo získat metadata",
"pdf_page_error": "Číslo stránky mimo rozsah",
"exif-pdf-producer": "Konverzní program",
diff --git a/extensions/PdfHandler/i18n/es.json b/extensions/PdfHandler/i18n/es.json
index bda980d6..1f030d85 100644
--- a/extensions/PdfHandler/i18n/es.json
+++ b/extensions/PdfHandler/i18n/es.json
@@ -6,12 +6,12 @@
"Macofe"
]
},
- "pdf-desc": "Manejador para ver archivos PDF en modo imagen",
+ "pdf-desc": "Manejador para ver archivos PDF en modo imagen.",
"pdf-file-page-warning": "PDF es un formato complejo que puede exponer alguna información privada en algunos casos. Asegúrate de configurar tu lector de PDF de una manera segura.",
"pdf-file-page-warning-header": "Consideraciones de privacidad",
"pdf-file-page-warning-footer": "Este problema no es específico de este archivo en particular, sino un problema general con el formato PDF.",
"pdf-file-page-warning-info": "Más información sobre este problema.",
- "pdf_no_metadata": "No se obtuvieron metadatos del PDF",
+ "pdf_no_metadata": "No se pudieron obtener metadatos del PDF.",
"pdf_page_error": "Número de página fuera de rango",
"exif-pdf-producer": "Programa de conversión",
"exif-pdf-version": "Versión del formato PDF",
diff --git a/extensions/PdfHandler/i18n/fr.json b/extensions/PdfHandler/i18n/fr.json
index 9970cb21..094ffcfd 100644
--- a/extensions/PdfHandler/i18n/fr.json
+++ b/extensions/PdfHandler/i18n/fr.json
@@ -4,10 +4,15 @@
"Crochet.david",
"Gomoko",
"Grondin",
- "Verdy p"
+ "Verdy p",
+ "Yodaspirine"
]
},
"pdf-desc": "Gestionnaire permettant de visualiser les fichiers PDF en mode image",
+ "pdf-file-page-warning": "Le PDF est format complexe qui peut exposer certaines de vos informations privées dans certains cas. Assurez-vous d'avoir configuré de façon sûre votre lecteur de PDF.",
+ "pdf-file-page-warning-header": "Considérations sur la vie privée",
+ "pdf-file-page-warning-footer": "Ce problème n'est pas spécifique à ce fichier en particuler, mais est un problème avec le format PDF en général.",
+ "pdf-file-page-warning-info": "En savoir plus sur ce problème.",
"pdf_no_metadata": "Impossible d’obtenir les métadonnées du fichier PDF",
"pdf_page_error": "Le numéro de page est hors de l’étendue.",
"exif-pdf-producer": "Programme de conversion",
diff --git a/extensions/PdfHandler/i18n/gl.json b/extensions/PdfHandler/i18n/gl.json
index 06c708a4..58683e18 100644
--- a/extensions/PdfHandler/i18n/gl.json
+++ b/extensions/PdfHandler/i18n/gl.json
@@ -2,10 +2,16 @@
"@metadata": {
"authors": [
"Alma",
- "Toliño"
+ "Toliño",
+ "Banjo",
+ "Elisardojm"
]
},
"pdf-desc": "Manipulador para ver ficheiros PDF no modo de imaxe",
+ "pdf-file-page-warning": "PDF é un formato complexo que pode expoñer algunha información privada nalgúns casos. Asegúrese de configurar o seu lector de PDF dunha maneira segura.",
+ "pdf-file-page-warning-header": "Consideracións de privacidade",
+ "pdf-file-page-warning-footer": "Este problema non é específico deste ficheiro en particular, senón un problema xeral co formato PDF.",
+ "pdf-file-page-warning-info": "Máis informacións sobre este problema.",
"pdf_no_metadata": "Non se puideron obter os metadatos do PDF.",
"pdf_page_error": "O número da páxina non está no rango.",
"exif-pdf-producer": "Programa de conversión",
diff --git a/extensions/PdfHandler/i18n/gu.json b/extensions/PdfHandler/i18n/gu.json
index 1605e38a..697b8487 100644
--- a/extensions/PdfHandler/i18n/gu.json
+++ b/extensions/PdfHandler/i18n/gu.json
@@ -2,10 +2,12 @@
"@metadata": {
"authors": [
"KartikMistry",
- "Sushant savla"
+ "Sushant savla",
+ "NehalDaveND"
]
},
"pdf-desc": "PDF ફાઈલોને ચિત્ર સ્વરૂપે જોવાનું સાધન",
"pdf_no_metadata": "PDFમાંથી મેટા ડાટા ન મેળવી શકાયો",
- "pdf_page_error": "પાનાં ક્રમાંક અવધિમાં નથી"
+ "pdf_page_error": "પાનાં ક્રમાંક અવધિમાં નથી",
+ "exif-pdf-pagesize": "પાનાંનો આકાર"
}
diff --git a/extensions/PdfHandler/i18n/hi.json b/extensions/PdfHandler/i18n/hi.json
index e904654e..674f4f71 100644
--- a/extensions/PdfHandler/i18n/hi.json
+++ b/extensions/PdfHandler/i18n/hi.json
@@ -1,10 +1,12 @@
{
"@metadata": {
"authors": [
- "Kaustubh"
+ "Kaustubh",
+ "NehalDaveND"
]
},
"pdf-desc": "चित्र मोड में पीडीएफ फ़ाईल देखनेके लिये आवश्यक प्रणाली",
"pdf_no_metadata": "पीडीएफ से मेटाडाटा ले नहीं पायें",
- "pdf_page_error": "पन्ने का क्रमांक सीमामें नहीं हैं"
+ "pdf_page_error": "पन्ने का क्रमांक सीमामें नहीं हैं",
+ "exif-pdf-pagesize": "पृष्ठ का आकार"
}
diff --git a/extensions/PdfHandler/i18n/hu.json b/extensions/PdfHandler/i18n/hu.json
index 425a4474..66fb2621 100644
--- a/extensions/PdfHandler/i18n/hu.json
+++ b/extensions/PdfHandler/i18n/hu.json
@@ -2,10 +2,15 @@
"@metadata": {
"authors": [
"Dani",
- "Dj"
+ "Dj",
+ "Tacsipacsi"
]
},
"pdf-desc": "PDF fájlok megjelenítse képként",
+ "pdf-file-page-warning": "A PDF egy komplex formátum, ami bizonyos esetekben veszélyeztetheti a személyes információidat. Figyelj a PDF-megjelenítőd biztonságos beállítására.",
+ "pdf-file-page-warning-header": "Biztonsági problémák",
+ "pdf-file-page-warning-footer": "Ez nem a konkrét fájl problémája, hanem a általánosan a PDF formátumé.",
+ "pdf-file-page-warning-info": "További információk a problémáról",
"pdf_no_metadata": "nem sikerült lekérni a PDF metaadatait",
"pdf_page_error": "Az oldalszám a tartományon kívül esik",
"exif-pdf-producer": "Konvertáló program",
diff --git a/extensions/PdfHandler/i18n/it.json b/extensions/PdfHandler/i18n/it.json
index 5d4ae85a..18aecfa1 100644
--- a/extensions/PdfHandler/i18n/it.json
+++ b/extensions/PdfHandler/i18n/it.json
@@ -2,10 +2,12 @@
"@metadata": {
"authors": [
"Beta16",
- "Darth Kule"
+ "Darth Kule",
+ "F. Cosoleto"
]
},
"pdf-desc": "Gestore per la visualizzazione di file PDF in modalità immagine",
+ "pdf-file-page-warning-info": "Ulteriori informazioni su questo problema.",
"pdf_no_metadata": "Impossibile ottenere i metadati da PDF",
"pdf_page_error": "Numero di pagina non compreso nell'intervallo",
"exif-pdf-producer": "Programma di conversione",
diff --git a/extensions/PdfHandler/i18n/kk-cyrl.json b/extensions/PdfHandler/i18n/kk-cyrl.json
new file mode 100644
index 00000000..78d753b2
--- /dev/null
+++ b/extensions/PdfHandler/i18n/kk-cyrl.json
@@ -0,0 +1,11 @@
+{
+ "@metadata": {
+ "authors": [
+ "Arystanbek"
+ ]
+ },
+ "pdf-file-page-warning-info": "Қате туралы толығырақ білу.",
+ "exif-pdf-producer": "Түрлендіру програмасы",
+ "exif-pdf-version": "PDF форматының нұсқасы",
+ "exif-pdf-pagesize": "Бет өлшемі"
+}
diff --git a/extensions/PdfHandler/i18n/ksh.json b/extensions/PdfHandler/i18n/ksh.json
index 8901e25c..f98ff67a 100644
--- a/extensions/PdfHandler/i18n/ksh.json
+++ b/extensions/PdfHandler/i18n/ksh.json
@@ -9,10 +9,10 @@
"pdf-file-page-warning-header": "Zom Schoz vun päsöhnlesche Dahte",
"pdf-file-page-warning-footer": "Dat hädd och nix met heh dä beschtemmpte Dattei ze donn, ed es esu för jehde Dattei em <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Portable Document Format\">PDF</i>-Fommaht.",
"pdf-file-page-warning-info": "Donn mih övver dat Jannze lässe.",
- "pdf_no_metadata": "Kann de Metta-Date nit fun dä PDF-Datei holle.",
+ "pdf_no_metadata": "Kann de Metta_Dahte nit fun dä <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Portable Document Format\">PDF</i>-Dattei holle.",
"pdf_page_error": "En Sigge-Nommer es ußerhallef",
"exif-pdf-producer": "Ömwandelongsprojramm",
- "exif-pdf-version": "PDF-Fommaat-Version",
+ "exif-pdf-version": "PDF-Fommaat-Väsjohn",
"exif-pdf-encrypted": "Verschlößelt",
"exif-pdf-pagesize": "Dä Sigg(e) ier Jrüüße <--\nhttps://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Exif-pdf-pagesize/ksh\nhttps://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Exif-pdf-pagesize\n-->"
}
diff --git a/extensions/PdfHandler/i18n/lt.json b/extensions/PdfHandler/i18n/lt.json
index 6d1315c6..caab360b 100644
--- a/extensions/PdfHandler/i18n/lt.json
+++ b/extensions/PdfHandler/i18n/lt.json
@@ -1,10 +1,19 @@
{
"@metadata": {
"authors": [
- "Matasg"
+ "Matasg",
+ "Albertas"
]
},
"pdf-desc": "Įrankis PDF failų peržiūrai vaizdo režime",
+ "pdf-file-page-warning": "PDF yra sudėtingas formatas, kuris kartais gali atskleisti dalį Jūsų privačios informacijos. Įsitikinkite, kad Jūsų PDF peržiūros įrankis yra saugiai sukonfigūruotas.",
+ "pdf-file-page-warning-header": "Privatumo sumetimai",
+ "pdf-file-page-warning-footer": "Ši problema nėra specifinė konkrečiam failui, bet apskritai PDF formato problema.",
+ "pdf-file-page-warning-info": "Išmokite daugiau apie šią problemą.",
"pdf_no_metadata": "Nepavyko gauti metaduomenų iš PDF",
- "pdf_page_error": "Puslapis numeris nėra diapazone"
+ "pdf_page_error": "Puslapis numeris nėra diapazone",
+ "exif-pdf-producer": "Konvertavimo programa",
+ "exif-pdf-version": "PDF formato versija",
+ "exif-pdf-encrypted": "Užšifruotas",
+ "exif-pdf-pagesize": "Puslapio dydis"
}
diff --git a/extensions/PdfHandler/i18n/ml.json b/extensions/PdfHandler/i18n/ml.json
index 7c75a12b..71f483bb 100644
--- a/extensions/PdfHandler/i18n/ml.json
+++ b/extensions/PdfHandler/i18n/ml.json
@@ -6,6 +6,10 @@
]
},
"pdf-desc": "പി.ഡി.എഫ്. പ്രമാണങ്ങൾ ചിത്രരൂപത്തിൽ കാണുന്നതിനുള്ള കൈകാര്യോപകരണം",
+ "pdf-file-page-warning": "പി.ഡി.എഫ്. വളരെ സങ്കീർണ്ണമാണ്, ചിലപ്പോളത് താങ്കളുടെ സ്വകാര്യവിവരങ്ങൾ വെളിപ്പെടുത്തിയേക്കാം. താങ്കളുടെ പി.ഡി.എഫ്. ദർശനോപാധി സുരക്ഷിതമായ വിധത്തിൽ ക്രമീകരിക്കാൻ ശ്രദ്ധിക്കുക.",
+ "pdf-file-page-warning-header": "സ്വകാര്യതാ പരിഗണനകൾ",
+ "pdf-file-page-warning-footer": "ഈ പ്രശ്നം ഈ പ്രത്യേക പ്രമാണത്തിന് മാത്രമുള്ളതല്ല, മറിച്ച് പി.ഡി.എഫ്. രീതിയുടെ പൊതു പ്രശ്നമാണ്.",
+ "pdf-file-page-warning-info": "ഈ പ്രശ്നത്തെക്കുറിച്ച് കൂടുതൽ അറിയുക.",
"pdf_no_metadata": "PDF-ൽ നിന്നു മെറ്റാഡാറ്റ ലഭിച്ചില്ല",
"pdf_page_error": "താളിന്റെ ക്രമസംഖ്യ പരിധിയിലധികമാണ്",
"exif-pdf-producer": "പരിവർത്തന പ്രോഗ്രാം",
diff --git a/extensions/PdfHandler/i18n/nap.json b/extensions/PdfHandler/i18n/nap.json
new file mode 100644
index 00000000..f4d53731
--- /dev/null
+++ b/extensions/PdfHandler/i18n/nap.json
@@ -0,0 +1,18 @@
+{
+ "@metadata": {
+ "authors": [
+ "C.R."
+ ]
+ },
+ "pdf-desc": "Gestore pe vedè 'e file PDF 'n modo immaggine",
+ "pdf-file-page-warning": "'O PDF è nu formato cumplesso ca putesse fà veré cocche nfurmazione privata vuosta int'a cierti situaziune. Faciteve sicuro/a ca cunfigurate 'o visualizzatore PDF int'a nu modo sicuro.",
+ "pdf-file-page-warning-header": "Cunzideraziune d' 'a privacy",
+ "pdf-file-page-warning-footer": "Stu probblema nun è specifico 'e stu file particolare, ma nu probblema generale cu 'o furmato PDF.",
+ "pdf-file-page-warning-info": "Mpara 'e cchiù ncopp'a sti probbleme.",
+ "pdf_no_metadata": "Nun se ponno piglià 'e metadate d' 'o PDF.",
+ "pdf_page_error": "'O nummero d' 'a paggena nun è int'a ll'intervallo.",
+ "exif-pdf-producer": "Prugramma 'e cunverziona",
+ "exif-pdf-version": "Verzione d' 'o furmato 'e PDF",
+ "exif-pdf-encrypted": "Criptate",
+ "exif-pdf-pagesize": "Diminziona d' 'a paggena"
+}
diff --git a/extensions/PdfHandler/i18n/nb.json b/extensions/PdfHandler/i18n/nb.json
index 8f18d2da..1dcd13ac 100644
--- a/extensions/PdfHandler/i18n/nb.json
+++ b/extensions/PdfHandler/i18n/nb.json
@@ -1,10 +1,15 @@
{
"@metadata": {
"authors": [
- "Jsoby"
+ "Jsoby",
+ "Danmichaelo"
]
},
"pdf-desc": "Håndtering av PDF-visning i bildemodus",
+ "pdf-file-page-warning": "PDF er et komplekst format som kan eksponere din private informasjon. Forsikre deg om at du har sikre innstillinger i PDF-visningsprogrammet ditt.",
+ "pdf-file-page-warning-header": "Personvernhensyn",
+ "pdf-file-page-warning-footer": "Dette er ikke et problem med denne bestemte filen, men et generelt problem med PDF-formatet.",
+ "pdf-file-page-warning-info": "Lær mer.",
"pdf_no_metadata": "kan ikke hente metadata fra PDF",
"pdf_page_error": "Sidenummer overstiger antall sider i dokumentet",
"exif-pdf-producer": "Koverteringsprogram",
diff --git a/extensions/PdfHandler/i18n/ne.json b/extensions/PdfHandler/i18n/ne.json
new file mode 100644
index 00000000..20730cff
--- /dev/null
+++ b/extensions/PdfHandler/i18n/ne.json
@@ -0,0 +1,8 @@
+{
+ "@metadata": {
+ "authors": [
+ "NehalDaveND"
+ ]
+ },
+ "exif-pdf-pagesize": "पृष्ठको आकार"
+}
diff --git a/extensions/PdfHandler/i18n/nl.json b/extensions/PdfHandler/i18n/nl.json
index f019d3e9..674c185e 100644
--- a/extensions/PdfHandler/i18n/nl.json
+++ b/extensions/PdfHandler/i18n/nl.json
@@ -2,10 +2,12 @@
"@metadata": {
"authors": [
"Siebrand",
- "Wiki13"
+ "Wiki13",
+ "Robin0van0der0vliet"
]
},
"pdf-desc": "Handelt pdfbestanden af en maakt het mogelijk ze als afbeeldingen te bekijken",
+ "pdf-file-page-warning-header": "Privacyoverwegingen",
"pdf_no_metadata": "De metadata van het pdfbestand kan niet uitgelezen worden",
"pdf_page_error": "Het paginanummer ligt niet binnen het bereik",
"exif-pdf-producer": "Conversieprogramma",
diff --git a/extensions/PdfHandler/i18n/olo.json b/extensions/PdfHandler/i18n/olo.json
new file mode 100644
index 00000000..ada2c6f9
--- /dev/null
+++ b/extensions/PdfHandler/i18n/olo.json
@@ -0,0 +1,9 @@
+{
+ "@metadata": {
+ "authors": [
+ "Mashoi7"
+ ]
+ },
+ "exif-pdf-version": "PDF-formuatan versii",
+ "exif-pdf-pagesize": "Sivun kogo"
+}
diff --git a/extensions/PdfHandler/i18n/qqq.json b/extensions/PdfHandler/i18n/qqq.json
index 39af89f8..ca8bb394 100644
--- a/extensions/PdfHandler/i18n/qqq.json
+++ b/extensions/PdfHandler/i18n/qqq.json
@@ -8,6 +8,10 @@
]
},
"pdf-desc": "{{desc|name=Pdf Handler|url=https://www.mediawiki.org/wiki/Extension:PdfHandler}}",
+ "pdf-file-page-warning": "Warning about potential issues with the PDF format, shown to users on the file page in a popup.",
+ "pdf-file-page-warning-header": "Header for a popup warning on the file page concerning potential privacy issues with the PDF format.",
+ "pdf-file-page-warning-footer": "Footer for a popup warning on the file page concerning potential privacy issues with the PDF format. Qualifies the warning by noting that any PDF may be unsafe, but we don't actually know if this particular PDF file is.",
+ "pdf-file-page-warning-info": "Link text for learning more about potential issues with the PDF format. Links to //www.mediawiki.org/wiki/Special:MyLanguage/Help:Security/PDF_files in the interface.",
"pdf_no_metadata": "Error message given when metadata cannot be retrieved from a PDF file",
"pdf_page_error": "Error message given when a PDF does not have the requested page number",
"exif-pdf-producer": "The label used in the metadata table at the bottom of the file description page for the program used to convert this PDF file into a PDF.\n\nThis is separate from the program used to create the original file (Which is labeled by {{msg-mw|Exif-software}}).",
diff --git a/extensions/PdfHandler/i18n/roa-tara.json b/extensions/PdfHandler/i18n/roa-tara.json
index e7a5d949..2a8ddba2 100644
--- a/extensions/PdfHandler/i18n/roa-tara.json
+++ b/extensions/PdfHandler/i18n/roa-tara.json
@@ -5,6 +5,10 @@
]
},
"pdf-desc": "Gestore pe vedè le file PDF in mode immaggine",
+ "pdf-file-page-warning": "PDF jè 'nu formate comblesse ca pò fà vedè quacche 'mbormazione privata toje jndr'à certe case. A essere secure de configurà 'u visualizzatore de PDF jndr'à 'nu mode secure.",
+ "pdf-file-page-warning-header": "Conzideraziune d'a provacy",
+ "pdf-file-page-warning-footer": "Stu probbleme non g'è specifiche de stu file particolare, ma 'nu probbleme generale cu 'u formate PDF.",
+ "pdf-file-page-warning-info": "'Mbare de cchiù sus a stu probbleme.",
"pdf_no_metadata": "Non ge pozze pigghià le metadata da 'u PDF",
"pdf_page_error": "Numere de pàgene fore da l'indervalle",
"exif-pdf-producer": "Programme de conversione",
diff --git a/extensions/PdfHandler/i18n/ru.json b/extensions/PdfHandler/i18n/ru.json
index e97ec2ad..36e862e9 100644
--- a/extensions/PdfHandler/i18n/ru.json
+++ b/extensions/PdfHandler/i18n/ru.json
@@ -2,10 +2,14 @@
"@metadata": {
"authors": [
"DCamer",
- "Александр Сигачёв"
+ "Александр Сигачёв",
+ "Okras"
]
},
"pdf-desc": "Обработчик для просмотра PDF-файлов в виде изображений",
+ "pdf-file-page-warning": "PDF — комплексный формат, который в некоторых случаях может раскрыть определённую вашу личную информацию. Убедитесь в том, что настройки вашего PDF-просмотрщика безопасны.",
+ "pdf-file-page-warning-header": "Соображения конфиденциальности",
+ "pdf-file-page-warning-info": "Подробнее об этой проблеме.",
"pdf_no_metadata": "невозможно получить метаданные из PDF",
"pdf_page_error": "Номер страницы вне диапазона",
"exif-pdf-producer": "Программа преобразования",
diff --git a/extensions/PdfHandler/i18n/sa.json b/extensions/PdfHandler/i18n/sa.json
index 50a61c1e..860a1353 100644
--- a/extensions/PdfHandler/i18n/sa.json
+++ b/extensions/PdfHandler/i18n/sa.json
@@ -1,10 +1,12 @@
{
"@metadata": {
"authors": [
- "Shubha"
+ "Shubha",
+ "NehalDaveND"
]
},
"pdf-desc": "सुलेख(PDF)सञ्चिकाः चित्रदशायां दर्शनाय अपेक्षिता प्रणाली",
"pdf_no_metadata": "सुलेखात् मेटादत्तांशः प्राप्तुम् अशक्यः",
- "pdf_page_error": "पृष्ठक्रमाङ्कः सीमायां न विद्यते"
+ "pdf_page_error": "पृष्ठक्रमाङ्कः सीमायां न विद्यते",
+ "exif-pdf-pagesize": "पृष्ठाकारः"
}
diff --git a/extensions/PdfHandler/i18n/tr.json b/extensions/PdfHandler/i18n/tr.json
index 75a6e1a2..08884d15 100644
--- a/extensions/PdfHandler/i18n/tr.json
+++ b/extensions/PdfHandler/i18n/tr.json
@@ -1,10 +1,16 @@
{
"@metadata": {
"authors": [
- "Joseph"
+ "Joseph",
+ "Arystanbek"
]
},
"pdf-desc": "PDF dosyalarını görüntü modunda görüntülemek için işleyici",
+ "pdf-file-page-warning-info": "Bu sorun hakkında daha fazla bilgi edinin.",
"pdf_no_metadata": "PDF'den metadata alınamıyor",
- "pdf_page_error": "Sayfa numarası aralıkta değil"
+ "pdf_page_error": "Sayfa numarası aralıkta değil",
+ "exif-pdf-producer": "Dönüştürme programı",
+ "exif-pdf-version": "PDF formatı sürüm",
+ "exif-pdf-encrypted": "Şifreli",
+ "exif-pdf-pagesize": "Sayfa boyutu"
}
diff --git a/extensions/PdfHandler/i18n/uk.json b/extensions/PdfHandler/i18n/uk.json
index d5af168c..400933eb 100644
--- a/extensions/PdfHandler/i18n/uk.json
+++ b/extensions/PdfHandler/i18n/uk.json
@@ -2,10 +2,15 @@
"@metadata": {
"authors": [
"Base",
- "Prima klasy4na"
+ "Prima klasy4na",
+ "Ата"
]
},
"pdf-desc": "Оброблювач для перегляду PDF-файлів в режимі зображень",
+ "pdf-file-page-warning": "PDF — це складний формат, який може викрити деяку Вашу приватну в деяких випадках. Переконайтеся, що налаштували свій переглядач PDF безпечним способом.",
+ "pdf-file-page-warning-header": "Міркування конфіденційності",
+ "pdf-file-page-warning-footer": "Ця проблема є не специфічною для даного конкретного файлу, а загальною проблемою формату PDF.",
+ "pdf-file-page-warning-info": "Дізнайтеся більше про цю проблему.",
"pdf_no_metadata": "Не виходить отримати метадані з PDF",
"pdf_page_error": "Номер сторінки не в діапазоні",
"exif-pdf-producer": "програма конвертації",
diff --git a/extensions/PdfHandler/i18n/vi.json b/extensions/PdfHandler/i18n/vi.json
index e4e50ac6..7e16a86a 100644
--- a/extensions/PdfHandler/i18n/vi.json
+++ b/extensions/PdfHandler/i18n/vi.json
@@ -6,6 +6,10 @@
]
},
"pdf-desc": "Bộ xử lý để xem tập tin PDF ở dạng hình ảnh",
+ "pdf-file-page-warning": "PDF là một định dạng phức tạp có thể lộ rõ thông tin cá nhân của bạn trong một số trường hợp. Hãy chắc chắn thiết lập trình xem PDF của bạn một cách an toàn.",
+ "pdf-file-page-warning-header": "Thông tin về quyền riêng tư",
+ "pdf-file-page-warning-footer": "Đây là vấn đề của định dạng PDF nói chung, chứ không phải tập tin này nói riêng.",
+ "pdf-file-page-warning-info": "Tìm hiểu thêm về vấn đề này.",
"pdf_no_metadata": "Không thấy truy xuất siêu dữ liệu từ PDF",
"pdf_page_error": "Số trang không nằm trong giới hạn",
"exif-pdf-producer": "Chương trình chuyển đổi",
diff --git a/extensions/PdfHandler/i18n/zh-hans.json b/extensions/PdfHandler/i18n/zh-hans.json
index df3681b1..e8ec8014 100644
--- a/extensions/PdfHandler/i18n/zh-hans.json
+++ b/extensions/PdfHandler/i18n/zh-hans.json
@@ -9,7 +9,7 @@
"pdf-desc": "在图像模式中查看PDF文件的处理器。",
"pdf-file-page-warning": "PDF是一个复杂格式,它在某些情况下会暴露您的私人信息。确保您的PDF阅读器配置安全。",
"pdf-file-page-warning-header": "隐私考虑",
- "pdf-file-page-warning-footer": "此问题不只发生在此问题上,还是PDF格式的普遍问题。",
+ "pdf-file-page-warning-footer": "此问题不只发生在此文件上,还是PDF格式的普遍问题。",
"pdf-file-page-warning-info": "了解关于此问题的更多信息。",
"pdf_no_metadata": "无法在PDF中获取元数据。",
"pdf_page_error": "页数不在范围内。",
diff --git a/extensions/PdfHandler/i18n/zh-hant.json b/extensions/PdfHandler/i18n/zh-hant.json
index d18de97c..c875032d 100644
--- a/extensions/PdfHandler/i18n/zh-hant.json
+++ b/extensions/PdfHandler/i18n/zh-hant.json
@@ -8,6 +8,10 @@
]
},
"pdf-desc": "使用圖片模式檢視 PDF 檔案的處理程式。",
+ "pdf-file-page-warning": "PDF 是一個複雜的格式,在某些情況可能會暴露您部份的隱私資訊。 請確定您的 PDF 檢視器已使用安全的方式設定。",
+ "pdf-file-page-warning-header": "隱私考量",
+ "pdf-file-page-warning-footer": "此問題未針對特定檔檔案,是 PDF 格式的一般問題。",
+ "pdf-file-page-warning-info": "了解更多有關此問題。",
"pdf_no_metadata": "無法在 PDF 中取得資料定義。",
"pdf_page_error": "頁數超出範圍。",
"exif-pdf-producer": "轉換程式",