The branch, master has been updated via 0c27f10e6f52814020ad31f4e1c904b235404513 (commit) via 86eaf538be031cf9f15fde647c82706f91a5e9d8 (commit) from 96d503c775106b4ed39d64572312fba0e02b0293 (commit)
- Log ----------------------------------------------------------------- commit 0c27f10e6f52814020ad31f4e1c904b235404513 Author: Michal Čihař mcihar@suse.cz Date: Wed Aug 10 13:11:04 2011 +0200
Avoid using ucfirst on translated strings, it will be broken for utf-8 anyway
commit 86eaf538be031cf9f15fde647c82706f91a5e9d8 Author: Michal Čihař mcihar@suse.cz Date: Wed Aug 10 13:10:19 2011 +0200
Internationalize whole string
-----------------------------------------------------------------------
Summary of changes: tbl_printview.php | 10 +++++----- tbl_structure.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/tbl_printview.php b/tbl_printview.php index a8eb5d6..44c2ca2 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -337,7 +337,7 @@ foreach ($the_tables as $key => $table) { if (isset($showtable['Row_format'])) { ?> <tr> - <td><?php echo ucfirst(__('Format')); ?></td> + <td><?php echo __('Format'); ?></td> <td align="<?php echo $cell_align_left; ?>"> <?php if ($showtable['Row_format'] == 'Fixed') { @@ -355,7 +355,7 @@ foreach ($the_tables as $key => $table) { if (isset($showtable['Rows'])) { ?> <tr> - <td><?php echo ucfirst(__('Rows')); ?></td> + <td><?php echo __('Rows'); ?></td> <td align="right"> <?php echo PMA_formatNumber($showtable['Rows'], 0) . "\n"; ?> </td> @@ -365,7 +365,7 @@ foreach ($the_tables as $key => $table) { if (isset($showtable['Avg_row_length']) && $showtable['Avg_row_length'] > 0) { ?> <tr> - <td><?php echo ucfirst(__('Row length')); ?> ø</td> + <td><?php echo __('Row length'); ?> ø</td> <td> <?php echo PMA_formatNumber($showtable['Avg_row_length'], 0) . "\n"; ?> </td> @@ -375,7 +375,7 @@ foreach ($the_tables as $key => $table) { if (isset($showtable['Data_length']) && $showtable['Rows'] > 0 && $mergetable == false) { ?> <tr> - <td><?php echo ucfirst(__(' Row size ')); ?> ø</td> + <td><?php echo __(' Row size '); ?> ø</td> <td align="right"> <?php echo $avg_size . ' ' . $avg_unit . "\n"; ?> </td> @@ -385,7 +385,7 @@ foreach ($the_tables as $key => $table) { if (isset($showtable['Auto_increment'])) { ?> <tr> - <td><?php echo ucfirst(__('Next')); ?> Autoindex</td> + <td><?php echo __('Next autoindex'); ?></td> <td align="right"> <?php echo PMA_formatNumber($showtable['Auto_increment'], 0) . "\n"; ?> </td> diff --git a/tbl_structure.php b/tbl_structure.php index 25787e3..4ce96d6 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -897,7 +897,7 @@ if ($cfg['ShowStats']) { if (isset($showtable['Auto_increment'])) { ?> <tr class="<?php echo ($odd_row = !$odd_row) ? 'odd' : 'even'; ?>"> - <th class="name"><?php echo __('Next'); ?> Autoindex</th> + <th class="name"><?php echo __('Next autoindex'); ?></th> <td class="value"><?php echo PMA_formatNumber($showtable['Auto_increment'], 0); ?></td> </tr> <?php
hooks/post-receive