From 4c706d0927ed0303dea509e1c6f3d0e2bc32424d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=95=E0=AE=A3=E0=AF=87=E0=AE=B7=E0=AF=8D=20=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D?= Date: Sun, 8 Jun 2014 13:20:06 +0200 Subject: [PATCH 1/3] Translated using Weblate (Tamil) Currently translated at 30.3% (840 of 2770) --- po/ta.po | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/po/ta.po b/po/ta.po index ac1f6eac8c..1e9ca5c0c6 100644 --- a/po/ta.po +++ b/po/ta.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.2.3-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2014-05-24 09:05-0400\n" -"PO-Revision-Date: 2014-06-07 10:30+0200\n" +"PO-Revision-Date: 2014-06-08 13:20+0200\n" "Last-Translator: கணேஷ் குமார் \n" "Language-Team: Tamil \n" "Language: ta\n" @@ -1311,7 +1311,7 @@ msgstr "general_log லிருந்து" #: js/messages.php:161 msgid "The database name is not known for this query in the server's logs." -msgstr "" +msgstr "இவ்வினவலுகான தரவுத்தளத்தின் பெயர் வழங்கியின் பதிகையில் இல்லை." #: js/messages.php:163 msgid "Analysing logs" @@ -1319,7 +1319,7 @@ msgstr "பதிகைகளை பகுத்தாராய்கிறத #: js/messages.php:164 msgid "Analysing & loading logs. This may take a while." -msgstr "" +msgstr "பதிகைகளை பகுத்தாராய்ந்து நினைவேற்றுகிறது.இதற்கு சிறிது நேரமாகலாம்." #: js/messages.php:165 msgid "Cancel request" @@ -1331,6 +1331,9 @@ msgid "" "However only the SQL query itself has been used as a grouping criteria, so " "the other attributes of queries, such as start time, may differ." msgstr "" +"இந்த நிரல்வரிசை ஒத்ததாகவுள்ள தொகுக்கப்பட்ட வினவல்களின் அளவை காட்டுகிறது. " +"இருப்பினும் SQL உரை மட்டுமே ஒப்புநோக்கப்பட்டதால் வினவலின் பிற துவக்கநேரம் " +"போன்ற பண்புகூறுகள் மாறுபடலாம்." #: js/messages.php:167 msgid "" @@ -1338,14 +1341,18 @@ msgid "" "same table are also being grouped together, disregarding of the inserted " "data." msgstr "" +"INSERT வினவல்களை தொகுத்தல் இயலசெய்யப்பட்டுள்ளதால், ஒரே அட்டவணைக்குள் " +"உள்ளிடும் INSERT வினவல்களும் உள்ளிட்ட தரவை கருதாமல் தொகுக்கப்படுகிறன." #: js/messages.php:168 msgid "Log data loaded. Queries executed in this time span:" msgstr "" +"பதிகை தரவுகள் நினைவேற்றப்பட்டன. இந்த இடைநேரத்தில் செயல்படுத்தப்பட்ட " +"வினவல்கள்:" #: js/messages.php:170 msgid "Jump to Log table" -msgstr "" +msgstr "பதிகை அட்டவணைக்கு செல்க" #: js/messages.php:171 msgid "No data found" From 55e87fe8fe7cad2708aa1964a87241d38bfb8e4e Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sun, 8 Jun 2014 23:44:39 +0530 Subject: [PATCH 2/3] bug #4434 Unchecking 'Show SQL queries' results NaN Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + js/makegrid.js | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2fd1f48a52..5ee83bd08b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,7 @@ phpMyAdmin - ChangeLog - bug Query error on submitting a column change form containing a disabled input field - bug Incorrect menu tab generation from usergroups - bug Missing space in index creation/edit generated query +- bug #4434 Unchecking 'Show SQL queries' results NaN 4.2.2.0 (2014-05-20) - bug #4388 Disable database expansion when enabled throws Error 500 when database name is clicked in navigation tree diff --git a/js/makegrid.js b/js/makegrid.js index 02539bd9c8..8a516f44dd 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -1286,16 +1286,17 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi var $result_query = $($.parseHTML(data.sql_query)); var sqlOuter = $result_query.find('.sqlOuter').wrap('

').parent().html(); var tools = $result_query.find('.tools').wrap('

').parent().html(); - // If two query box exists update query in second else add a second box - if($('#result_query').find('div.sqlOuter').length>1) { - $('#result_query').children(":nth-child(4)").remove(); - $('#result_query').children(":nth-child(4)").remove(); - $('#result_query').append(sqlOuter+tools); + if (typeof sqlOuter != 'undefined' && typeof tools != 'undefined') { + // If two query box exists update query in second else add a second box + if ($('#result_query').find('div.sqlOuter').length > 1) { + $('#result_query').children(":nth-child(4)").remove(); + $('#result_query').children(":nth-child(4)").remove(); + $('#result_query').append(sqlOuter + tools); + } else { + $('#result_query').append(sqlOuter + tools); + } + PMA_highlightSQL($('#result_query')); } - else { - $('#result_query').append(sqlOuter+tools); - } - PMA_highlightSQL($('#result_query')); } // hide and/or update the successfully saved cells g.hideEditCell(true, data); @@ -1861,7 +1862,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi }); }) .mouseleave(function (e) { - g.showSortHint = false; + g.showSortHint = false; g.showRemColHint = false; $(t).find("th.draggable").tooltip("option", { content: g.updateHint() From 8926c80837e1bda7cd70d6237962e08870c784a8 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sun, 8 Jun 2014 23:48:24 +0530 Subject: [PATCH 3/3] Add a comment to explain the scenario Signed-off-by: Madhura Jayaratne --- js/makegrid.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/makegrid.js b/js/makegrid.js index 8a516f44dd..14da4fae5c 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -1286,6 +1286,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi var $result_query = $($.parseHTML(data.sql_query)); var sqlOuter = $result_query.find('.sqlOuter').wrap('

').parent().html(); var tools = $result_query.find('.tools').wrap('

').parent().html(); + // sqlOuter and tools will not be present if 'Show SQL queries' configuration is off if (typeof sqlOuter != 'undefined' && typeof tools != 'undefined') { // If two query box exists update query in second else add a second box if ($('#result_query').find('div.sqlOuter').length > 1) {