strings to gettext, first batch

This commit is contained in:
Marc Delisle
2010-05-03 12:57:46 -04:00
parent 86b11a41ab
commit f55823f47f
126 changed files with 84759 additions and 63298 deletions

View File

@@ -22,7 +22,7 @@ require_once './libraries/transformations.lib.php';
$types = PMA_getAvailableMIMEtypes();
?>
<h2><?php echo $strMIME_available_mime; ?></h2>
<h2><?php echo __('Available MIME types'); ?></h2>
<?php
foreach ($types['mimetype'] as $key => $mimetype) {
@@ -35,17 +35,17 @@ foreach ($types['mimetype'] as $key => $mimetype) {
}
?>
<br />
<i>(<?php echo $strMIME_without; ?>)</i>
<i>(<?php echo __('MIME types printed in italics do not have a separate transformation function'); ?>)</i>
<br />
<br />
<br />
<h2><?php echo $strMIME_available_transform; ?></h2>
<h2><?php echo __('Available transformations'); ?></h2>
<table border="0" width="90%">
<thead>
<tr>
<th><?php echo $strMIME_transformation; ?></th>
<th><?php echo $strMIME_description; ?></th>
<th><?php echo __('Browser transformation'); ?></th>
<th><?php echo _pgettext('for MIME transformation', 'Description'); ?></th>
</tr>
</thead>
<tbody>
@@ -57,7 +57,7 @@ foreach ($types['transformation'] as $key => $transform) {
?>
<tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
<td><?php echo $transform; ?></td>
<td><?php echo (isset($$desc) ? $$desc : '<i>' . sprintf($strMIME_nodescription, 'PMA_transformation_' . $func . '()') . '</i>'); ?></td>
<td><?php echo (isset($$desc) ? $$desc : '<i>' . sprintf(__('No description is available for this transformation.<br />Please ask the author what %s does.'), 'PMA_transformation_' . $func . '()') . '</i>'); ?></td>
</tr>
<?php
$odd_row = !$odd_row;