From 58559fad07444d79e599acea8fc88a96c89ac4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 1 Apr 2010 14:29:35 +0200 Subject: [PATCH] Translate messages. --- js/functions.js | 2 +- libraries/header_scripts.inc.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/js/functions.js b/js/functions.js index 49f6f26f9..045e55aae 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1666,7 +1666,7 @@ $(document).ready(function(){ $table=$("input[name='table']").val(); $token=$("input[name='token']").val(); $sql_query=$("input[name='sql_query']").val(); - $(".syntax").replaceWith(""); + $(".syntax").replaceWith(""); return false; }); diff --git a/libraries/header_scripts.inc.php b/libraries/header_scripts.inc.php index a1611ac0d..6d6175801 100644 --- a/libraries/header_scripts.inc.php +++ b/libraries/header_scripts.inc.php @@ -104,6 +104,9 @@ if (in_array('server_privileges.js', $GLOBALS['js_include'])) { $GLOBALS['js_messages']['strPasswordNotSame'] = $GLOBALS['strPasswordNotSame']; } +$GLOBALS['js_messages']['strGo'] = __('Go'); +$GLOBALS['js_messages']['strCancel'] = __('Cancel'); + $GLOBALS['js_include'][] = 'tooltip.js'; $GLOBALS['js_events'][] = array(