From 7158b1f7874a44ab2a8f87e5b3dd6f17d53d29dd Mon Sep 17 00:00:00 2001 From: steffunky Date: Wed, 31 Oct 2018 10:20:49 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B01504:=20Add=20a=20translation=20for=20th?= =?UTF-8?q?e=20top=20left=20"Page"=20string=20on=20PDF=20export?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/pdfpage.class.inc.php | 2 +- dictionaries/cs.dictionary.itop.core.php | 3 ++- dictionaries/da.dictionary.itop.core.php | 1 + dictionaries/de.dictionary.itop.core.php | 1 + dictionaries/en.dictionary.itop.core.php | 1 + dictionaries/es_cr.dictionary.itop.core.php | 1 + dictionaries/fr.dictionary.itop.core.php | 1 + dictionaries/hu.dictionary.itop.core.php | 1 + dictionaries/it.dictionary.itop.core.php | 1 + dictionaries/ja.dictionary.itop.core.php | 1 + dictionaries/nl.dictionary.itop.core.php | 1 + dictionaries/pt_br.dictionary.itop.core.php | 1 + dictionaries/ru.dictionary.itop.core.php | 1 + dictionaries/tr.dictionary.itop.core.php | 1 + dictionaries/zh.dictionary.itop.core.php | 1 + 15 files changed, 16 insertions(+), 2 deletions(-) diff --git a/application/pdfpage.class.inc.php b/application/pdfpage.class.inc.php index 8b07d392b..cabdafbc5 100644 --- a/application/pdfpage.class.inc.php +++ b/application/pdfpage.class.inc.php @@ -35,7 +35,7 @@ class iTopPDF extends TCPDF // Display the page number (right aligned) // Warning: the 'R'ight alignment does not work when using placeholders like $this->getAliasNumPage() or $this->getAliasNbPages() - $this->MultiCell($iPageNumberWidth, 15, 'Page '.$this->page, 0, 'R', false, 0 /* $ln */, '', '', true, 0, false, true, 15, 'M' /* $valign */); + $this->MultiCell($iPageNumberWidth, 15, Dict::Format('Core:BulkExport:PDF:PageNumber' ,$this->page), 0, 'R', false, 0 /* $ln */, '', '', true, 0, false, true, 15, 'M' /* $valign */); // Branding logo $sBrandingIcon = APPROOT.'images/itop-logo.png'; diff --git a/dictionaries/cs.dictionary.itop.core.php b/dictionaries/cs.dictionary.itop.core.php index c2914c419..1fd3bbf8a 100755 --- a/dictionaries/cs.dictionary.itop.core.php +++ b/dictionaries/cs.dictionary.itop.core.php @@ -894,7 +894,8 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array( 'Core:BulkExportLegacyExport' => 'Původní verze exportu', 'Core:BulkExport:XLSXOptions' => 'Nastavení pro Excel', 'Core:BulkExport:TextFormat' => 'Textová pole obsahující HTML kód', - 'Core:Validator:Default' => 'Nesprávný formát', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', + 'Core:Validator:Default' => 'Nesprávný formát', 'Core:Validator:Mandatory' => 'Vyplňte prosím toto pole', 'Core:Validator:MustBeInteger' => 'Musí být celé číslo', 'Core:Validator:MustSelectOne' => 'Zvolte prosím jednu hodnotu', diff --git a/dictionaries/da.dictionary.itop.core.php b/dictionaries/da.dictionary.itop.core.php index cf3b446b6..97a9cc948 100644 --- a/dictionaries/da.dictionary.itop.core.php +++ b/dictionaries/da.dictionary.itop.core.php @@ -2511,6 +2511,7 @@ Operators:
'Core:BulkExportLegacyExport' => 'Click here to access the legacy export.~~', 'Core:BulkExport:XLSXOptions' => 'Excel Options~~', 'Core:BulkExport:TextFormat' => 'Text fields containing some HTML markup~~', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:Validator:Default' => 'Wrong format~~', 'Core:Validator:Mandatory' => 'Please, fill this field~~', 'Core:Validator:MustBeInteger' => 'Must be an integer~~', diff --git a/dictionaries/de.dictionary.itop.core.php b/dictionaries/de.dictionary.itop.core.php index f742cf406..c5e011da7 100644 --- a/dictionaries/de.dictionary.itop.core.php +++ b/dictionaries/de.dictionary.itop.core.php @@ -623,6 +623,7 @@ Operatoren:
'Core:BulkExportLegacyExport' => 'Klicken Sie hier, um auf die Legacy-Version des Exports zuzugreifen', 'Core:BulkExport:XLSXOptions' => 'Excel-Optionen', 'Core:BulkExport:TextFormat' => 'Textfelder enthalten HTML-Markup', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:AttributeHierarchicalKey' => 'Hierarischer Key', 'Core:AttributeHierarchicalKey+' => 'Externer Key oder Foreign Key zum Parent', 'Class:EventNotificationEmail/Attribute:attachments' => 'Attachments', diff --git a/dictionaries/en.dictionary.itop.core.php b/dictionaries/en.dictionary.itop.core.php index 581021ae5..6427e5035 100644 --- a/dictionaries/en.dictionary.itop.core.php +++ b/dictionaries/en.dictionary.itop.core.php @@ -913,6 +913,7 @@ Dict::Add('EN US', 'English', 'English', array( 'Core:BulkExport:DateTimeFormat' => 'Date and Time format', 'Core:BulkExport:DateTimeFormatDefault_Example' => 'Default format (%1$s), e.g. %2$s', 'Core:BulkExport:DateTimeFormatCustom_Format' => 'Custom format: %1$s', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s', 'Core:DateTime:Placeholder_d' => 'DD', // Day of the month: 2 digits (with leading zero) 'Core:DateTime:Placeholder_j' => 'D', // Day of the month: 1 or 2 digits (without leading zero) 'Core:DateTime:Placeholder_m' => 'MM', // Month on 2 digits i.e. 01-12 diff --git a/dictionaries/es_cr.dictionary.itop.core.php b/dictionaries/es_cr.dictionary.itop.core.php index 92ce2f5c0..5d1fd92ec 100644 --- a/dictionaries/es_cr.dictionary.itop.core.php +++ b/dictionaries/es_cr.dictionary.itop.core.php @@ -880,6 +880,7 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array( 'Core:BulkExport:DateTimeFormat' => 'Formato de fecha y hora', 'Core:BulkExport:DateTimeFormatDefault_Example' => 'Formato por omisión (%1$s), ej. %2$s', 'Core:BulkExport:DateTimeFormatCustom_Format' => 'Formato personalizado: %1$s', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:DateTime:Placeholder_d' => 'DD', // Day of the month: 2 digits (with leading zero) 'Core:DateTime:Placeholder_j' => 'D', // Day of the month: 1 or 2 digits (without leading zero) 'Core:DateTime:Placeholder_m' => 'MM', // Month on 2 digits i.e. 01-12 diff --git a/dictionaries/fr.dictionary.itop.core.php b/dictionaries/fr.dictionary.itop.core.php index 0cb24423c..a3395f174 100644 --- a/dictionaries/fr.dictionary.itop.core.php +++ b/dictionaries/fr.dictionary.itop.core.php @@ -751,6 +751,7 @@ Opérateurs :
'Core:BulkExport:DateTimeFormat' => 'Format de date et heure', 'Core:BulkExport:DateTimeFormatDefault_Example' => 'Format par défaut (%1$s), ex. %2$s', 'Core:BulkExport:DateTimeFormatCustom_Format' => 'Format spécial: %1$s', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s', 'Core:DateTime:Placeholder_d' => 'JJ', // Day of the month: 2 digits (with leading zero) 'Core:DateTime:Placeholder_j' => 'J', // Day of the month: 1 or 2 digits (without leading zero) 'Core:DateTime:Placeholder_m' => 'MM', // Month on 2 digits i.e. 01-12 diff --git a/dictionaries/hu.dictionary.itop.core.php b/dictionaries/hu.dictionary.itop.core.php index 89df32dbb..c15095ed2 100755 --- a/dictionaries/hu.dictionary.itop.core.php +++ b/dictionaries/hu.dictionary.itop.core.php @@ -626,6 +626,7 @@ Operators:
'Core:BulkExportLegacyExport' => 'Click here to access the legacy export.~~', 'Core:BulkExport:XLSXOptions' => 'Excel Options~~', 'Core:BulkExport:TextFormat' => 'Text fields containing some HTML markup~~', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:Validator:Default' => 'Wrong format~~', 'Core:Validator:Mandatory' => 'Please, fill this field~~', 'Core:Validator:MustBeInteger' => 'Must be an integer~~', diff --git a/dictionaries/it.dictionary.itop.core.php b/dictionaries/it.dictionary.itop.core.php index a32b7d0e0..9956223e5 100644 --- a/dictionaries/it.dictionary.itop.core.php +++ b/dictionaries/it.dictionary.itop.core.php @@ -860,6 +860,7 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array( 'Core:BulkExportLegacyExport' => 'Click here to access the legacy export.~~', 'Core:BulkExport:XLSXOptions' => 'Excel Options~~', 'Core:BulkExport:TextFormat' => 'Text fields containing some HTML markup~~', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:DateTime:Placeholder_d' => 'GG', // Day of the month: 2 digits (with leading zero) 'Core:DateTime:Placeholder_j' => 'G', // Day of the month: 1 or 2 digits (without leading zero) 'Core:DateTime:Placeholder_m' => 'MM', // Month on 2 digits i.e. 01-12 diff --git a/dictionaries/ja.dictionary.itop.core.php b/dictionaries/ja.dictionary.itop.core.php index 0e681a01e..a1f13b366 100644 --- a/dictionaries/ja.dictionary.itop.core.php +++ b/dictionaries/ja.dictionary.itop.core.php @@ -648,6 +648,7 @@ Operators:
'Core:BulkExportLegacyExport' => 'Click here to access the legacy export.~~', 'Core:BulkExport:XLSXOptions' => 'Excel Options~~', 'Core:BulkExport:TextFormat' => 'Text fields containing some HTML markup~~', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:Validator:Default' => 'Wrong format~~', 'Core:Validator:Mandatory' => 'Please, fill this field~~', 'Core:Validator:MustBeInteger' => 'Must be an integer~~', diff --git a/dictionaries/nl.dictionary.itop.core.php b/dictionaries/nl.dictionary.itop.core.php index f3b522817..096f5b726 100644 --- a/dictionaries/nl.dictionary.itop.core.php +++ b/dictionaries/nl.dictionary.itop.core.php @@ -882,6 +882,7 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array( 'Core:BulkExportLegacyExport' => 'Click here to access the legacy export.~~', 'Core:BulkExport:XLSXOptions' => 'Excel Options~~', 'Core:BulkExport:TextFormat' => 'Text fields containing some HTML markup~~', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:Validator:Default' => 'Wrong format~~', 'Core:Validator:Mandatory' => 'Please, fill this field~~', 'Core:Validator:MustBeInteger' => 'Must be an integer~~', diff --git a/dictionaries/pt_br.dictionary.itop.core.php b/dictionaries/pt_br.dictionary.itop.core.php index a4507c2e6..26eaa4daa 100644 --- a/dictionaries/pt_br.dictionary.itop.core.php +++ b/dictionaries/pt_br.dictionary.itop.core.php @@ -875,6 +875,7 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array( 'Core:BulkExportLegacyExport' => 'Click here to access the legacy export.~~', 'Core:BulkExport:XLSXOptions' => 'Excel Options~~', 'Core:BulkExport:TextFormat' => 'Text fields containing some HTML markup~~', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:Validator:Default' => 'Wrong format~~', 'Core:Validator:Mandatory' => 'Please, fill this field~~', 'Core:Validator:MustBeInteger' => 'Must be an integer~~', diff --git a/dictionaries/ru.dictionary.itop.core.php b/dictionaries/ru.dictionary.itop.core.php index 101386aca..ba4da4f22 100644 --- a/dictionaries/ru.dictionary.itop.core.php +++ b/dictionaries/ru.dictionary.itop.core.php @@ -878,6 +878,7 @@ Dict::Add('RU RU', 'Russian', 'Русский', array( 'Core:BulkExport:DateTimeFormat' => 'Date and Time format', 'Core:BulkExport:DateTimeFormatDefault_Example' => 'Default format (%1$s), e.g. %2$s', 'Core:BulkExport:DateTimeFormatCustom_Format' => 'Custom format: %1$s', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:DateTime:Placeholder_d' => 'DD', // Day of the month: 2 digits (with leading zero) 'Core:DateTime:Placeholder_j' => 'D', // Day of the month: 1 or 2 digits (without leading zero) diff --git a/dictionaries/tr.dictionary.itop.core.php b/dictionaries/tr.dictionary.itop.core.php index 999b23f4f..0e7c2f3d2 100644 --- a/dictionaries/tr.dictionary.itop.core.php +++ b/dictionaries/tr.dictionary.itop.core.php @@ -798,6 +798,7 @@ Operators:
'Core:BulkExportLegacyExport' => 'Click here to access the legacy export.~~', 'Core:BulkExport:XLSXOptions' => 'Excel Options~~', 'Core:BulkExport:TextFormat' => 'Text fields containing some HTML markup~~', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:Validator:Default' => 'Wrong format~~', 'Core:Validator:Mandatory' => 'Please, fill this field~~', 'Core:Validator:MustBeInteger' => 'Must be an integer~~', diff --git a/dictionaries/zh.dictionary.itop.core.php b/dictionaries/zh.dictionary.itop.core.php index e45de1bd0..e21467504 100644 --- a/dictionaries/zh.dictionary.itop.core.php +++ b/dictionaries/zh.dictionary.itop.core.php @@ -797,6 +797,7 @@ Operators:
'Core:BulkExportLegacyExport' => 'Click here to access the legacy export.~~', 'Core:BulkExport:XLSXOptions' => 'Excel Options~~', 'Core:BulkExport:TextFormat' => 'Text fields containing some HTML markup~~', + 'Core:BulkExport:PDF:PageNumber' => 'Page %1$s~~', 'Core:Validator:Default' => 'Wrong format~~', 'Core:Validator:Mandatory' => 'Please, fill this field~~', 'Core:Validator:MustBeInteger' => 'Must be an integer~~',