Use __() for string in 'Restore column order' button, change javascript code style

This commit is contained in:
Aris Feryanto 2011-06-10 17:27:11 +07:00
parent 07c067a832
commit fcf671b382
2 changed files with 2 additions and 2 deletions

View File

@ -405,7 +405,7 @@
$(document).mouseup(function(e) {
g.dragEnd(e);
});
$('.restore_column').live('click', function() {
$('.restore_column').click(function() {
g.restore();
});

View File

@ -375,7 +375,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query, $id_for_di
} // end move toward
?>
<td>
<input class="restore_column" type="submit" value="Restore column order" />
<input class="restore_column" type="submit" value="<?php echo __('Restore column order'); ?>" />
<?php
// generate the column order, if it is set
$pmatable = new PMA_Table($GLOBALS['table'], $GLOBALS['db']);