diff --git a/ChangeLog b/ChangeLog index ae24170dfd..06745bbc90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -43,6 +43,7 @@ VerboseMultiSubmit, ReplaceHelpImg + Add Ajax support to Fast filter in order to search the term in all database tables - bug #3535015 [navi] DbFilter, TableFilter clear button hidden on Chrome + rfe #3528994 [interface] Allow wrapping possibly long values in replication-status table ++ [interface] Autoselect username input on cookie login page 3.5.3.0 (not yet released) - bug #3539044 [interface] Browse mode "Show" button gives blank page if no results anymore @@ -55,7 +56,9 @@ VerboseMultiSubmit, ReplaceHelpImg - bug #3547825 [edit] BLOB download no longer works - bug #3541966 [config] Error in generated configuration arrray - bug #3553551 [GUI] Invalid HTML code in multi submits confirmation form -[interface] Designer sometimes places tables on the top menu +- [interface] Designer sometimes places tables on the top menu +- bug #3546277 [core] Call to undefined function __() when config file has wrong permissions +- bug #3540922 [edit] Error searching table with many fields 3.5.2.1 (2012-08-03) - [security] Fixed local path disclosure vulnerability, see PMASA-2012-3 diff --git a/js/functions.js b/js/functions.js index e7877e0db2..0f88ac2205 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3871,5 +3871,7 @@ $(function () { * Reveal the login form to users with JS enabled */ $(function () { - $('.js-show').show(); + var $loginform = $('#loginform'); + $loginform.find('.js-show').show(); + $loginform.find('#input_username').select(); }); diff --git a/js/tbl_select.js b/js/tbl_select.js index b8c9f386d5..f04b4e3553 100644 --- a/js/tbl_select.js +++ b/js/tbl_select.js @@ -52,7 +52,39 @@ $(function() { PMA_prepareForAjaxRequest($search_form); - $.post($search_form.attr('action'), $search_form.serialize(), function(data) { + var values = {}; + $search_form.find(':input').each(function() { + var $input = $(this); + if ($input.attr('type') == 'checkbox' || $input.attr('type') == 'radio') { + if ($input.is(':checked')) { + values[this.name] = $input.val(); + } + } else { + values[this.name] = $input.val(); + } + }); + var columnCount = $('select[name="columnsToDisplay[]"] option').length; + // Submit values only for the columns that have a search criteria + for (var a = 0; a < columnCount; a++) { + if (values['criteriaValues[' + a + ']'] == '') { + delete values['criteriaValues[' + a + ']']; + delete values['criteriaColumnOperators[' + a + ']']; + delete values['criteriaColumnNames[' + a + ']']; + delete values['criteriaColumnTypes[' + a + ']']; + delete values['criteriaColumnCollations[' + a + ']']; + } + } + // If all columns are selected, use a single parameter to indicate that + if (values['columnsToDisplay[]'] != null) { + if (values['columnsToDisplay[]'].length == columnCount) { + delete values['columnsToDisplay[]']; + values['displayAllColumns'] = true; + } + } else { + values['displayAllColumns'] = true; + } + + $.post($search_form.attr('action'), values, function(data) { PMA_ajaxRemoveMessage($msgbox); if (data.success == true) { // found results diff --git a/libraries/Config.class.php b/libraries/Config.class.php index 01d47aa670..648f4aab5e 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -634,8 +634,6 @@ class PMA_Config $this->checkPmaAbsoluteUri(); $this->checkFontsize(); - $this->checkPermissions(); - // Handling of the collation must be done after merging of $cfg // (from config.inc.php) so that $cfg['DefaultConnectionCollation'] // can have an effect. Note that the presence of collation diff --git a/libraries/Menu.class.php b/libraries/Menu.class.php index 1a1160cee9..4574c8afd3 100644 --- a/libraries/Menu.class.php +++ b/libraries/Menu.class.php @@ -172,7 +172,7 @@ class PMA_Menu if (strlen($this->_table) && ! (isset($_REQUEST['purge']) && $_REQUEST['purge'] == '1') ) { - include_once './libraries/tbl_info.inc.php'; + include './libraries/tbl_info.inc.php'; $retval .= $separator; if ($GLOBALS['cfg']['NavigationBarIconic']) { diff --git a/libraries/TableSearch.class.php b/libraries/TableSearch.class.php index 13351c6cb1..107efbf712 100644 --- a/libraries/TableSearch.class.php +++ b/libraries/TableSearch.class.php @@ -639,10 +639,9 @@ EOT; if (isset($_POST['zoom_submit'])) { $sql_query .= '* '; } else { - $sql_query .= (count($_POST['columnsToDisplay']) - == count($_POST['criteriaColumnNames']) + $sql_query .= ! empty($_POST['displayAllColumns']) ? '* ' - : implode(', ', $this->getCommonFunctions()->backquote($_POST['columnsToDisplay']))); + : implode(', ', $this->getCommonFunctions()->backquote($_POST['columnsToDisplay'])); } // end if $sql_query .= ' FROM ' . $this->getCommonFunctions()->backquote($_POST['table']); diff --git a/libraries/common.inc.php b/libraries/common.inc.php index 3190eb7ec6..43f29ea686 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -568,6 +568,8 @@ if ($GLOBALS['text_dir'] == 'ltr') { * check for errors occurred while loading configuration * this check is done here after loading language files to present errors in locale */ +$GLOBALS['PMA_Config']->checkPermissions(); + if ($GLOBALS['PMA_Config']->error_config_file) { $error = '[strong]' . __('Failed to read configuration file') . '[/strong]' . '[br][br]' diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php index 30b934a697..9902cf1e90 100644 --- a/libraries/database_interface.lib.php +++ b/libraries/database_interface.lib.php @@ -743,6 +743,33 @@ function PMA_DBI_get_tables_full($database, $table = false, } } + +/** + * Get VIEWs in a particular database + * + * @param string $db Database name to look in + * + * @return array $views Set of VIEWs inside the database + */ +function PMA_DBI_getVirtualTables($db) +{ + + $tables_full = PMA_DBI_get_tables_full($db); + $views = array(); + + foreach ($tables_full as $table=>$tmp) { + + if (PMA_Table::isView($db, $table)) { + $views[] = $table; + } + + } + + return $views; + +} + + /** * returns array with databases containing extended infos about them * diff --git a/libraries/mult_submits.inc.php b/libraries/mult_submits.inc.php index 680db4d2ac..3008805431 100644 --- a/libraries/mult_submits.inc.php +++ b/libraries/mult_submits.inc.php @@ -8,6 +8,8 @@ if (! defined('PHPMYADMIN')) { exit; } +require_once 'libraries/transformations.lib.php'; + $common_functions = PMA_CommonFunctions::getInstance(); $request_params = array( @@ -137,6 +139,7 @@ if (! empty($submit_mult) } } // end if +$views = PMA_DBI_getVirtualTables($db); /** * Displays the confirmation form if required @@ -487,6 +490,15 @@ if (!empty($submit_mult) && !empty($what)) { PMA_DBI_select_db($db); } $result = PMA_DBI_query($a_query); + + if ($query_type == 'drop_db') { + PMA_clearTransformations($selected[$i]); + } elseif ($query_type == 'drop_tbl') { + PMA_clearTransformations($db, $selected[$i]); + } else if ($query_type == 'drop_fld') { + PMA_clearTransformations($db, $table ,$selected[$i]); + } + } // end if } // end for diff --git a/libraries/plugin_interface.lib.php b/libraries/plugin_interface.lib.php index 2a83cf0a67..d0b9c45aaf 100644 --- a/libraries/plugin_interface.lib.php +++ b/libraries/plugin_interface.lib.php @@ -188,8 +188,12 @@ function PMA_pluginGetChoice($section, $name, &$list, $cfgname = null) ) { $ret .= ' selected="selected"'; } + + if (method_exists($plugin->getProperties(), 'getText')) { + $text = $plugin->getProperties()->getText(); + } $ret .= ' value="' . $plugin_name . '">' - . PMA_getString($plugin->getProperties()->getText()) + . PMA_getString($text) . '' . "\n"; } $ret .= '' . "\n"; @@ -199,7 +203,7 @@ function PMA_pluginGetChoice($section, $name, &$list, $cfgname = null) $plugin_name = strtolower(substr(get_class($plugin), strlen($section))); $ret .= ''. "\n"; } - + return $ret; } @@ -245,137 +249,141 @@ function PMA_pluginGetOneOption( } } - - if ($properties == null) { + if (! isset($properties)) { $not_subgroup_header = true; - $properties = $propertyGroup->getProperties(); + if (method_exists($propertyGroup, 'getProperties')) { + $properties = $propertyGroup->getProperties(); + } } - foreach ($properties as $propertyItem) { - $property_class = get_class($propertyItem); - // if the property is a subgroup, we deal with it recursively - if (strpos($property_class, "Subgroup")) { - // for subgroups - // each subgroup can have a header, which may also be a form element - $subgroup_header = $propertyItem->getSubgroupHeader(); - if (isset($subgroup_header)) { - $ret .= PMA_pluginGetOneOption( + + if (isset($properties)) { + foreach ($properties as $propertyItem) { + $property_class = get_class($propertyItem); + // if the property is a subgroup, we deal with it recursively + if (strpos($property_class, "Subgroup")) { + // for subgroups + // each subgroup can have a header, which may also be a form element + $subgroup_header = $propertyItem->getSubgroupHeader(); + if (isset($subgroup_header)) { + $ret .= PMA_pluginGetOneOption( + $section, + $plugin_name, + $subgroup_header + ); + } + + $ret .= '
  • getName() . '">'; + } else { + $ret .= '>'; + } + + $ret .= PMA_pluginGetOneOption( $section, $plugin_name, - $subgroup_header + $propertyItem, + true ); - } - - $ret .= '
  • getName() . '">'; } else { - $ret .= '>'; - } + // single property item + switch ($property_class) { + case "BoolPropertyItem": + $ret .= '
  • ' . "\n"; + $ret .= 'getName()); - $ret .= PMA_pluginGetOneOption( - $section, - $plugin_name, - $propertyItem, - true - ); - } else { - // single property item - switch ($property_class) { - case "BoolPropertyItem": - $ret .= '
  • ' . "\n"; - $ret .= 'getName()); - - if ($propertyItem->getForce() != null) { - // Same code is also few lines lower, update both if needed - $ret .= ' onclick="if (!this.checked && ' - . '(!document.getElementById(\'checkbox_' . $plugin_name - . '_' . $propertyItem->getForce() . '\') ' - . '|| !document.getElementById(\'checkbox_' - . $plugin_name . '_' . $propertyItem->getForce() - . '\').checked)) ' - . 'return false; else return true;"'; - } - $ret .= ' />'; - $ret .= ''; - break; - case "DocPropertyItem": - echo "DocPropertyItem"; - break; - case "HiddenPropertyItem": - $ret .= '
  • '; - break; - case "MessageOnlyPropertyItem": - $ret .= '
  • ' . "\n"; - $ret .= '

    ' . PMA_getString($propertyItem->getText()) . '

    '; - break; - case "RadioPropertyItem": - $default = PMA_pluginGetDefault($section, $plugin_name . '_' - . $propertyItem->getName()); - foreach ($propertyItem->getValues() as $key => $val) { - $ret .= '
  • getForce() != null) { + // Same code is also few lines lower, update both if needed + $ret .= ' onclick="if (!this.checked && ' + . '(!document.getElementById(\'checkbox_' . $plugin_name + . '_' . $propertyItem->getForce() . '\') ' + . '|| !document.getElementById(\'checkbox_' + . $plugin_name . '_' . $propertyItem->getForce() + . '\').checked)) ' + . 'return false; else return true;"'; } - $ret .= ' />' . '
  • '; - } - break; - case "SelectPropertyItem": - $ret .= '
  • ' . "\n"; - $ret .= ''; - $ret .= '
  • '; + break; + case "MessageOnlyPropertyItem": + $ret .= '
  • ' . "\n"; + $ret .= '

    ' . PMA_getString($propertyItem->getText()) . '

    '; + break; + case "RadioPropertyItem": + $default = PMA_pluginGetDefault($section, $plugin_name . '_' + . $propertyItem->getName()); + foreach ($propertyItem->getValues() as $key => $val) { + $ret .= '
  • ' + . PMA_getString($val) . '
  • '; } - $ret .= '>' . PMA_getString($val) . ''; - } - $ret .= ''; - break; - case "TextPropertyItem": - $ret .= '
  • ' . "\n"; - $ret .= ''; - $ret .= 'getSize() != null - ? ' size="' . $propertyItem->getSize() . '"' - : '') - . ($propertyItem->getLen() != null - ? ' maxlength="' . $propertyItem->getLen() . '"' - : '') - . ' />'; - break; - default:; + break; + case "SelectPropertyItem": + $ret .= '
  • ' . "\n"; + $ret .= ''; + $ret .= ''; + break; + case "TextPropertyItem": + $ret .= '
  • ' . "\n"; + $ret .= ''; + $ret .= 'getSize() != null + ? ' size="' . $propertyItem->getSize() . '"' + : '') + . ($propertyItem->getLen() != null + ? ' maxlength="' . $propertyItem->getLen() . '"' + : '') + . ' />'; + break; + default:; + } } } } @@ -385,8 +393,9 @@ function PMA_pluginGetOneOption( $ret .= '
  • '; } else { // end main group - if ($not_subgroup_header) + if (! empty($not_subgroup_header)) { $ret .= ''; + } } if (method_exists($propertyGroup, "getDoc")){ @@ -411,12 +420,14 @@ function PMA_pluginGetOneOption( } // Close the list element after $doc link is displayed - if ($property_class == 'BoolPropertyItem' - || $property_class == 'MessageOnlyPropertyItem' - || $property_class == 'SelectPropertyItem' - || $property_class == 'TextPropertyItem' - ) { - $ret .= ''; + if (isset($property_class)) { + if ($property_class == 'BoolPropertyItem' + || $property_class == 'MessageOnlyPropertyItem' + || $property_class == 'SelectPropertyItem' + || $property_class == 'TextPropertyItem' + ) { + $ret .= ''; + } } $ret .= "\n"; return $ret; diff --git a/libraries/plugins/export/ExportOdt.class.php b/libraries/plugins/export/ExportOdt.class.php index 2556514928..e01f57f499 100644 --- a/libraries/plugins/export/ExportOdt.class.php +++ b/libraries/plugins/export/ExportOdt.class.php @@ -53,6 +53,7 @@ class ExportOdt extends ExportPlugin include_once "$props/options/items/TextPropertyItem.class.php"; include_once "$props/options/items/BoolPropertyItem.class.php"; include_once "$props/options/items/HiddenPropertyItem.class.php"; + include_once "$props/options/items/RadioPropertyItem.class.php"; $exportPluginProperties = new ExportPluginProperties(); $exportPluginProperties->setText('Open Document Text'); diff --git a/libraries/plugins/export/ExportTexytext.class.php b/libraries/plugins/export/ExportTexytext.class.php index 4907b4e73b..df5414a91f 100644 --- a/libraries/plugins/export/ExportTexytext.class.php +++ b/libraries/plugins/export/ExportTexytext.class.php @@ -73,10 +73,6 @@ class ExportTexytext extends ExportPlugin // add the main group to the root group $exportSpecificOptions->addProperty($dumpWhat); - // set the options for the export plugin property item - $exportPluginProperties->setOptions($exportSpecificOptions); - $this->properties = $exportPluginProperties; - // data options main group $dataOptions = new OptionsPropertyMainGroup(); $dataOptions->setName("data"); @@ -93,6 +89,10 @@ class ExportTexytext extends ExportPlugin $dataOptions->addProperty($leaf); // add the main group to the root group $exportSpecificOptions->addProperty($dataOptions); + + // set the options for the export plugin property item + $exportPluginProperties->setOptions($exportSpecificOptions); + $this->properties = $exportPluginProperties; } /** diff --git a/libraries/tbl_info.inc.php b/libraries/tbl_info.inc.php index d0056649cd..9b06b3c002 100644 --- a/libraries/tbl_info.inc.php +++ b/libraries/tbl_info.inc.php @@ -63,14 +63,9 @@ if ($showtable) { $tbl_storage_engine = isset($showtable['Engine']) ? strtoupper($showtable['Engine']) : ''; - // a new comment could be coming from tbl_operations.php - // and we want to show it in the header - if (isset($submitcomment) && isset($comment)) { - $show_comment = $comment; - } else { - $show_comment = isset($showtable['Comment']) - ? $showtable['Comment'] - : ''; + $show_comment = ''; + if (isset($showtable['Comment'])) { + $show_comment = $showtable['Comment']; } } $tbl_collation = empty($showtable['Collation']) diff --git a/libraries/tbl_views.lib.php b/libraries/tbl_views.lib.php new file mode 100644 index 0000000000..4b94439e2e --- /dev/null +++ b/libraries/tbl_views.lib.php @@ -0,0 +1,161 @@ + 0) { + + for ($i=0; $itable; + $map['refering_column'] = $real_source_fields_meta[$i]->name; + + if (count($view_columns) > 1) { + $map['real_column'] = $view_columns[$i]; + } + + $column_map[] = $map; + + } + + } + + } + unset($real_source_result); + + return $column_map; + +} + + +/** + * Get existing data on tranformations applyed for + * columns in a particular table + * + * @param string $db Database name looking for + * + * @return mysqli_result Result of executed SQL query + */ +function PMA_getExistingTranformationData($db) +{ + + $common_functions = PMA_CommonFunctions::getInstance(); + $cfgRelation = PMA_getRelationsParam(); + + // Get the existing transformation details of the same database + // from pma_column_info table + $pma_transformation_sql = 'SELECT * FROM ' + . $common_functions->backquote($cfgRelation['db']) . '.' + . $common_functions->backquote($cfgRelation['column_info']) + . ' WHERE `db_name` = \'' + . $common_functions->sqlAddSlashes($db) . '\''; + + return PMA_DBI_try_query($pma_transformation_sql); + +} + + +/** + * Get SQL query for store new transformation details of a VIEW + * + * @param mysqli_result $pma_tranformation_data Result set of SQL execution + * @param array $column_map Details of VIEW columns + * @param string $view_name Name of the VIEW + * @param string $db Database name of the VIEW + * + * @return string $new_transformations_sql SQL query for new tranformations + */ +function PMA_getNewTransformationDataSql( + $pma_tranformation_data, $column_map, $view_name, $db +) { + + $common_functions = PMA_CommonFunctions::getInstance(); + $cfgRelation = PMA_getRelationsParam(); + + // Need to store new transformation details for VIEW + $new_transformations_sql = 'INSERT INTO ' + . $common_functions->backquote($cfgRelation['db']) . '.' + . $common_functions->backquote($cfgRelation['column_info']) + . ' (`db_name`, `table_name`, `column_name`, `comment`, ' + . '`mimetype`, `transformation`, `transformation_options`)' + . ' VALUES '; + + $column_count = 0; + $add_comma = false; + + while ($data_row = PMA_DBI_fetch_assoc($pma_tranformation_data)) { + + foreach ($column_map as $column) { + + if ($data_row['table_name'] == $column['table_name'] + && $data_row['column_name'] == $column['refering_column'] + ) { + + $new_transformations_sql .= $add_comma ? ', ' : ''; + + $new_transformations_sql .= '(' + . '\'' . $db . '\', ' + . '\'' . $view_name . '\', ' + . '\''; + + $new_transformations_sql .= (isset($column['real_column'])) + ? $column['real_column'] + : $column['refering_column']; + + $new_transformations_sql .= '\', ' + . '\'' . $data_row['comment'] . '\', ' + . '\'' . $data_row['mimetype'] . '\', ' + . '\'' . $data_row['transformation'] . '\', ' + . '\'' + . $common_functions->sqlAddSlashes( + $data_row['transformation_options'] + ) + . '\')'; + + $add_comma = true; + $column_count++; + break; + + } + + } + + if ($column_count == count($column_map)) { + break; + } + + } + + return ($column_count > 0) ? $new_transformations_sql : ''; + +} + + +?> diff --git a/libraries/transformations.lib.php b/libraries/transformations.lib.php index a653570d93..561406e0eb 100644 --- a/libraries/transformations.lib.php +++ b/libraries/transformations.lib.php @@ -365,4 +365,46 @@ function PMA_transformation_global_html_replace($buffer, $options = array()) $return = str_replace("[__BUFFER__]", $buffer, $options['string']); return $return; } + + +/** + * Delete related transformation details + * after deleting database. table or column + * + * @param string $db Database name + * @param string $table Table name + * @param string $column Column name + * + * @return boolean State of the query execution + */ +function PMA_clearTransformations($db, $table = '', $column = '') +{ + + $common_functions = PMA_CommonFunctions::getInstance(); + $cfgRelation = PMA_getRelationsParam(); + + $delete_sql = 'DELETE FROM ' + . $common_functions->backquote($cfgRelation['db']) . '.' + . $common_functions->backquote($cfgRelation['column_info']) + . ' WHERE '; + + if (($column != '') && ($table != '')) { + + $delete_sql .= '`db_name` = \'' . $db . '\' AND ' + . '`table_name` = \'' . $table . '\' AND ' + . '`column_name` = \'' . $column . '\' '; + + } else if ($table != '') { + + $delete_sql .= '`db_name` = \'' . $db . '\' AND ' + . '`table_name` = \'' . $table . '\' '; + + } else { + $delete_sql .= '`db_name` = \'' . $db . '\' '; + } + + return PMA_DBI_try_query($delete_sql); + +} + ?> diff --git a/po/da.po b/po/da.po index 1a23a1a72f..54c1d5386f 100644 --- a/po/da.po +++ b/po/da.po @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-07-27 10:40+0200\n" -"PO-Revision-Date: 2012-08-05 02:30+0200\n" +"PO-Revision-Date: 2012-08-09 08:26+0200\n" "Last-Translator: Aputsiaq Niels Janussen \n" "Language-Team: Danish \n" "Language: da\n" @@ -3613,7 +3613,7 @@ msgstr "" #: libraries/Types.class.php:713 msgid "A system's default double-precision floating-point number" -msgstr "" +msgstr "Et systems standard for flydepunktstal med dobbelt præcision" #: libraries/Types.class.php:715 msgid "True or false" @@ -3632,22 +3632,28 @@ msgid "" "A timestamp, range is '0001-01-01 00:00:00' UTC to '9999-12-31 23:59:59' " "UTC; TIMESTAMP(6) can store microseconds" msgstr "" +"Et tidsstempel, intervallet er '0001-01-01 00:00:00' UTC til '9999-12-31 " +"23:59:59' UTC; TIMESTAMP(6) kan lagre mikrosekunder" #: libraries/Types.class.php:733 msgid "" "A variable-length (0-65,535) string, uses binary collation for all " "comparisons" msgstr "" +"En streng med variabel længde (0-65.535), bruger binær sammenligning for " +"alle sammenligninger" #: libraries/Types.class.php:735 msgid "" "A BLOB column with a maximum length of 65,535 (2^16 - 1) bytes, stored with " "a four-byte prefix indicating the length of the value" msgstr "" +"En BLOB-kolonne med en maksimal længde på 65.535 (2^16 - 1) bytes, lagret " +"med et præfiks på fire byte som indikerer længden af værdien" #: libraries/Types.class.php:737 msgid "An enumeration, chosen from the list of defined values" -msgstr "" +msgstr "En optælling, udvalgt fra listen med definerede værdier" #: libraries/bookmark.lib.php:83 msgid "shared" @@ -4040,10 +4046,13 @@ msgid "" "Use user-friendly editor for editing SQL queries ([a@http://codemirror.net/]" "CodeMirror[/a]) with syntax highlighting and line numbers" msgstr "" +"Brug en brugervenlig redigering til redigering af SQL-forespørgsler, " +"([a@http://codemirror.net/]CodeMirror[/a]) med fremhævelse af syntaks og " +"linjenummerering" #: libraries/config/messages.inc.php:35 msgid "Enable CodeMirror" -msgstr "" +msgstr "Slå CodeMirror til" #: libraries/config/messages.inc.php:36 msgid "" @@ -4153,7 +4162,7 @@ msgstr "Standard tabel-fane" #: libraries/config/messages.inc.php:58 msgid "Whether the table structure actions should be hidden" -msgstr "" +msgstr "Om hvorvidt handlinger for tabel-struktur skal være skjulte" #: libraries/config/messages.inc.php:59 msgid "Hide table structure actions" @@ -4732,6 +4741,8 @@ msgstr "Database-struktur" #: libraries/config/messages.inc.php:229 msgid "Choose which details to show in the database structure (list of tables)" msgstr "" +"Vælg hvilke detaljer, der skal vises i database-strukturen (liste af " +"tabeller)" #: libraries/config/messages.inc.php:230 msgid "Table structure" @@ -4739,7 +4750,7 @@ msgstr "Tabel-struktur" #: libraries/config/messages.inc.php:231 msgid "Settings for the table structure (list of columns)" -msgstr "" +msgstr "Indstillinger for tabel-strukturen (liste af kolonner)" #: libraries/config/messages.inc.php:232 msgid "Tabs" @@ -5780,6 +5791,8 @@ msgstr "Vis formular til databaseoprettelse" #: libraries/config/messages.inc.php:460 msgid "Show or hide a column displaying the Creation timestamp for all tables" msgstr "" +"Vis eller skjul en kolonne, der viser oprettelses-tidsstempel for alle " +"tabeller" #: libraries/config/messages.inc.php:461 msgid "Show Creation timestamp" @@ -5789,15 +5802,19 @@ msgstr "Vis tidsstempel for oprettelse" msgid "" "Show or hide a column displaying the Last update timestamp for all tables" msgstr "" +"Vis eller skjul en kolonne, der viser tidsstempel med seneste opdatering for " +"alle tabeller" #: libraries/config/messages.inc.php:463 msgid "Show Last update timestamp" -msgstr "" +msgstr "Vis tidsstempel med seneste opdatering" #: libraries/config/messages.inc.php:464 msgid "" "Show or hide a column displaying the Last check timestamp for all tables" msgstr "" +"Vis eller skjul en kolonne, der viser tidsstempel med seneste tjek for alle " +"tabeller" #: libraries/config/messages.inc.php:465 msgid "Show Last check timestamp" @@ -6441,15 +6458,15 @@ msgstr "Konvertering af indkodning:" #: libraries/display_git_revision.lib.php:59 #, php-format msgid "%1$s from %2$s branch" -msgstr "" +msgstr "%1$s fra grenen %2$s" #: libraries/display_git_revision.lib.php:61 msgid "no branch" -msgstr "" +msgstr "ingen gren" #: libraries/display_git_revision.lib.php:67 msgid "Git revision" -msgstr "" +msgstr "Git-revision" #: libraries/display_git_revision.lib.php:70 #, php-format @@ -6474,7 +6491,7 @@ msgstr "" #: libraries/display_import.lib.php:76 #, php-format msgid "%s of %s" -msgstr "" +msgstr "%s af %s" #: libraries/display_import.lib.php:85 msgid "Uploading your import file..." @@ -6483,15 +6500,15 @@ msgstr "Overfører din importfil ..." #: libraries/display_import.lib.php:93 #, php-format msgid "%s/sec." -msgstr "" +msgstr "%s/sek." #: libraries/display_import.lib.php:100 msgid "About %MIN min. %SEC sec. remaining." -msgstr "" +msgstr "Omtrent %MIN min. %SEC sek. resterer." #: libraries/display_import.lib.php:104 msgid "About %SEC sec. remaining." -msgstr "" +msgstr "Omtrent %SEC sek. resterer." #: libraries/display_import.lib.php:134 msgid "The file is being processed, please be patient." @@ -7333,7 +7350,7 @@ msgstr "Kunne ikke bruge Blowfish fra mcrypt!" #: libraries/plugins/auth/AuthenticationCookie.class.php:81 msgid "Your session has expired. Please login again." -msgstr "" +msgstr "Din session er udløbet. Log venligst ind igen." #: libraries/plugins/auth/AuthenticationCookie.class.php:170 msgid "Log in" @@ -7636,15 +7653,14 @@ msgstr "" "indeholdende specielle tegn og nøgleord)" #: libraries/plugins/export/ExportSql.class.php:354 -#, fuzzy #| msgid "Object creation options" msgid "Data creation options" -msgstr "Object oprettelsesindstillinger" +msgstr "Indstillinger for oprettelse af data" #: libraries/plugins/export/ExportSql.class.php:358 #: libraries/plugins/export/ExportSql.class.php:1573 msgid "Truncate table before insert" -msgstr "" +msgstr "Trunkér tabel forud for indsættelse" #: libraries/plugins/export/ExportSql.class.php:364 msgid "Instead of INSERT statements, use:" @@ -7899,13 +7915,15 @@ msgstr "XML" #: libraries/plugins/import/PMA_ShapeRecord.class.php:58 #, php-format msgid "Geometry type '%s' is not supported by MySQL." -msgstr "" +msgstr "Geometri-typen '%s' understøttes ikke af MySQL." #: libraries/plugins/transformations/abstract/AppendTransformationsPlugin.class.php:31 msgid "" "Appends text to a string. The only option is the text to be appended " "(enclosed in single quotes, default empty string)." msgstr "" +"Føjer tekst til en streng. Den eneste valgmulighed er at teksten føjes til " +"(omsluttet af enkelte anførselstegn, standardindstilling er en tom streng)." #: libraries/plugins/transformations/abstract/DateFormatTransformationsPlugin.class.php:31 msgid "" @@ -7940,7 +7958,6 @@ msgstr "" "feltet i den første indstilling være sat til en tom streng." #: libraries/plugins/transformations/abstract/ExternalTransformationsPlugin.class.php:31 -#, fuzzy #| msgid "" #| "LINUX ONLY: Launches an external application and feeds it the column data " #| "via standard input. Returns the standard output of the application. The " @@ -7964,16 +7981,17 @@ msgid "" "option, if set to 1, will prevent wrapping and ensure that the output " "appears all on one line (Default 1)." msgstr "" -"KUN LINUX: Starter en ekstern applikation og føder feltdata via standard " -"input. Returnerer standardoutputtet for applikationen. Standard er Tidy, for " -"korrekt udskrivning af HTML-kode. Af sikkerhedsårsager er du nødt til " -"manuelt at redigere filen libraries/transformations/text_plain__external.inc." -"php og indsætte de værktøjer du vil tillade kørsel af. Første indstilling er " -"så nummeret på det program du vil bruge og den anden indstilling er " -"parametrene for dette program. Tredie parameter vil, hvis sat til 1, " -"konvertere outputtet vha. htmlspecialchars() (Standard er 1). Et fjerde " -"parameter vil, hvis sat til 1, sætte et NOWRAP om cellens indhold så hele " -"outputtet bliver vist uden omformattering (Standard 1)." +"KUN LINUX: Starter en ekstern applikation og føder feltdata via " +"standardinput. Returnerer standardoutputtet for applikationen. Standard er " +"Tidy, for korrekt udskrivning af HTML-kode. Af sikkerhedsårsager er du nødt " +"til manuelt at redigere filen " +"libraries/transformations/Text_Plain__External.class.php og indsætte de " +"værktøjer du ønsker skal være tilgængelig. Første indstilling er så nummeret " +"på det program du vil bruge og den anden indstilling er parametrene for " +"dette program. Tredje parameter vil, hvis sat til 1, konvertere outputtet " +"vha. htmlspecialchars() (Standard er 1). Det fjerde parameter vil, hvis sat " +"til 1, forhindre ombrydning og sikre at alt outputtet vises på én linje " +"(Standard 1)." #: libraries/plugins/transformations/abstract/FormattedTransformationsPlugin.class.php:31 msgid "" @@ -9490,7 +9508,7 @@ msgstr "Fuldtekst" #: libraries/tbl_properties.inc.php:603 msgid "first" -msgstr "" +msgstr "første" #: libraries/tbl_properties.inc.php:613 #, php-format @@ -10982,6 +11000,8 @@ msgid "" "Key cache miss calculated as rate of physical reads compared to read " "requests (calculated value)" msgstr "" +"Missede nøgle-mellemlagringer beregnet som raten af fysiske læsninger " +"sammenlignet med læse-forespørgsler (beregnet værdi)" #: server_status.php:1432 msgid "The number of requests to write a key block to the cache." @@ -10995,6 +11015,8 @@ msgstr "Antallet af fysiske skrivninger af en nøgleblok til disk." msgid "" "Percentage of physical writes compared to write requests (calculated value)" msgstr "" +"Procentdel af fysiske skrivninger sammenlignet med skrive-forespørgsler " +"(beregnet værdi)" #: server_status.php:1435 msgid "" @@ -11224,10 +11246,9 @@ msgstr "" "tråd-implementering.)" #: server_status.php:1470 -#, fuzzy #| msgid "Thread cache hit rate %%" msgid "Thread cache hit rate (calculated value)" -msgstr "Frekvens for hits i trådmellemlager %%" +msgstr "Frekvens for hits i trådmellemlager (beregnet værdi)" #: server_status.php:1471 msgid "The number of threads that are not sleeping." @@ -11908,10 +11929,9 @@ msgid "Using bookmark \"%s\" as default browse query." msgstr "Bruger bogmærket \"%s\" som standard-forespørgsel til gennemsyn." #: sql.php:434 -#, fuzzy #| msgid "Do you really want to " msgid "Do you really want to execute following query?" -msgstr "Er du sikker på at du vil " +msgstr "Er du sikker på at du vil udføre følgende forespørsel?" #: sql.php:802 msgid "Showing as PHP code" @@ -11944,10 +11964,9 @@ msgid "Table %1$s has been altered successfully" msgstr "Tabel %1$s er blevet ændret" #: tbl_alter.php:133 -#, fuzzy #| msgid "The selected users have been deleted successfully." msgid "The columns have been moved successfully." -msgstr "De valgte brugere er blevet korrekt slettet." +msgstr "Flytning af kolonnen er blevet fuldført." #: tbl_chart.php:83 #| msgid "Bar" @@ -12280,10 +12299,9 @@ msgid "Spatial" msgstr "Spatial" #: tbl_structure.php:161 tbl_structure.php:165 -#, fuzzy #| msgid "Browse distinct values" msgid "Distinct values" -msgstr "Gennemse bestemte værdier" +msgstr "Distinkte værdier" #: tbl_structure.php:166 tbl_structure.php:167 msgid "Add primary key" @@ -12328,14 +12346,13 @@ msgid "Show more actions" msgstr "Vis flere operationer" #: tbl_structure.php:619 tbl_structure.php:686 -#, fuzzy #| msgid "Remove column(s)" msgid "Move columns" -msgstr "Fjern kolonne(r)" +msgstr "Flyt kolonner" #: tbl_structure.php:620 msgid "Move the columns by dragging them up and down." -msgstr "" +msgstr "Flyt kolonnerne ved at trække dem op og ned." #: tbl_structure.php:646 msgid "Edit view" @@ -12381,22 +12398,22 @@ msgid "Tracking report for table `%s`" msgstr "Sporings rapport for tabel `%s`" #: tbl_tracking.php:198 -#, fuzzy, php-format +#, php-format #| msgid "Version %s is created, tracking for %s.%s is activated." msgid "Version %1$s was created, tracking for %2$s is active." -msgstr "Version %s er oprettet, sporing for %s.%s er aktiveret." +msgstr "Version %1$s blev oprettet, sporing af %2$s er aktiv." #: tbl_tracking.php:215 -#, fuzzy, php-format +#, php-format #| msgid "Tracking of %s.%s is activated." msgid "Tracking for %1$s was deactivated at version %2$s." -msgstr "Sporing af %s.%s er aktiveret." +msgstr "Sporing af %1$s blev deaktiveret i version %2$s." #: tbl_tracking.php:232 -#, fuzzy, php-format +#, php-format #| msgid "Tracking of %s.%s is activated." msgid "Tracking for %1$s was activated at version %2$s." -msgstr "Sporing af %s.%s er aktiveret." +msgstr "Sporing af %1$s blev aktiveret i version %2$s." #: tbl_tracking.php:246 msgid "SQL statements executed." @@ -12440,10 +12457,10 @@ msgid "Tracking statements" msgstr "Sporingskommandoer" #: tbl_tracking.php:499 tbl_tracking.php:631 -#, fuzzy, php-format +#, php-format #| msgid "Show %s with dates from %s to %s by user %s %s" msgid "Show %1$s with dates from %2$s to %3$s by user %4$s %5$s" -msgstr "Vis %s med datoer fra %s til %s for bruger %s %s" +msgstr "Vis %1$s med datoer fra %2$s til %3$s for brugeren %4$s %5$s" #: tbl_tracking.php:504 msgid "Delete tracking data row from report" @@ -12491,30 +12508,30 @@ msgid "Show versions" msgstr "Vis versioner" #: tbl_tracking.php:772 -#, fuzzy, php-format +#, php-format #| msgid "Deactivate tracking for %s.%s" msgid "Deactivate tracking for %s" -msgstr "Deaktiver sporing af %s.%s" +msgstr "Deaktiver sporing af %s" #: tbl_tracking.php:774 msgid "Deactivate now" msgstr "Deaktiver nu" #: tbl_tracking.php:785 -#, fuzzy, php-format +#, php-format #| msgid "Activate tracking for %s.%s" msgid "Activate tracking for %s" -msgstr "Aktiver sporing af %s.%s" +msgstr "Aktiver sporing af %s" #: tbl_tracking.php:787 msgid "Activate now" msgstr "Aktiver nu" #: tbl_tracking.php:800 -#, fuzzy, php-format +#, php-format #| msgid "Create version %s of %s.%s" msgid "Create version %1$s of %2$s" -msgstr "Opret version %s af %s.%s" +msgstr "Opret version %1$s af %2$s" #: tbl_tracking.php:804 msgid "Track these data definition statements:" diff --git a/po/de.po b/po/de.po index 629c30b671..a02a114e22 100644 --- a/po/de.po +++ b/po/de.po @@ -4,15 +4,15 @@ msgstr "" "Project-Id-Version: phpMyAdmin-docs 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-07-27 10:40+0200\n" -"PO-Revision-Date: 2012-07-13 00:19+0200\n" -"Last-Translator: Maxi Lampert \n" -"Language-Team: none\n" +"PO-Revision-Date: 2012-08-06 09:31+0200\n" +"Last-Translator: J. M. \n" +"Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Weblate 1.1\n" +"X-Generator: Weblate 1.2\n" #: browse_foreigners.php:36 browse_foreigners.php:60 js/messages.php:354 #: libraries/DisplayResults.class.php:794 @@ -2539,7 +2539,7 @@ msgstr "Operationen" #: libraries/CommonFunctions.class.php:3506 #: libraries/sql_query_form.lib.php:473 prefs_manage.php:245 msgid "Browse your computer:" -msgstr "Durchsuchen Sie ihren Computer:" +msgstr "Durchsuchen Sie Ihren Computer:" #: libraries/CommonFunctions.class.php:3534 #, php-format diff --git a/po/el.po b/po/el.po index 86a11f0127..c50ede395e 100644 --- a/po/el.po +++ b/po/el.po @@ -4,15 +4,15 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-07-27 10:40+0200\n" -"PO-Revision-Date: 2012-03-22 09:27+0200\n" +"PO-Revision-Date: 2012-08-09 08:45+0200\n" "Last-Translator: Panagiotis Papazoglou \n" -"Language-Team: greek \n" +"Language-Team: Greek \n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Weblate 0.8\n" +"X-Generator: Weblate 1.2\n" #: browse_foreigners.php:36 browse_foreigners.php:60 js/messages.php:354 #: libraries/DisplayResults.class.php:794 @@ -289,16 +289,16 @@ msgid "The database name is empty!" msgstr "Το όνομα της βάσης δεδομένων είναι κενό!" #: db_operations.php:327 -#, fuzzy, php-format +#, php-format #| msgid "Database %s has been renamed to %s" msgid "Database %1$s has been renamed to %2$s" -msgstr "Η βάση δεδομένων %s μετονομάστηκε σε %s" +msgstr "Η βάση δεδομένων %1$s μετονομάστηκε σε %2$s" #: db_operations.php:331 -#, fuzzy, php-format +#, php-format #| msgid "Database %s has been copied to %s" msgid "Database %1$s has been copied to %2$s" -msgstr "Η βάση δεδομένων %s αντιγράφηκε στη %s" +msgstr "Η βάση δεδομένων %1$s αντιγράφηκε στη %2$s" #: db_operations.php:465 msgid "Rename database to" @@ -930,10 +930,10 @@ msgid "\"DROP DATABASE\" statements are disabled." msgstr "Οι εντολές «DROP DATABASE» έχουν απενεργοποιηθεί." #: js/messages.php:30 -#, fuzzy, php-format +#, php-format #| msgid "Do you really want to execute following query?" msgid "Do you really want to execute \"%s\"?" -msgstr "Θέλετε να εκτελέσετε το ακόλουθο ερώτημα;" +msgstr "Θέλετε να εκτελέσετε το ακόλουθο το «%s»;" #: js/messages.php:31 libraries/mult_submits.inc.php:307 sql.php:418 msgid "You are about to DESTROY a complete database!" @@ -1409,10 +1409,9 @@ msgid "From general log" msgstr "Από την γενική καταγραφή" #: js/messages.php:172 -#, fuzzy #| msgid "Loading logs" msgid "Analysing logs" -msgstr "Φόρτωση καταγραφών" +msgstr "Ανάλυση καταγραφών" #: js/messages.php:173 msgid "Analysing & loading logs. This may take a while." @@ -1453,10 +1452,9 @@ msgid "Jump to Log table" msgstr "Μετάβαση στον πίνακα Καταγραφής" #: js/messages.php:180 -#, fuzzy #| msgid "No data" msgid "No data found" -msgstr "Δεν υπάρχουν δεδομένα" +msgstr "Δεν βρέθηκαν δεδομένα" #: js/messages.php:181 msgid "Log analysed, but no data found in this time span." @@ -1497,16 +1495,14 @@ msgid "Chart" msgstr "Διάγραμμα" #: js/messages.php:191 -#, fuzzy #| msgid "Add chart" msgid "Edit chart" -msgstr "Προσθήκη διαγράμματος" +msgstr "Επεξεργασία διαγράμματος" #: js/messages.php:192 -#, fuzzy #| msgid "Series:" msgid "Series" -msgstr "Σειρές:" +msgstr "Σειρές" #. l10n: A collection of available filters #: js/messages.php:195 @@ -1583,16 +1579,14 @@ msgid "Import" msgstr "Εισαγωγή" #: js/messages.php:213 -#, fuzzy #| msgid "Could not import configuration" msgid "Import monitor configuration" -msgstr "Αδύνατη η εισαγωγή ρυθμίσεων" +msgstr "Εισαγωγή ρύθμισης εποπτείας" #: js/messages.php:214 -#, fuzzy #| msgid "Please select the primary key or a unique key" msgid "Please select the file you want to import" -msgstr "Επιλέξτε το πρωτεύον κλειδί ή ένα μοναδικό κλειδί" +msgstr "Ελέγξτε το αρχείο που θέλετε να εισάγετε" #: js/messages.php:216 msgid "Analyse Query" @@ -1703,22 +1697,19 @@ msgid "Show indexes" msgstr "Εμφάνιση ευρετηρίων" #: js/messages.php:257 libraries/mult_submits.inc.php:317 -#, fuzzy #| msgid "Disable foreign key checks" msgid "Foreign key check:" -msgstr "Απενεργοποίηση ελέγχων μη διακριτών κλειδιών" +msgstr "Έλεγχος μη διακριτού κλειδιού:" #: js/messages.php:258 libraries/mult_submits.inc.php:321 -#, fuzzy #| msgid "Enabled" msgid "(Enabled)" -msgstr "Ενεργοποιημένη" +msgstr "(Ενεργοποιημένη)" #: js/messages.php:259 libraries/mult_submits.inc.php:321 -#, fuzzy #| msgid "Disabled" msgid "(Disabled)" -msgstr "Απενεργοποιημένη" +msgstr "(Απενεργοποιημένη)" #: js/messages.php:262 msgid "Searching" @@ -1830,14 +1821,14 @@ msgstr "Η μετάβαση πάνω από ένα σημείο θα δείξε #: js/messages.php:304 msgid "To zoom in, select a section of the plot with the mouse." -msgstr "" +msgstr "Για να εστιάσετε, επιλέξτε ένα τομέα της εκτύπωσης με το ποντίκι." #: js/messages.php:306 -#, fuzzy #| msgid "Click reset zoom link to come back to original state." msgid "Click reset zoom button to come back to original state." msgstr "" -"Πατήστε στην επαναφορά εστίασης για να επιστρέψετε στην αρχική κατάσταση." +"Πατήστε το κουμπί επαναφοράς εστίασης για να επιστρέψετε στην αρχική " +"κατάσταση." #: js/messages.php:308 msgid "Click a data point to view and possibly edit the data row." @@ -1933,7 +1924,7 @@ msgstr "Πατήστε για εναλλαγή επισήμανσης" #: js/messages.php:352 msgid "Double-click to copy column name" -msgstr "" +msgstr "Διπλό κλικ για αντιγραφή ονόματος στήλης" #: js/messages.php:353 msgid "Click the drop-down arrow
    to toggle column's visibility" @@ -1960,20 +1951,18 @@ msgid "Go to link" msgstr "Μετάβαση στο σύνδεσμο" #: js/messages.php:358 -#, fuzzy #| msgid "Column names" msgid "Copy column name" -msgstr "Ονόματα στηλών" +msgstr "Αντιγραφή ονόματος στήλης" #: js/messages.php:359 msgid "Right-click the column name to copy it to your clipboard." -msgstr "" +msgstr "Δεξί κλικ στο όνομα στήλης για αντιγραφή του στο πρόχειρο." #: js/messages.php:360 -#, fuzzy #| msgid "Update row(s)" msgid "Show data row(s)" -msgstr "Ενημέρωση γραμμής(ών)" +msgstr "Προβολή γραμμής(ών) δεδομένων" #: js/messages.php:363 msgid "Generate password" @@ -2267,53 +2256,55 @@ msgstr "Δευτερόλεπτο" #: libraries/Advisor.class.php:67 #, php-format msgid "PHP threw following error: %s" -msgstr "" +msgstr "Η PHP έδωσε το ακόλουθο σφάλμα: %s" #: libraries/Advisor.class.php:89 #, php-format msgid "Failed evaluating precondition for rule '%s'" -msgstr "" +msgstr "Απέτυχε η αξιολόγηση προσυνθήκης για τον κανόνα «%s»" #: libraries/Advisor.class.php:106 #, php-format msgid "Failed calculating value for rule '%s'" -msgstr "" +msgstr "Απέτυχε ο υπολογισμός τιμής για τον κανόνα «%s»" #: libraries/Advisor.class.php:125 #, php-format msgid "Failed running test for rule '%s'" -msgstr "" +msgstr "Απέτυχε η εκτέλεση ελέγχου για τον κανόνα «%s»" #: libraries/Advisor.class.php:207 -#, fuzzy, php-format +#, php-format #| msgid "" #| "Failed formatting string for rule '%s'. PHP threw following error: %s" msgid "Failed formatting string for rule '%s'." -msgstr "" -"Αποτυχία διαμόρφωσης κειμένου για τον κανόνα «%s». Η PHP έδωσε το ακόλουθο " -"σφάλμα: %s" +msgstr "Αποτυχία διαμόρφωσης κειμένου για τον κανόνα «%s»." #: libraries/Advisor.class.php:361 #, php-format msgid "" "Invalid rule declaration on line %1$s, expected line %2$s of previous rule" msgstr "" +"Μη έγκυρη διακήρυξη κανόνα στη γραμμή %1$s, αναμενόμενη γραμμή %2$s από " +"προηγούμενο κανόνα" #: libraries/Advisor.class.php:378 -#, fuzzy, php-format +#, php-format #| msgid "Invalid format of CSV input on line %d." msgid "Invalid rule declaration on line %s" -msgstr "Μη έγκυρη μορφή στο εισαχθέν CSV στη γραμμή %d." +msgstr "Μη έγκυρη διακήρυξη κανόνα στη γραμμή %s" #: libraries/Advisor.class.php:386 #, php-format msgid "Unexpected characters on line %s" -msgstr "" +msgstr "Μη έγκυρη χαρακτήρες στη γραμμή %s" #: libraries/Advisor.class.php:400 #, php-format msgid "Unexpected character on line %1$s. Expected tab, but found \"%2$s\"" msgstr "" +"Μη έγκυρος χαρακτήρας στη γραμμή %1$s. Αναμενότας στηλοθέτης, αλλά βρέθηκε «" +"%2$s»" #: libraries/Advisor.class.php:425 server_status.php:972 msgid "per second" @@ -2694,13 +2685,13 @@ msgstr[0] "Σύνολο: %s αποτέλεσμα" msgstr[1] "Σύνολο: %s αποτελέσματα" #: libraries/DbSearch.class.php:351 -#, fuzzy, php-format +#, php-format #| msgid "%1$s match inside table %2$s" #| msgid_plural "%1$s matches inside table %2$s" msgid "%1$s match in %2$s" msgid_plural "%1$s matches in %2$s" -msgstr[0] "%1$s απατέλεσμα στον πίνακα %2$s" -msgstr[1] "%1$s αποτελέσματα στον πίνακα %2$s" +msgstr[0] "%1$s απατέλεσμα στο %2$s" +msgstr[1] "%1$s αποτελέσματα στο %2$s" #: libraries/DbSearch.class.php:373 #, php-format @@ -2776,7 +2767,7 @@ msgid "vertical" msgstr "κάθετη" #: libraries/DisplayResults.class.php:918 -#, fuzzy, php-format +#, php-format #| msgid "Headers every %s rows" msgid "Headers every %s rows" msgstr "Κεφαλίδες κάθε %s εγγραφές" @@ -2986,10 +2977,9 @@ msgstr "Από αυτό το σημείο πρέπει να έχετε ενερ #: libraries/Header.class.php:500 #: libraries/plugins/auth/AuthenticationCookie.class.php:152 -#, fuzzy #| msgid "Cookies must be enabled past this point." msgid "Javascript must be enabled past this point" -msgstr "Από αυτό το σημείο πρέπει να έχετε ενεργοποιημένα cookies." +msgstr "Από αυτό το σημείο πρέπει να έχετε ενεργοποιημένη την Javascript" #: libraries/Index.class.php:433 tbl_relation.php:540 msgid "No index defined!" @@ -3193,16 +3183,16 @@ msgid "unknown table status: " msgstr "άγνωστη κατάσταση πίνακα: " #: libraries/Table.class.php:757 -#, fuzzy, php-format +#, php-format #| msgid "Source database" msgid "Source database `%s` was not found!" -msgstr "Βάση δεδομένων προέλευσης" +msgstr "Η Βάση δεδομένων προέλευσης «%s» δεν βρέθηκε!" #: libraries/Table.class.php:765 -#, fuzzy, php-format +#, php-format #| msgid "Theme %s not found!" msgid "Target database `%s` was not found!" -msgstr "Το θέμα %s δεν βρέθηκε!" +msgstr "Η βάση δεδομένων προορισμού «%s» δεν βρέθηκε!" #: libraries/Table.class.php:1192 msgid "Invalid database" @@ -3325,10 +3315,9 @@ msgid "How to use" msgstr "Πως να το χρησιμοποιήσετε" #: libraries/TableSearch.class.php:1210 -#, fuzzy #| msgid "Reset" msgid "Reset zoom" -msgstr "Επαναφορά" +msgstr "Επανφορά εστίασης" #: libraries/Theme.class.php:169 #, php-format @@ -3366,42 +3355,59 @@ msgstr "Θέμα" msgid "" "A 1-byte integer, signed range is -128 to 127, unsigned range is 0 to 255" msgstr "" +"Ένας ακέραιος 1-byte, εύρος με πρόσημο είναι -128 έως 127, εύρος χωρίς " +"πρόσημο είναι 0 έως 255" #: libraries/Types.class.php:297 msgid "" "A 2-byte integer, signed range is -32,768 to 32,767, unsigned range is 0 to " "65,535" msgstr "" +"Ένας ακέραιος 2-byte, εύρος με πρόσημο είναι -32.768 έως 32.767, εύρος χωρίς " +"πρόσημο είναι 0 έως 65.535" #: libraries/Types.class.php:299 msgid "" "A 3-byte integer, signed range is -8,388,608 to 8,388,607, unsigned range is " "0 to 16,777,215" msgstr "" +"Ένας ακέραιος 3-byte, εύρος με πρόσημο είναι -8.388.608 έως 8.388.607, εύρος " +"χωρίς πρόσημο είναι 0 έως 16.777.215" #: libraries/Types.class.php:301 msgid "" "A 4-byte integer, signed range is -2,147,483,648 to 2,147,483,647, unsigned " "range is 0 to 4,294,967,295." msgstr "" +"Ένας ακέραιος 4-byte, εύρος με πρόσημο είναι -2.147.483.648 έως " +"2.147.483.647, εύρος χωρίς πρόσημο είναι 0 έως 4.294.967.295." #: libraries/Types.class.php:303 msgid "" "An 8-byte integer, signed range is -9,223,372,036,854,775,808 to " "9,223,372,036,854,775,807, unsigned range is 0 to 18,446,744,073,709,551,615" msgstr "" +"Ένας ακέραιος 8-byte, εύρος με πρόσημο είναι -9.223.372.036.854.775.808 έως " +"9.223.372.036.854.775.807, εύρος χωρίς πρόσημο είναι 0 έως " +"18.446.744.073.709.551.615" #: libraries/Types.class.php:305 libraries/Types.class.php:711 msgid "" "A fixed-point number (M, D) - the maximum number of digits (M) is 65 " "(default 10), the maximum number of decimals (D) is 30 (default 0)" msgstr "" +"Ένας αριθμός σταθερής υποδιαστολής (Μ,Δ) - ο μέγιστος αριθμός ψηφίων (Μ) " +"είναι 65 (προεπιλογή 10), ο μέγιστος αριθμός δεκαδικών είναι (Δ) είναι 30 " +"(προεπιλογή 0)" #: libraries/Types.class.php:307 msgid "" "A small floating-point number, allowable values are -3.402823466E+38 to " "-1.175494351E-38, 0, and 1.175494351E-38 to 3.402823466E+38" msgstr "" +"Ένας μικρός αριθμός κινητής υποδιαστολής, επιτρεπτές τιμές είναι " +"-3.402823466E+38 έως -1.175494351E-38, 0, και 1.175494351E-38 έως " +"3.402823466E+38" #: libraries/Types.class.php:309 msgid "" @@ -3409,63 +3415,81 @@ msgid "" "-1.7976931348623157E+308 to -2.2250738585072014E-308, 0, and " "2.2250738585072014E-308 to 1.7976931348623157E+308" msgstr "" +"Ένας αριθμός κινητής υποδιαστολής διπλής ακρίβειας, επιτρεπτές τιμές είναι " +"-1.7976931348623157E+308 έως -2.2250738585072014E-308, 0, και " +"2.2250738585072014E-308 έως 1.7976931348623157E+308" #: libraries/Types.class.php:311 msgid "" "Synonym for DOUBLE (exception: in REAL_AS_FLOAT SQL mode it is a synonym for " "FLOAT)" msgstr "" +"Συνώνυμο για το DOUBLE (εξαίρεση: στην κατάσταση SQL REAL_AS_FLOAT είναι " +"συνώνυμο με το FLOAT)" #: libraries/Types.class.php:313 msgid "" "A bit-field type (M), storing M of bits per value (default is 1, maximum is " "64)" msgstr "" +"Ένας τύπος πεδίου bit (M), αποθηκεύονται το πλήθος (M) των bits ανά τιμή " +"(προεπιλογή είναι το 1, μέγιστο είναι το 64)" #: libraries/Types.class.php:315 msgid "" "A synonym for TINYINT(1), a value of zero is considered false, nonzero " "values are considered true" msgstr "" +"Ένα συνώνυμο για το TINYINT(1), μια μηδενική τιμή θεωρείτε λάθος, μη " +"μηδενικές τιμές θεωρούνται σωστές" #: libraries/Types.class.php:317 msgid "An alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE" -msgstr "" +msgstr "Μια ετικέτα για το BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE" #: libraries/Types.class.php:319 libraries/Types.class.php:721 -#, fuzzy, php-format +#, php-format #| msgid "Create version %1$s of %2$s" msgid "A date, supported range is %1$s to %2$s" -msgstr "Δημιουργία έκδοσης %1$s του %2$s" +msgstr "Μια ημερομηνία, υποστηριζόμενο εύρος είναι από %1$s έως %2$s" #: libraries/Types.class.php:321 libraries/Types.class.php:723 #, php-format msgid "A date and time combination, supported range is %1$s to %2$s" msgstr "" +"Ένας συνδυασμός ημερομηνίας και ώρας, υποστηριζόμενο εύρος είναι από %1$s " +"έως %2$s" #: libraries/Types.class.php:323 msgid "" "A timestamp, range is 1970-01-01 00:00:01 UTC to 2038-01-09 03:14:07 UTC, " "stored as the number of seconds since the epoch (1970-01-01 00:00:00 UTC)" msgstr "" +"Μια χρονοσφραγίδα, εύρος από 1970-01-01 00:00:01 UTC έως 2038-01-09 03:14:07 " +"UTC, αποπθηκεύεται ως ο αριθμός των δευτερολέπτων από την αρχή (1970-01-01 " +"00:00:00 UTC)" #: libraries/Types.class.php:325 libraries/Types.class.php:727 -#, fuzzy, php-format +#, php-format #| msgid "Error renaming table %1$s to %2$s" msgid "A time, range is %1$s to %2$s" -msgstr "Σφάλμα μετονομασίας του πίνακα %1$s σε %2$s" +msgstr "Ένας χρόνος, εύρος είναι από %1$s έως %2$s" #: libraries/Types.class.php:327 msgid "" "A year in four-digit (4, default) or two-digit (2) format, the allowable " "values are 70 (1970) to 69 (2069) or 1901 to 2155 and 0000" msgstr "" +"Το έτος με τέσσερα ψηφία (4, προεπιλογή) ή μορφή 2 ψηφίων (2), οι επιτρεπτές " +"τιμές είναι 70 (1970) έως 69 (2069) ή 1901 έως 2155 και 0000" #: libraries/Types.class.php:329 msgid "" "A fixed-length (0-255, default 1) string that is always right-padded with " "spaces to the specified length when stored" msgstr "" +"Ένα κείμενο σταθερού μήκους (0-255, προεπιλογή 1) που είναι πάντα δεξιά " +"στοιχισμένο με κενά στο ορισμένο μήκος όταν αποθηεκύεται" #: libraries/Types.class.php:331 libraries/Types.class.php:729 #, php-format @@ -3473,24 +3497,32 @@ msgid "" "A variable-length (%s) string, the effective maximum length is subject to " "the maximum row size" msgstr "" +"Ένα κείμενο μεταβλητού μήκους (%s), το δραστικό μέγιστο μήκος είναι σχετικό " +"με το μέγιστο μέγεθος της εγγραφής" #: libraries/Types.class.php:333 msgid "" "A TEXT column with a maximum length of 255 (2^8 - 1) characters, stored with " "a one-byte prefix indicating the length of the value in bytes" msgstr "" +"Μια στήλη TEXT με μέγιστο μήκος 255 (2⁸ - 1) χαρακτήρες, αποθηκεύεται με " +"πρόθεμα 1-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:335 libraries/Types.class.php:731 msgid "" "A TEXT column with a maximum length of 65,535 (2^16 - 1) characters, stored " "with a two-byte prefix indicating the length of the value in bytes" msgstr "" +"Μια στήλη TEXT με μέγιστο μήκος 65.535 (2¹⁶ - 1) χαρακτήρες, αποθηκεύεται με " +"πρόθεμα 2-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:337 msgid "" "A TEXT column with a maximum length of 16,777,215 (2^24 - 1) characters, " "stored with a three-byte prefix indicating the length of the value in bytes" msgstr "" +"Μια στήλη TEXT με μέγιστο μήκος 16.777.215 (2²⁴ - 1) χαρακτήρες, " +"αποθηκεύεται με πρόθεμα 3-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:339 msgid "" @@ -3498,108 +3530,120 @@ msgid "" "characters, stored with a four-byte prefix indicating the length of the " "value in bytes" msgstr "" +"Μια στήλη TEXT με μέγιστο μήκος 4.294.967.295 ή 4GB (2³² - 1) χαρακτήρες, " +"αποθηκεύεται με πρόθεμα 4-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:341 msgid "" "Similar to the CHAR type, but stores binary byte strings rather than non-" "binary character strings" msgstr "" +"Παρόμοιο με τον τύπο CHAR, αλλά αποθηκεύει τα κείμενα δυαδικού byte παρά τα " +"κείμενα με μη δυαδικούς χαρακτήρες" #: libraries/Types.class.php:343 msgid "" "Similar to the VARCHAR type, but stores binary byte strings rather than non-" "binary character strings" msgstr "" +"Παρόμοιο με τον τύπο VARCHAR, αλλά αποθηκεύει τα κείμενα δυαδικού byte παρά " +"τα κείμενα με μη δυαδικούς χαρακτήρες" #: libraries/Types.class.php:345 msgid "" "A BLOB column with a maximum length of 255 (2^8 - 1) bytes, stored with a " "one-byte prefix indicating the length of the value" msgstr "" +"Μια στήλη BLOB με μέγιστο μήκος 255 (2⁸ - 1) bytes, αποθηκεύεται με πρόθεμα " +"2-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:347 msgid "" "A BLOB column with a maximum length of 16,777,215 (2^24 - 1) bytes, stored " "with a three-byte prefix indicating the length of the value" msgstr "" +"Μια στήλη BLOB με μέγιστο μήκος 16.777.215 (2²⁴ - 1) χαρακτήρες, " +"αποθηκεύεται με πρόθεμα 3-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:349 msgid "" "A BLOB column with a maximum length of 65,535 (2^16 - 1) bytes, stored with " "a two-byte prefix indicating the length of the value" msgstr "" +"Μια στήλη BLOB με μέγιστο μήκος 65.535 (2¹⁶ - 1) χαρακτήρες, αποθηκεύεται με " +"πρόθεμα 2-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:351 msgid "" "A BLOB column with a maximum length of 4,294,967,295 or 4GiB (2^32 - 1) " "bytes, stored with a four-byte prefix indicating the length of the value" msgstr "" +"Μια στήλη BLOB με μέγιστο μήκος 4.294.967.295 ή 4GB (2³² - 1) χαρακτήρες, " +"αποθηκεύεται με πρόθεμα 4-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:353 msgid "" "An enumeration, chosen from the list of up to 65,535 values or the special " "'' error value" msgstr "" +"Μια απαρίθμηση, η οποία έχει επιλεγεί από τη λίστα των έως και 65.535 τιμές " +"ή τις ειδικές \" τιμή σφάλματος" #: libraries/Types.class.php:355 msgid "A single value chosen from a set of up to 64 members" -msgstr "" +msgstr "Μία μόνο τιμή που επιλέγεται από ένα σύνολο έως και 64 μέλη" #: libraries/Types.class.php:357 msgid "A type that can store a geometry of any type" -msgstr "" +msgstr "Ένας τύπος που μπορεί να αποθηκεύσει μια γεωμετρία οποιουδήποτε τύπου" #: libraries/Types.class.php:359 msgid "A point in 2-dimensional space" -msgstr "" +msgstr "Ένα σημείο σε δισδιάστατο χώρο" #: libraries/Types.class.php:361 msgid "A curve with linear interpolation between points" -msgstr "" +msgstr "Μια καμπύλη με γραμμική παρεμβολή μεταξύ σημείων" #: libraries/Types.class.php:363 -#, fuzzy #| msgid "Add a polygon" msgid "A polygon" -msgstr "Προσθήκη πολυγώνου" +msgstr "Ένα πολύγωνο" #: libraries/Types.class.php:365 msgid "A collection of points" -msgstr "" +msgstr "Μια συλλογή από σημεία" #: libraries/Types.class.php:367 msgid "A collection of curves with linear interpolation between points" -msgstr "" +msgstr "Μια συλλογή καμπυλών με γραμμική παρεμβολή μεταξύ σημείων" #: libraries/Types.class.php:369 msgid "A collection of polygons" -msgstr "" +msgstr "Μια συλλογή πολυγώνων" #: libraries/Types.class.php:371 msgid "A collection of geometry objects of any type" -msgstr "" +msgstr "Μια συλλογή γεωμετρικών αντικειμένων οποιουδήποτε τύπου" #: libraries/Types.class.php:623 libraries/Types.class.php:973 msgctxt "numeric types" msgid "Numeric" -msgstr "" +msgstr "Αριθμητικό" #: libraries/Types.class.php:642 libraries/Types.class.php:976 -#, fuzzy #| msgid "Create an index" msgctxt "date and time types" msgid "Date and time" -msgstr "Δημιουργία ευρετηρίου" +msgstr "Ημερομηνία και ώρα" #: libraries/Types.class.php:651 libraries/Types.class.php:979 -#, fuzzy #| msgid "Linestring" msgctxt "string types" msgid "String" -msgstr "Κείμενο γραμμής" +msgstr "Κείμενο" #: libraries/Types.class.php:672 -#, fuzzy #| msgid "Spatial" msgctxt "spatial types" msgid "Spatial" @@ -3607,51 +3651,60 @@ msgstr "Χωρική" #: libraries/Types.class.php:707 msgid "A 4-byte integer, range is -2,147,483,648 to 2,147,483,647" -msgstr "" +msgstr "Ένας ακέραιος 4-byte, εύρος είναι -2.147.483.648 έως 2.147.483.647" #: libraries/Types.class.php:709 msgid "" "An 8-byte integer, range is -9,223,372,036,854,775,808 to " "9,223,372,036,854,775,807" msgstr "" +"Ένας ακέραιος 8-byte, εύρος είναι -9.223.372.036.854.775.808 έως " +"9.223.372.036.854.775.807" #: libraries/Types.class.php:713 msgid "A system's default double-precision floating-point number" msgstr "" +"Ένας προεπιλεγμένος αριθμός κινητής υποδιαστολής διπλής ακριβείας συστήματος" #: libraries/Types.class.php:715 msgid "True or false" -msgstr "" +msgstr "Σωστό ή λάθος" #: libraries/Types.class.php:717 msgid "An alias for BIGINT NOT NULL AUTO_INCREMENT UNIQUE" -msgstr "" +msgstr "Μια ετικέτα για BIGINT NOT NULL AUTO_INCREMENT ΜΟΝΑΔΙΚΌ" #: libraries/Types.class.php:719 msgid "Stores a Universally Unique Identifier (UUID)" -msgstr "" +msgstr "Αποθηκεύει ένα Καθολικά Μοναδικό Αναγνωριστικό (UUID)" #: libraries/Types.class.php:725 msgid "" "A timestamp, range is '0001-01-01 00:00:00' UTC to '9999-12-31 23:59:59' " "UTC; TIMESTAMP(6) can store microseconds" msgstr "" +"Μια χρονοσφραγίδα, εύρος είναι από «0001-01-01 00:00:00» UTC έως «9999-12-31 " +"23:59:59» UTC; TIMESTAMP(6) μπορεί να αποθηκεύσει μικροδευτερόλεπτα" #: libraries/Types.class.php:733 msgid "" "A variable-length (0-65,535) string, uses binary collation for all " "comparisons" msgstr "" +"Ένα κείμενο μεταβλητού μήκους (0-65.535), χρησιμοποιεί δυαδική συρραφή για " +"όλες τις συγκρίσεις" #: libraries/Types.class.php:735 msgid "" "A BLOB column with a maximum length of 65,535 (2^16 - 1) bytes, stored with " "a four-byte prefix indicating the length of the value" msgstr "" +"Μια στήλη BLOB με μέγιστο μήκος 65.535 (2¹⁶ - 1) χαρακτήρες, αποθηκεύεται με " +"πρόθεμα 4-byte δείχνοντας το μήκος της τιμής σε bytes" #: libraries/Types.class.php:737 msgid "An enumeration, chosen from the list of defined values" -msgstr "" +msgstr "Μια απαρίθμηση, η οποία έχει επιλεγεί από τη λίστα ορισμένων τιμών" #: libraries/bookmark.lib.php:83 msgid "shared" @@ -3721,7 +3774,6 @@ msgid "Could not load default configuration from: %1$s" msgstr "Αδύνατη η φόρτωση της προεπιλεγμένης ρύθμισης από: «%1$s»" #: libraries/common.inc.php:588 -#, fuzzy #| msgid "" #| "The $cfg['PmaAbsoluteUri'] directive MUST be set in your " #| "configuration file!" @@ -3729,7 +3781,7 @@ msgid "" "The [code]$cfg['PmaAbsoluteUri'][/code] directive MUST be set in your " "configuration file!" msgstr "" -"Η εντολή $cfg['PmaAbsoluteUri'] ΠΡΕΠΕΙ να οριστεί στο αρχείο " +"Η πδηγία $cfg['PmaAbsoluteUri'] ΠΡΕΠΕΙ να οριστεί στο αρχείο " "ρυθμίσεων!" #: libraries/common.inc.php:621 @@ -4047,10 +4099,13 @@ msgid "" "Use user-friendly editor for editing SQL queries ([a@http://codemirror.net/]" "CodeMirror[/a]) with syntax highlighting and line numbers" msgstr "" +"Χρησιμοποιήστε το φιλικό προς το χρήστη πρόγραμμα επεξεργασίας για την " +"επεξεργασία ερωτημάτων SQL ([a@http://codemirror.net/]CodeMirror[/a]) με " +"επισήμανση σύνταξης και αρίθμηση γραμμών" #: libraries/config/messages.inc.php:35 msgid "Enable CodeMirror" -msgstr "" +msgstr "Ενεργοποίηση CodeMirror" #: libraries/config/messages.inc.php:36 msgid "" @@ -4158,13 +4213,12 @@ msgstr "Προεπιλεγμένη καρτέλα πίνακα" #: libraries/config/messages.inc.php:58 msgid "Whether the table structure actions should be hidden" -msgstr "" +msgstr "Αν θα πρέπει να αποκρυφτούν οι ενέργειες δομής πίνακα" #: libraries/config/messages.inc.php:59 -#, fuzzy #| msgid "Propose table structure" msgid "Hide table structure actions" -msgstr "Προτεινόμενη δομή πίνακα" +msgstr "Απόκρυψη ενεργειών δομής πίνακα" #: libraries/config/messages.inc.php:60 msgid "Show binary contents as HEX by default" @@ -4733,24 +4787,24 @@ msgid "Customize startup page" msgstr "Προσαρμογή σελίδας εκκίνησης" #: libraries/config/messages.inc.php:228 -#, fuzzy #| msgid "Database server" msgid "Database structure" -msgstr "Διακομιστής βάσης δεδομένων" +msgstr "Δομή βάσης δεδομένων" #: libraries/config/messages.inc.php:229 msgid "Choose which details to show in the database structure (list of tables)" msgstr "" +"Επιλέξτε ποιες λεπτομέρειες θα προβάλονται στη δομή της βάσης δεδομένων " +"(λίστα πινάκων)" #: libraries/config/messages.inc.php:230 -#, fuzzy #| msgid "Database server" msgid "Table structure" -msgstr "Διακομιστής βάσης δεδομένων" +msgstr "Δομή πίνακα" #: libraries/config/messages.inc.php:231 msgid "Settings for the table structure (list of columns)" -msgstr "" +msgstr "Ρυθμίσεις για τη δομή του πίνακα (λίστα στηλών)" #: libraries/config/messages.inc.php:232 msgid "Tabs" @@ -4920,10 +4974,9 @@ msgid "Minimum number of tables to display the table filter box" msgstr "Ελάχιστος αριθμός πινάκων για προβολή του πλαισίου φίλτρου πίνακα" #: libraries/config/messages.inc.php:281 -#, fuzzy #| msgid "Minimum number of tables to display the table filter box" msgid "Minimum number of databases to display the database filter box" -msgstr "Ελάχιστος αριθμός πινάκων για προβολή του πλαισίου φίλτρου πίνακα" +msgstr "Ελάχιστος αριθμός πινάκων για προβολή στο πλαίσιο φίλτρου πίνακα" #: libraries/config/messages.inc.php:282 msgid "String that separates databases into different tree levels" @@ -5825,32 +5878,36 @@ msgstr "Εμφάνιση φόρμας δημιουργίας βάσης δεδο #: libraries/config/messages.inc.php:460 msgid "Show or hide a column displaying the Creation timestamp for all tables" msgstr "" +"Εμφάνιση ή απόκρυψη μιας στήλης εμφανίζοντας τη χρονοσφραγίδα Δημιουργίας " +"για όλους τους πίνακες" #: libraries/config/messages.inc.php:461 -#, fuzzy #| msgid "Show more actions" msgid "Show Creation timestamp" -msgstr "Προβολή περισσοτέρων δράσεων" +msgstr "Προβολή χρονοσφραγίδας δημιουργίας" #: libraries/config/messages.inc.php:462 msgid "" "Show or hide a column displaying the Last update timestamp for all tables" msgstr "" +"Εμφάνιση ή απόκρυψη μιας στήλης που θα εμφανίζει τη χρονοσφραγίδα Τελευταίας " +"ενημέρωσης για όλους τους πίνακες" #: libraries/config/messages.inc.php:463 msgid "Show Last update timestamp" -msgstr "" +msgstr "Εμφάνιση χρονοσφραγίδας Τελευταίας ενημερώσης" #: libraries/config/messages.inc.php:464 msgid "" "Show or hide a column displaying the Last check timestamp for all tables" msgstr "" +"Εμφάνιση ή απόκρυψη μιας στήλης που θα εμφανίζει τη χρονοσφραγίδα Τελευταίου " +"ελέγχου για όλους τους πίνακες" #: libraries/config/messages.inc.php:465 -#, fuzzy #| msgid "Show master status" msgid "Show Last check timestamp" -msgstr "Προβολή κατάστασης πρωτεύοντος" +msgstr "Προβολή χρονοσφραγίδας τελευταίου ελέγχου" #: libraries/config/messages.inc.php:466 msgid "" @@ -6507,27 +6564,27 @@ msgstr "Μετατροπή κωδικοποίησης:" #: libraries/display_git_revision.lib.php:59 #, php-format msgid "%1$s from %2$s branch" -msgstr "" +msgstr "%1$s από %2$s κλάδο" #: libraries/display_git_revision.lib.php:61 msgid "no branch" -msgstr "" +msgstr "κανένας κλάδος" #: libraries/display_git_revision.lib.php:67 msgid "Git revision" -msgstr "" +msgstr "Αναθεώρηση git" #: libraries/display_git_revision.lib.php:70 -#, fuzzy, php-format +#, php-format #| msgid "Create version %1$s of %2$s" msgid "committed on %1$s by %2$s" -msgstr "Δημιουργία έκδοσης %1$s του %2$s" +msgstr "έγινε την %1$s από %2$s" #: libraries/display_git_revision.lib.php:78 -#, fuzzy, php-format +#, php-format #| msgid "Create version %1$s of %2$s" msgid "authored on %1$s by %2$s" -msgstr "Δημιουργία έκδοσης %1$s του %2$s" +msgstr "δημιουργήθηκε την %1$s από %2$s" #: libraries/display_import.lib.php:68 msgid "" @@ -6542,26 +6599,25 @@ msgstr "" #: libraries/display_import.lib.php:76 #, php-format msgid "%s of %s" -msgstr "" +msgstr "%s από %s" #: libraries/display_import.lib.php:85 -#, fuzzy #| msgid "Format of imported file" msgid "Uploading your import file..." -msgstr "Μορφή εισαχθέντος αρχείου" +msgstr "Αποστολή του αρχείου εισαγωγής σας..." #: libraries/display_import.lib.php:93 #, php-format msgid "%s/sec." -msgstr "" +msgstr "%s/δευτ." #: libraries/display_import.lib.php:100 msgid "About %MIN min. %SEC sec. remaining." -msgstr "" +msgstr "Απομένουν περίπου %MIN λεπτά %SEC δευτερόλεπτα." #: libraries/display_import.lib.php:104 msgid "About %SEC sec. remaining." -msgstr "" +msgstr "Απομένουν περίπου %SEC δευτερόλεπτα." #: libraries/display_import.lib.php:134 msgid "The file is being processed, please be patient." @@ -7164,7 +7220,6 @@ msgid "Add prefix" msgstr "Προσθήκη προθέματος" #: libraries/mult_submits.inc.php:309 -#, fuzzy #| msgid "Do you really want to execute following query?" msgid "Do you really want to execute the following query?" msgstr "Θέλετε να εκτελέσετε το ακόλουθο ερώτημα;" @@ -7418,7 +7473,7 @@ msgstr "Αδύνατη η χρήση του Blowfish από το mcrypt!" #: libraries/plugins/auth/AuthenticationCookie.class.php:81 msgid "Your session has expired. Please login again." -msgstr "" +msgstr "Η συνεδρία σας έληξε. Συνδεθείτε ξανά." #: libraries/plugins/auth/AuthenticationCookie.class.php:170 msgid "Log in" @@ -7658,16 +7713,14 @@ msgid "PHP Version" msgstr "Έκδοση PHP" #: libraries/plugins/export/ExportMediawiki.class.php:81 -#, fuzzy #| msgid "Export contents" msgid "Export table names" -msgstr "Εξαγωγή περιεχομένων" +msgstr "Εξαγωγή ονομάτων πινάκων" #: libraries/plugins/export/ExportMediawiki.class.php:87 -#, fuzzy #| msgid "horizontal (rotated headers)" msgid "Export table headers" -msgstr "οριζόντια (στραμμένες επικεφαλίδες)" +msgstr "Εξαγωγή κεφαλίδων πίνακα" #: libraries/plugins/export/ExportPdf.class.php:96 msgid "(Generates a report containing the data of a single table)" @@ -7726,10 +7779,9 @@ msgstr "" "λέξεις-κλειδιά)" #: libraries/plugins/export/ExportSql.class.php:354 -#, fuzzy #| msgid "Object creation options" msgid "Data creation options" -msgstr "Επιλογές μετατροπής αντικειμένου" +msgstr "Επιλογές δημιουργίας δεδομένων" #: libraries/plugins/export/ExportSql.class.php:358 #: libraries/plugins/export/ExportSql.class.php:1573 @@ -7927,10 +7979,10 @@ msgid "MediaWiki Table" msgstr "Πίνακας MediaWiki" #: libraries/plugins/import/ImportMediawiki.class.php:298 -#, fuzzy, php-format +#, php-format #| msgid "Invalid format of CSV input on line %d." msgid "Invalid format of mediawiki input on line:
    %s." -msgstr "Μη έγκυρη μορφή στο εισαχθέν CSV στη γραμμή %d." +msgstr "Μη έγκυρη μορφή του εισαγόμενου mediawiki στη γραμμή
    %s." #: libraries/plugins/import/ImportOds.class.php:73 msgid "Import percentages as proper decimals (ex. 12.00% to .12)" @@ -7991,13 +8043,16 @@ msgstr "Κώδικας XML" #: libraries/plugins/import/PMA_ShapeRecord.class.php:58 #, php-format msgid "Geometry type '%s' is not supported by MySQL." -msgstr "" +msgstr "Ο τύπος γεωμετρίας «%s» δεν υποστηρίζεται από την MySQL." #: libraries/plugins/transformations/abstract/AppendTransformationsPlugin.class.php:31 msgid "" "Appends text to a string. The only option is the text to be appended " "(enclosed in single quotes, default empty string)." msgstr "" +"Προστίθεται κείμενο σε μια συμβολοσειρά. Η μοναδική επιλογή είναι το κείμενο " +"να προσαρτηθεί (περικλειόμενο σε μονά εισαγωγικά, προεπιλογή η κενή " +"συμβολοσειρά)." #: libraries/plugins/transformations/abstract/DateFormatTransformationsPlugin.class.php:31 msgid "" @@ -8033,7 +8088,6 @@ msgstr "" "επιλογή ως κενό." #: libraries/plugins/transformations/abstract/ExternalTransformationsPlugin.class.php:31 -#, fuzzy #| msgid "" #| "LINUX ONLY: Launches an external application and feeds it the column data " #| "via standard input. Returns the standard output of the application. The " @@ -8060,15 +8114,15 @@ msgstr "" "ΜΟΝΟ ΓΙΑ LINUX: Εκτελεί μία εξωτερική εφαρμογή και στέλνει τα δεδομένα μέσω " "«βασικής εισαγωγής». Επιστρέφει το αποτέλεσμα της εφαρμογής. Προεπιλεγμένη " "τιμή είναι το Tidy, που τυπώνει μορφοποιημένο κώδικα HTML. Για λόγους " -"ασφαλείες, πρέπει χειροκίνητα να αλλάξετε το αρχείο libraries/" -"transformations/text_plain__external.inc.php και να εισάγετε τις εφαρμογές " -"που εσείς επιτρέπετε να εκτελούνται. Η πρώτη επιλογή είναι ο αριθμός της " -"εφαρμογής που θέλετε να χρησιμοποιήσετε και η δεύτερη επιλογή είναι οι " -"παράμετροι της. Η τρίτη επιλογή, αν τεθεί σε 1 θα μετατρέψει το αποτέλεσμα " -"χρησιμοποιώντας την εντολή htmlspecialchars() (Προεπιλεγμένη τιμή: 1). Η " -"τέταρτη επιλογή, αν τεθεί σε 1 θα εισάγει NOWRAP στο κελί περιεχομένου ούτως " -"ώστε όλο το αποτέλεσμα να εμφανιστεί χωρίς αλλαγές στην διάταξη " -"(Προεπιλεγμένη τιμή: 1)." +"ασφαλείας, πρέπει χειροκίνητα να αλλάξετε το αρχείο " +"libraries/transformations/text_plain__external.inc.php και να εισάγετε τα " +"εργαλεία που εσείς θέλετε να είναι διαθέσιμα. Η πρώτη επιλογή είναι ο " +"αριθμός της εφαρμογής που θέλετε να χρησιμοποιήσετε και η δεύτερη επιλογή " +"είναι οι παράμετροι της. Η τρίτη επιλογή, αν τεθεί σε 1 θα μετατρέψει το " +"αποτέλεσμα χρησιμοποιώντας την εντολή htmlspecialchars() (Προεπιλεγμένη " +"τιμή: 1). Η τέταρτη επιλογή, αν τεθεί σε 1 θα εισάγει NOWRAP στο κελί " +"περιεχομένου ούτως ώστε όλο το αποτέλεσμα να εμφανιστεί χωρίς αλλαγές στην " +"διάταξη (Προεπιλεγμένη τιμή: 1)." #: libraries/plugins/transformations/abstract/FormattedTransformationsPlugin.class.php:31 msgid "" @@ -8493,7 +8547,6 @@ msgid "Returns" msgstr "Επιστροφές" #: libraries/rte/rte_routines.lib.php:69 -#, fuzzy #| msgid "" #| "You are using PHP's deprecated 'mysql' extension, which is not capable of " #| "handling multi queries. The execution of some stored routines may fail!" @@ -8505,9 +8558,9 @@ msgid "" "problems." msgstr "" "Χρησιμοποιείτε την μη υποστηριζόμενη πλέον επέκταση «mysql» της PHP, η οποία " -"δεν μπορεί να διαχειριστεί πολλαπλά ερωτήματα. Η εκτέλεση ορισμένων " -"αποθηκευμένων ερωτημάτων ίσως αποτύχουν! Χρησιμοποιήστε τη βελτιωμένη " -"επέκταση «mysqli» για να αποφύγετε προβλήματα." +"δεν μπορεί να διαχειριστεί πολλαπλά ερωτήματα. [strong]Η εκτέλεση ορισμένων " +"αποθηκευμένων ερωτημάτων ίσως αποτύχουν![/strong] Χρησιμοποιήστε τη " +"βελτιωμένη επέκταση «mysqli» για να αποφύγετε προβλήματα." #: libraries/rte/rte_routines.lib.php:282 #: libraries/rte/rte_routines.lib.php:1068 @@ -9551,10 +9604,9 @@ msgid "Index" msgstr "Ευρετήριο" #: libraries/tbl_properties.inc.php:123 -#, fuzzy #| msgid "Remove column(s)" msgid "Move column" -msgstr "Απομάκρυνση στήλης(ών)" +msgstr "Απομάκρυνση στήλης" #: libraries/tbl_properties.inc.php:132 #, php-format @@ -9610,13 +9662,13 @@ msgstr "Πλήρες κείμενο" #: libraries/tbl_properties.inc.php:603 msgid "first" -msgstr "" +msgstr "πρώτη" #: libraries/tbl_properties.inc.php:613 -#, fuzzy, php-format +#, php-format #| msgid "After %s" msgid "after %s" -msgstr "Μετά το %s" +msgstr "μετά το %s" #: libraries/tbl_properties.inc.php:729 tbl_structure.php:697 #, php-format @@ -9846,10 +9898,9 @@ msgid "No databases" msgstr "Δεν υπάρχουν βάσεις δεδομένων" #: navigation.php:171 -#, fuzzy #| msgid "Filter tables by name" msgid "Filter databases by name" -msgstr "Φιλτράρισμα πινάκων κατά όνομα" +msgstr "Φιλτράρισμα βάσεων δεδομενων κατά όνομα" #: navigation.php:243 msgid "Filter tables by name" @@ -12135,10 +12186,9 @@ msgid "Table %1$s has been altered successfully" msgstr "Ο πίνακας %1$s αλλάχτηκε επιτυχώς" #: tbl_alter.php:133 -#, fuzzy #| msgid "The selected users have been deleted successfully." msgid "The columns have been moved successfully." -msgstr "Οι επιλεγμένοι χρήστες διεγράφησαν επιτυχώς." +msgstr "Οι στήλες μετακινήθηκαν επιτυχώς." #: tbl_chart.php:83 msgctxt "Chart type" @@ -12467,10 +12517,9 @@ msgid "Spatial" msgstr "Χωρική" #: tbl_structure.php:161 tbl_structure.php:165 -#, fuzzy #| msgid "Browse distinct values" msgid "Distinct values" -msgstr "Αναζήτηση διακριτων τιμών" +msgstr "Διακριτές τιμές" #: tbl_structure.php:166 tbl_structure.php:167 msgid "Add primary key" @@ -12515,14 +12564,13 @@ msgid "Show more actions" msgstr "Προβολή περισσοτέρων δράσεων" #: tbl_structure.php:619 tbl_structure.php:686 -#, fuzzy #| msgid "Remove column(s)" msgid "Move columns" -msgstr "Απομάκρυνση στήλης(ών)" +msgstr "Απομάκρυνση στήλης" #: tbl_structure.php:620 msgid "Move the columns by dragging them up and down." -msgstr "" +msgstr "Μετακινήστε τις στήλες, σύροντας τες επάνω και κάτω." #: tbl_structure.php:646 msgid "Edit view" diff --git a/po/th.po b/po/th.po index 638a294c15..3a56f66995 100644 --- a/po/th.po +++ b/po/th.po @@ -4,15 +4,15 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-07-27 10:40+0200\n" -"PO-Revision-Date: 2012-04-21 15:20+0200\n" -"Last-Translator: Setthawut Sawaengkit \n" -"Language-Team: thai \n" +"PO-Revision-Date: 2012-08-08 08:31+0200\n" +"Last-Translator: Anusuk Sangubon \n" +"Language-Team: Thai \n" "Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 0.10\n" +"X-Generator: Weblate 1.2\n" #: browse_foreigners.php:36 browse_foreigners.php:60 js/messages.php:354 #: libraries/DisplayResults.class.php:794 @@ -1751,7 +1751,7 @@ msgstr "เวลาที่ทำคำสั่ง" #: libraries/DisplayResults.class.php:714 #, php-format msgid "%d is not valid row number." -msgstr "" +msgstr "%d ไม่ใช่หมายเลขแถวที่ถูกต้อง" #: js/messages.php:291 libraries/config/FormDisplay.tpl.php:387 #: libraries/insert_edit.lib.php:1483 @@ -1783,8 +1783,9 @@ msgid "Hovering over a point will show its label." msgstr "นำตัวชี้วางเพื่อแสดงคำกำกับ" #: js/messages.php:304 +#, fuzzy msgid "To zoom in, select a section of the plot with the mouse." -msgstr "" +msgstr "เมื่อต้องการย่อ/ขยาย เลือกส่วนของจุดโดยใช้เมาส์" #: js/messages.php:306 #, fuzzy @@ -1797,8 +1798,9 @@ msgid "Click a data point to view and possibly edit the data row." msgstr "คลิก จุดข้อมูล เพื่อดูหรือแก้ไขแถวข้อมูล" #: js/messages.php:310 +#, fuzzy msgid "The plot can be resized by dragging it along the bottom right corner." -msgstr "ขนาดจุดสามารถเปลี่ยนได้ที่ขวาล่าง" +msgstr "จุดสามารถปรับขนาดได้ โดยการลากไปมุมขวาด้านล่าง" #: js/messages.php:312 msgid "Select two columns" @@ -2921,8 +2923,8 @@ msgid "" "Error moving the uploaded file, see [a@./Documentation." "html#faq1_11@Documentation]FAQ 1.11[/a]" msgstr "" -"มีข้อผิดพลาดขนาดย้ายไฟล์อัพหลด กรุณาดู [a@./Documentation.html#faq1_11@Documentation]" -"FAQ 1.11[/a]" +"มีข้อผิดพลาดระหว่างการอัพโหลด กรุณาดู " +"[a@./Documentation.html#faq1_11@Documentation]FAQ 1.11[/a]" #: libraries/File.class.php:485 msgid "Error while moving uploaded file." @@ -3189,12 +3191,14 @@ msgstr "" "['MaxTableUiprefs'] %s)" #: libraries/Table.class.php:1563 -#, php-format +#, fuzzy, php-format msgid "" "Cannot save UI property \"%s\". The changes made will not be persistent " "after you refresh this page. Please check if the table structure has been " "changed." msgstr "" +"ไม่สามารถบันทึกคุณสมบัติ UI \"% s\" ได้ การเปลี่ยนแปลงจะมีผล " +"หลังจากคุณรีเฟรชหน้านี้ โปรดตรวจสอบหากมีการเปลี่ยนโครงสร้างของตาราง" #: libraries/TableSearch.class.php:194 libraries/insert_edit.lib.php:231 #: libraries/insert_edit.lib.php:237 libraries/rte/rte_routines.lib.php:1488 @@ -3291,7 +3295,7 @@ msgstr "เริ่มใหม่" #: libraries/Theme.class.php:169 #, php-format msgid "No valid image path for theme %s found!" -msgstr "" +msgstr "ไม่มีเส้นทางรูปภาพที่ถูกต้องสำหรับชุดรูปแบบ %s ที่พบ" #: libraries/Theme.class.php:458 msgid "No preview available." @@ -3299,26 +3303,26 @@ msgstr "ไม่สามารถแสดงตัวอย่างได้ #: libraries/Theme.class.php:460 msgid "take it" -msgstr "" +msgstr "ลงมือ" #: libraries/Theme_Manager.class.php:137 -#, php-format +#, fuzzy, php-format msgid "Default theme %s not found!" -msgstr "" +msgstr "เริ่มต้นชุดรูปแบบ %s ไม่พบ" #: libraries/Theme_Manager.class.php:194 #, php-format msgid "Theme %s not found!" -msgstr "" +msgstr "ชุดรูปแบบ %s ไม่พบ" #: libraries/Theme_Manager.class.php:271 -#, php-format +#, fuzzy, php-format msgid "Theme path not found for theme %s!" -msgstr "" +msgstr "เส้นทางของชุดรูปแบบ %s ไม่พบ" #: libraries/Theme_Manager.class.php:363 themes.php:16 themes.php:21 msgid "Theme" -msgstr "" +msgstr "ชุดรูปแบบ" #: libraries/Types.class.php:295 msgid "" @@ -3612,7 +3616,7 @@ msgstr "" #: libraries/bookmark.lib.php:83 msgid "shared" -msgstr "" +msgstr "ใช้ร่วมกัน" #: libraries/build_html_for_db.lib.php:26 #: libraries/config/messages.inc.php:187 @@ -3713,7 +3717,7 @@ msgstr "" #: libraries/common.inc.php:1083 msgid "possible exploit" -msgstr "" +msgstr "ใช้ประโยชน์ได้" #: libraries/common.inc.php:1092 msgid "numeric key detected" @@ -7209,7 +7213,7 @@ msgstr "รูปแบบนี้ไม่มีตัวเลือก" #: libraries/plugins/auth/AuthenticationConfig.class.php:73 msgid "Cannot connect: invalid settings." -msgstr "" +msgstr "ไม่สามารถเชื่อมต่อ: ตั้งค่าไม่ถูกต้อง" #: libraries/plugins/auth/AuthenticationConfig.class.php:85 #: libraries/plugins/auth/AuthenticationCookie.class.php:140 @@ -7224,6 +7228,8 @@ msgid "" "You probably did not create a configuration file. You might want to use the " "%1$ssetup script%2$s to create one." msgstr "" +"คุณคงไม่ได้สร้างแฟ้มการกำหนดค่า คุณอาจต้องการใช้ %1$ssetup script%2$s " +"เพื่อสร้างอย่างใดอย่างหนึ่ง" #: libraries/plugins/auth/AuthenticationConfig.class.php:121 msgid "" @@ -7232,6 +7238,10 @@ msgid "" "configuration and make sure that they correspond to the information given by " "the administrator of the MySQL server." msgstr "" +"phpMyAdmin พยายามเชื่อมต่อไปยังเซิร์ฟเวอร์ MySQL " +"และเซิร์ฟเวอร์ได้ปฏิเสธการเชื่อมต่อดังกล่าว คุณควรตรวจสอบโฮสต์ " +"ชื่อผู้ใช้และรหัสผ่านในการกำหนดค่าของคุณ และให้แน่ใจว่าค่าต่างๆ " +"สอดคล้องกับข้อมูลที่กำหนดไว้ โดยผู้ดูแลระบบของเซิร์ฟเวอร์ MySQL แล้ว" #: libraries/plugins/auth/AuthenticationCookie.class.php:42 msgid "Failed to use Blowfish from mcrypt!" @@ -7270,13 +7280,13 @@ msgstr "ตัวเลือกเซิร์ฟเวอร์" #: libraries/plugins/auth/AuthenticationSignon.class.php:249 msgid "" "Login without a password is forbidden by configuration (see AllowNoPassword)" -msgstr "" +msgstr "ห้ามกำหนดค่า สำหรับการเข้าสู่ระบบโดยไม่มีรหัสผ่าน (ดู AllowNoPassword)" #: libraries/plugins/auth/AuthenticationCookie.class.php:578 #: libraries/plugins/auth/AuthenticationSignon.class.php:256 #, php-format msgid "No activity within %s seconds; please log in again" -msgstr "" +msgstr "ไม่มีกิจกรรมภายใน %s วินาที กรุณาล็อกอินอีกครั้ง" #: libraries/plugins/auth/AuthenticationCookie.class.php:591 #: libraries/plugins/auth/AuthenticationCookie.class.php:593 @@ -7290,25 +7300,25 @@ msgstr "อนุญาตให้เข้าใช้ไม่ได้ ช #: libraries/plugins/auth/AuthenticationSignon.class.php:102 msgid "Can not find signon authentication script:" -msgstr "" +msgstr "สามารถค้นหา signon สำหรับตรวจสอบสคริปต์:" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:132 #, php-format msgid "File %s does not contain any key id" -msgstr "" +msgstr "แฟ้ม %s ไม่ควรประกอบไปด้วยรหัสคีย์ใดๆ" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:174 #: libraries/plugins/auth/swekey/swekey.auth.lib.php:194 msgid "Hardware authentication failed" -msgstr "" +msgstr "ตรวจสอบฮาร์ดแวร์ล้มเหลว" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:181 msgid "No valid authentication key plugged" -msgstr "" +msgstr "ไม่มีคีย์รับรองความถูกต้อง" #: libraries/plugins/auth/swekey/swekey.auth.lib.php:214 msgid "Authenticating..." -msgstr "" +msgstr "กำลังตรวจสอบ..." #: libraries/plugins/export/ExportCsv.class.php:112 #: libraries/plugins/import/ImportCsv.class.php:78 diff --git a/sql.php b/sql.php index 5c2344e681..ac2e362823 100644 --- a/sql.php +++ b/sql.php @@ -766,6 +766,34 @@ if (isset($GLOBALS['show_as_php']) || ! empty($GLOBALS['validatequery'])) { // No rows returned -> move back to the calling page if ((0 == $num_rows && 0 == $unlim_num_rows) || $is_affected) { + + // Delete related tranformation information + if (!empty($analyzed_sql[0]['querytype']) + && (($analyzed_sql[0]['querytype'] == 'ALTER') + || ($analyzed_sql[0]['querytype'] == 'DROP')) + ) { + + require_once 'libraries/transformations.lib.php'; + if ($analyzed_sql[0]['querytype'] == 'ALTER') { + + if (stripos($analyzed_sql[0]['unsorted_query'], 'DROP') !== false) { + + $drop_column = PMA_getColumnNameInColumnDropSql( + $analyzed_sql[0]['unsorted_query'] + ); + + if ($drop_column != '') { + PMA_clearTransformations($db, $table, $drop_column); + } + + } + + } else if (($analyzed_sql[0]['querytype'] == 'DROP') && ($table != '')) { + PMA_clearTransformations($db, $table); + } + + } + if ($is_delete) { $message = PMA_Message::deleted_rows($num_rows); } elseif ($is_insert) { @@ -1472,5 +1500,34 @@ function PMA_getSqlWithLimitClause($full_sql_query, $analyzed_sql, $sql_limit_to return $analyzed_sql[0]['section_before_limit'] . "\n" . $sql_limit_to_append . $analyzed_sql[0]['section_after_limit']; } + + +/** + * Get column name from a drop SQL statement + * + * @param string $sql SQL query + * + * @return string $drop_column Name of the column + */ +function PMA_getColumnNameInColumnDropSql($sql) +{ + + $tmpArray1 = explode('DROP', $sql); + $str_to_check = trim($tmpArray1[1]); + + if (stripos($str_to_check, 'COLUMN') !== false) { + $tmpArray2 = explode('COLUMN', $str_to_check); + $str_to_check = trim($tmpArray2[1]); + } + + $tmpArray3 = explode(' ', $str_to_check); + $str_to_check = trim($tmpArray3[0]); + + $drop_column = str_replace(';', '', trim($str_to_check)); + $drop_column = str_replace('`', '', $drop_column); + + return $drop_column; + +} ?> diff --git a/tbl_operations.php b/tbl_operations.php index 375db1a0b5..4ec747ec1c 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -180,7 +180,7 @@ if (isset($result) && empty($message_to_show)) { $_type = 'success'; if (empty($_message)) { $_message = $result - ? $message = PMA_Message::success( + ? PMA_Message::success( __('Your SQL query has been executed successfully') ) : PMA_Message::error(__('Error')); diff --git a/tbl_select.php b/tbl_select.php index 1e1c615d7b..7bc67d1856 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -41,7 +41,7 @@ $table_search = new PMA_TableSearch($db, $table, "normal"); /** * Not selection yet required -> displays the selection form */ -if (! isset($_POST['columnsToDisplay']) || $_POST['columnsToDisplay'][0] == '') { +if (! isset($_POST['columnsToDisplay']) && ! isset($_POST['displayAllColumns'])) { // Gets some core libraries include_once 'libraries/tbl_common.inc.php'; //$err_url = 'tbl_select.php' . $err_url; diff --git a/test/classes/PMA_DisplayResults_test.php b/test/classes/PMA_DisplayResults_test.php index 5da925cb57..d47c2e5ffc 100644 --- a/test/classes/PMA_DisplayResults_test.php +++ b/test/classes/PMA_DisplayResults_test.php @@ -844,7 +844,7 @@ class PMA_DisplayResults_test extends PHPUnit_Framework_TestCase 'DELETE FROM `data`.`new` WHERE `new`.`id` = 1', '[%_PMA_CHECKBOX_DIR_%]', 'odd row_0 vpointer vmarker', - ' ' + ' ' ) ); } @@ -1070,7 +1070,7 @@ class PMA_DisplayResults_test extends PHPUnit_Framework_TestCase 'Copy Copy', 'Delete Delete', 'DELETE FROM `data`.`new` WHERE `new`.`id` = 1', - ' + ' Edit Edit Copy Copy @@ -1167,7 +1167,7 @@ class PMA_DisplayResults_test extends PHPUnit_Framework_TestCase Copy Copy Edit Edit - ' + ' ) ); } @@ -1252,7 +1252,7 @@ class PMA_DisplayResults_test extends PHPUnit_Framework_TestCase 'Copy Copy', 'Delete Delete', 'DELETE FROM `data`.`new` WHERE `new`.`id` = 1', - ' ' + ' ' ) ); } @@ -1351,7 +1351,7 @@ class PMA_DisplayResults_test extends PHPUnit_Framework_TestCase 'Copy Copy', 'Delete Delete', null, - ' ' + ' ' ) ); } diff --git a/test/libraries/PMA_Zip_test.php b/test/libraries/PMA_Zip_test.php new file mode 100644 index 0000000000..12f28a545b --- /dev/null +++ b/test/libraries/PMA_Zip_test.php @@ -0,0 +1,102 @@ +object = $this->getMockForAbstractClass('ZipFile'); + + } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + * + * @access protected + * @return void + */ + protected function tearDown() + { + unset($this->object); + } + + /** + * Test for setDoWrite + */ + public function testSetDoWrite(){ + $this->object->setDoWrite(); + $this->assertTrue($this->object->doWrite); + } + + /** + * Test for unix2DosTime + * + * @param $unixtime + * @param $output + * + * @dataProvider providerForTestUnix2DosTime + */ + public function testUnix2DosTime($unixTime, $output){ + $this->assertEquals( + $this->object->unix2DosTime($unixTime), + $output + ); + } + + public function providerForTestUnix2DosTime(){ + return array( + array( + 123456, + 2162688 + ), + array( + 234232, + 2162688 + ), + ); + } + + /** + * Test for addFile + */ + public function testAddFile(){ + $this->assertEquals( + $this->object->addFile('This is test content for the file', 'Test file'), + '' + ); + $this->assertTrue(!empty($this->object->ctrl_dir)); + } + + /** + * Test for file + */ + public function testFile(){ + $file = $this->object->file(); + $this->assertTrue( + !empty($file) + ); + } +} diff --git a/view_create.php b/view_create.php index 2764adb77c..d5644fb275 100644 --- a/view_create.php +++ b/view_create.php @@ -63,6 +63,34 @@ if (isset($_REQUEST['createview'])) { } if (PMA_DBI_try_query($sql_query)) { + + require_once './libraries/tbl_views.lib.php'; + + // If different column names defined for VIEW + $view_columns = array(); + if (isset($_REQUEST['view']['column_names'])) { + $view_columns = explode(',', $_REQUEST['view']['column_names']); + } + + $column_map = PMA_getColumnMap($_REQUEST['view']['as'], $view_columns); + $pma_tranformation_data = PMA_getExistingTranformationData($GLOBALS['db']); + + if ($pma_tranformation_data !== false) { + + // SQL for store new transformation details of VIEW + $new_transformations_sql = PMA_getNewTransformationDataSql( + $pma_tranformation_data, $column_map, $_REQUEST['view']['name'], + $GLOBALS['db'] + ); + + // Store new transformations + if ($new_transformations_sql != '') { + PMA_DBI_try_query($new_transformations_sql); + } + + } + unset($pma_tranformation_data); + if ($GLOBALS['is_ajax_request'] != true) { $message = PMA_Message::success(); include './' . $cfg['DefaultTabDatabase']; @@ -75,7 +103,9 @@ if (isset($_REQUEST['createview'])) { ) ); } + exit; + } else { if ($GLOBALS['is_ajax_request'] != true) { $message = PMA_Message::rawError(PMA_DBI_getError());