diff --git a/libraries/operations.lib.php b/libraries/operations.lib.php index 3b275f643091..126c835306a2 100644 --- a/libraries/operations.lib.php +++ b/libraries/operations.lib.php @@ -377,6 +377,11 @@ function PMA_getSqlQueryAndCreateDbBeforeCopy() $GLOBALS['dbi']->query($local_query); $GLOBALS['db'] = $original_db; + // Set the SQL mode to NO_AUTO_VALUE_ON_ZERO to prevent MySQL from creating + // export statements it cannot import + $sql_set_mode = "SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO'"; + PMA_DBI_query($sql_set_mode); + // rebuild the database list because PMA_Table::moveCopy // checks in this list if the target db exists $GLOBALS['pma']->databases->build(); diff --git a/libraries/server_status_advisor.lib.php b/libraries/server_status_advisor.lib.php new file mode 100644 index 000000000000..5d38cb953467 --- /dev/null +++ b/libraries/server_status_advisor.lib.php @@ -0,0 +1,70 @@ +'; + $output .= PMA_Util::getIcon('b_help.png', __('Instructions')); + $output .= ''; + $output .= '
'; + $output .= ''; + $output .= ''; + + return $output; +} + +?> + + diff --git a/libraries/sql.lib.php b/libraries/sql.lib.php index e32fb9c4e584..6ec9efa84124 100644 --- a/libraries/sql.lib.php +++ b/libraries/sql.lib.php @@ -69,7 +69,6 @@ function PMA_getTableNameBySQL($sql, $tables) * @param array $sql_data information about SQL statement * @param string $goto URL to go back in case of errors * @param string $pmaThemeImage path for theme images directory - * @param string $text_dir text direction * @param string $printview whether printview is enabled * @param string $url_query URL query * @param array $disp_mode the display mode @@ -80,7 +79,7 @@ function PMA_getTableNameBySQL($sql, $tables) */ function PMA_getTableHtmlForMultipleQueries( $displayResultsObject, $db, $sql_data, $goto, $pmaThemeImage, - $text_dir, $printview, $url_query, $disp_mode, $sql_limit_to_append, + $printview, $url_query, $disp_mode, $sql_limit_to_append, $editable ) { $table_html = ''; @@ -187,8 +186,8 @@ function PMA_getTableHtmlForMultipleQueries( $displayResultsObject->setProperties( $unlim_num_rows, $fields_meta, $is_count, $is_export, $is_func, $is_analyse, $num_rows, $fields_cnt, $querytime, $pmaThemeImage, - $text_dir, $is_maint, $is_explain, $is_show, $showtable, - $printview, $url_query, $editable + $GLOBALS['text_dir'], $is_maint, $is_explain, $is_show, + $showtable, $printview, $url_query, $editable ); } @@ -1808,7 +1807,6 @@ function PMA_getBookmarkCreatedMessage() * @param string $db current database * @param string $goto goto page url * @param string $pmaThemeImage theme image uri - * @param string $text_dir text directory * @param string $url_query url query * @param string $disp_mode display mode * @param string $sql_limit_to_append sql limit to append @@ -1819,21 +1817,22 @@ function PMA_getBookmarkCreatedMessage() * @param object $result result of the executed query * @param int $querytime query execution time * @param array $analyzed_sql_results analyzed sql results - * @param bool $is_procedure whether it is a procedure call or not * * @return type */ function PMA_getHtmlForSqlQueryResultsTable($sql_data, $displayResultsObject, $db, - $goto, $pmaThemeImage, $text_dir, $url_query, $disp_mode, $sql_limit_to_append, + $goto, $pmaThemeImage, $url_query, $disp_mode, $sql_limit_to_append, $editable, $unlim_num_rows, $num_rows, $showtable, $result, $querytime, - $analyzed_sql_results, $is_procedure + $analyzed_sql_results ) { $printview = isset($_REQUEST['printview']) ? $_REQUEST['printview'] : null; - if (! empty($sql_data) && ($sql_data['valid_queries'] > 1) || $is_procedure) { + if (! empty($sql_data) && ($sql_data['valid_queries'] > 1) + || $analyzed_sql_results['is_procedure'] + ) { $_SESSION['is_multi_query'] = true; $table_html = PMA_getTableHtmlForMultipleQueries( $displayResultsObject, $db, $sql_data, $goto, - $pmaThemeImage, $text_dir, $printview, $url_query, + $pmaThemeImage, $printview, $url_query, $disp_mode, $sql_limit_to_append, $editable ); } else { @@ -1846,7 +1845,7 @@ function PMA_getHtmlForSqlQueryResultsTable($sql_data, $displayResultsObject, $d $unlim_num_rows, $fields_meta, $analyzed_sql_results['is_count'], $analyzed_sql_results['is_export'], $analyzed_sql_results['is_func'], $analyzed_sql_results['is_analyse'], $num_rows, - $fields_cnt, $querytime, $pmaThemeImage, $text_dir, + $fields_cnt, $querytime, $pmaThemeImage, $GLOBALS['text_dir'], $analyzed_sql_results['is_maint'], $analyzed_sql_results['is_explain'], $analyzed_sql_results['is_show'], $showtable, $printview, $url_query, $editable @@ -1964,4 +1963,174 @@ function PMA_getHtmlForPrintButton() return $print_button_html; } + +/** + * Function to display results when the executed query returns non empty results + * + * @param array $result executed query results + * @param bool $justBrowsing whether just browsing or not + * @param array $analyzed_sql_results analysed sql results + * @param string $db current database + * @param string $table current table + * @param string $disp_mode display mode + * @param string $message message to show + * @param array $sql_data sql data + * @param object $displayResultsObject Instance of DisplyResults.class + * @param string $goto goto page url + * @param string $pmaThemeImage uri of the theme image + * @param string $sql_limit_to_append sql limit to append + * @param int $unlim_num_rows unlimited number of rows + * @param int $num_rows number of rows + * @param int $querytime query time + * @param string $full_sql_query full sql query + * @param string $disp_query display query + * @param string $disp_message display message + * @param array $profiling_results profiling results + * @param string $query_type query type + * @param bool $selected selected + * @param string $sql_query sql query + * @param string $complete_query complete sql query + * @param array $cfg configuration + * + * @return void + */ +function PMA_sendResponseForResultsReturned($result, $justBrowsing, + $analyzed_sql_results, $db, $table, $disp_mode, $message, $sql_data, + $displayResultsObject, $goto, $pmaThemeImage, $sql_limit_to_append, + $unlim_num_rows, $num_rows, $querytime, $full_sql_query, $disp_query, + $disp_message, $profiling_results, $query_type, $selected, $sql_query, + $complete_query, $cfg +) { + // If we are retrieving the full value of a truncated field or the original + // value of a transformed field, show it here + if (isset($_REQUEST['grid_edit']) && $_REQUEST['grid_edit'] == true) { + PMA_sendResponseForGridEdit($result); + } + + // Gets the list of fields properties + if (isset($result) && $result) { + $fields_meta = $GLOBALS['dbi']->getFieldsMeta($result); + } + + // Should be initialized these parameters before parsing + $showtable = isset($showtable) ? $showtable : null; + $url_query = isset($url_query) ? $url_query : null; + + $response = PMA_Response::getInstance(); + $header = $response->getHeader(); + $scripts = $header->getScripts(); + + // hide edit and delete links: + // - for information_schema + // - if the result set does not contain all the columns of a unique key + // and we are not just browing all the columns of an updatable view + $updatableView + = $justBrowsing + && trim($analyzed_sql_results['analyzed_sql'][0]['select_expr_clause']) == '*' + && PMA_Table::isUpdatableView($db, $table); + + $has_unique = PMA_resultSetContainsUniqueKey( + $db, $table, $fields_meta + ); + + $editable = $has_unique || $updatableView; + + // Displays the results in a table + if (empty($disp_mode)) { + // see the "PMA_setDisplayMode()" function in + // libraries/DisplayResults.class.php + $disp_mode = 'urdr111101'; + } + if (!empty($table) && ($GLOBALS['dbi']->isSystemSchema($db) || !$editable)) { + $disp_mode = 'nnnn110111'; + } + if ( isset($_REQUEST['printview']) && $_REQUEST['printview'] == '1') { + $disp_mode = 'nnnn000000'; + } + + if (isset($_REQUEST['table_maintenance'])) { + $scripts->addFile('makegrid.js'); + $scripts->addFile('sql.js'); + if (isset($message)) { + $message = PMA_Message::success($message); + $table_maintenance_html = PMA_Util::getMessage( + $message, $GLOBALS['sql_query'], 'success' + ); + } + $table_maintenance_html .= PMA_getHtmlForSqlQueryResultsTable( + isset($sql_data) ? $sql_data : null, $displayResultsObject, $db, $goto, + $pmaThemeImage, $url_query, $disp_mode, $sql_limit_to_append, + false, $unlim_num_rows, $num_rows, $showtable, $result, $querytime, + $analyzed_sql_results, false + ); + if (empty($sql_data) || ($sql_data['valid_queries'] = 1)) { + $response->addHTML($table_maintenance_html); + exit(); + } + } + + if (!isset($_REQUEST['printview']) || $_REQUEST['printview'] != '1') { + $scripts->addFile('makegrid.js'); + $scripts->addFile('sql.js'); + unset($message); + //we don't need to buffer the output in getMessage here. + //set a global variable and check against it in the function + $GLOBALS['buffer_message'] = false; + } + + $print_view_header_html = PMA_getHtmlForPrintViewHeader( + $db, $full_sql_query, $num_rows + ); + + $previous_update_query_html = PMA_getHtmlForPreviousUpdateQuery( + isset($disp_query) ? $disp_query : null, + $cfg['ShowSQL'], isset($sql_data) ? $sql_data : null, + isset($disp_message) ? $disp_message : null + ); + + $profiling_chart_html = PMA_getHtmlForProfilingChart( + $disp_mode, $db, isset($profiling_results) ? $profiling_results : null + ); + + $missing_unique_column_msg = PMA_getMessageIfMissingColumnIndex( + $table, $db, $editable, $disp_mode + ); + + $bookmark_created_msg = PMA_getBookmarkCreatedMessage(); + + $table_html = PMA_getHtmlForSqlQueryResultsTable( + isset($sql_data) ? $sql_data : null, $displayResultsObject, $db, $goto, + $pmaThemeImage, $url_query, $disp_mode, $sql_limit_to_append, + $editable, $unlim_num_rows, $num_rows, $showtable, $result, $querytime, + $analyzed_sql_results + ); + + $indexes_problems_html = PMA_getHtmlForIndexesProblems( + isset($query_type) ? $query_type : null, + isset($selected) ? $selected : null + ); + + $bookmark_support_html = PMA_getHtmlForBookmark( + $disp_mode, isset($cfg['Bookmark']) ? $cfg['Bookmark'] : '', $sql_query, + $db, $table, isset($complete_query) ? $complete_query : $sql_query, + $cfg['Bookmark']['user'] + ); + + $print_button_html = PMA_getHtmlForPrintButton(); + + $html_output = isset($table_maintenance_html) ? $table_maintenance_html : ''; + + $html_output .= isset($print_view_header_html) ? $print_view_header_html : ''; + + $html_output .= PMA_getHtmlForSqlQueryResults( + $previous_update_query_html, $profiling_chart_html, + $missing_unique_column_msg, $bookmark_created_msg, + $table_html, $indexes_problems_html, $bookmark_support_html, + $print_button_html + ); + + $response->addHTML($html_output); + + exit(); +} ?> diff --git a/libraries/sqlparser.lib.php b/libraries/sqlparser.lib.php index 59275313cf5f..7cfde965e7f6 100644 --- a/libraries/sqlparser.lib.php +++ b/libraries/sqlparser.lib.php @@ -1667,7 +1667,7 @@ function PMA_SQP_analyze($arr) $in_limit = false; $after_limit = true; - // for the presnece of PROCEDURE ANALYSE + // for the presence of PROCEDURE ANALYSE if (isset($subresult['queryflags']['select_from']) && $subresult['queryflags']['select_from'] == 1 && ($i + 1) < $size @@ -1678,7 +1678,7 @@ function PMA_SQP_analyze($arr) } } - // for the presnece of INTO OUTFILE + // for the presence of INTO OUTFILE if ($upper_data == 'INTO' && isset($subresult['queryflags']['select_from']) && $subresult['queryflags']['select_from'] == 1 diff --git a/po/be.po b/po/be.po index ec725fe29103..6488498a119c 100644 --- a/po/be.po +++ b/po/be.po @@ -4,17 +4,17 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2012-12-13 13:06+0200\n" +"PO-Revision-Date: 2013-07-15 11:30+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Belarusian \n" +"Language-Team: Belarusian " +"\n" "Language: be\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 1.4-dev\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 1.6-dev\n" #: browse_foreigners.php:51 browse_foreigners.php:75 js/messages.php:339 #: libraries/DisplayResults.class.php:813 @@ -3130,7 +3130,7 @@ msgstr "Першасны ключ быў выдалены" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Індэкс %s быў выдалены" +msgstr "Індэкс %s быў выдалены." #: libraries/Index.class.php:731 #, php-format @@ -4092,7 +4092,7 @@ msgstr "тэчка вэб-сэрвэра для загрузкі файлаў" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Немагчыма адкрыць пазначаную вамі тэчку для загрузкі файлаў" +msgstr "Немагчыма адкрыць пазначаную вамі тэчку для загрузкі файлаў." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8339,7 +8339,7 @@ msgstr "" msgid "No activity within %s seconds; please log in again." msgstr "" "Не было аніякай актыўнасьці на працягу %s сэкундаў. Калі ласка, увайдзіце " -"зноў" +"зноў." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8364,7 +8364,7 @@ msgstr "Файл %s ня ўтрымлівае ніякага ідэнтыфік #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Апаратная аўтэнтыфікацыя скончылася няўдала" +msgstr "Апаратная аўтэнтыфікацыя скончылася няўдала!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11749,7 +11749,7 @@ msgid "" msgstr "" "Здаецца, ваш SQL-запыт утрымлівае памылку. Паведамленьне пра памылку сэрвэра " "MySQL прыведзенае ніжэй, магчыма, таксама дапаможа вам высьветліць прычыну " -"памылкі" +"памылкі." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/bg.po b/po/bg.po index aa4b981ef545..1d52a3a9b334 100644 --- a/po/bg.po +++ b/po/bg.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:47+0200\n" +"PO-Revision-Date: 2013-07-15 11:14+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Bulgarian \n" +"Language-Team: Bulgarian " +"\n" "Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1683,7 +1683,7 @@ msgstr "Добавяне %d стойност(и)" #: js/messages.php:259 msgid "" "Note: If the file contains multiple tables, they will be combined into one." -msgstr "Заб.: Ако файлът съдържа няколко таблици, те ще бъдат обединени" +msgstr "Заб.: Ако файлът съдържа няколко таблици, те ще бъдат обединени." #: js/messages.php:262 msgid "Hide query box" @@ -2882,7 +2882,7 @@ msgstr "Главният ключ беше изтрит" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Индекс %s беше изтрит" +msgstr "Индекс %s беше изтрит." #: libraries/Index.class.php:731 #, php-format @@ -3805,7 +3805,7 @@ msgstr "Избор от директорията за качване %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Папката, която сте указали за качване е недостъпна" +msgstr "Папката, която сте указали за качване е недостъпна." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -7869,7 +7869,7 @@ msgstr "Входът без парола е забранен от конфигу #: libraries/plugins/auth/AuthenticationSignon.class.php:254 #, php-format msgid "No activity within %s seconds; please log in again." -msgstr "Няма активност през последните %s секунди; моля влезте отново" +msgstr "Няма активност през последните %s секунди; моля влезте отново." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -7893,7 +7893,7 @@ msgstr "Файлът %s не съдържа идентификатор на кл #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Неуспешно хардуерно удостоверяване" +msgstr "Неуспешно хардуерно удостоверяване!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -10958,7 +10958,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Изглежда, че има грешка в SQL заявката ви. Грешката върната от MySQL сървъра " -"по долу, ако има такава, би могла да ви помогне в определянето на проблема" +"по долу, ако има такава, би могла да ви помогне в определянето на проблема." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/br.po b/po/br.po index 9ab82ff8ed06..097f57b439d7 100644 --- a/po/br.po +++ b/po/br.po @@ -8,10 +8,9 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 15:45+0200\n" +"PO-Revision-Date: 2013-07-15 11:11+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Breton \n" +"Language-Team: Breton \n" "Language: br\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -4195,7 +4194,8 @@ msgstr "%s d'ar muiañ" #: libraries/config/FormDisplay.tpl.php:225 msgid "This setting is disabled, it will not be applied to your configuration." msgstr "" -"Diweredekaet eo an arventenn; ne vo ket lakaet e pleustr gant ho kefluniadur." +"Diweredekaet eo an arventenn; ne vo ket lakaet e pleustr gant ho " +"kefluniadur." #: libraries/config/FormDisplay.tpl.php:313 #, php-format @@ -7900,7 +7900,7 @@ msgstr "N'eus anaouder alc'hwez ebet er restr %s" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "C'hwitet eo bet dilesadur ar periant." +msgstr "C'hwitet eo bet dilesadur ar periant !" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" diff --git a/po/cs.po b/po/cs.po index 5801ee60edb9..ad78419b4f49 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-09 13:12+0200\n" +"PO-Revision-Date: 2013-07-15 11:06+0200\n" "Last-Translator: Michal Čihař \n" "Language-Team: Czech \n" "Language: cs\n" @@ -1657,7 +1657,7 @@ msgstr "Přidat %d hodnot" #: js/messages.php:259 msgid "" "Note: If the file contains multiple tables, they will be combined into one." -msgstr "Poznámka: Pokud soubor obsahuje více tabulek, budou sloučeny do jedné" +msgstr "Poznámka: Pokud soubor obsahuje více tabulek, budou sloučeny do jedné." #: js/messages.php:262 msgid "Hide query box" @@ -2823,7 +2823,7 @@ msgstr "Primární klíč byl odstraněn" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Klíč %s byl odstraněn" +msgstr "Klíč %s byl odstraněn." #: libraries/Index.class.php:731 #, php-format @@ -3778,7 +3778,7 @@ msgstr "Zvolte soubor z adresáře pro upload na serveru %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Adresář určený pro upload souborů nemohl být otevřen" +msgstr "Adresář určený pro upload souborů nemohl být otevřen." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -7879,7 +7879,7 @@ msgstr "Přihlášení bez hesla je zakázáno v nastavení (viz AllowNoPassword msgid "No activity within %s seconds; please log in again." msgstr "" "Nebyla zaznamenána žádná aktivita po dobu %s sekund, prosím přihlaste se " -"znovu" +"znovu." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -7903,7 +7903,7 @@ msgstr "Soubor %s neobsahuje ID klíče" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Hardwarové přihlašování selhala" +msgstr "Hardwarové přihlašování selhalo!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11041,7 +11041,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Pravděpodobně máte v SQL dotazu chybu. Níže uvedený výstup MySQL serveru " -"(pokud je nějaký) vám také může pomoci při zkoumání problému" +"(pokud je nějaký) vám také může pomoci při zkoumání problému." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/de.po b/po/de.po index 2440a0e9d648..f93bf1ba9329 100644 --- a/po/de.po +++ b/po/de.po @@ -4,10 +4,9 @@ msgstr "" "Project-Id-Version: phpMyAdmin-docs 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-06-19 12:38+0200\n" -"Last-Translator: Raimund Meyer \n" -"Language-Team: German \n" +"PO-Revision-Date: 2013-07-15 11:31+0200\n" +"Last-Translator: Michal Čihař \n" +"Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1716,7 +1715,7 @@ msgid "" "Note: If the file contains multiple tables, they will be combined into one." msgstr "" "Hinweis: Wenn die Datei mehrere Tabellen enthält, werden diese in einer " -"einzigen Tabelle zusammengefasst" +"einzigen Tabelle zusammengefasst." #: js/messages.php:262 msgid "Hide query box" @@ -2926,7 +2925,7 @@ msgstr "Der Primärschlüssel wurde gelöscht" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Index %s wurde entfernt" +msgstr "Index %s wurde entfernt." #: libraries/Index.class.php:731 #, php-format @@ -3920,7 +3919,7 @@ msgstr "Wählen Sie vom Webserver-Uploadverzeichnis %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Auf das festgelegte Upload-Verzeichnis kann nicht zugegriffen werden" +msgstr "Auf das festgelegte Upload-Verzeichnis kann nicht zugegriffen werden." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8141,7 +8140,7 @@ msgstr "" msgid "No activity within %s seconds; please log in again." msgstr "" "Da Sie seit mindestens %s Sekunden inaktiv waren, wurden Sie automatisch " -"abgemeldet. Bitte melden Sie sich erneut an" +"abgemeldet. Bitte melden Sie sich erneut an." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8165,7 +8164,7 @@ msgstr "Die Datei %s enthält keine Schlüsselnummer" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Hardware Authentisierung fehlgeschlagen" +msgstr "Hardware Authentisierung fehlgeschlagen!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11483,7 +11482,8 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Es scheint einen Fehler in Ihrer MySQL-Abfrage zu geben. Die MySQL-" -"Fehlerausgabe, falls vorhanden, kann Ihnen auch bei der Fehleranalyse helfen" +"Fehlerausgabe, falls vorhanden, kann Ihnen auch bei der Fehleranalyse " +"helfen." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/el.po b/po/el.po index 3942904d6757..f57c72320d71 100644 --- a/po/el.po +++ b/po/el.po @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-04 19:42+0200\n" +"PO-Revision-Date: 2013-07-15 07:46+0200\n" "Last-Translator: Panagiotis Papazoglou \n" "Language-Team: Greek \n" "Language: el\n" @@ -1672,7 +1672,7 @@ msgstr "Προσθήκη %d τιμής(ών)" #: js/messages.php:259 msgid "" "Note: If the file contains multiple tables, they will be combined into one." -msgstr "Σημείωση: Αν το αρχείο περιέχει πολλούς πίνακες, θα ενωθουν σε έναν" +msgstr "Σημείωση: Αν το αρχείο περιέχει πολλούς πίνακες, θα ενωθουν σε έναν." #: js/messages.php:262 msgid "Hide query box" @@ -2849,7 +2849,7 @@ msgstr "Το πρωτεύον κλειδί διεγράφη" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Το ευρετήριο %s διεγράφη" +msgstr "Το ευρετήριο %s έχει διαγραφεί." #: libraries/Index.class.php:731 #, php-format @@ -3312,10 +3312,9 @@ msgid "Reset zoom" msgstr "Επανφορά εστίασης" #: libraries/TableSearch.class.php:1281 -#, fuzzy #| msgid "Replace with" msgid "Replace with:" -msgstr "Αντικατάσταση με" +msgstr "Αντικατάσταση με:" #: libraries/TableSearch.class.php:1341 msgid "Find and replace - preview" @@ -3827,8 +3826,7 @@ msgstr "Επιλογή από το φάκελο αποστολής του δια #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "" -"Ο υποκατάλογος που ορίσατε για την αποθήκευση αρχείων δεν μπόρεσε να βρεθεί" +msgstr "Ο φάκελος που ορίσατε για την αποθήκευση αρχείων δεν μπόρεσε να βρεθεί." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8014,7 +8012,7 @@ msgstr "" msgid "No activity within %s seconds; please log in again." msgstr "" "Καμιά δραστηριότητα εδώ και %s δευτερόλεπτα τουλάχιστον, για αυτό " -"ξανασυνδεθείτε" +"ξανασυνδεθείτε." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8038,7 +8036,7 @@ msgstr "Το αρχείο %s δεν περιέχει καμιά ταυτότητ #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Η επικύρωση του υλικού απέτυχε" +msgstr "Η επικύρωση του υλικού απέτυχε!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11279,9 +11277,9 @@ msgid "" "There seems to be an error in your SQL query. The MySQL server error output " "below, if there is any, may also help you in diagnosing the problem." msgstr "" -"Φαίνεται να υπάρχει ένα λάθος στο ερώτημά σας. Το παρακάτω λάθος διακομιστή " -"MySQL, εάν υπάρχει κάποιο, μπορεί επίσης να σας βοηθήσει να διαγνώσετε το " -"πρόβλημα" +"Φαίνεται να υπάρχει ένα λάθος στο ερώτημά SQL σας. Το παρακάτω λάθος " +"διακομιστή MySQL, εάν υπάρχει κάποιο, μπορεί επίσης να σας βοηθήσει να " +"διαγνώσετε το πρόβλημα." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/fi.po b/po/fi.po index 4a159a3d2aca..137a33e0b1be 100644 --- a/po/fi.po +++ b/po/fi.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:44+0200\n" +"PO-Revision-Date: 2013-07-15 11:12+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Finnish \n" +"Language-Team: Finnish " +"\n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1710,7 +1710,7 @@ msgstr "Lisää %d arvo(a)" msgid "" "Note: If the file contains multiple tables, they will be combined into one." msgstr "" -"Huom: Mikäli tiedostossa on useita tauluja, ne liitetään yhdeksi tauluksi" +"Huom: Mikäli tiedostossa on useita tauluja, ne liitetään yhdeksi tauluksi." #: js/messages.php:262 msgid "Hide query box" @@ -2915,7 +2915,7 @@ msgstr "Perusavain on poistettu" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Indeksi %s on poistettu" +msgstr "Indeksi %s on poistettu." #: libraries/Index.class.php:731 #, php-format @@ -3862,7 +3862,7 @@ msgstr "Valitse verkkopalvelimen lähetyskansiosta %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Tiedostojen lähetykseen valittua hakemistoa ei voida käyttää" +msgstr "Tiedostojen lähetykseen valittua hakemistoa ei voida käyttää." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8118,7 +8118,7 @@ msgstr "Tiedosto %s ei sisällä avaintunnusta" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Laitetodennus epäonnistui" +msgstr "Laitetodennus epäonnistui!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" diff --git a/po/gl.po b/po/gl.po index fd9a0d8345bd..e1d45c27ff39 100644 --- a/po/gl.po +++ b/po/gl.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:54+0200\n" +"PO-Revision-Date: 2013-07-15 11:28+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Galician \n" +"Language-Team: Galician " +"\n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1707,7 +1707,7 @@ msgstr "Engadir %d valor(es)" #: js/messages.php:259 msgid "" "Note: If the file contains multiple tables, they will be combined into one." -msgstr "Nota: Se o ficheiro contén varias táboas, estas combínanse nunha" +msgstr "Nota: Se o ficheiro contén varias táboas, estas combínanse nunha." #: js/messages.php:262 msgid "Hide query box" @@ -2902,7 +2902,7 @@ msgstr "Eliminouse a chave primaria" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Eliminouse o índice %s" +msgstr "Eliminouse o índice %s." #: libraries/Index.class.php:731 #, php-format @@ -3898,7 +3898,7 @@ msgstr "Escoller o directorio de subida do servidor web %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Non é posíbel acceder ao directorio que designou para os envíos" +msgstr "Non é posíbel acceder ao directorio que designou para os envíos." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8157,7 +8157,7 @@ msgstr "" msgid "No activity within %s seconds; please log in again." msgstr "" "Non se rexistrou actividade ningunha desde hai %s segundos ou máis. Terá que " -"entrar de novo" +"entrar de novo." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8181,7 +8181,7 @@ msgstr "O ficheiro %s non contén ningún identificador de chave" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Fallou a autenticación do hardware" +msgstr "Fallou a autenticación do hardware!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11441,7 +11441,7 @@ msgid "" msgstr "" "Parece que se produciu un erro na súa consulta de SQL. Se máis abaixo " "aparece unha mensaxe de erro do servidor de MySQL, isto pode axudar a " -"diagnosticar o problema" +"diagnosticar o problema." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/he.po b/po/he.po index 9d785bde2784..39ded29533bb 100644 --- a/po/he.po +++ b/po/he.po @@ -4,10 +4,9 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-06-03 10:24+0200\n" -"Last-Translator: Michal Čihař \n" -"Language-Team: Hebrew \n" +"PO-Revision-Date: 2013-07-15 21:08+0200\n" +"Last-Translator: Bug Me Not \n" +"Language-Team: Hebrew \n" "Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -829,13 +828,14 @@ msgid "" "Login cookie store is lower than cookie validity configured in phpMyAdmin, " "because of this, your login will expire sooner than configured in phpMyAdmin." msgstr "" +"חנות עוגיית כניסה נמוכה מתוקף עוגייה המוגדר בphpMyAdmin, בגלל זה, הכניסה שלך " +"תפוג מוקדם יותר מאשר מוגדרת בphpMyAdmin." #: index.php:468 msgid "The configuration file now needs a secret passphrase (blowfish_secret)." msgstr "קובץ התצורה צריכה ביטוי סיסמה סודית (blowfish_secret)." #: index.php:479 -#, fuzzy #| msgid "" #| "Directory [code]config[/code], which is used by the setup script, still " #| "exists in your phpMyAdmin directory. You should remove it once phpMyAdmin " diff --git a/po/hr.po b/po/hr.po index 6051281ea3cf..cad0c6b65816 100644 --- a/po/hr.po +++ b/po/hr.po @@ -4,16 +4,16 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-05-07 17:20+0200\n" +"PO-Revision-Date: 2013-07-15 11:29+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Croatian \n" +"Language-Team: Croatian " +"\n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 1.6-dev\n" #: browse_foreigners.php:51 browse_foreigners.php:75 js/messages.php:339 @@ -3080,7 +3080,7 @@ msgstr "Primarni ključ je odbačen" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Index %s je odbačen" +msgstr "Index %s je odbačen." #: libraries/Index.class.php:731 #, php-format @@ -4038,7 +4038,7 @@ msgstr "mapa učitavanja web poslužitelja" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Mapu koju ste odabrali za potrebe učitavanja nije moguće dohvatiti" +msgstr "Mapu koju ste odabrali za potrebe učitavanja nije moguće dohvatiti." #: libraries/Util.class.php:3452 msgid "There are no files to upload" diff --git a/po/kk.po b/po/kk.po index dc7479a89ef3..66afd0da2411 100644 --- a/po/kk.po +++ b/po/kk.po @@ -8,10 +8,9 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-05-07 17:20+0200\n" +"PO-Revision-Date: 2013-07-15 11:25+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Kazakh \n" +"Language-Team: Kazakh \n" "Language: kk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1407,7 +1406,7 @@ msgstr "" #: js/messages.php:178 msgid "Sum of grouped rows:" -msgstr "Топтасқан қатарлар сомасы" +msgstr "Топтасқан қатарлар сомасы:" #: js/messages.php:179 msgid "Total:" @@ -2356,7 +2355,7 @@ msgstr "" #: libraries/DBQbe.class.php:1321 #, php-format msgid "SQL query on database %s:" -msgstr "%s дерекқорына SQL сұранысы" +msgstr "%s дерекқорына SQL сұранысы:" #: libraries/DBQbe.class.php:1335 libraries/Util.class.php:1286 msgid "Submit Query" @@ -2461,7 +2460,7 @@ msgstr "Кесте бойынша:" #: libraries/DbSearch.class.php:445 msgid "Inside column:" -msgstr "Бағана бойынша" +msgstr "Бағана бойынша:" #: libraries/DisplayResults.class.php:702 msgid "Save edited data" @@ -2809,7 +2808,7 @@ msgstr "" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Индекс %s жойылған болатын" +msgstr "Индекс %s жойылған болатын." #: libraries/Index.class.php:731 #, php-format @@ -7425,7 +7424,7 @@ msgstr "" #: libraries/operations.lib.php:813 msgid "Table comments" -msgstr "Кестеге түсініктеме:" +msgstr "Кестеге түсініктеме" #: libraries/operations.lib.php:822 libraries/server_engines.lib.php:49 msgid "Storage Engine" diff --git a/po/lt.po b/po/lt.po index 5241a90a52ff..06a9cd6f5ada 100644 --- a/po/lt.po +++ b/po/lt.po @@ -4,16 +4,16 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:41+0200\n" +"PO-Revision-Date: 2013-07-15 11:14+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Lithuanian \n" +"Language-Team: Lithuanian " +"\n" "Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%" +"100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 1.6-dev\n" #: browse_foreigners.php:51 browse_foreigners.php:75 js/messages.php:339 @@ -1693,7 +1693,7 @@ msgstr "Pridėti %d reikšmę(-es)" #: js/messages.php:259 msgid "" "Note: If the file contains multiple tables, they will be combined into one." -msgstr "Pastaba: Jei failas turi keletą lentelių jos bus sukombinuotos į vieną" +msgstr "Pastaba: Jei failas turi keletą lentelių jos bus sukombinuotos į vieną." #: js/messages.php:262 msgid "Hide query box" @@ -2911,7 +2911,7 @@ msgstr "Panaikintas pirminis raktas" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Indeksas %s ištrintas" +msgstr "Indeksas %s ištrintas." #: libraries/Index.class.php:731 #, php-format @@ -3856,7 +3856,7 @@ msgstr "Pasirinkti iš saityno serverio atsisiuntimų katalogą %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Aplankas, kuris nurodytas įkeliamiems failams, nepasiekiamas" +msgstr "Aplankas, kuris nurodytas įkeliamiems failams, nepasiekiamas." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8065,7 +8065,7 @@ msgstr "" msgid "No activity within %s seconds; please log in again." msgstr "" "Daugiau nei %s sekundžių nebuvo atlikta jokių veiksmų, prašome prisijungti " -"iš naujo" +"iš naujo." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8089,7 +8089,7 @@ msgstr "Failas %s neturi jokio raktinio id" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Aparatūros atpažinimas nepavyko" +msgstr "Aparatūros atpažinimas nepavyko!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11230,7 +11230,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Klaida SQL užklausoje. Žemiau išvestas MySQL serverio pranešimas (jeigu toks " -"yra), turėtų padėti Jums nustatyti klaidos priežastį" +"yra), turėtų padėti Jums nustatyti klaidos priežastį." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/lv.po b/po/lv.po index 7d1114fe8736..e784c7ca4062 100644 --- a/po/lv.po +++ b/po/lv.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-05-07 17:18+0200\n" +"PO-Revision-Date: 2013-07-15 11:30+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Latvian \n" +"Language-Team: Latvian " +"\n" "Language: lv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -2975,7 +2975,7 @@ msgstr "Primārā atslēga tika izdzēsta" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Indekss %s tika izdzēsts" +msgstr "Indekss %s tika izdzēsts." #: libraries/Index.class.php:731 #, php-format @@ -3921,7 +3921,7 @@ msgstr "web servera augšupielādes direktorija" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Direktoija, kuru norādijāt augšupielādei, nav pieejama" +msgstr "Direktoija, kuru norādijāt augšupielādei, nav pieejama." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8038,7 +8038,8 @@ msgstr "" #, php-format msgid "No activity within %s seconds; please log in again." msgstr "" -"Nebija aktivitātes vairāk kā %s sekunžu laikā, lūdzu autorizējieties vēlreiz" +"Nebija aktivitātes vairāk kā %s sekunžu laikā, lūdzu autorizējieties " +"vēlreiz." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -11264,7 +11265,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Izkatās, ka Jūsu SQL vaicajumā ir kļūda. MySQL servera kļūdas pazinojums " -"zemāk, ja tāds ir, var arī palīdzet Jums diagnosticēt problēmu" +"zemāk, ja tāds ir, var arī palīdzet Jums diagnosticēt problēmu." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/nb.po b/po/nb.po index d6af287f3280..27a717b20920 100644 --- a/po/nb.po +++ b/po/nb.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:49+0200\n" +"PO-Revision-Date: 2013-07-15 11:14+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Norwegian Bokmål \n" +"Language-Team: Norwegian Bokmål " +"\n" "Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1701,7 +1701,7 @@ msgid "" "Note: If the file contains multiple tables, they will be combined into one." msgstr "" "Legg merke til: Om filen inneholder flere tabeller, så vil de kombineres til " -"en tabell" +"en tabell." #: js/messages.php:262 msgid "Hide query box" @@ -2884,7 +2884,7 @@ msgstr "Primærnøkkelen har blitt slettet" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Indeksen %s har blitt slettet" +msgstr "Indeksen %s har blitt slettet." #: libraries/Index.class.php:731 #, php-format @@ -3817,7 +3817,7 @@ msgstr "Merk fra opplastingskatalogen på vevtjeneren %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Katalogen du anga for opplasting kan ikke nåes" +msgstr "Katalogen du anga for opplasting kan ikke nåes." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8108,7 +8108,7 @@ msgstr "" #: libraries/plugins/auth/AuthenticationSignon.class.php:254 #, php-format msgid "No activity within %s seconds; please log in again." -msgstr "Ingen aktivitet på %s sekunder eller mer, du må logge inn på nytt" +msgstr "Ingen aktivitet på %s sekunder eller mer, du må logge inn på nytt." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8132,7 +8132,7 @@ msgstr "Fila %s inneholder ingen nøkkel id" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Maskinvaregodkjenning mislyktes" +msgstr "Maskinvaregodkjenning mislyktes!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11493,7 +11493,7 @@ msgid "" msgstr "" "Det ser ut til å være en feil i din SQL-spørring. En eventuell feilmelding " "fra MySQL-tjeneren er skrevet ut nedenfor, og kan kanskje hjelpe deg med å " -"finne feilen" +"finne feilen." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/pl.po b/po/pl.po index deb078cb883d..25993ca8e9a2 100644 --- a/po/pl.po +++ b/po/pl.po @@ -4,10 +4,9 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-05-30 13:29+0200\n" +"PO-Revision-Date: 2013-07-15 11:28+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Polish \n" +"Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1704,7 +1703,7 @@ msgstr "Dodaj %d wartość(i)" #: js/messages.php:259 msgid "" "Note: If the file contains multiple tables, they will be combined into one." -msgstr "Uwaga: Jeśli plik zawiera wiele tabel, będzie połączony w jeden" +msgstr "Uwaga: Jeśli plik zawiera wiele tabel, będzie połączony w jeden." #: js/messages.php:262 msgid "Hide query box" @@ -2899,7 +2898,7 @@ msgstr "Klucz podstawowy został usunięty" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Klucz %s został usunięty" +msgstr "Klucz %s został usunięty." #: libraries/Index.class.php:731 #, php-format @@ -3889,7 +3888,7 @@ msgstr "Wybierz katalog serwera WWW dla uploadu %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Nie można znaleźć katalogu do zapisu przesyłanych plików" +msgstr "Nie można znaleźć katalogu do zapisu przesyłanych plików." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8117,7 +8116,8 @@ msgstr "Konfiguracja zabrania logowania bez hasła (zobacz AllowNoPassword)" #, php-format msgid "No activity within %s seconds; please log in again." msgstr "" -"Brak aktywności przez co najmniej %s sekund, proszę zalogować się jeszcze raz" +"Brak aktywności przez co najmniej %s sekund, proszę zalogować się jeszcze " +"raz." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8141,7 +8141,7 @@ msgstr "Plik %s nie zawiera żadnego identyfikatora klucza" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Uwierzytelnianie sprzętowe nie powiodło się" +msgstr "Uwierzytelnianie sprzętowe nie powiodło się!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11387,7 +11387,7 @@ msgid "" msgstr "" "Wygląda na to, że w twoim zapytaniu SQL jest błąd. W znalezieniu przyczyny " "problemu może pomóc także - jeśli się pojawi - poniższy opis błędu serwera " -"MySQL" +"MySQL." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/pt.po b/po/pt.po index 28d3d5a17e2b..a35f69a8d0a4 100644 --- a/po/pt.po +++ b/po/pt.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:48+0200\n" +"PO-Revision-Date: 2013-07-15 11:13+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Portuguese \n" +"Language-Team: Portuguese " +"\n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1691,7 +1691,7 @@ msgstr "Add %d valor(es)" #: js/messages.php:259 msgid "" "Note: If the file contains multiple tables, they will be combined into one." -msgstr "Nota: Se o arquivo contém várias tabelas, estas serão combinadas numa" +msgstr "Nota: Se o arquivo contém várias tabelas, estas serão combinadas numa." #: js/messages.php:262 msgid "Hide query box" @@ -2884,7 +2884,7 @@ msgstr "A chave primária foi eliminada" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "O Índice %s foi eliminado" +msgstr "O Índice %s foi eliminado." #: libraries/Index.class.php:731 #, php-format @@ -3843,7 +3843,7 @@ msgstr "Selecionar a partir da directoria de upload do servidor %s:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Não é possivel alcançar a directoria que configurou para fazer upload" +msgstr "Não é possivel alcançar a directoria que configurou para fazer upload." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8107,7 +8107,7 @@ msgstr "" #, php-format msgid "No activity within %s seconds; please log in again." msgstr "" -"Sem actividade há %s segundos ou mais; Por favor, faça o login novamente" +"Sem actividade há %s segundos ou mais; Por favor, faça o login novamente." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8131,7 +8131,7 @@ msgstr "Arquivo %s não contém qualquer identificação de chave" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Falha na autenticação de hardware" +msgstr "Falha na autenticação de hardware!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11263,7 +11263,7 @@ msgid "" msgstr "" "Parece haver um erro na sua consulta SQL. A mensagem de erro do servidor " "MySQL abaixo, isto se existir alguma, também o poderá ajudar a diagnosticar " -"o problema" +"o problema." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/ro.po b/po/ro.po index 468ce5614256..ba07cd0df2db 100644 --- a/po/ro.po +++ b/po/ro.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:41+0200\n" +"PO-Revision-Date: 2013-07-15 11:14+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Romanian \n" +"Language-Team: Romanian " +"\n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1774,7 +1774,7 @@ msgid "" "Note: If the file contains multiple tables, they will be combined into one." msgstr "" "Notă: Dacă fișierul conține mai multe tabele, acestea vor fi combinate într-" -"unul singur" +"unul singur." #: js/messages.php:262 msgid "Hide query box" @@ -3038,7 +3038,7 @@ msgstr "Cheia primară a fost aruncată" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Indexul %s a fost aruncat" +msgstr "Indexul %s a fost aruncat." #: libraries/Index.class.php:731 #, php-format @@ -3994,7 +3994,7 @@ msgstr "director de încărcare al serverului Web" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Directorul stabilit pentru încărcare nu poate fi găsit" +msgstr "Directorul stabilit pentru încărcare nu poate fi găsit." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8468,7 +8468,7 @@ msgstr "" msgid "No activity within %s seconds; please log in again." msgstr "" "Nu ați avut activitate de mai mult de %s secunde, vă rugăm să vă " -"autentificați din nou" +"autentificați din nou." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8493,7 +8493,7 @@ msgstr "" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Autentificarea hardware a eșuat" +msgstr "Autentificarea hardware a eșuat!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11762,7 +11762,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Pare sa fie o eroare in comanda SQL. Eroarea MySQL de mai jos, daca e " -"vreuna, poate sa te ajute la diagnosticarea problemei" +"vreuna, poate sa te ajute la diagnosticarea problemei." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/ru.po b/po/ru.po index 8b1535a76a67..0a19d94a53e6 100644 --- a/po/ru.po +++ b/po/ru.po @@ -4,16 +4,16 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-05-11 21:28+0200\n" -"Last-Translator: Victor Volkov \n" -"Language-Team: Russian \n" +"PO-Revision-Date: 2013-07-15 11:29+0200\n" +"Last-Translator: Michal Čihař \n" +"Language-Team: Russian " +"\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 1.6-dev\n" #: browse_foreigners.php:51 browse_foreigners.php:75 js/messages.php:339 @@ -1671,7 +1671,7 @@ msgstr "Добавить %d значение(й)" msgid "" "Note: If the file contains multiple tables, they will be combined into one." msgstr "" -"Замечание: если файл содержит множество таблиц, они будут объединены в одну" +"Замечание: если файл содержит множество таблиц, они будут объединены в одну." #: js/messages.php:262 msgid "Hide query box" @@ -2236,17 +2236,17 @@ msgstr "PHP вернул следующую ошибку: %s" #: libraries/Advisor.class.php:107 #, php-format msgid "Failed evaluating precondition for rule '%s'." -msgstr "Не удалось определить условия для правила '%s'" +msgstr "Не удалось определить условия для правила '%s'." #: libraries/Advisor.class.php:124 #, php-format msgid "Failed calculating value for rule '%s'." -msgstr "Не удалось подсчитать значение для правила '%s'" +msgstr "Не удалось подсчитать значение для правила '%s'." #: libraries/Advisor.class.php:143 #, php-format msgid "Failed running test for rule '%s'." -msgstr "Не удалось запустить проверку правила '%s'" +msgstr "Не удалось запустить проверку правила '%s'." #: libraries/Advisor.class.php:225 #, php-format @@ -2259,17 +2259,17 @@ msgid "" "Invalid rule declaration on line %1$s, expected line %2$s of previous rule." msgstr "" "Неверное определение правила на строке %1$s, ожидается строка %2$s " -"предыдущего правила" +"предыдущего правила." #: libraries/Advisor.class.php:412 #, php-format msgid "Invalid rule declaration on line %s." -msgstr "Неверное определение правила на строке %s" +msgstr "Неверное определение правила на строке %s." #: libraries/Advisor.class.php:420 #, php-format msgid "Unexpected characters on line %s." -msgstr "Неожиданные символы на строке %s" +msgstr "Неожиданные символы на строке %s." #: libraries/Advisor.class.php:434 #, fuzzy, php-format @@ -2856,7 +2856,7 @@ msgstr "Первичный ключ был удален" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Индекс %s был удален" +msgstr "Индекс %s был удален." #: libraries/Index.class.php:731 #, php-format @@ -3840,7 +3840,7 @@ msgstr "Выберите из каталога загрузки сервера < #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Установленный каталог загрузки не доступен" +msgstr "Установленный каталог загрузки не доступен." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -4171,7 +4171,7 @@ msgstr "максимум %s" #: libraries/config/FormDisplay.tpl.php:225 msgid "This setting is disabled, it will not be applied to your configuration." -msgstr "Эта настройка отключена и не будет применена при конфигурации" +msgstr "Эта настройка отключена и не будет применена при конфигурации." #: libraries/config/FormDisplay.tpl.php:313 #, php-format @@ -8020,7 +8020,7 @@ msgstr "Вход без пароля запрещен при конфигура #, php-format msgid "No activity within %s seconds; please log in again." msgstr "" -"Отсутствие активности более %s секунд, пожалуйста, авторизуйтесь заново" +"Отсутствие активности более %s секунд, пожалуйста, авторизуйтесь заново." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8044,7 +8044,7 @@ msgstr "Файл %s не содержит ключа идентификации" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Ошибка аппаратной идентификации" +msgstr "Ошибка аппаратной идентификации!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -8843,8 +8843,8 @@ msgid "" "master." msgstr "" "Сразу после перезапуска MySQL сервера, пожалуйста, нажмите кнопку OK, после " -"чего вы должны увидеть сообщение указывающее, что данный сервер настроен как головной" +"чего вы должны увидеть сообщение указывающее, что данный сервер " +"настроен как головной." #: libraries/replication_gui.lib.php:139 #: libraries/server_databases.lib.php:395 diff --git a/po/sk.po b/po/sk.po index 5b5cc378fd56..9db7c00c4592 100644 --- a/po/sk.po +++ b/po/sk.po @@ -4,10 +4,9 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-06-11 16:36+0200\n" -"Last-Translator: Peter Rosa \n" -"Language-Team: Slovak \n" +"PO-Revision-Date: 2013-07-15 11:31+0200\n" +"Last-Translator: Michal Čihař \n" +"Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1705,7 +1704,7 @@ msgstr "Pridať %d hodnôt" msgid "" "Note: If the file contains multiple tables, they will be combined into one." msgstr "" -"Poznámka: Ak súbor obsahuje viac tabuliek, tieto budú spojené do jednej" +"Poznámka: Ak súbor obsahuje viac tabuliek, tieto budú spojené do jednej." #: js/messages.php:262 msgid "Hide query box" @@ -2885,7 +2884,7 @@ msgstr "Primárny kľúč bol zrušený" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Index pre %s bol odstránený" +msgstr "Index pre %s bol odstránený." #: libraries/Index.class.php:731 #, php-format @@ -3868,7 +3867,7 @@ msgstr "Zvoľte súbor z upload adresára %s web servera:" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Adresár určený pre upload súborov sa nedá otvoriť" +msgstr "Adresár určený pre upload súborov sa nedá otvoriť." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8009,7 +8008,7 @@ msgstr "" #: libraries/plugins/auth/AuthenticationSignon.class.php:254 #, php-format msgid "No activity within %s seconds; please log in again." -msgstr "Boli ste neaktívni viac ako %s sekúnd, prihláste sa prosím znovu" +msgstr "Boli ste neaktívni viac ako %s sekúnd, prihláste sa prosím znovu." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8033,7 +8032,7 @@ msgstr "Súbor %s neobsahuje ID kľúč" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Hardwarové prihlasovanie zlyhalo" +msgstr "Hardwarové prihlasovanie zlyhalo!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11165,7 +11164,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Vyskytla sa chyba v SQL dopyte. Nižšie uvedený MySQL výstup (ak je nejaký) " -"Vám môže pomôcť odstrániť problém" +"Vám môže pomôcť odstrániť problém." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/sr@latin.po b/po/sr@latin.po index 7c1dabd0a0c8..478b865d76e0 100644 --- a/po/sr@latin.po +++ b/po/sr@latin.po @@ -4,16 +4,16 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:41+0200\n" +"PO-Revision-Date: 2013-07-15 11:13+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Serbian (latin) \n" +"Language-Team: Serbian (latin) " +"\n" "Language: sr@latin\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 1.6-dev\n" #: browse_foreigners.php:51 browse_foreigners.php:75 js/messages.php:339 @@ -1690,7 +1690,7 @@ msgid "" "Note: If the file contains multiple tables, they will be combined into one." msgstr "" "Imajte u vidu: Ako datoteka sadrži više tabela, one će biti kombinovane u " -"jednu" +"jednu." #: js/messages.php:262 msgid "Hide query box" @@ -2897,7 +2897,7 @@ msgstr "Primarni ključ je obrisan" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Indeks %s je obrisan" +msgstr "Indeks %s je obrisan." #: libraries/Index.class.php:731 #, php-format @@ -3834,7 +3834,7 @@ msgstr "" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Direktorijum koji ste izabrali za slanje nije dostupan" +msgstr "Direktorijum koji ste izabrali za slanje nije dostupan." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -7909,7 +7909,7 @@ msgstr "" #: libraries/plugins/auth/AuthenticationSignon.class.php:254 #, php-format msgid "No activity within %s seconds; please log in again." -msgstr "Nije bilo aktivnosti %s ili više sekundi, molimo prijavite se ponovo" +msgstr "Nije bilo aktivnosti %s ili više sekundi, molimo prijavite se ponovo." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -7933,7 +7933,7 @@ msgstr "Datoteka %s ne sadrži ni jedan identifikator ključa" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Hardverska autentikacija nije uspela" +msgstr "Hardverska autentikacija nije uspela!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11077,7 +11077,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Izgleda da postoji greška u vašem SQL upitu. Ovde je poruka o greški MySQL " -"servera, koja vam može pomoći u otkrivanju problema" +"servera, koja vam može pomoći u otkrivanju problema." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/uk.po b/po/uk.po index dc56fd83a339..067302487bbd 100644 --- a/po/uk.po +++ b/po/uk.po @@ -4,16 +4,16 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-07-12 14:49+0200\n" +"PO-Revision-Date: 2013-07-15 11:14+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Ukrainian \n" +"Language-Team: Ukrainian " +"\n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 1.6-dev\n" #: browse_foreigners.php:51 browse_foreigners.php:75 js/messages.php:339 @@ -1703,7 +1703,7 @@ msgstr "Додати %d значення(ь)" msgid "" "Note: If the file contains multiple tables, they will be combined into one." msgstr "" -"Примітка: Якщо файл містить кілька таблиць, то вони будуть об'єднані в одну" +"Примітка: Якщо файл містить кілька таблиць, то вони будуть об'єднані в одну." #: js/messages.php:262 msgid "Hide query box" @@ -2897,7 +2897,7 @@ msgstr "Первинний ключ було знищено" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "Індекс %s було знищено" +msgstr "Індекс %s було знищено." #: libraries/Index.class.php:731 #, php-format @@ -3834,7 +3834,7 @@ msgstr "Виберіть з каталога веб-сервера для від #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Встановлений Вами каталог для завантаження файлів недоступний" +msgstr "Встановлений Вами каталог для завантаження файлів недоступний." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -8085,7 +8085,7 @@ msgstr "Авторизація без паролю заборонена в на #: libraries/plugins/auth/AuthenticationSignon.class.php:254 #, php-format msgid "No activity within %s seconds; please log in again." -msgstr "Відсутня діяльність протягом %s секунд; будь ласка, увійдіть знову" +msgstr "Відсутня діяльність протягом %s секунд; будь ласка, увійдіть знову." #: libraries/plugins/auth/AuthenticationCookie.class.php:667 #: libraries/plugins/auth/AuthenticationCookie.class.php:669 @@ -8110,7 +8110,7 @@ msgstr "Файл %s не містить ідентифікатора (id) клю #: libraries/plugins/auth/swekey/swekey.auth.lib.php:176 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:196 msgid "Hardware authentication failed!" -msgstr "Апаратна аутентифікація не вдалася" +msgstr "Апаратна аутентифікація не вдалася!" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:183 msgid "No valid authentication key plugged" @@ -11381,7 +11381,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem." msgstr "" "Схоже на помилку у SQL запиті. У визначенні проблеми може допомогти " -"повідомлення про помилку сервера MySQL, що наведено нижче (якщо таке є)" +"повідомлення про помилку сервера MySQL, що наведено нижче (якщо таке є)." #: libraries/sqlparser.lib.php:178 msgid "" diff --git a/po/uz@latin.po b/po/uz@latin.po index 3b68a11f4947..b7c4606503c0 100644 --- a/po/uz@latin.po +++ b/po/uz@latin.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.1-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-07-12 16:06+0200\n" -"PO-Revision-Date: 2013-05-07 17:31+0200\n" +"PO-Revision-Date: 2013-07-15 11:32+0200\n" "Last-Translator: Michal Čihař \n" -"Language-Team: Uzbek (latin) \n" +"Language-Team: Uzbek (latin) " +"\n" "Language: uz@latin\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1914,7 +1914,7 @@ msgstr "Maksimum bajarilish vaqti" #: libraries/DisplayResults.class.php:733 #, php-format msgid "%d is not valid row number." -msgstr "%d soni to‘g‘ri qator raqami emas!" +msgstr "%d soni to‘g‘ri qator raqami emas." #: js/messages.php:271 libraries/display_indexes.lib.php:195 #: libraries/insert_edit.lib.php:1462 @@ -3089,7 +3089,7 @@ msgstr "" msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini." msgstr "" "Yuklanayotgan fayl hajmi PHP konfiguratsion faylida (php.ini) ko‘rsatilgan " -"\"upload_max_filesize\" direktivasi qiymatidan katta!" +"\"upload_max_filesize\" direktivasi qiymatidan katta." #: libraries/File.class.php:282 msgid "" @@ -3097,7 +3097,7 @@ msgid "" "the HTML form." msgstr "" "Yuklanayotgan fayl hajmi HTML formada ko‘rsatilgan \"MAX_FILE_SIZE\" " -"direktivasi qiymatidan katta!" +"direktivasi qiymatidan katta." #: libraries/File.class.php:285 msgid "The uploaded file was only partially uploaded." @@ -3198,7 +3198,7 @@ msgstr "Birlamchi kalit o‘chirildi" #: libraries/Index.class.php:608 #, php-format msgid "Index %s has been dropped." -msgstr "\"%s\" indeksi o‘chirildi" +msgstr "\"%s\" indeksi o‘chirildi." #: libraries/Index.class.php:731 #, php-format @@ -4170,7 +4170,7 @@ msgstr "Yuklash katalogidan" #: libraries/Util.class.php:3441 libraries/insert_edit.lib.php:1183 #: libraries/sql_query_form.lib.php:483 msgid "The directory you set for upload work cannot be reached." -msgstr "Ko‘rsatilgan katalokka yuklab bo‘lmadi" +msgstr "Ko‘rsatilgan katalokka yuklab bo‘lmadi." #: libraries/Util.class.php:3452 msgid "There are no files to upload" @@ -10668,12 +10668,12 @@ msgstr "Ma`lumotlar bazalarini va jadvallarni o‘chirishga ruxsat beradi." msgid "Allows reloading server settings and flushing the server's caches." msgstr "" "Server sozlanishlarini qayta yuklashga va uning keshlarini tozalashga ruxsat " -"beradi" +"beradi." #: libraries/server_privileges.lib.php:202 #: libraries/server_privileges.lib.php:960 server_privileges.php:90 msgid "Allows shutting down the server." -msgstr "Server ishini yakunlashga ruxsat beradi" +msgstr "Server ishini yakunlashga ruxsat beradi." #: libraries/server_privileges.lib.php:207 #: libraries/server_privileges.lib.php:952 server_privileges.php:82 @@ -10683,7 +10683,7 @@ msgstr "Barcha foydalanuvchilarning jarayonlarini ko‘rishga ruxsat beradi" #: libraries/server_privileges.lib.php:212 #: libraries/server_privileges.lib.php:848 server_privileges.php:73 msgid "Allows importing data from and exporting data into files." -msgstr "Ma`lumotlarni fayldan import va faylga eksport qilishga ruxsat beradi" +msgstr "Ma`lumotlarni fayldan import va faylga eksport qilishga ruxsat beradi." #: libraries/server_privileges.lib.php:217 #: libraries/server_privileges.lib.php:679 @@ -10694,17 +10694,17 @@ msgstr "MySQL-serverning ushbu versiyada bunday xususiyat mavjud emas!" #: libraries/server_privileges.lib.php:222 #: libraries/server_privileges.lib.php:876 server_privileges.php:75 msgid "Allows creating and dropping indexes." -msgstr "Indekslar qo‘shish va ularni o‘chirishga ruxsat beradi" +msgstr "Indekslar qo‘shish va ularni o‘chirishga ruxsat beradi." #: libraries/server_privileges.lib.php:227 #: libraries/server_privileges.lib.php:874 server_privileges.php:60 msgid "Allows altering the structure of existing tables." -msgstr "Mavjud jadvallarning tuzilishini o‘zgartirishga ruxsat beradi" +msgstr "Mavjud jadvallarning tuzilishini o‘zgartirishga ruxsat beradi." #: libraries/server_privileges.lib.php:232 #: libraries/server_privileges.lib.php:964 server_privileges.php:88 msgid "Gives access to the complete list of databases." -msgstr "Ma`lumotlar bazalarining to‘liq ro‘yxatiga ruxsat beradi" +msgstr "Ma`lumotlar bazalarining to‘liq ro‘yxatiga ruxsat beradi." #: libraries/server_privileges.lib.php:237 #: libraries/server_privileges.lib.php:948 server_privileges.php:91 @@ -10716,37 +10716,37 @@ msgstr "" "Ulanishlar maksimal qiymatga yetganda ham ulanish o‘rnatishga ruxsat " "beradi. (Ko‘pgina administrativ vazifalarni bajarish uchun kerak, masalan, " "global o‘zgaruvchilar o‘rnatish yoki boshqa foydalanuvchi jarayonini " -"o‘chirish)" +"o‘chirish)." #: libraries/server_privileges.lib.php:242 #: libraries/server_privileges.lib.php:886 server_privileges.php:65 msgid "Allows creating temporary tables." -msgstr "Vaqtinchalik jadvallar tuzishga ruxsat beradi" +msgstr "Vaqtinchalik jadvallar tuzishga ruxsat beradi." #: libraries/server_privileges.lib.php:247 #: libraries/server_privileges.lib.php:969 server_privileges.php:77 msgid "Allows locking tables for the current thread." -msgstr "Joriy oqim uchun jadvalni blokirovku qilishga ruxsat beradi" +msgstr "Joriy oqim uchun jadvalni blokirovku qilishga ruxsat beradi." #: libraries/server_privileges.lib.php:252 #: libraries/server_privileges.lib.php:982 server_privileges.php:86 msgid "Needed for the replication slaves." msgstr "" -"Replikatsiya (zaxira nusxa ko‘chirish) vaqtida tobe serverlar uchun kerak" +"Replikatsiya (zaxira nusxa ko‘chirish) vaqtida tobe serverlar uchun kerak." #: libraries/server_privileges.lib.php:257 #: libraries/server_privileges.lib.php:978 server_privileges.php:85 msgid "Allows the user to ask where the slaves / masters are." msgstr "" "Bosh va tobe serverlarning joylashishi haqidagi ma`lumotni talab qilishga " -"ruxsat beradi" +"ruxsat beradi." #: libraries/server_privileges.lib.php:262 #: libraries/server_privileges.lib.php:278 #: libraries/server_privileges.lib.php:906 #: libraries/server_privileges.lib.php:913 server_privileges.php:67 msgid "Allows creating new views." -msgstr "Yangi namoyishlar tuzish(CREATE VIEW)ga ruxsat beradi" +msgstr "Yangi namoyishlar tuzish(CREATE VIEW)ga ruxsat beradi." #: libraries/server_privileges.lib.php:267 #: libraries/server_privileges.lib.php:920 server_privileges.php:71 @@ -10764,28 +10764,29 @@ msgstr "" #: libraries/server_privileges.lib.php:289 #: libraries/server_privileges.lib.php:890 server_privileges.php:89 msgid "Allows performing SHOW CREATE VIEW queries." -msgstr "Namoyish tuzadigan so‘rov(SHOW CREATE VIEW)ni bajarishga ruxsat beradi" +msgstr "Namoyish tuzadigan so‘rov(SHOW CREATE VIEW)ni bajarishga ruxsat beradi." #: libraries/server_privileges.lib.php:294 #: libraries/server_privileges.lib.php:894 server_privileges.php:63 msgid "Allows creating stored routines." -msgstr "Saqlanadigan muolajalar tuzishga ruxsat beradi" +msgstr "Saqlanadigan muolajalar tuzishga ruxsat beradi." #: libraries/server_privileges.lib.php:299 #: libraries/server_privileges.lib.php:898 server_privileges.php:61 msgid "Allows altering and dropping stored routines." -msgstr "Saqlanadigan muolajalarni o‘zgartirish va o‘chirishga ruxsat beradi" +msgstr "Saqlanadigan muolajalarni o‘zgartirish va o‘chirishga ruxsat beradi." #: libraries/server_privileges.lib.php:304 #: libraries/server_privileges.lib.php:986 server_privileges.php:66 msgid "Allows creating, dropping and renaming user accounts." msgstr "" -"Foydalanuvchilar hisobini qo‘shish, o‘chirish va o‘zgartirishga ruxsat beradi" +"Foydalanuvchilar hisobini qo‘shish, o‘chirish va o‘zgartirishga ruxsat " +"beradi." #: libraries/server_privileges.lib.php:309 #: libraries/server_privileges.lib.php:900 server_privileges.php:72 msgid "Allows executing stored routines." -msgstr "Saqlanadigan muolajalarni bajarishga ruxsat beradi" +msgstr "Saqlanadigan muolajalarni bajarishga ruxsat beradi." #: libraries/server_privileges.lib.php:357 #: libraries/server_privileges.lib.php:358 @@ -10809,7 +10810,7 @@ msgstr "" #: libraries/server_privileges.lib.php:537 server_privileges.php:79 msgid "Limits the number of queries the user may send to the server per hour." msgstr "" -"Foydalanuvchi bir soat davomida yuborishi mumkin bo‘lgan so‘rovlar soni" +"Foydalanuvchi bir soat davomida yuborishi mumkin bo‘lgan so‘rovlar soni." #: libraries/server_privileges.lib.php:544 #: libraries/server_privileges.lib.php:550 server_privileges.php:80 @@ -10818,21 +10819,21 @@ msgid "" "execute per hour." msgstr "" "Foydalanuvchi bir soat davomida bajarishi mumkin bo‘lgan biron-bir jadval " -"yoki ma`lumotlar bazasini o‘zgartiradigan buyruqlar soni" +"yoki ma`lumotlar bazasini o‘zgartiradigan buyruqlar soni." #: libraries/server_privileges.lib.php:557 #: libraries/server_privileges.lib.php:562 server_privileges.php:78 msgid "Limits the number of new connections the user may open per hour." msgstr "" "Foydalanuvchi bir soat davomida o‘rnatishi mumkin bo‘lgan yangi ulanishlar " -"soni" +"soni." #: libraries/server_privileges.lib.php:569 #: libraries/server_privileges.lib.php:577 server_privileges.php:81 msgid "Limits the number of simultaneous connections the user may have." msgstr "" "Bir foydalanuvchi tomonidan bir vaqtning o‘zida o‘rnatishi mumkin bo‘lgan " -"ulanishlar soni" +"ulanishlar soni." #: libraries/server_privileges.lib.php:630 #: libraries/server_privileges.lib.php:804 @@ -10863,18 +10864,18 @@ msgstr "Ma`lumotlar bazasi privilegiyalari" #: libraries/server_privileges.lib.php:869 server_privileges.php:64 msgid "Allows creating new tables." -msgstr "Yangi jadvallar tuzishga ruxsat beradi" +msgstr "Yangi jadvallar tuzishga ruxsat beradi." #: libraries/server_privileges.lib.php:881 server_privileges.php:70 msgid "Allows dropping tables." -msgstr "Jadvallarni o‘chirishga rux`sat beradi" +msgstr "Jadvallarni o‘chirishga rux`sat beradi." #: libraries/server_privileges.lib.php:942 server_privileges.php:74 msgid "" "Allows adding users and privileges without reloading the privilege tables." msgstr "" "Foydalanuvchilarni qo‘shish va privilegiyalar jadvalini qayta yuklamasdan " -"privilegiyalar qo‘shishga ruxsat beradi" +"privilegiyalar qo‘shishga ruxsat beradi." #: libraries/server_privileges.lib.php:1050 msgid "Login Information" diff --git a/server_status_advisor.php b/server_status_advisor.php index 219a4ee27a72..6f882033cc26 100644 --- a/server_status_advisor.php +++ b/server_status_advisor.php @@ -9,6 +9,8 @@ require_once 'libraries/common.inc.php'; require_once 'libraries/Advisor.class.php'; require_once 'libraries/ServerStatusData.class.php'; +require_once 'libraries/server_status_advisor.lib.php'; + if (PMA_DRIZZLE) { $server_master_status = false; $server_slave_status = false; @@ -28,62 +30,10 @@ */ $response->addHTML('
'); $response->addHTML($ServerStatusData->getMenuHtml()); -$response->addHTML(PMA_getAdvisorHtml()); +$response->addHTML(PMA_getHtmlForAdvisor()); $response->addHTML('
'); exit; -/** - * Returns html with Advisor - * - * @return string - */ -function PMA_getAdvisorHtml() -{ - $output = ''; - $output .= PMA_Util::getIcon('b_help.png', __('Instructions')); - $output .= ''; - $output .= '
'; - $output .= ''; - $output .= ''; - - return $output; -} ?> diff --git a/sql.php b/sql.php index f97c16f2947f..19053ad1b50a 100644 --- a/sql.php +++ b/sql.php @@ -219,135 +219,19 @@ ); } else { - // At least one row is returned -> displays a table with results - // If we are retrieving the full value of a truncated field or the original - // value of a transformed field, show it here and exit - if ($_REQUEST['grid_edit'] == true) { - PMA_sendResponseForGridEdit($result); - } - - // Gets the list of fields properties - if (isset($result) && $result) { - $fields_meta = $GLOBALS['dbi']->getFieldsMeta($result); - } - - // Should be initialized these parameters before parsing - $showtable = isset($showtable) ? $showtable : null; - $url_query = isset($url_query) ? $url_query : null; - - $response = PMA_Response::getInstance(); - $header = $response->getHeader(); - $scripts = $header->getScripts(); - - // hide edit and delete links: - // - for information_schema - // - if the result set does not contain all the columns of a unique key - // and we are not just browing all the columns of an updatable view - $updatableView - = $justBrowsing - && trim($analyzed_sql[0]['select_expr_clause']) == '*' - && PMA_Table::isUpdatableView($db, $table); - - $has_unique = PMA_resultSetContainsUniqueKey( - $db, $table, $fields_meta - ); - - $editable = $has_unique || $updatableView; - - // Displays the results in a table - if (empty($disp_mode)) { - // see the "PMA_setDisplayMode()" function in - // libraries/DisplayResults.class.php - $disp_mode = 'urdr111101'; - } - if (!empty($table) && ($GLOBALS['dbi']->isSystemSchema($db) || !$editable)) { - $disp_mode = 'nnnn110111'; - } - if ( isset($_REQUEST['printview']) && $_REQUEST['printview'] == '1') { - $disp_mode = 'nnnn000000'; - } - - if (isset($_REQUEST['table_maintenance'])) { - $scripts->addFile('makegrid.js'); - $scripts->addFile('sql.js'); - if (isset($message)) { - $message = PMA_Message::success($message); - $table_maintenance_html = PMA_Util::getMessage( - $message, $GLOBALS['sql_query'], 'success' - ); - } - $table_maintenance_html .= PMA_getHtmlForSqlQueryResultsTable( - isset($sql_data) ? $sql_data : null, $displayResultsObject, $db, $goto, - $pmaThemeImage, $text_dir, $url_query, $disp_mode, $sql_limit_to_append, - false, $unlim_num_rows, $num_rows, $showtable, $result, $querytime, - $analyzed_sql_results, false - ); - if (empty($sql_data) || ($sql_data['valid_queries'] = 1)) { - $response->addHTML($table_maintenance_html); - exit(); - } - } - - if (!isset($_REQUEST['printview']) || $_REQUEST['printview'] != '1') { - $scripts->addFile('makegrid.js'); - $scripts->addFile('sql.js'); - unset($message); - //we don't need to buffer the output in getMessage here. - //set a global variable and check against it in the function - $GLOBALS['buffer_message'] = false; - } - - $print_view_header_html = PMA_getHtmlForPrintViewHeader( - $db, $full_sql_query, $num_rows - ); - - $previous_update_query_html = PMA_getHtmlForPreviousUpdateQuery( + // At least one row is returned -> displays a table with results + PMA_sendResponseForResultsReturned( + isset($result) ? $result : null, $justBrowsing, $analyzed_sql_results, + $db, $table, isset($disp_mode) ? $disp_mode : null, + isset($message) ? $message : null, isset($sql_data) ? $sql_data : null, + $displayResultsObject, $goto, $pmaThemeImage, + $sql_limit_to_append, $unlim_num_rows, + $num_rows, $querytime, $full_sql_query, isset($disp_query) ? $disp_query : null, - $cfg['ShowSQL'], isset($sql_data) ? $sql_data : null, - isset($disp_message) ? $disp_message : null - ); - - $profiling_chart_html = PMA_getHtmlForProfilingChart( - $disp_mode, $db, isset($profiling_results) ? $profiling_results : null - ); - - $missing_unique_column_msg = PMA_getMessageIfMissingColumnIndex( - $table, $db, $editable, $disp_mode - ); - - $bookmark_created_msg = PMA_getBookmarkCreatedMessage(); - - $table_html = PMA_getHtmlForSqlQueryResultsTable( - isset($sql_data) ? $sql_data : null, $displayResultsObject, $db, $goto, - $pmaThemeImage, $text_dir, $url_query, $disp_mode, $sql_limit_to_append, - $editable, $unlim_num_rows, $num_rows, $showtable, $result, $querytime, - $analyzed_sql_results, $is_procedure - ); - - $indexes_problems_html = PMA_getHtmlForIndexesProblems( + isset($disp_message) ? $disp_message : null, $profiling_results, isset($query_type) ? $query_type : null, - isset($selected) ? $selected : null + isset($selected) ? $selected : null, $sql_query, + isset($complete_query) ? $complete_query : null, $cfg ); - - $bookmark_support_html = PMA_getHtmlForBookmark( - $disp_mode, isset($cfg['Bookmark']) ? $cfg['Bookmark'] : '', $sql_query, - $db, $table, isset($complete_query) ? $complete_query : $sql_query, - $cfg['Bookmark']['user'] - ); - - $print_button_html = PMA_getHtmlForPrintButton(); - - $html_output = isset($table_maintenance_html) ? $table_maintenance_html : ''; - - $html_output .= isset($print_view_header_html) ? $print_view_header_html : ''; - - $html_output .= PMA_getHtmlForSqlQueryResults( - $previous_update_query_html, $profiling_chart_html, - $missing_unique_column_msg, $bookmark_created_msg, - $table_html, $indexes_problems_html, $bookmark_support_html, - $print_button_html - ); - - $response->addHTML($html_output); } // end rows returned ?> diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php index cfcacc34049b..0edf05e32997 100644 --- a/test/bootstrap-dist.php +++ b/test/bootstrap-dist.php @@ -34,4 +34,41 @@ $GLOBALS['lang'] = 'en'; $GLOBALS['is_ajax_request'] = false; + +define('PMA_HAS_RUNKIT', function_exists('runkit_constant_redefine')); +$GLOBALS['runkit_internal_override'] = ini_get('runkit.internal_override'); + + +/** + * Function to emulate headers() function by storing headers in GLOBAL array. + */ +function test_header($string, $replace = true, $http_response_code = 200) +{ + if (! isset($GLOBALS['header'])) { + $GLOBALS['header'] = array(); + } + + $GLOBALS['header'][] = $string; +} + +/** + * Function to emulate headers_hest. + */ +function test_headers_sent() +{ + return false; +} + +if (PMA_HAS_RUNKIT && $GLOBALS['runkit_internal_override']) { + echo "Enabling headers testing...\n"; + runkit_function_rename('header', 'test_header_override'); + runkit_function_rename('headers_sent', 'test_headers_sent_override'); + runkit_function_rename('test_header', 'header'); + runkit_function_rename('test_headers_sent', 'headers_sent'); + define('PMA_TEST_HEADERS', true); +} else { + echo "No headers testing.\n"; + echo "Please install runkit and enable runkit.internal_override!\n"; +} + ?> diff --git a/test/classes/PMA_TableSearch_test.php b/test/classes/PMA_TableSearch_test.php new file mode 100644 index 000000000000..b1f683044c44 --- /dev/null +++ b/test/classes/PMA_TableSearch_test.php @@ -0,0 +1,107 @@ +getMockBuilder('PMA_DatabaseInterface') + ->disableOriginalConstructor() + ->getMock(); + + $columns =array( + array( + 'Field' => 'Field1', + 'Type' => 'Type1', + 'Null' => 'Null1', + 'Collation' => 'Collation1', + ), + array( + 'Field' => 'Field2', + 'Type' => 'Type2', + 'Null' => 'Null2', + 'Collation' => 'Collation2', + ) + ); + $dbi->expects($this->any())->method('getColumns') + ->will($this->returnValue($columns)); + + $show_create_table = "CREATE TABLE `pma_bookmark` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `dbase` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '', + `user` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '', + `label` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '', + `query` text COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`id`), + KEY `foreign_field` (`foreign_db`,`foreign_table`) + ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Bookmarks'"; + + $dbi->expects($this->any())->method('fetchValue') + ->will($this->returnValue($show_create_table)); + + $GLOBALS['dbi'] = $dbi; + } + + /** + * tearDown function for test cases + * + * @access protected + * @return void + */ + protected function tearDown() + { + + } + + /** + * Test for __construct + * + * @return void + */ + public function testConstruct() + { + $tableSearch = new PMA_TableSearch("PMA", "PMA_BookMark", "normal"); + $columNames = $tableSearch->getColumnNames(); + $this->assertEquals( + 'Field1', + $columNames[0] + ); + $this->assertEquals( + 'Field2', + $columNames[1] + ); + } +} +?> diff --git a/test/classes/PMA_Table_test.php b/test/classes/PMA_Table_test.php index 2664828f4e3a..8522d4345eb2 100644 --- a/test/classes/PMA_Table_test.php +++ b/test/classes/PMA_Table_test.php @@ -1,4 +1,5 @@ getMockBuilder('PMA_DatabaseInterface') + ->disableOriginalConstructor() + ->getMock(); + + $sql_isView_true = "SELECT TABLE_NAME + FROM information_schema.VIEWS + WHERE TABLE_SCHEMA = 'PMA' + AND TABLE_NAME = 'PMA_BookMark'"; + + $sql_isView_false = "SELECT TABLE_NAME + FROM information_schema.VIEWS + WHERE TABLE_SCHEMA = 'PMA' + AND TABLE_NAME = 'PMA_BookMark_2'"; + + $sql_isUpdatableView_true = "SELECT TABLE_NAME + FROM information_schema.VIEWS + WHERE TABLE_SCHEMA = 'PMA' + AND TABLE_NAME = 'PMA_BookMark' + AND IS_UPDATABLE = 'YES'"; + + $sql_isUpdatableView_false = "SELECT TABLE_NAME + FROM information_schema.VIEWS + WHERE TABLE_SCHEMA = 'PMA' + AND TABLE_NAME = 'PMA_BookMark_2' + AND IS_UPDATABLE = 'YES'"; + + $sql_analyzeStructure_true = "SELECT COLUMN_NAME, DATA_TYPE + FROM information_schema.COLUMNS + WHERE TABLE_SCHEMA = 'PMA' + AND TABLE_NAME = 'PMA_BookMark'"; + + $fetchResult = array( + array( + $sql_isView_true, + null, + null, + null, + 0, + true + ), + array( + $sql_isView_false, + null, + null, + null, + 0, + false + ), + array( + $sql_isUpdatableView_true, + null, + null, + null, + 0, + true + ), + array( + $sql_isUpdatableView_false, + null, + null, + null, + 0, + false + ), + array( + $sql_analyzeStructure_true, + null, + null, + null, + 0, + array( + array('COLUMN_NAME'=>'COLUMN_NAME', 'DATA_TYPE'=>'DATA_TYPE') + ) + ), + ); + + $dbi = $this->getMockBuilder('PMA_DatabaseInterface') + ->disableOriginalConstructor() + ->getMock(); + + $dbi->expects($this->any())->method('fetchResult') + ->will($this->returnValueMap($fetchResult)); + + $GLOBALS['dbi'] = $dbi; } - + /** * Test object creating * @@ -57,17 +144,37 @@ public function testCreate() } /** - * Test renaming + * Test for constructor * * @return void */ - public function testRename() + public function testConstruct() { - $table = new PMA_Table('table1', 'pma_test'); - $table->rename('table3'); - $this->assertEquals('table3', $table->getName()); + $table = new PMA_Table("PMA_BookMark", "PMA"); + $this->assertEquals( + 'PMA_BookMark', + $table->__toString() + ); + $this->assertEquals( + 'PMA_BookMark', + $table->getName() + ); + $this->assertEquals( + 'PMA', + $table->getDbName() + ); + $this->assertEquals( + 'PMA.PMA_BookMark', + $table->getFullName() + ); } + /** + * Test object creating + * + * @return void + */ + /** * Test Set & Get * @@ -89,64 +196,103 @@ public function testSetAndGet() } /** - * Test getting columns + * Test name validation + * + * @param string $name name to test + * @param boolena $result expected result * * @return void + * + * @dataProvider dataValidateName */ - public function testColumns() + public function testValidateName($name, $result) { - $table = new PMA_Table('table1', 'pma_test'); $this->assertEquals( - array('`pma_test`.`table1`.`i`', '`pma_test`.`table1`.`o`'), - $table->getColumns() + $result, + PMA_Table::isValidName($name) ); } /** - * Test getting unique columns + * Data provider for name validation + * + * @return array with test data + */ + public function dataValidateName() + { + return array( + array('test', true), + array('te/st', false), + array('te.st', false), + array('te\\st', false), + ); + } + + /** + * Test for isView * * @return void */ - public function testUniqueColumns() + public function testIsView() { - $table = new PMA_Table('table1', 'pma_test'); $this->assertEquals( - array(), - $table->getUniqueColumns() + false, + PMA_Table::isView() + ); + + //validate that it is the same as DBI fetchResult + $this->assertEquals( + true, + PMA_Table::isView('PMA', 'PMA_BookMark') + ); + $this->assertEquals( + false, + PMA_Table::isView('PMA', 'PMA_BookMark_2') ); } /** - * Test name validation - * - * @param string $name name to test - * @param boolena $result expected result + * Test for isUpdatableView * * @return void - * - * @dataProvider dataValidateName */ - public function testValidateName($name, $result) + public function testIsUpdatableView() { $this->assertEquals( - $result, - PMA_Table::isValidName($name) + false, + PMA_Table::isUpdatableView() + ); + + //validate that it is the same as DBI fetchResult + $this->assertEquals( + true, + PMA_Table::isUpdatableView('PMA', 'PMA_BookMark') + ); + $this->assertEquals( + false, + PMA_Table::isUpdatableView('PMA', 'PMA_BookMark_2') ); } /** - * Data provider for name validation + * Test for analyzeStructure * - * @return array with test data + * @return void */ - public function dataValidateName() + public function testAnalyzeStructure() { - return array( - array('test', true), - array('te/st', false), - array('te.st', false), - array('te\\st', false), + $this->assertEquals( + false, + PMA_Table::analyzeStructure() + ); + + //validate that it is the same as DBI fetchResult + $show_create_table = PMA_Table::analyzeStructure('PMA', 'PMA_BookMark'); + $this->assertEquals( + array('type'=>'DATA_TYPE'), + $show_create_table[0]['create_table_fields']['COLUMN_NAME'] ); } -} +} +?> diff --git a/test/classes/config/PMA_FormDisplay_test.php b/test/classes/config/PMA_FormDisplay_test.php index 1e682b22ded7..51549eb6f90a 100644 --- a/test/classes/config/PMA_FormDisplay_test.php +++ b/test/classes/config/PMA_FormDisplay_test.php @@ -41,7 +41,7 @@ function setup() /** * tearDown for test cases - * + * * @return void */ protected function tearDown() @@ -51,11 +51,11 @@ protected function tearDown() /** * Test for FormDisplay::__constructor - * + * * @return void */ public function testFormDisplayContructor() - { + { $this->assertCount( 5, $this->readAttribute($this->object, '_jsLangStrings') @@ -64,13 +64,13 @@ public function testFormDisplayContructor() /** * Test for FormDisplay::registerForm - * + * * @return void */ public function testRegisterForm() { $reflection = new \ReflectionClass('FormDisplay'); - + $attrForms = $reflection->getProperty('_forms'); $attrForms->setAccessible(true); @@ -109,7 +109,7 @@ public function testRegisterForm() /** * Test for FormDisplay::process - * + * * @return void */ public function testProcess() @@ -145,13 +145,13 @@ public function testProcess() /** * Test for FormDisplay::displayErrors - * + * * @return void */ public function testDisplayErrors() { $reflection = new \ReflectionClass('FormDisplay'); - + $attrIsValidated = $reflection->getProperty('_isValidated'); $attrIsValidated->setAccessible(true); $attrIsValidated->setValue($this->object, true); @@ -192,13 +192,13 @@ public function testDisplayErrors() /** * Test for FormDisplay::fixErrors - * + * * @return void */ public function testFixErrors() { $reflection = new \ReflectionClass('FormDisplay'); - + $attrIsValidated = $reflection->getProperty('_isValidated'); $attrIsValidated->setAccessible(true); $attrIsValidated->setValue($this->object, true); @@ -228,7 +228,7 @@ public function testFixErrors() $attrIsValidated->setValue($this->object, $arr); $this->object->fixErrors(); - + $this->assertEquals( array( 'Servers' => array( @@ -243,17 +243,17 @@ public function testFixErrors() /** * Test for FormDisplay::_validateSelect - * + * * @return void */ public function testValidateSelect() - { + { $attrValidateSelect = new \ReflectionMethod( 'FormDisplay', '_validateSelect' ); $attrValidateSelect->setAccessible(true); - + $arr = array('foo' => 'var'); $value = 'foo'; $this->assertTrue( @@ -284,7 +284,7 @@ public function testValidateSelect() array(&$value, $arr) ) ); - + $arr = array('1' => 'foobar'); $value = 0; $this->assertFalse( @@ -297,7 +297,7 @@ public function testValidateSelect() /** * Test for FormDisplay::hasErrors - * + * * @return void */ public function testHasErrors() @@ -321,7 +321,7 @@ public function testHasErrors() /** * Test for FormDisplay::getDocLink - * + * * @return void */ public function testGetDocLink() @@ -346,25 +346,25 @@ public function testGetDocLink() /** * Test for FormDisplay::getWikiLink - * + * * @return void */ public function testGetWikiLink() { $this->assertEquals( - "./url.php?url=http%3A%2F%2Fwiki.phpmyadmin.net%2Fpma%2FConfig%23" . + "./url.php?url=http%3A%2F%2Fwiki.phpmyadmin.net%2Fpma%2FConfig%23" . "AllowDeny.29&server=0&lang=en&token=token", $this->object->getWikiLink('Servers/1/AllowDeny') ); $this->assertEquals( - "./url.php?url=http%3A%2F%2Fwiki.phpmyadmin.net%2Fpma%2FConfig%23" . + "./url.php?url=http%3A%2F%2Fwiki.phpmyadmin.net%2Fpma%2FConfig%23" . "format_2&server=0&lang=en&token=token", $this->object->getWikiLink('Import/format') ); $this->assertEquals( - "./url.php?url=http%3A%2F%2Fwiki.phpmyadmin.net%2Fpma%2FConfig%23" . + "./url.php?url=http%3A%2F%2Fwiki.phpmyadmin.net%2Fpma%2FConfig%23" . "test&server=0&lang=en&token=token", $this->object->getWikiLink('Export/test') ); @@ -373,7 +373,7 @@ public function testGetWikiLink() /** * Test for FormDisplay::_getOptName - * + * * @return void */ public function testGetOptName() @@ -394,14 +394,14 @@ public function testGetOptName() /** * Test for FormDisplay::_loadUserprefsInfo - * + * * @return void */ public function testLoadUserprefsInfo() { $method = new \ReflectionMethod('FormDisplay', '_loadUserprefsInfo'); $method->setAccessible(true); - + $attrUserprefs = new \ReflectionProperty( 'FormDisplay', '_userprefsDisallow' @@ -417,12 +417,12 @@ public function testLoadUserprefsInfo() /** * Test for FormDisplay::_setComments - * + * * @return void */ public function testSetComments() { - if (!function_exists('runkit_constant_redefine')) { + if (! PMA_HAS_RUNKIT) { $this->markTestSkipped('Cannot redefine constant'); } @@ -447,11 +447,11 @@ public function testSetComments() } if (!function_exists('recode_string')) { $expect['values']['recode'] .= " (unavailable)"; - $expect['comment'] .= ($expect['comment'] ? ", " : '') . + $expect['comment'] .= ($expect['comment'] ? ", " : '') . '"recode" requires recode extension'; } $expect['comment_warning'] = 1; - + $this->assertEquals( $expect, $opts @@ -531,7 +531,7 @@ public function testSetComments() ); // SQLValidate - + $GLOBALS['cfg']['SQLValidator']['use'] = false; $method->invokeArgs( @@ -555,7 +555,7 @@ public function testSetComments() $GLOBALS['cfg']['MaxDbList'] = 10; $GLOBALS['cfg']['MaxTableList'] = 10; $GLOBALS['cfg']['QueryHistoryMax'] = 10; - + $method->invokeArgs( $this->object, array('MaxDbList', &$opts) diff --git a/test/libraries/PMA_ConfigFile_test.php b/test/libraries/PMA_ConfigFile_test.php index 3b6a3df0986e..096c8f6fa1b1 100644 --- a/test/libraries/PMA_ConfigFile_test.php +++ b/test/libraries/PMA_ConfigFile_test.php @@ -44,7 +44,7 @@ protected function tearDown() unset($_SESSION[$this->readAttribute($this->object, "_id")]); unset($this->object); - + // reset the instance $attr_instance = new ReflectionProperty("ConfigFile", "_instance"); $attr_instance->setAccessible(true); @@ -58,7 +58,7 @@ protected function tearDown() * @test */ public function testConfigFileConstructor() - { + { $attr_instance = new ReflectionProperty("ConfigFile", "_instance"); $attr_instance->setAccessible(true); $attr_instance->setValue(null, null); @@ -237,7 +237,7 @@ public function testSetConfigData() */ public function testConfigFileSet() { - if (!function_exists("runkit_constant_redefine")) { + if (! PMA_HAS_RUNKIT) { $this->markTestSkipped("Cannot redefine constant"); } diff --git a/test/libraries/PMA_FormDisplay_tpl_test.php b/test/libraries/PMA_FormDisplay_tpl_test.php index 524c237d613f..c9ddc07b80e4 100644 --- a/test/libraries/PMA_FormDisplay_tpl_test.php +++ b/test/libraries/PMA_FormDisplay_tpl_test.php @@ -24,10 +24,10 @@ class PMA_FormDisplay_Tpl_Test extends PHPUnit_Framework_TestCase /** * Return the tag array to be used with assertTag by parsing * a given HTML element - * + * * @param string $elementHTML HTML for element to be parsed * @param array $arr Additional array elements like content, parent - * + * * @return array Tag array to be used with assertTag */ private function _getTagArray($elementHTML, $arr = array()) @@ -51,7 +51,7 @@ private function _getTagArray($elementHTML, $arr = array()) /** * Test for PMA_displayFormTop() - * + * * @return void */ public function testDisplayFormTop() @@ -64,7 +64,7 @@ public function testDisplayFormTop() $this->assertTag( $this->_getTagArray( - '
' ), $result @@ -109,7 +109,7 @@ public function testDisplayFormTop() /** * Test for PMA_displayTabsTop() - * + * * @return void */ public function testDisplayTabsTop() @@ -141,7 +141,7 @@ public function testDisplayTabsTop() /** * Test for PMA_displayFieldsetTop() - * + * * @return void */ public function testDisplayFieldsetTop() @@ -214,12 +214,12 @@ public function testDisplayFieldsetTop() /** * Test for PMA_displayInput() - * + * * @return void */ public function testDisplayInput() - { - if (!function_exists('runkit_constant_remove')) { + { + if (! PMA_HAS_RUNKIT) { $this->markTestSkipped('Cannot modify constant'); } @@ -241,7 +241,7 @@ public function testDisplayInput() 'desc', false, $opts ); $result = ob_get_clean(); - + $this->assertTag( $this->_getTagArray( '' @@ -338,9 +338,9 @@ public function testDisplayInput() '
e1
', $result ); - + // second case - + define('PMA_SETUP', true); $GLOBALS['_FormDislayGroup'] = 0; $GLOBALS['cfg']['ThemePath'] = 'themePath'; @@ -351,7 +351,7 @@ public function testDisplayInput() $opts['show_restore_default'] = true; $opts['userprefs_comment'] = 'userprefsComment'; $opts['userprefs_allow'] = true; - + ob_start(); PMA_displayInput( 'test/path', 'testName', 'checkbox', 'val', @@ -447,7 +447,7 @@ public function testDisplayInput() ), $result ); - + // select case 1 $opts['values_escaped'] = true; $opts['values_disabled'] = array(1, 2); @@ -523,7 +523,7 @@ public function testDisplayInput() '', true, $opts ); $result = ob_get_clean(); - + $this->assertTag( $this->_getTagArray( '