From c506a590f15dd82476b0bada8c06a07dea18255e Mon Sep 17 00:00:00 2001 From: ayushchd Date: Fri, 8 Feb 2013 20:19:07 +0530 Subject: [PATCH 1/3] Fix - Bugs:#3802 Datepicker displayed just the first time Fixed the bug that was preventing the datepicker from displaying after ajax call. datepicker remained initialized while its content was replaced by the ajax response. tbl_change.js now reinitializes datepicker everytime its loaded. --- js/jquery/jquery-ui-1.9.2.custom.js | 2 +- js/tbl_change.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/jquery/jquery-ui-1.9.2.custom.js b/js/jquery/jquery-ui-1.9.2.custom.js index fa0f90fde0..7ad8b2c573 100644 --- a/js/jquery/jquery-ui-1.9.2.custom.js +++ b/js/jquery/jquery-ui-1.9.2.custom.js @@ -8253,7 +8253,7 @@ $.fn.datepicker = function(options){ /* Initialise the date picker. */ if (!$.datepicker.initialized) { $(document).mousedown($.datepicker._checkExternalClick). - find(document.body).append($.datepicker.dpDiv); + find(document.body).append($.datepicker.dpDiv); $.datepicker.initialized = true; } diff --git a/js/tbl_change.js b/js/tbl_change.js index 7b7d8e65e1..a249063b2c 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -236,6 +236,7 @@ AJAX.registerTeardown('tbl_change.js', function() { * Restart insertion with 'N' rows. */ AJAX.registerOnload('tbl_change.js', function() { + $.datepicker.initialized = false; $('span.open_gis_editor').live('click', function(event) { event.preventDefault(); From 403bafb99912ea229329d761eb5f2168b938810b Mon Sep 17 00:00:00 2001 From: ayushchd Date: Fri, 8 Feb 2013 23:08:06 +0530 Subject: [PATCH 2/3] Indentation fix --- js/jquery/jquery-ui-1.9.2.custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery/jquery-ui-1.9.2.custom.js b/js/jquery/jquery-ui-1.9.2.custom.js index 7ad8b2c573..2e1697eaf0 100644 --- a/js/jquery/jquery-ui-1.9.2.custom.js +++ b/js/jquery/jquery-ui-1.9.2.custom.js @@ -8253,7 +8253,7 @@ $.fn.datepicker = function(options){ /* Initialise the date picker. */ if (!$.datepicker.initialized) { $(document).mousedown($.datepicker._checkExternalClick). - find(document.body).append($.datepicker.dpDiv); + find(document.body).append($.datepicker.dpDiv); $.datepicker.initialized = true; } From e0ff6c0a0e2baf8a4bd7c5541a62b4b2d01d508d Mon Sep 17 00:00:00 2001 From: Burak Yavuz Date: Fri, 8 Feb 2013 18:39:02 +0100 Subject: [PATCH 3/3] Translated using Weblate (Turkish) Currently translated at 100.0% (2602 of 2602) --- po/tr.po | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/po/tr.po b/po/tr.po index 6814128d96..0350125927 100644 --- a/po/tr.po +++ b/po/tr.po @@ -4,16 +4,16 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-alpha2\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-02-08 08:48-0500\n" -"PO-Revision-Date: 2013-01-21 07:01+0200\n" +"PO-Revision-Date: 2013-02-08 18:39+0200\n" "Last-Translator: Burak Yavuz \n" -"Language-Team: Turkish \n" +"Language-Team: Turkish " +"\n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: tr\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 1.4-dev\n" +"X-Generator: Weblate 1.5-dev\n" #: browse_foreigners.php:36 browse_foreigners.php:60 js/messages.php:344 #: libraries/DisplayResults.class.php:809 @@ -12042,7 +12042,6 @@ msgid "Generated by" msgstr "Üreten:" #: sql.php:1205 -#, fuzzy #| msgid "" #| "This table does not contain a unique column. Features related to the grid " #| "edit, checkbox, Edit, Copy and Delete links may not work after saving." @@ -12050,9 +12049,8 @@ msgid "" "This table does not contain a unique column. Grid edit, checkbox, Edit, Copy " "and Delete features are not available." msgstr "" -"Bu tablo benzersiz bir sütun içermiyor. Izgara düzenlemeyle ilgili " -"özellikler, Düzenle, Kopyala ve Sil bağlantıları kaydedildikten sonra " -"çalışmayabilir." +"Bu tablo benzersiz bir sütun içermiyor. Izgara düzenleme, işaretleme kutusu, " +"Düzenle, Kopyala ve Sil özellikleri kullanılabilir değil." #: sql.php:1250 #, php-format @@ -12069,7 +12067,7 @@ msgstr "Görüntülemek için veri yok" #: tbl_chart.php:66 tbl_gis_visualization.php:24 msgid "No SQL query was set to fetch data." -msgstr "" +msgstr "Veri getirmek için ayarlanmış SQL sorgusu yok." #: tbl_chart.php:139 msgctxt "Chart type" @@ -12124,7 +12122,7 @@ msgstr "Dizi:" #: tbl_chart.php:208 msgid "No numeric columns present in the table to plot." -msgstr "" +msgstr "Tabloda çizmek için sayısal sütunlar mevcut değil." #: tbl_chart.php:224 msgid "X-Axis label:"