From c357ee6f4bbcfbeeb525ef16edeaec31575f2774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20=C3=9Ar?= Date: Wed, 7 Jan 2015 21:39:22 +0100 Subject: [PATCH 1/2] Translated using Weblate (Hungarian) Currently translated at 99.8% (2977 of 2982 strings) [CI skip] --- po/hu.po | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/po/hu.po b/po/hu.po index 8a06b8ec6a..dc6c29cd1a 100644 --- a/po/hu.po +++ b/po/hu.po @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.3.5-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2015-01-01 08:24-0500\n" -"PO-Revision-Date: 2015-01-03 20:48+0200\n" +"PO-Revision-Date: 2015-01-07 21:39+0200\n" "Last-Translator: Balázs Úr \n" "Language-Team: Hungarian " "\n" @@ -2458,6 +2458,9 @@ msgid "" "Warning: a form on this page has more than %d fields. On submission, some of " "the fields might be ignored, due to PHP's max_input_vars configuration." msgstr "" +"Figyelmeztetés: ezen az oldalon az egyik űrlap több mint %d mezőt tartalmaz. " +"Elküldéskor a mezők egy része mellőzve lehet a PHP max_input_vars beállítása " +"miatt." #: js/messages.php:506 js/messages.php:518 msgid "Some errors have been detected on the server!" @@ -2476,6 +2479,7 @@ msgstr "Összes mellőzése" msgid "" "As per your settings, they are being submitted currently, please be patient." msgstr "" +"A beállítások szerint jelenleg elküldés alatt vannak, legyen türelemmel." #: js/messages.php:527 #| msgid "Show this query here again" @@ -7428,6 +7432,9 @@ msgid "" "configurable menus feature; leaving either one of them blank will disable " "this feature, suggested: [kbd]pma__users[/kbd]." msgstr "" +"Ez a tábla és a felhasználói csoportok tábla is szükséges a beállítható " +"menük szolgáltatás engedélyezéséhez. Az egyikük üresen hagyása le fogja " +"tiltani ezt a szolgáltatást, ajánlott: [kbd]pma__users[/kbd]." #: libraries/config/messages.inc.php:708 msgid "Users table" @@ -7439,6 +7446,9 @@ msgid "" "menus feature; leaving either one of them blank will disable this feature, " "suggested: [kbd]pma__usergroups[/kbd]." msgstr "" +"Ez a tábla és a felhasználók tábla is szükséges a beállítható menük " +"szolgáltatás engedélyezéséhez. Az egyikük üresen hagyása le fogja tiltani " +"ezt a szolgáltatást, ajánlott: [kbd]pma__usergroups[/kbd]." #: libraries/config/messages.inc.php:710 msgid "User groups table" @@ -7548,7 +7558,6 @@ msgid "Show Last check timestamp" msgstr "Utolsó ellenőrzés időbélyegének megjelenítése" #: libraries/config/messages.inc.php:728 -#, fuzzy #| msgid "" #| "Defines whether or not type display direction option is shown when " #| "browsing a table" @@ -7557,14 +7566,13 @@ msgid "" "a table." msgstr "" "Meghatározza, hogy látható legyen vagy sem az írásirány opció a táblák " -"böngészése közben" +"böngészése közben." #: libraries/config/messages.inc.php:729 msgid "Show display direction" msgstr "Megjelenítési irány megjelenítése" #: libraries/config/messages.inc.php:730 -#, fuzzy #| msgid "" #| "Defines whether or not type fields should be initially displayed in edit/" #| "insert mode" @@ -7573,7 +7581,7 @@ msgid "" "insert mode." msgstr "" "Megadja, hogy a típusmezők kezdetben megjelenjenek-e a szerkesztés/beszúró " -"módban" +"módban." #: libraries/config/messages.inc.php:731 msgid "Show field types" @@ -8458,7 +8466,7 @@ msgstr "Az importálandó fájl:" #: libraries/display_import.lib.php:232 libraries/display_import.lib.php:243 msgid "You may also drag and drop a file on any page." -msgstr "" +msgstr "Továbbá behúzhat és beejthet egy fájlt bármely oldalra." #: libraries/display_import.lib.php:246 msgid "File uploads are not allowed on this server." @@ -8491,6 +8499,8 @@ msgid "" "Skip this number of queries (for SQL) or lines (for other formats), starting " "from the first one:" msgstr "" +"Ennyi számú lekérdezés (SQL esetén) vagy sor (más formátumoknál) kihagyása " +"az elsőtől kezdve:" #: libraries/display_import.lib.php:340 msgid "Format-Specific Options:" @@ -8891,6 +8901,10 @@ msgid "" "as well as information about relevant configuration settings to send to the " "phpMyAdmin team to help us in debugging the problem." msgstr "" +"A phpMyAdmin hibába ütközött. Összegyűjtöttük az adatokat erről a hibáról, " +"valamint a hozzá tartozó konfigurációs beállításokkal kapcsolatos " +"információkról, hogy elküldje a phpMyAdmin csapatnak a probléma " +"megtalálásának segítségéül." #: libraries/error_report.lib.php:355 msgid "You may examine the data in the error report:" @@ -8994,6 +9008,8 @@ msgid "" "Only INSERT, UPDATE, DELETE and REPLACE SQL queries containing transactional " "engine tables can be rolled back." msgstr "" +"Csak INSERT, UPDATE, DELETE és REPLACE SQL-lekérdezéseket tartalmazó " +"tranzakciós motor táblák görgethetők vissza." #: libraries/index.lib.php:34 #, php-format @@ -9353,6 +9369,9 @@ msgid "" "There are large item groups in navigation panel which may affect the " "performance. Consider disabling item grouping in the navigation panel." msgstr "" +"Nagy elemcsoportok vannak a navigációs panelen, amelyek hatással lehetnek a " +"teljesítményre. Fontolja meg az elemcsoportosítás letiltását a navigációs " +"panelen." #: libraries/navigation/NavigationTree.class.php:851 #, php-format @@ -9512,6 +9531,8 @@ msgid "" "Do you have any column which can be split into more than one column? For " "example: address can be split into street, city, country and zip." msgstr "" +"Van olyan oszlopa, amely felosztható egynél több oszlopra? Például: a " +"postacím felosztható országra, irányítószámra, településre és utcára." #: libraries/normalization.lib.php:128 msgid "Show me the central list of columns that are not already in this table" @@ -9585,6 +9606,10 @@ msgid "" "For example, if you have first_name, last_name and full_name then combining " "first_name and last_name gives full_name which is redundant." msgstr "" +"Van olyan oszlopcsoportja, amelyek egyesítéskor egy meglévő oszlopot adnak? " +"Például ha van vezetéknév, keresztnév és teljes_név oszlopa, akkor a " +"vezetéknév és a keresztnév egyesítése a teljes_név oszlopot adja, amely " +"redundáns." #: libraries/normalization.lib.php:221 msgid "" From c2afea9040e555c4131a75475394a781705eeca2 Mon Sep 17 00:00:00 2001 From: Atul Pratap Singh Date: Thu, 8 Jan 2015 07:15:53 +0530 Subject: [PATCH 2/2] Fix bug#4695 Changing ['DefaultTabTable'] doesn't update link and title Signed-off-by: Atul Pratap Singh --- ChangeLog | 1 + js/navigation.js | 4 +++- libraries/navigation/Nodes/Node.class.php | 5 +++++ .../navigation/Nodes/Node_Table.class.php | 19 ++++++++++++++++++- 4 files changed, 27 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0f45502663..749ba9c526 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ phpMyAdmin - ChangeLog 4.3.7.0 (not yet released) - bug #4694 js error on marking table as favorite in Safari (in private mode) +- bug #4695 Changing $cfg['DefaultTabTable'] doesn't update link and title 4.3.6.0 (2015-01-07) - bug Undefined index notices while configuring recent and favorite tables diff --git a/js/navigation.js b/js/navigation.js index 472b231157..af470a9dd7 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -359,7 +359,9 @@ $(function () { var storage = window.sessionStorage; // remove tree from storage if Navi_panel config form is submitted $(document).on('submit', 'form.config-form', function(event) { - if ($(this).attr('action').indexOf('form=Navi_panel') >= 0) { + if ($(this).attr('action').indexOf('form=Navi_panel') >= 0 || + $(this).attr('action').indexOf('form=Main_panel') >= 0 + ) { storage.removeItem('navTree'); } }); diff --git a/libraries/navigation/Nodes/Node.class.php b/libraries/navigation/Nodes/Node.class.php index dd714624e0..a9bb228edd 100644 --- a/libraries/navigation/Nodes/Node.class.php +++ b/libraries/navigation/Nodes/Node.class.php @@ -90,6 +90,11 @@ class Node */ public $links; + /** + * @var string HTML title + */ + public $title; + /** * @var string Extra CSS classes for the node */ diff --git a/libraries/navigation/Nodes/Node_Table.class.php b/libraries/navigation/Nodes/Node_Table.class.php index 4bcc8d4829..9ac1a34487 100644 --- a/libraries/navigation/Nodes/Node_Table.class.php +++ b/libraries/navigation/Nodes/Node_Table.class.php @@ -48,6 +48,23 @@ class Node_Table extends Node_DatabaseChild $this->icon = PMA_Util::getImage('b_browse.png', __('Browse')); break; } + switch($GLOBALS['cfg']['DefaultTabTable']) { + case 'tbl_structure.php': + $this->title = __('Structure'); + break; + case 'tbl_select.php': + $this->title = __('Search'); + break; + case 'tbl_change.php': + $this->title = __('Insert'); + break; + case 'tbl_sql.php': + $this->title = __('SQL'); + break; + case 'sql.php': + $this->title = __('Browse'); + break; + } $this->links = array( 'text' => $GLOBALS['cfg']['DefaultTabTable'] . '?server=' . $GLOBALS['server'] @@ -57,7 +74,7 @@ class Node_Table extends Node_DatabaseChild . '?server=' . $GLOBALS['server'] . '&db=%2$s&table=%1$s&token=' . $_SESSION[' PMA_token '], - 'title' => __('Browse') + 'title' => $this->title ); $this->classes = 'table'; }