Use __() for string in 'Restore column order' button, change javascript code style
This commit is contained in:
parent
07c067a832
commit
fcf671b382
@ -405,7 +405,7 @@
|
||||
$(document).mouseup(function(e) {
|
||||
g.dragEnd(e);
|
||||
});
|
||||
$('.restore_column').live('click', function() {
|
||||
$('.restore_column').click(function() {
|
||||
g.restore();
|
||||
});
|
||||
|
||||
|
||||
@ -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']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user