From 68dfc347f9d7842ae138244058dd603867034272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 11 Jun 2013 13:23:43 +0200 Subject: [PATCH 1/3] Fixed formatting of documentation URL (can contain %, so it can not be used as format string) --- libraries/relation.lib.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libraries/relation.lib.php b/libraries/relation.lib.php index 584fcdf8ea..efa02110ce 100644 --- a/libraries/relation.lib.php +++ b/libraries/relation.lib.php @@ -81,12 +81,10 @@ function PMA_getRelationsParamDiagnostic($cfgRelation) { $retval = ''; - $doc_url = PMA_Util::getDocuLink('config', 'cfg_Servers_%s'); - $messages['error'] = '' . __('not OK') . '' - . ' [ ' + . ' [ ' . __('Documentation') . ' ]'; @@ -329,7 +327,10 @@ function PMA_getDiagMessageForParameter($parameter, if ($relation_parameter_set) { $retval .= $messages['ok']; } else { - $retval .= sprintf($messages['error'], $doc_anchor); + $retval .= sprintf( + $messages['error'], + PMA_Util::getDocuLink('config', 'cfg_Servers_' . $doc_anchor) + ); } $retval .= '' . "\n"; return $retval; From f414eb577b13f908f4bea09d69ddc944b7f4629c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 11 Jun 2013 13:31:33 +0200 Subject: [PATCH 2/3] bug #3631 Drop not working Visio schema export. --- ChangeLog | 1 + .../schema/Export_Relation_Schema.class.php | 4 +- libraries/schema/User_Schema.class.php | 3 +- .../schema/Visio_Relation_Schema.class.php | 671 ------------------ 4 files changed, 4 insertions(+), 675 deletions(-) delete mode 100644 libraries/schema/Visio_Relation_Schema.class.php diff --git a/ChangeLog b/ChangeLog index 0f48b3a556..7ca574a3f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ not set - bug #3971 Ctrl/shift + click opens links in same window - bug #3964 Import using https does not work - bug Missing removeCRLF option in ExportCsv and ExportExcel plugins +- bug #3631 Drop not working Visio schema export. 4.0.3.0 (2013-06-05) - bug #3941 Recent tables list always empty diff --git a/libraries/schema/Export_Relation_Schema.class.php b/libraries/schema/Export_Relation_Schema.class.php index 4863f5f68e..27a9b40ea8 100644 --- a/libraries/schema/Export_Relation_Schema.class.php +++ b/libraries/schema/Export_Relation_Schema.class.php @@ -167,7 +167,7 @@ class PMA_Export_Relation_Schema /** * Set type of export relational schema * - * @param string $value can be pdf,svg,dia,visio,eps etc + * @param string $value can be pdf,svg,dia,eps etc * * @return void * @@ -191,7 +191,7 @@ class PMA_Export_Relation_Schema public function getAllTables($db, $pageNumber) { global $cfgRelation; - + // Get All tables $tab_sql = 'SELECT table_name FROM ' . PMA_Util::backquote($GLOBALS['cfgRelation']['db']) . '.' diff --git a/libraries/schema/User_Schema.class.php b/libraries/schema/User_Schema.class.php index 3b0ef6d0f1..95321b3d6c 100644 --- a/libraries/schema/User_Schema.class.php +++ b/libraries/schema/User_Schema.class.php @@ -417,7 +417,6 @@ class PMA_User_Schema -
@@ -569,7 +568,7 @@ class PMA_User_Schema . 'class="pdflayout_table"' . '>' . '' - . htmlspecialchars($temp_sh_page['table_name']) + . htmlspecialchars($temp_sh_page['table_name']) . ''; if (isset($with_field_names)) { diff --git a/libraries/schema/Visio_Relation_Schema.class.php b/libraries/schema/Visio_Relation_Schema.class.php deleted file mode 100644 index 0aa33fa28b..0000000000 --- a/libraries/schema/Visio_Relation_Schema.class.php +++ /dev/null @@ -1,671 +0,0 @@ -openMemory(); - /* - * Set indenting using three spaces, - * so output is formatted - */ - - $this->setIndent(true); - $this->setIndentString(' '); - /* - * Create the XML document - */ - - $this->startDocument('1.0', 'UTF-8'); - } - - /** - * Starts Visio XML .VDX Document - * - * Visio XML document starts by first initializing VisioDocument tag - * then DocumentProperties & DocumentSettings contains all the - * attributes that needed to define the document. Order of elements - * should be maintained while generating XML of Visio. - * - * @return void - * @access public - * @see XMLWriter::startElement(), XMLWriter::writeAttribute(), - * _documentProperties, _documentSettings - */ - function startVisioDoc() - { - $this->startElement('VisioDocument'); - $this->writeAttribute( - 'xmlns', 'http://schemas.microsoft.com/visio/2003/core' - ); - $this->writeAttribute( - 'xmlns:vx', 'http://schemas.microsoft.com/visio/2006/extension' - ); - $this->writeAttribute('xml:space', 'preserve'); - $this->_documentProperties(); - $this->_documentSettings(); - } - - /** - * Set document title - * - * @param string $value title text - * - * @return void - * @access public - */ - function setTitle($value) - { - $this->title = $value; - } - - /** - * Set document author - * - * @param string $value the author - * - * @return void - * @access public - */ - function setAuthor($value) - { - $this->author = $value; - } - - /** - * Sets Visio XML .VDX Document Properties - * - * DocumentProperties tag contains document property elements such as - * the document's Title,Subject,Creator and templates tags - * - * @return void - * @access private - * @see XMLWriter::startElement(),XMLWriter::endElement(),XMLWriter::writeRaw() - */ - private function _documentProperties() - { - $this->startElement('DocumentProperties'); - $this->writeRaw(''.$this->title.''); - $this->writeRaw(''.$this->title.''); - $this->writeRaw(''.$this->author.''); - $this->writeRaw('phpMyAdmin'); - $this->writeRaw( - '' - ); - $this->endElement(); - } - - /** - * Sets Visio XML .VDX Document Settings - * - * DocumentSettings tag contains elements that specify document settings. - * - * @return void - * @access private - * @see XMLWriter::startElement(),XMLWriter::endElement() - */ - private function _documentSettings() - { - $this->startElement('DocumentSettings'); - $this->endElement(); - } - - /** - * Ends Visio XML Document - * - * @return void - * @access public - * @see XMLWriter::endElement(),XMLWriter::endDocument() - */ - function endVisioDoc() - { - $this->endElement(); - $this->endDocument(); - } - - /** - * Output Visio XML .VDX Document for download - * - * @param string $fileName name of the Visio XML document - * - * @return void - * @access public - * @see XMLWriter::flush() - */ - function showOutput($fileName) - { - //if(ob_get_clean()){ - //ob_end_clean(); - //} - $output = $this->flush(); - PMA_Response::getInstance()->disable(); - PMA_downloadHeader($fileName . '.vdx', 'application/visio', strlen($output)); - print $output; - } -} - - -/** - * Draws tables schema - */ -class Table_Stats -{ - /** - * Defines properties - */ - - private $_tableName; - private $_showInfo = false; - - public $width = 0; - public $height; - public $fields = array(); - public $heightCell = 0; - public $currentCell = 0; - public $x, $y; - public $primary = array(); - - /** - * The "Table_Stats" constructor - * - * @param string $tableName The table name - * @param integer $pageNumber Page number - * @param integer &$same_wide_width The max. with among tables - * @param boolean $showKeys Whether to display keys or not - * @param boolean $showInfo Whether to display table position or not - * - * @global object The current Visio XML document - * @global integer The current page number (from the - * $cfg['Servers'][$i]['table_coords'] table) - * @global array The relations settings - * @global string The current db name - * - * @return void - * @access private - * @see PMA_VISIO, Table_Stats::Table_Stats_setWidth, - * Table_Stats::Table_Stats_setHeight - */ - function __construct($tableName, $pageNumber, &$same_wide_width, - $showKeys = false, $showInfo = false - ) { - global $visio, $cfgRelation, $db; - - $this->_tableName = $tableName; - $sql = 'DESCRIBE ' . PMA_Util::backquote($tableName); - $result = PMA_DBI_try_query($sql, null, PMA_DBI_QUERY_STORE); - if (!$result || !PMA_DBI_num_rows($result)) { - $visio->dieSchema( - $pageNumber, - "VISIO", - sprintf(__('The %s table doesn\'t exist!'), $tableName) - ); - } - - /* - * load fields - * check to see if it will load all fields or only the foreign keys - */ - - if ($showKeys) { - $indexes = PMA_Index::getFromTable($this->_tableName, $db); - $all_columns = array(); - foreach ($indexes as $index) { - $all_columns = array_merge( - $all_columns, - array_flip(array_keys($index->getColumns())) - ); - } - $this->fields = array_keys($all_columns); - } else { - while ($row = PMA_DBI_fetch_row($result)) { - $this->fields[] = $row[0]; - } - } - - $this->_showInfo = $showInfo; - - // height and width - $this->_setHeightTable($this->fontSize); - - // setWidth must me after setHeight, because title - // can include table height which changes table width - $this->_setWidthTable($this->font, $this->fontSize); - if ($same_wide_width < $this->width) { - $same_wide_width = $this->width; - } - - // x and y - $sql = 'SELECT x, y FROM ' - . PMA_Util::backquote($GLOBALS['cfgRelation']['db']) . '.' - . PMA_Util::backquote($cfgRelation['table_coords']) - . ' WHERE db_name = \'' . PMA_Util::sqlAddSlashes($db) . '\'' - . ' AND table_name = \'' . PMA_Util::sqlAddSlashes($tableName) . '\'' - . ' AND pdf_page_number = ' . $pageNumber; - $result = PMA_queryAsControlUser($sql, false, PMA_DBI_QUERY_STORE); - - if (!$result || !PMA_DBI_num_rows($result)) { - $visio->dieSchema( - $pageNumber, - "VISIO", - sprintf( - __('Please configure the coordinates for table %s'), - $tableName - ) - ); - } - list($this->x, $this->y) = PMA_DBI_fetch_row($result); - $this->x = (double) $this->x; - $this->y = (double) $this->y; - // displayfield - $this->displayfield = PMA_getDisplayField($db, $tableName); - // index - $result = PMA_DBI_query( - 'SHOW INDEX FROM ' . PMA_Util::backquote($tableName) . ';', null, - PMA_DBI_QUERY_STORE - ); - if (PMA_DBI_num_rows($result) > 0) { - while ($row = PMA_DBI_fetch_assoc($result)) { - if ($row['Key_name'] == 'PRIMARY') { - $this->primary[] = $row['Column_name']; - } - } - } - } - - /** - * Returns title of the current table, - * title can have the dimensions/co-ordinates of the table - * - * @return the title - * @access private - */ - private function _getTitle() - { - return ($this->_showInfo - ? sprintf('%.0f', $this->width) . 'x' - . sprintf('%.0f', $this->heightCell) - : '') . ' ' . $this->_tableName; - } - - /** - * Sets the width of the table - * - * @param string $font font name - * @param integer $fontSize font size - * - * @global object The current Visio XML document - * - * @return void - * @see PMA_VISIO - * @todo function does nothing, what should it do? - */ - private function _setWidthTable($font,$fontSize) - { - } - - /** - * Sets the height of the table - * - * @param integer $fontSize font size - * - * @return void - * @access private - */ - function _setHeightTable($fontSize) - { - $this->heightCell = $fontSize + 4; - $this->height = (count($this->fields) + 1) * $this->heightCell; - } - - /** - * draw the table - * - * @param boolean $showColor Whether to display color - * - * @global object The current Visio XML document - * - * @return void - * @access public - * @see PMA_VISIO - */ - public function tableDraw($showColor) - { - //echo $this->_tableName.'
'; - - foreach ($this->fields as $field) { - $this->currentCell += $this->heightCell; - $showColor = 'none'; - if ($showColor) { - if (in_array($field, $this->primary)) { - $showColor = '#0c0'; - } - if ($field == $this->displayfield) { - $showColor = 'none'; - } - } - // code here for drawing table diagrams - } - } -} - -/** - * Draws relation links - * - * @access public - * @see PMA_VISIO - */ -class Relation_Stats -{ - /** - * Defines properties - */ - public $xSrc, $ySrc; - public $srcDir ; - public $destDir; - public $xDest, $yDest; - public $wTick = 10; - - /** - * The "Relation_Stats" constructor - * - * @param string $master_table The master table name - * @param string $master_field The relation field in the master table - * @param string $foreign_table The foreign table name - * @param string $foreign_field The relation field in the foreign table - * - * @return void - * @see Relation_Stats::_getXy - */ - function __construct($master_table, $master_field, $foreign_table, - $foreign_field - ) { - $src_pos = $this->_getXy($master_table, $master_field); - $dest_pos = $this->_getXy($foreign_table, $foreign_field); - /* - * [0] is x-left - * [1] is x-right - * [2] is y - */ - $src_left = $src_pos[0] - $this->wTick; - $src_right = $src_pos[1] + $this->wTick; - $dest_left = $dest_pos[0] - $this->wTick; - $dest_right = $dest_pos[1] + $this->wTick; - - $d1 = abs($src_left - $dest_left); - $d2 = abs($src_right - $dest_left); - $d3 = abs($src_left - $dest_right); - $d4 = abs($src_right - $dest_right); - $d = min($d1, $d2, $d3, $d4); - - if ($d == $d1) { - $this->xSrc = $src_pos[0]; - $this->srcDir = -1; - $this->xDest = $dest_pos[0]; - $this->destDir = -1; - } elseif ($d == $d2) { - $this->xSrc = $src_pos[1]; - $this->srcDir = 1; - $this->xDest = $dest_pos[0]; - $this->destDir = -1; - } elseif ($d == $d3) { - $this->xSrc = $src_pos[0]; - $this->srcDir = -1; - $this->xDest = $dest_pos[1]; - $this->destDir = 1; - } else { - $this->xSrc = $src_pos[1]; - $this->srcDir = 1; - $this->xDest = $dest_pos[1]; - $this->destDir = 1; - } - $this->ySrc = $src_pos[2]; - $this->yDest = $dest_pos[2]; - } - - /** - * Gets arrows coordinates - * - * @param string $table The current table name - * @param string $column The relation column name - * - * @return array Arrows coordinates - * @access private - */ - function _getXy($table, $column) - { - $pos = array_search($column, $table->fields); - // x_left, x_right, y - return array( - $table->x, - $table->x + $table->width, - $table->y + ($pos + 1.5) * $table->heightCell - ); - } - - /** - * draws relation links and arrows shows foreign key relations - * - * @param boolean $changeColor Whether to use one color per relation or not - * - * @global object The current Visio XML document - * - * @return void - * @access public - * @see PMA_VISIO - */ - public function relationDraw($changeColor) - { - if ($changeColor) { - $listOfColors = array( - 'red', - 'grey', - 'black', - 'yellow', - 'green', - 'cyan', - 'orange' - ); - shuffle($listOfColors); - $color = $listOfColors[0]; - } else { - $color = 'black'; - } - - // code here for making connections b/w relation objects - } -} -/* -* end of the "Relation_Stats" class -*/ - -/** - * Visio Relation Schema Class - * - * Purpose of this class is to generate the Visio XML .VDX Document which is used - * for representing the database diagrams in any version of MS Visio IDE. - * This class uses Software and Database Template and Database model diagram of - * Visio and with the combination of these objects actually helps in preparing - * Visio XML .VDX document. - * - * Visio XML is generated by using XMLWriter php extension and this class - * inherits Export_Relation_Schema class has common functionality added - * to this class - * - * @name Visio_Relation_Schema - */ -class PMA_Visio_Relation_Schema extends PMA_Export_Relation_Schema -{ - /** - * Class properties - */ - private $_tables = array(); - - /** - * The "PMA_Visio_Relation_Schema" constructor - * - * Upon instantiation This outputs the Visio XML document - * that user can download - * - * @return void - * @see PMA_VISIO,Table_Stats,Relation_Stats - */ - function __construct() - { - global $visio,$db; - - $this->setPageNumber($_POST['pdf_page_number']); - $this->setShowGrid(isset($_POST['show_grid'])); - $this->setShowColor($_POST['show_color']); - $this->setShowKeys(isset($_POST['show_keys'])); - $this->setOrientation(isset($_POST['orientation'])); - $this->setPaper($_POST['paper']); - $this->setExportType($_POST['export_type']); - - $visio = new PMA_VISIO(); - $visio->setTitle( - sprintf( - __('Schema of the %s database - Page %s'), $db, $this->pageNumber - ) - ); - $visio->SetAuthor('phpMyAdmin ' . PMA_VERSION); - $visio->startVisioDoc(); - $alltables = $this->getAllTables($db, $this->pageNumber); - - foreach ($alltables as $table) { - if (! isset($this->_tables[$table])) { - $this->_tables[$table] - = new Table_Stats($table, $this->pageNumber, $this->showKeys); - } - } - - $seen_a_relation = false; - foreach ($alltables as $one_table) { - $exist_rel = PMA_getForeigners($db, $one_table, '', 'both'); - if ($exist_rel) { - $seen_a_relation = true; - foreach ($exist_rel as $master_field => $rel) { - /* put the foreign table on the schema only if selected - * by the user - * (do not use array_search() because we would have to - * to do a === false and this is not PHP3 compatible) - */ - if (in_array($rel['foreign_table'], $alltables)) { - $this->_addRelation( - $one_table, - $master_field, - $rel['foreign_table'], - $rel['foreign_field'], - $this->showKeys - ); - } - } - } - } - $this->_drawTables($this->showColor); - - if ($seen_a_relation) { - $this->_drawRelations($this->showColor); - } - $visio->endVisioDoc(); - $visio->showOutput($db.'-'.$this->pageNumber); - exit(); - } - - /** - * Defines relation objects - * - * @param string $masterTable The master table name - * @param string $masterField The relation field in the master table - * @param string $foreignTable The foreign table name - * @param string $foreignField The relation field in the foreign table - * @param boolean $showKeys Whether to display keys or not - * - * @return void - * @access private - * @see Table_Stats::__construct(), Relation_Stats::__construct() - */ - private function _addRelation($masterTable, $masterField, $foreignTable, - $foreignField, $showKeys - ) { - if (! isset($this->_tables[$masterTable])) { - $this->_tables[$masterTable] = new Table_Stats( - $masterTable, $this->pageNumber, $showKeys - ); - } - if (! isset($this->_tables[$foreignTable])) { - $this->_tables[$foreignTable] = new Table_Stats( - $foreignTable, $this->pageNumber, $showKeys - ); - } - $this->_relations[] = new Relation_Stats( - $this->_tables[$masterTable], $masterField, - $this->_tables[$foreignTable], $foreignField - ); - } - - /** - * Draws relation references - * connects master table's master field to foreign table's forein field. - * - * @param boolean $changeColor Whether to use one color per relation or not - * - * @return void - * @access private - * @see Relation_Stats::relationDraw() - */ - private function _drawRelations($changeColor) - { - foreach ($this->_relations as $relation) { - $relation->relationDraw($changeColor); - } - } - - /** - * Draws tables - * - * @param boolean $changeColor Whether to show color for tables text or not - * - * @return void - * @access private - * @see Table_Stats::tableDraw() - */ - private function _drawTables($changeColor) - { - foreach ($this->_tables as $table) { - $table->tableDraw($changeColor); - } - } -} -?> From 29519cb165d94f7e6984a53d668074e9468b3dc2 Mon Sep 17 00:00:00 2001 From: Peter Rosa Date: Tue, 11 Jun 2013 13:30:36 +0200 Subject: [PATCH 3/3] Translated using Weblate (Slovak) Currently translated at 76.1% (1981 of 2603) --- po/sk.po | 63 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/po/sk.po b/po/sk.po index 35a821237f..6b698297eb 100644 --- a/po/sk.po +++ b/po/sk.po @@ -4,13 +4,13 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.4-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-06-03 09:16-0400\n" -"PO-Revision-Date: 2013-05-11 14:26+0200\n" -"Last-Translator: Marek Jakubčík \n" +"PO-Revision-Date: 2013-06-11 13:30+0200\n" +"Last-Translator: Peter Rosa \n" "Language-Team: Slovak \n" +"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 1.6-dev\n" @@ -739,10 +739,9 @@ msgid "Server" msgstr "Server" #: index.php:240 -#, fuzzy #| msgid "Server port" msgid "Server type" -msgstr "Port servera" +msgstr "Typ servera" #: index.php:244 libraries/plugins/export/ExportLatex.class.php:225 #: libraries/plugins/export/ExportSql.class.php:612 @@ -852,12 +851,20 @@ msgid "" "cookie validity configured in phpMyAdmin, because of this, your login will " "expire sooner than configured in phpMyAdmin." msgstr "" +"Nastavenie v php.ini " +"[a@http://php.net/manual/en/session.configuration.php#ini.session.gc-" +"maxlifetime@_blank]session.gc_maxlifetime[/a] má nižšiu hodnotu ako " +"nastavenie životnosti cookie v phpMyAdmin ($cfg['LoginCookieValidity']). " +"Kvôli tomu vaše prihlásenie vyprší skôr ako je nastavené v konfigurácii " +"phpMyAdmin." #: index.php:437 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 "" +"Životnosť cookie je nižšia ako je nastavené v phpMyAdmin. Kvôli tomu vaše " +"prihlásenie vyprší skôr ako je nastavené v konfigurácii phpMyAdmin." #: index.php:449 msgid "The configuration file now needs a secret passphrase (blowfish_secret)." @@ -899,6 +906,8 @@ msgid "" "Server running with Suhosin. Please refer to %sdocumentation%s for possible " "issues." msgstr "" +"Webový server beží so Suhosin-patchom. Možné dôsledky konzultujte s %" +"sdokumentáciou%s." #: js/messages.php:27 libraries/import.lib.php:118 sql.php:342 msgid "\"DROP DATABASE\" statements are disabled." @@ -1583,12 +1592,12 @@ msgstr "Chyba pri spracovanie požiadavku" #: js/messages.php:225 #, php-format msgid "Error code: %s" -msgstr "" +msgstr "Číslo chyby: %s" #: js/messages.php:226 #, php-format msgid "Error text: %s" -msgstr "" +msgstr "Text chyby: %s" #: js/messages.php:227 libraries/db_common.inc.php:58 #: libraries/db_table_exists.lib.php:28 server_databases.php:89 @@ -1842,7 +1851,7 @@ msgstr "Pridať voľbu pre stĺpec " #: js/messages.php:334 #, php-format msgid "%d object(s) created" -msgstr "" +msgstr "Vytvorené objekty: %d" #: js/messages.php:337 msgid "Press escape to cancel editing" @@ -1902,6 +1911,7 @@ msgstr "Kopírovať názov stĺpca" #: js/messages.php:360 msgid "Right-click the column name to copy it to your clipboard." msgstr "" +"Kliknutím pravým tlačidlom myši na názov stĺpca ho skopírujete do schránky." #: js/messages.php:361 msgid "Show data row(s)" @@ -1924,22 +1934,19 @@ msgid "More" msgstr "Viac" #: js/messages.php:372 -#, fuzzy #| msgid "Show all" msgid "Show Panel" -msgstr "Zobraziť všetko" +msgstr "Zobraziť panel" #: js/messages.php:373 -#, fuzzy #| msgid "Hide indexes" msgid "Hide Panel" -msgstr "Skryť indexy" +msgstr "Skryť panel" #: js/messages.php:376 -#, fuzzy #| msgid "The selected user was not found in the privilege table." msgid "The requested page was not found in the history, it may have expired." -msgstr "Zvolený používateľ nebol nájdený v tabuľke práv." +msgstr "Zvolená stránka sa nenašla v histórii, pravdepodobne bola zrušená." #: js/messages.php:379 setup/lib/index.lib.php:188 #, php-format @@ -2217,33 +2224,35 @@ msgstr "Sekundy" #: libraries/Advisor.class.php:77 #, php-format msgid "PHP threw following error: %s" -msgstr "" +msgstr "PHP vrátilo nasledovnú chybu: %s" #: libraries/Advisor.class.php:104 #, php-format msgid "Failed evaluating precondition for rule '%s'" -msgstr "" +msgstr "Chyba pri vyhodnotení predpokladu pravidla '%s'" #: libraries/Advisor.class.php:121 #, php-format msgid "Failed calculating value for rule '%s'" -msgstr "" +msgstr "Chyba pri výpočte hodnoty pravidla '%s'" #: libraries/Advisor.class.php:140 #, php-format msgid "Failed running test for rule '%s'" -msgstr "" +msgstr "Chyba pri teste pravidla '%s'" #: libraries/Advisor.class.php:222 #, php-format msgid "Failed formatting string for rule '%s'." -msgstr "" +msgstr "Chyba pri formátovaní textu v pravidle '%s'." #: libraries/Advisor.class.php:390 #, php-format msgid "" "Invalid rule declaration on line %1$s, expected line %2$s of previous rule" msgstr "" +"Chybne zadané pravidlo na riadku %1$s, očakáva sa riadok %2$s predošlého " +"pravidla" #: libraries/Advisor.class.php:407 #, php-format @@ -2253,12 +2262,12 @@ msgstr "Chybná deklarácia pravidla na riadku %s" #: libraries/Advisor.class.php:415 #, php-format msgid "Unexpected characters on line %s" -msgstr "" +msgstr "Neočakávané znaky na riadku %s" #: libraries/Advisor.class.php:429 #, php-format msgid "Unexpected character on line %1$s. Expected tab, but found \"%2$s\"" -msgstr "" +msgstr "Neočakávaný znak na riadku %1$s. Očakáva sa TAB, nájdený znak \"%2$s\"" #: libraries/Advisor.class.php:462 server_status_queries.php:86 msgid "per second" @@ -2328,7 +2337,7 @@ msgstr "Pridať/Odobrať stĺpce" #: libraries/DBQbe.class.php:603 libraries/DBQbe.class.php:635 msgid "Update Query" -msgstr "Aktualizovať dopyt" +msgstr "Aktualizovať dotaz" #: libraries/DBQbe.class.php:618 msgid "Use Tables" @@ -2683,7 +2692,7 @@ msgstr "Vytvoriť pohľad" #: libraries/DisplayResults.class.php:5522 msgid "Link not found" -msgstr "Linka nebola nájdená" +msgstr "Odkaz nebol nájdený" #: libraries/Error_Handler.class.php:77 msgid "Too many error messages, some are not displayed." @@ -2691,7 +2700,7 @@ msgstr "Príliš veľa chybových správ, niektoré neboli zobrazené." #: libraries/File.class.php:239 msgid "File was not an uploaded file." -msgstr "" +msgstr "Súbor nebol uploadovaný." #: libraries/File.class.php:279 msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini." @@ -2746,7 +2755,7 @@ msgstr "Otvoriť nové okno phpMyAdmina" #: libraries/Header.class.php:392 msgid "Click on the bar to scroll to top of page" -msgstr "" +msgstr "Kliknutím v pruhu prejdete na začiatok stránky" #: libraries/Header.class.php:618 #: libraries/plugins/auth/AuthenticationCookie.class.php:172 @@ -2930,7 +2939,7 @@ msgstr "Znakové sady" #: libraries/Menu.class.php:511 server_plugins.php:32 server_plugins.php:65 msgid "Plugins" -msgstr "" +msgstr "Rozšírenia" #: libraries/Menu.class.php:515 msgid "Engines" @@ -3149,6 +3158,8 @@ msgid "" "Failed to cleanup table UI preferences (see $cfg['Servers'][$i]" "['MaxTableUiprefs'] %s)" msgstr "" +"Nepodarilo sa vyčistiť nastavenia tabuľky (pozri " +"$cfg['Servers'][$i]['MaxTableUiprefs'] %s)" #: libraries/Table.class.php:1603 #, php-format