From 65faeba99f6a07b87d2a0f62d354c3fe3545c31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 10 Aug 2011 15:12:54 +0200 Subject: [PATCH] Avoid blindly uppercasing translated strings --- .../schema/Pdf_Relation_Schema.class.php | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/libraries/schema/Pdf_Relation_Schema.class.php b/libraries/schema/Pdf_Relation_Schema.class.php index 6b9aaa0dd8..63e2307c1b 100644 --- a/libraries/schema/Pdf_Relation_Schema.class.php +++ b/libraries/schema/Pdf_Relation_Schema.class.php @@ -1073,13 +1073,13 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema $pdf->SetFont($this->_ff, 'B'); if (isset($orientation) && $orientation == 'L') { - $pdf->Cell(25, 8, ucfirst(__('Column')), 1, 0, 'C'); - $pdf->Cell(20, 8, ucfirst(__('Type')), 1, 0, 'C'); - $pdf->Cell(20, 8, ucfirst(__('Attributes')), 1, 0, 'C'); - $pdf->Cell(10, 8, ucfirst(__('Null')), 1, 0, 'C'); - $pdf->Cell(20, 8, ucfirst(__('Default')), 1, 0, 'C'); - $pdf->Cell(25, 8, ucfirst(__('Extra')), 1, 0, 'C'); - $pdf->Cell(45, 8, ucfirst(__('Links to')), 1, 0, 'C'); + $pdf->Cell(25, 8, __('Column'), 1, 0, 'C'); + $pdf->Cell(20, 8, __('Type'), 1, 0, 'C'); + $pdf->Cell(20, 8, __('Attributes'), 1, 0, 'C'); + $pdf->Cell(10, 8, __('Null'), 1, 0, 'C'); + $pdf->Cell(20, 8, __('Default'), 1, 0, 'C'); + $pdf->Cell(25, 8, __('Extra'), 1, 0, 'C'); + $pdf->Cell(45, 8, __('Links to'), 1, 0, 'C'); if ($paper == 'A4') { $comments_width = 67; @@ -1090,18 +1090,18 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema */ $comments_width = 50; } - $pdf->Cell($comments_width, 8, ucfirst(__('Comments')), 1, 0, 'C'); + $pdf->Cell($comments_width, 8, __('Comments'), 1, 0, 'C'); $pdf->Cell(45, 8, 'MIME', 1, 1, 'C'); $pdf->SetWidths(array(25, 20, 20, 10, 20, 25, 45, $comments_width, 45)); } else { - $pdf->Cell(20, 8, ucfirst(__('Column')), 1, 0, 'C'); - $pdf->Cell(20, 8, ucfirst(__('Type')), 1, 0, 'C'); - $pdf->Cell(20, 8, ucfirst(__('Attributes')), 1, 0, 'C'); - $pdf->Cell(10, 8, ucfirst(__('Null')), 1, 0, 'C'); - $pdf->Cell(15, 8, ucfirst(__('Default')), 1, 0, 'C'); - $pdf->Cell(15, 8, ucfirst(__('Extra')), 1, 0, 'C'); - $pdf->Cell(30, 8, ucfirst(__('Links to')), 1, 0, 'C'); - $pdf->Cell(30, 8, ucfirst(__('Comments')), 1, 0, 'C'); + $pdf->Cell(20, 8, __('Column'), 1, 0, 'C'); + $pdf->Cell(20, 8, __('Type'), 1, 0, 'C'); + $pdf->Cell(20, 8, __('Attributes'), 1, 0, 'C'); + $pdf->Cell(10, 8, __('Null'), 1, 0, 'C'); + $pdf->Cell(15, 8, __('Default'), 1, 0, 'C'); + $pdf->Cell(15, 8, __('Extra'), 1, 0, 'C'); + $pdf->Cell(30, 8, __('Links to'), 1, 0, 'C'); + $pdf->Cell(30, 8, __('Comments'), 1, 0, 'C'); $pdf->Cell(30, 8, 'MIME', 1, 1, 'C'); $pdf->SetWidths(array(20, 20, 20, 10, 15, 15, 30, 30, 30)); }