strings to gettext, first batch
This commit is contained in:
@@ -46,7 +46,7 @@ if ($cfgRelation['commwork']) {
|
||||
*/
|
||||
if ($comment) {
|
||||
?>
|
||||
<p> <?php echo $strDBComment; ?>
|
||||
<p> <?php echo __('Database comment: '); ?>
|
||||
<i><?php echo htmlspecialchars($comment); ?></i></p>
|
||||
<?php
|
||||
} // end if
|
||||
@@ -162,7 +162,7 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) {
|
||||
* Displays the comments of the table if MySQL >= 3.23
|
||||
*/
|
||||
if (!empty($show_comment)) {
|
||||
echo $strTableComments . ': ' . htmlspecialchars($show_comment) . '<br /><br />';
|
||||
echo __('Table comments') . ': ' . htmlspecialchars($show_comment) . '<br /><br />';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -171,17 +171,17 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) {
|
||||
?>
|
||||
|
||||
<table width="100%" class="print">
|
||||
<tr><th width="50"><?php echo $strField; ?></th>
|
||||
<th width="80"><?php echo $strType; ?></th>
|
||||
<?php /* <th width="50"><?php echo $strAttr; ?></th>*/ ?>
|
||||
<th width="40"><?php echo $strNull; ?></th>
|
||||
<th width="70"><?php echo $strDefault; ?></th>
|
||||
<?php /* <th width="50"><?php echo $strExtra; ?></th>*/ ?>
|
||||
<tr><th width="50"><?php echo __('Field'); ?></th>
|
||||
<th width="80"><?php echo __('Type'); ?></th>
|
||||
<?php /* <th width="50"><?php echo __('Attributes'); ?></th>*/ ?>
|
||||
<th width="40"><?php echo __('Null'); ?></th>
|
||||
<th width="70"><?php echo __('Default'); ?></th>
|
||||
<?php /* <th width="50"><?php echo __('Extra'); ?></th>*/ ?>
|
||||
<?php
|
||||
if ($have_rel) {
|
||||
echo ' <th>' . $strLinksTo . '</th>' . "\n";
|
||||
echo ' <th>' . __('Links to') . '</th>' . "\n";
|
||||
}
|
||||
echo ' <th>' . $strComments . '</th>' . "\n";
|
||||
echo ' <th>' . __('Comments') . '</th>' . "\n";
|
||||
if ($cfgRelation['mimework']) {
|
||||
echo ' <th>MIME</th>' . "\n";
|
||||
}
|
||||
@@ -217,15 +217,15 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) {
|
||||
$type = ' ';
|
||||
}
|
||||
}
|
||||
$strAttribute = ' ';
|
||||
$attribute = ' ';
|
||||
if ($binary) {
|
||||
$strAttribute = 'BINARY';
|
||||
$attribute = 'BINARY';
|
||||
}
|
||||
if ($unsigned) {
|
||||
$strAttribute = 'UNSIGNED';
|
||||
$attribute = 'UNSIGNED';
|
||||
}
|
||||
if ($zerofill) {
|
||||
$strAttribute = 'UNSIGNED ZEROFILL';
|
||||
$attribute = 'UNSIGNED ZEROFILL';
|
||||
}
|
||||
if (!isset($row['Default'])) {
|
||||
if ($row['Null'] != 'NO') {
|
||||
@@ -263,8 +263,8 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) {
|
||||
?>
|
||||
</td>
|
||||
<td<?php echo $type_nowrap; ?> xml:lang="en" dir="ltr"><?php echo $type; ?></td>
|
||||
<?php /* <td<?php echo $type_nowrap; ?>><?php echo $strAttribute; ?></td>*/ ?>
|
||||
<td><?php echo (($row['Null'] == 'NO') ? $strNo : $strYes); ?></td>
|
||||
<?php /* <td<?php echo $type_nowrap; ?>><?php echo $attribute; ?></td>*/ ?>
|
||||
<td><?php echo (($row['Null'] == 'NO') ? __('No') : __('Yes')); ?></td>
|
||||
<td nowrap="nowrap"><?php if (isset($row['Default'])) { echo $row['Default']; } ?></td>
|
||||
<?php /* <td<?php echo $type_nowrap; ?>><?php echo $row['Extra']; ?></td>*/ ?>
|
||||
<?php
|
||||
@@ -319,7 +319,7 @@ function printPage()
|
||||
//]]>
|
||||
</script>
|
||||
<?php
|
||||
echo '<br /><br /><input type="button" id="print" value="' . $strPrint . '" onclick="printPage()" />';
|
||||
echo '<br /><br /><input type="button" id="print" value="' . __('Print') . '" onclick="printPage()" />';
|
||||
|
||||
require_once './libraries/footer.inc.php';
|
||||
?>
|
||||
|
Reference in New Issue
Block a user