Translate messages.
This commit is contained in:
@@ -1666,7 +1666,7 @@ $(document).ready(function(){
|
|||||||
$table=$("input[name='table']").val();
|
$table=$("input[name='table']").val();
|
||||||
$token=$("input[name='token']").val();
|
$token=$("input[name='token']").val();
|
||||||
$sql_query=$("input[name='sql_query']").val();
|
$sql_query=$("input[name='sql_query']").val();
|
||||||
$(".syntax").replaceWith("<textarea name=\"sql_query_edit\" id=\"sql_query_edit\">"+ $sql_query +"</textarea><input type=\"button\" id=\"btnSave\" value=\"Save\"><input type=\"button\" id=\"btnDiscard\" value=\"Discard\">");
|
$(".syntax").replaceWith("<textarea name=\"sql_query_edit\" id=\"sql_query_edit\">"+ $sql_query +"</textarea><input type=\"button\" id=\"btnSave\" value=\"" + PMA_messages['strGo'] + "\"><input type=\"button\" id=\"btnDiscard\" value=\"" + PMA_messages['strCancel'] + "\">");
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -104,6 +104,9 @@ if (in_array('server_privileges.js', $GLOBALS['js_include'])) {
|
|||||||
$GLOBALS['js_messages']['strPasswordNotSame'] = $GLOBALS['strPasswordNotSame'];
|
$GLOBALS['js_messages']['strPasswordNotSame'] = $GLOBALS['strPasswordNotSame'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$GLOBALS['js_messages']['strGo'] = __('Go');
|
||||||
|
$GLOBALS['js_messages']['strCancel'] = __('Cancel');
|
||||||
|
|
||||||
$GLOBALS['js_include'][] = 'tooltip.js';
|
$GLOBALS['js_include'][] = 'tooltip.js';
|
||||||
|
|
||||||
$GLOBALS['js_events'][] = array(
|
$GLOBALS['js_events'][] = array(
|
||||||
|
Reference in New Issue
Block a user