N°1504: Add a translation for the top left "Page" string on PDF export

This commit is contained in:
steffunky
2018-10-31 10:20:49 +01:00
parent 3925ad252f
commit 7158b1f787
15 changed files with 16 additions and 2 deletions

View File

@@ -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';

View File

@@ -894,6 +894,7 @@ 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: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',

View File

@@ -2511,6 +2511,7 @@ Operators:<br/>
'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~~',

View File

@@ -623,6 +623,7 @@ Operatoren:<br/>
'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',

View File

@@ -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

View File

@@ -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

View File

@@ -751,6 +751,7 @@ Opérateurs :<br/>
'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

View File

@@ -626,6 +626,7 @@ Operators:<br/>
'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~~',

View File

@@ -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

View File

@@ -648,6 +648,7 @@ Operators:<br/>
'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~~',

View File

@@ -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~~',

View File

@@ -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~~',

View File

@@ -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)

View File

@@ -798,6 +798,7 @@ Operators:<br/>
'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~~',

View File

@@ -797,6 +797,7 @@ Operators:<br/>
'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~~',