diff options
author | sgiehl <stefan@piwik.org> | 2013-09-11 23:08:30 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2013-09-11 23:08:30 +0400 |
commit | fadda0e22f257a7ede712c6018e6373f016641d8 (patch) | |
tree | 11b64a4f1774cbe3d7e7e6239915aea512646bbf /core | |
parent | 569e71c63311d00273197f1e05c685904aa8c6c9 (diff) |
renamed PDFReports translation keys to ScheduledReports
Diffstat (limited to 'core')
-rw-r--r-- | core/ReportRenderer/Pdf.php | 4 | ||||
-rw-r--r-- | core/TCPDF.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/ReportRenderer/Pdf.php b/core/ReportRenderer/Pdf.php index c3ab722e27..842908de72 100644 --- a/core/ReportRenderer/Pdf.php +++ b/core/ReportRenderer/Pdf.php @@ -163,7 +163,7 @@ class Pdf extends ReportRenderer $this->TCPDF->AddPage(self::PORTRAIT); $this->TCPDF->AddFont($this->reportFont, '', '', false); $this->TCPDF->SetFont($this->reportFont, $this->reportFontStyle, $this->reportSimpleFontSize); - $this->TCPDF->Bookmark(Piwik_Translate('PDFReports_FrontPage')); + $this->TCPDF->Bookmark(Piwik_Translate('ScheduledReports_FrontPage')); // logo $this->TCPDF->Image(API::getInstance()->getLogoUrl(true), $this->logoImagePosition[0], $this->logoImagePosition[1], 180 / $factor = 2, 0, $type = '', $link = '', $align = '', $resize = false, $dpi = 300); @@ -191,7 +191,7 @@ class Pdf extends ReportRenderer $this->TCPDF->Ln(); $this->TCPDF->SetFont($this->reportFont, '', $this->reportHeaderFontSize - 2); $this->TCPDF->SetTextColor($this->headerTextColor[0], $this->headerTextColor[1], $this->headerTextColor[2]); - $this->TCPDF->Write(1, $this->formatText(Piwik_Translate('PDFReports_CustomVisitorSegment') . ' ' . $segment['name'])); + $this->TCPDF->Write(1, $this->formatText(Piwik_Translate('ScheduledReports_CustomVisitorSegment') . ' ' . $segment['name'])); } $this->TCPDF->Ln(8); diff --git a/core/TCPDF.php b/core/TCPDF.php index ab0e3d2a54..69b642a6d9 100644 --- a/core/TCPDF.php +++ b/core/TCPDF.php @@ -39,7 +39,7 @@ class TCPDF extends \TCPDF if ($this->currentPageNo > 1) { $this->SetY(-15); $this->SetFont($this->footer_font[0], $this->footer_font[1], $this->footer_font[2]); - $this->Cell(0, 10, $this->footerContent . Piwik_Translate('PDFReports_Pagination', array($this->getAliasNumPage(), $this->getAliasNbPages())), 0, false, 'C', 0, '', 0, false, 'T', 'M'); + $this->Cell(0, 10, $this->footerContent . Piwik_Translate('ScheduledReports_Pagination', array($this->getAliasNumPage(), $this->getAliasNbPages())), 0, false, 'C', 0, '', 0, false, 'T', 'M'); } } |