From 2a0c5f20825e1111b619e77b9b5adb40d6f49257 Mon Sep 17 00:00:00 2001 From: Smita Kumari Date: Sat, 21 Mar 2015 23:21:29 +0530 Subject: [PATCH 1/5] added unit tests for multi-edit on central colums page plus coding style fix Signed-off-by: Smita Kumari --- test/libraries/PMA_central_columns_test.php | 175 +++++++++++++++++--- 1 file changed, 154 insertions(+), 21 deletions(-) diff --git a/test/libraries/PMA_central_columns_test.php b/test/libraries/PMA_central_columns_test.php index e2d6fcc201..4b3251d501 100644 --- a/test/libraries/PMA_central_columns_test.php +++ b/test/libraries/PMA_central_columns_test.php @@ -34,17 +34,19 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase private $_columnData = array( array( 'col_name' => "id", "col_type" => 'integer', - 'col_length' => 0, 'col_isNull' => 0, 'col_extra' => 'UNSIGNED,auto_increment', - 'col_default' => 1 + 'col_length' => 0, 'col_isNull' => 0, + 'col_extra' => 'UNSIGNED,auto_increment', + 'col_default' => 1, 'col_collation' => '' ), array('col_name' => "col1", 'col_type' => 'varchar', 'col_length' => 100, 'col_isNull' => 1, 'col_extra' => 'BINARY', - 'col_default' => 1 + 'col_default' => 1, 'col_collation' => '' ), array( 'col_name' => "col2", 'col_type' => 'DATETIME', - 'col_length' => 0, 'col_isNull' => 1, 'col_extra' => 'on update CURRENT_TIMESTAMP', - 'col_default' => 'CURRENT_TIMESTAMP' + 'col_length' => 0, 'col_isNull' => 1, + 'col_extra' => 'on update CURRENT_TIMESTAMP', + 'col_default' => 'CURRENT_TIMESTAMP', 'col_collation' => '' ) ); @@ -52,16 +54,17 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase array( 'col_name' => "id", "col_type" => 'integer', 'col_length' => 0, 'col_isNull' => 0, 'col_extra' => 'auto_increment', - 'col_default' => 1, 'col_attribute' => 'UNSIGNED' + 'col_default' => 1, 'col_collation' => '', 'col_attribute' => 'UNSIGNED' ), array('col_name' => "col1", 'col_type' => 'varchar', 'col_length' => 100, 'col_isNull' => 1, 'col_extra' => '', - 'col_default' => 1, 'col_attribute' => 'BINARY' + 'col_default' => 1, 'col_collation' => '', 'col_attribute' => 'BINARY' ), array( 'col_name' => "col2", 'col_type' => 'DATETIME', 'col_length' => 0, 'col_isNull' => 1, 'col_extra' => '', - 'col_default' => 'CURRENT_TIMESTAMP', 'col_attribute' => 'on update CURRENT_TIMESTAMP' + 'col_default' => 'CURRENT_TIMESTAMP', 'col_collation' => '', + 'col_attribute' => 'on update CURRENT_TIMESTAMP' ) ); @@ -157,14 +160,22 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase { $GLOBALS['dbi']->expects($this->at(1)) ->method('fetchResult') - ->with("SELECT * FROM `pma_central_columns` WHERE db_name = 'phpmyadmin' LIMIT 0, 25;", null, null, $GLOBALS['controllink']) + ->with( + "SELECT * FROM `pma_central_columns` " + . "WHERE db_name = 'phpmyadmin' LIMIT 0, 25;", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue($this->_columnData) ); $GLOBALS['dbi']->expects($this->at(3)) ->method('fetchResult') - ->with("SELECT * FROM `pma_central_columns` WHERE db_name = 'phpmyadmin' LIMIT 1, 2;", null, null, $GLOBALS['controllink']) + ->with( + "SELECT * FROM `pma_central_columns` " + . "WHERE db_name = 'phpmyadmin' LIMIT 1, 2;", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue( array_slice($this->_columnData, 1, 2) @@ -190,7 +201,11 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase { $GLOBALS['dbi']->expects($this->at(1)) ->method('fetchResult') - ->with("SELECT count(db_name) FROM `pma_central_columns` WHERE db_name = 'phpmyadmin';", null, null, $GLOBALS['controllink']) + ->with( + "SELECT count(db_name) FROM `pma_central_columns` " + . "WHERE db_name = 'phpmyadmin';", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue(array(3)) ); @@ -229,14 +244,22 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase // when column exists in the central column list $GLOBALS['dbi']->expects($this->at(2)) ->method('fetchResult') - ->with("SELECT col_name FROM `pma_central_columns` WHERE db_name = 'PMA_db' AND col_name IN ('col1');", null, null, $GLOBALS['controllink']) + ->with( + "SELECT col_name FROM `pma_central_columns` " + . "WHERE db_name = 'PMA_db' AND col_name IN ('col1');", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue(array('col1')) ); $GLOBALS['dbi']->expects($this->at(4)) ->method('tryQuery') - ->with("DELETE FROM `pma_central_columns` WHERE db_name = 'PMA_db' AND col_name IN ('col1');", $GLOBALS['controllink']) + ->with( + "DELETE FROM `pma_central_columns` " + . "WHERE db_name = 'PMA_db' AND col_name IN ('col1');", + $GLOBALS['controllink'] + ) ->will( $this->returnValue(array('col1')) ); @@ -289,7 +312,11 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase $GLOBALS['dbi']->expects($this->at(3)) ->method('fetchResult') - ->with("SELECT col_name FROM `pma_central_columns` WHERE db_name = 'PMA_db' AND col_name IN ('id','col1','col2');", null, null, $GLOBALS['controllink']) + ->with( + "SELECT col_name FROM `pma_central_columns` " + . "WHERE db_name = 'PMA_db' AND col_name IN ('id','col1','col2');", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue(array('id','col1')) ); @@ -311,7 +338,11 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase $GLOBALS['dbi']->expects($this->at(3)) ->method('fetchResult') - ->with("SELECT * FROM `pma_central_columns` WHERE db_name = 'PMA_db' AND col_name IN ('id','col1','col2');", null, null, $GLOBALS['controllink']) + ->with( + "SELECT * FROM `pma_central_columns` " + . "WHERE db_name = 'PMA_db' AND col_name IN ('id','col1','col2');", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue(array_slice($this->_columnData, 0, 2)) ); @@ -330,16 +361,83 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase { $this->assertTrue( PMA_updateOneColumn( - "phpmyadmin", "", "", "", "","", "", "", "", "" + "phpmyadmin", "", "", "", "", "", "", "", "", "" ) ); $this->assertTrue( PMA_updateOneColumn( - "phpmyadmin", "col1", "", "", "","", "", "", "", "" + "phpmyadmin", "col1", "", "", "", "", "", "", "", "" ) ); } + /** + * Test for PMA_updateMultipleColumn + * + * @return void + */ + public function testPMAUpdateMultipleColumn() + { + $_POST['db'] = 'phpmyadmin'; + $_POST['orig_col_name'] = array("col1","col2"); + $_POST['field_name'] = array("col1","col2"); + $_POST['field_default_type'] = array("",""); + $_POST['col_extra'] = array("",""); + $_POST['field_length'] = array("",""); + $_POST['field_attribute'] = array("",""); + $_POST['field_type'] = array("",""); + $_POST['field_collation'] = array("",""); + $this->assertTrue( + PMA_updateMultipleColumn() + ); + + } + + /** + * Test for PMA_getHTMLforEditingPage + * + * @return void + */ + public function testPMAGetHTMLforEditingPage() + { + $GLOBALS['dbi']->expects($this->any()) + ->method('fetchResult') + ->with( + "SELECT * FROM `pma_central_columns` " + . "WHERE db_name = 'phpmyadmin' AND col_name IN ('col1','col2');", + null, null, $GLOBALS['controllink'] + ) + ->will( + $this->returnValue($this->_columnData) + ); + $result = PMA_getHTMLforEditingPage( + array("col1", "col2"), 'phpmyadmin' + ); + $this->assertTag( + array('tag' => 'form'), + $result + ); + $header_cells = array( + __('Name'), __('Type'), __('Length/Values'), __('Default'), + __('Collation'), __('Attributes'), __('Null'), __('A_I') + ); + $this->assertContains( + PMA_getCentralColumnsEditTableHeader($header_cells), $result + ); + $list_detail_cols = PMA_findExistingColNames( + 'phpmyadmin', "'col1','col2'", true + ); + $this->assertContains( + PMA_getHTMLforCentralColumnsEditTableRow( + $list_detail_cols[0], false, 0 + ), $result + ); + $this->assertContains( + PMA_getCentralColumnsEditTableFooter(), $result + ); + + } + /** * Test for PMA_getHTMLforTableNavigation * @@ -469,7 +567,11 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase { $GLOBALS['dbi']->expects($this->at(1)) ->method('fetchResult') - ->with("SELECT * FROM `pma_central_columns` WHERE db_name = 'phpmyadmin';", null, null, $GLOBALS['controllink']) + ->with( + "SELECT * FROM `pma_central_columns` " + . "WHERE db_name = 'phpmyadmin';", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue($this->_columnData) ); @@ -488,7 +590,12 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase { $GLOBALS['dbi']->expects($this->at(3)) ->method('fetchResult') - ->with("SELECT * FROM `pma_central_columns` WHERE db_name = 'phpmyadmin' AND col_name NOT IN ('id','col1','col2');", null, null, $GLOBALS['controllink']) + ->with( + "SELECT * FROM `pma_central_columns` " + . "WHERE db_name = 'phpmyadmin' AND col_name " + . "NOT IN ('id','col1','col2');", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue($this->_columnData) ); @@ -542,7 +649,11 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase { $GLOBALS['dbi']->expects($this->at(1)) ->method('fetchResult') - ->with("SELECT * FROM `pma_central_columns` WHERE db_name = 'phpmyadmin' AND col_name IN ('col1');", null, null, $GLOBALS['controllink']) + ->with( + "SELECT * FROM `pma_central_columns` WHERE db_name = 'phpmyadmin'" + . " AND col_name IN ('col1');", + null, null, $GLOBALS['controllink'] + ) ->will( $this->returnValue(array_slice($this->_columnData, 1, 1)) ); @@ -581,7 +692,8 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase $selected_tbl = 'PMA_table'; $result = PMA_getHTMLforColumnDropdown($db, $selected_tbl); $this->assertEquals( - '', + '' + . '', $result ); } @@ -603,4 +715,25 @@ class PMA_Central_Columns_Test extends PHPUnit_Framework_TestCase $result ); } + + /** + * Test for PMA_getCentralColumnsTableFooter + * + * @return void + */ + public function testPMAGetCentralColumnsTableFooter() + { + $pmaThemeImage = "pmaThemeImage"; + $text_dir = "text_dir"; + if (!defined("PMA_USR_BROWSER_AGENT")) { + define("PMA_USR_BROWSER_AGENT", "other"); + } + $result = PMA_getCentralColumnsTableFooter($pmaThemeImage, $text_dir); + $this->assertTag(array('tag'=>"input", "class"=>"checkall_box"), $result); + $this->assertContains("With selected:", $result); + $this->assertTag( + array('tag'=>"button", "class"=>"change_central_columns"), + $result + ); + } } From 6a416b76af708b8733bfe606d8874ca013311b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20=C3=9Ar?= Date: Sun, 22 Mar 2015 21:19:55 +0100 Subject: [PATCH 2/5] Translated using Weblate (Hungarian) Currently translated at 100.0% (3040 of 3040 strings) [CI skip] --- po/hu.po | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/po/hu.po b/po/hu.po index 7684bad429..97900b771d 100644 --- a/po/hu.po +++ b/po/hu.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.5.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2015-03-22 07:35-0400\n" -"PO-Revision-Date: 2015-03-19 22:12+0200\n" +"PO-Revision-Date: 2015-03-22 21:19+0200\n" "Last-Translator: Balázs Úr \n" -"Language-Team: Hungarian \n" +"Language-Team: Hungarian " +"\n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -5349,6 +5349,10 @@ msgid "" "MySQL server is enabled by matching the IP or hostname of the MySQL server " "to the given regular expression." msgstr "" +"Korlátozza azokat a MySQL kiszolgálókat, amelyekre a felhasználó be tud " +"lépni, amikor egy önkényes MySQL kiszolgálóra való bejelentkezés " +"engedélyezve van a megadott reguláris kifejezésre illeszkedő MySQL " +"kiszolgáló IP-címével vagy gépnevével." #: libraries/config/messages.inc.php:25 msgid "Restrict login to MySQL server" @@ -5542,16 +5546,14 @@ msgid "Default table tab" msgstr "Alapértelmezett tábla fül" #: libraries/config/messages.inc.php:94 -#, fuzzy #| msgid "Enclose table and column names with backquotes" msgid "Autocomplete of the table and column names in the SQL queries." -msgstr "Idézőjelek használata a tábla- és mezőneveknél" +msgstr "Tábla- és oszlopnevek automatikus kiegészítése az SQL lekérdezésekben." #: libraries/config/messages.inc.php:95 -#, fuzzy #| msgid "Enclose table and column names with backquotes" msgid "Enable autocomplete for table and column names" -msgstr "Idézőjelek használata a tábla- és mezőneveknél" +msgstr "Automatikus kiegészítés engedélyezése a tábla- és mezőneveknél" #: libraries/config/messages.inc.php:97 msgid "Whether the table structure actions should be hidden." From 321cfdb5c15014d6020fb7f87e1703f47403e9dd Mon Sep 17 00:00:00 2001 From: Giovanni Sora Date: Sun, 22 Mar 2015 21:16:49 +0100 Subject: [PATCH 3/5] Translated using Weblate (Interlingua) Currently translated at 68.8% (2093 of 3040 strings) [CI skip] --- po/ia.po | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/po/ia.po b/po/ia.po index d7868215cd..dd14c55f7a 100644 --- a/po/ia.po +++ b/po/ia.po @@ -8,10 +8,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.5.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2015-03-22 07:35-0400\n" -"PO-Revision-Date: 2015-03-19 08:52+0200\n" +"PO-Revision-Date: 2015-03-22 21:16+0200\n" "Last-Translator: Giovanni Sora \n" -"Language-Team: Interlingua \n" +"Language-Team: Interlingua " +"\n" "Language: ia\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -5598,16 +5598,14 @@ msgid "Default table tab" msgstr "Tabulation predefinite de tabella" #: libraries/config/messages.inc.php:94 -#, fuzzy #| msgid "Enclose table and column names with backquotes" msgid "Autocomplete of the table and column names in the SQL queries." -msgstr "Include nomines de tabellas e columnas con virgulettas" +msgstr "Auto completion del nomines de tabella e columna in le queries de SQL." #: libraries/config/messages.inc.php:95 -#, fuzzy #| msgid "Enclose table and column names with backquotes" msgid "Enable autocomplete for table and column names" -msgstr "Include nomines de tabellas e columnas con virgulettas" +msgstr "Habilita autocompletion pro nomines de tabella e columna" #: libraries/config/messages.inc.php:97 msgid "Whether the table structure actions should be hidden." From 7305217fb6a4a5012835f10e8d716f49c67073ca Mon Sep 17 00:00:00 2001 From: Thiago Casotti Date: Sun, 22 Mar 2015 21:31:32 +0100 Subject: [PATCH 4/5] Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.6% (3029 of 3040 strings) [CI skip] --- po/pt_BR.po | 136 ++++++++++++++++++++-------------------------------- 1 file changed, 53 insertions(+), 83 deletions(-) diff --git a/po/pt_BR.po b/po/pt_BR.po index 3a6b3ad6e5..ed1a44b194 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.5.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2015-03-22 07:35-0400\n" -"PO-Revision-Date: 2015-03-22 04:25+0200\n" +"PO-Revision-Date: 2015-03-22 21:31+0200\n" "Last-Translator: Thiago Casotti \n" -"Language-Team: Portuguese (Brazil) \n" +"Language-Team: Portuguese (Brazil) " +"\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -10567,7 +10567,6 @@ msgstr "" "vazia." #: 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 " @@ -10591,16 +10590,17 @@ msgid "" "option, if set to 1, will prevent wrapping and ensure that the output " "appears all on one line (Default 1)." msgstr "" -"SOMENTE LINUX: Executa um aplicativo externo e alimenta os dados da coluna " -"através de entrada padrão. Retorna a saída padrão do aplicativo. O padrão é " -"organizado para mostrar código HTML otimizado para impressão. Por razões de " -"segurança, você tem que editar manualmente o arquivo libraries/plugins/" -"transformations/output/Text_Plain_External.class.php e listar as ferramentas " -"que você deseja disponibilizar. A primeira opção é o número do programa que " -"você deseja usar e a segunda opção são os parâmetros para o programa. A " -"terceira opção, se definido como 1, irá converter a saída usando " -"htmlspecialchars() (Default 1). A quarta opção, se definido como 1, vai " -"evitar a quebra verificar se a saída aparece em uma única linha (Default 1)." +"SOMENTE LINUX: Executa um aplicativo externo e alimenta-o com dados da " +"coluna através da entrada padrão. Retorna a saída padrão do aplicativo. O " +"padrão é organizado, para imprimir-bonito o código HTML. Por razões de " +"segurança, você tem que editar manualmente o arquivo " +"libraries/plugins/transformations/output/Text_Plain_External.class.php e " +"listar as ferramentas que você queira tornar disponível. A primeira opção é " +"então o número do programa que você deseja usar e a segunda opção são os " +"parâmetros para o programa. A terceira opção, se configurado para 1, irá " +"converter a saída usando htmlspecialchars() (Padrão 1). A quarta opção, se " +"configurado para 1, prevenirá a quebra e garantirá que a saída apareça toda " +"em uma linha (Padrão 1)." #: libraries/plugins/transformations/abstract/FormattedTransformationsPlugin.class.php:31 msgid "" @@ -10624,18 +10624,16 @@ msgid "Displays a link to download this image." msgstr "Mostrar um link para download desta imagem." #: libraries/plugins/transformations/abstract/ImageUploadTransformationsPlugin.class.php:31 -#, fuzzy msgid "" "Image upload functionality which also displays a thumbnail. The options are " "the width and height of the thumbnail in pixels. Defaults to 100 X 100." msgstr "" -"Funcionalidade de upload de imagem que também exibe miniatura. As opções são " -"largura e altura da miniatura em pixels. O padrão é 100 X 100." +"Funcionalidade de upload de imagem que também exibe uma miniatura. As opções " +"são a largura e a altura da miniatura em pixels. Padrão para 100 X 100." #: libraries/plugins/transformations/abstract/ImageUploadTransformationsPlugin.class.php:79 -#, fuzzy msgid "Image preview here" -msgstr "Pré-visualização da imagem" +msgstr "Pré-visualização da imagem aqui" #: libraries/plugins/transformations/abstract/InlineTransformationsPlugin.class.php:33 msgid "" @@ -10663,14 +10661,13 @@ msgstr "" "segunda é sufixado (envolvido por aspas simples, string vazia por padrão)." #: libraries/plugins/transformations/abstract/RegexValidationTransformationsPlugin.class.php:33 -#, fuzzy msgid "" "Validates the string using regular expression and performs insert only if " "string matches it. The first option is the Regular Expression." msgstr "" -"Valida a cadeia de caracteres utilizando expressões regulares e só insere o " -"valor se a seqüência de caracteres corresponder. A primeira opção é a " -"Expressão Regular." +"Valida a cadeia de caracteres utilizando expressões regulares e executa a " +"inserção somente se a seqüência de caracteres corresponder. A primeira opção " +"é a Expressão Regular." #: libraries/plugins/transformations/abstract/RegexValidationTransformationsPlugin.class.php:55 #, php-format @@ -10696,12 +10693,11 @@ msgstr "" "(Padrão: \"...\")." #: libraries/plugins/transformations/abstract/TextFileUploadTransformationsPlugin.class.php:33 -#, fuzzy msgid "" "File upload functionality for TEXT columns. It does not have a textarea for " "input." msgstr "" -"Funcionalidade de upload de arquivos para colunas tipo TEXT. Não provê uma " +"Funcionalidade de upload de arquivos para colunas tipo TEXT. Não tem uma " "área de texto para a entrada." #: libraries/plugins/transformations/abstract/TextImageLinkTransformationsPlugin.class.php:33 @@ -10725,48 +10721,42 @@ msgstr "" "para o link." #: libraries/plugins/transformations/input/Text_Plain_JsonEditor.class.php:33 -#, fuzzy msgid "Syntax highlighted CodeMirror editor for JSON." -msgstr "Editor CodeMirror de sintaxe destacada para JSON." +msgstr "Editor de CodeMirror de sintaxe destacada para JSON." #: libraries/plugins/transformations/input/Text_Plain_SqlEditor.class.php:33 -#, fuzzy msgid "Syntax highlighted CodeMirror editor for SQL." msgstr "Editor CodeMirror de sintaxe destacada para SQL." #: libraries/plugins/transformations/input/Text_Plain_XmlEditor.class.php:33 -#, fuzzy msgid "Syntax highlighted CodeMirror editor for XML (and HTML)." -msgstr "Editor CodeMirror de sintaxe destacada para XML (e HTML)." +msgstr "Editor de CodeMirror de sintaxe destacada para XML (e HTML)." #: libraries/plugins/transformations/output/Text_Plain_Json.class.php:40 -#, fuzzy #| msgid "Formats text as SQL query with syntax highlighting." msgid "Formats text as JSON with syntax highlighting." -msgstr "Formata o texto como JSON com destaque de sintaxe." +msgstr "Formata o texto como JSON destacando a sintaxe." #: libraries/plugins/transformations/output/Text_Plain_Xml.class.php:40 -#, fuzzy #| msgid "Formats text as SQL query with syntax highlighting." msgid "Formats text as XML with syntax highlighting." -msgstr "Formata o texto como XML com destaque de sintaxe." +msgstr "Formata o texto como XML destacando a sintaxe." #: libraries/pmd_common.php:492 msgid "Error: relation already exists." -msgstr "Erro: relacionamento já existe." +msgstr "Erro: relação já existe." #: libraries/pmd_common.php:538 msgid "FOREIGN KEY relation has been added." -msgstr "Modelo FOREIGN KEY foi adicionado." +msgstr "Relação de FOREIGN KEY foi adicionada." #: libraries/pmd_common.php:543 msgid "Error: FOREIGN KEY relation could not be added!" msgstr "Erro: Relação de FOREIGN KEY não pôde ser adicionada!" #: libraries/pmd_common.php:548 -#, fuzzy msgid "Error: Missing index on column(s)." -msgstr "Erro: Índice(s) de coluna(s) não encontrado(s)." +msgstr "Erro: Perda de Índice(s) de coluna(s)." #: libraries/pmd_common.php:552 msgid "Error: Relational features are disabled!" @@ -10834,7 +10824,6 @@ msgid "Browser transformation" msgstr "Transformações do navegador" #: libraries/relation.lib.php:180 -#, fuzzy #| msgid "" #| "Please see the documentation on how to update your column_comments table." msgid "Please see the documentation on how to update your column_info table. " @@ -10855,10 +10844,9 @@ msgid "Persistent recently used tables" msgstr "Tabelas persistentes recentemente usadas" #: libraries/relation.lib.php:226 -#, fuzzy #| msgid "Persistent recently used tables" msgid "Persistent favorite tables" -msgstr "Tabelas persistentes favoritas" +msgstr "Tabelas favoritas persistentes" #: libraries/relation.lib.php:237 msgid "Persistent tables' UI preferences" @@ -10881,9 +10869,8 @@ msgid "Saving Query-By-Example searches" msgstr "Salvando pesquisas Query-By-Example" #: libraries/relation.lib.php:309 -#, fuzzy msgid "Managing Central list of columns" -msgstr "Gerenciamento Central da lista de colunas" +msgstr "Gerenciando a lista Central de colunas" #: libraries/relation.lib.php:317 msgid "Quick steps to setup advanced features:" @@ -10917,7 +10904,7 @@ msgid "no description" msgstr "sem descrição" #: libraries/relation.lib.php:1975 -#, fuzzy, php-format +#, php-format #| msgid "Missing phpMyAdmin configuration storage tables" msgid "" "%sCreate%s the phpMyAdmin configuration storage in the current database." @@ -10926,12 +10913,12 @@ msgstr "" "atual." #: libraries/relation.lib.php:1982 -#, fuzzy, php-format +#, php-format #| msgid "Missing phpMyAdmin configuration storage tables" msgid "%sCreate%s missing phpMyAdmin configuration storage tables." msgstr "" "%sCreate%s as tabelas de armazenamento de configuração do phpMyAdmin " -"faltantes." +"perdidas." #: libraries/replication_gui.lib.php:46 libraries/replication_gui.lib.php:333 #: libraries/server_databases.lib.php:388 @@ -11671,9 +11658,8 @@ msgid "There are no events to display." msgstr "Não existem eventos para serem mostrados." #: libraries/select_lang.lib.php:614 -#, fuzzy msgid "Ignoring unsupported language code." -msgstr "Ignorando o código de idioma sem suporte." +msgstr "Ignorando o código de linguagem não suportado." #: libraries/select_server.lib.php:41 libraries/select_server.lib.php:46 msgid "Current Server:" @@ -11963,24 +11949,22 @@ msgstr "Requer SSL" #: libraries/server_privileges.lib.php:759 #: libraries/server_privileges.lib.php:768 -#, fuzzy #| msgid "Requires that a specific cipher method be used for a connection." msgid "Requires that a specific cipher method be used for a connection." msgstr "" -"Exige-se que um método de codificação específico seja usado para uma conexão." +"Requer que um método de criptografia específico seja usado para uma conexão." #: libraries/server_privileges.lib.php:778 #: libraries/server_privileges.lib.php:787 -#, fuzzy msgid "Requires that a valid X509 certificate issued by this CA be presented." msgstr "" -"Requer a apresentação de um certificado X509 válido emitido por esta AC." +"Requer que um certificado X509 válido emitido por esta AC seja apresentado." #: libraries/server_privileges.lib.php:797 #: libraries/server_privileges.lib.php:806 -#, fuzzy msgid "Requires that a valid X509 certificate with this subject be presented." -msgstr "Requer a apresentação de um certificado X509 válido com este assunto." +msgstr "" +"Requer que um certificado X509 válido com este assunto seja apresentado." #: libraries/server_privileges.lib.php:818 msgid "Requires a valid X509 certificate." @@ -12222,10 +12206,9 @@ msgid "Column-specific privileges" msgstr "Privilégios específicos de coluna" #: libraries/server_privileges.lib.php:3114 -#, fuzzy #| msgid "Add privileges on the following database:" msgid "Add privileges on the following database(s):" -msgstr "Adicionar privilégio(s) no(s) seguinte(s) banco(s) de dado(s):" +msgstr "Adicionar privilégios no seguinte banco de dados:" #: libraries/server_privileges.lib.php:3138 msgid "Wildcards % and _ should be escaped with a \\ to use them literally." @@ -12613,7 +12596,6 @@ msgid "Reset to default" msgstr "Resetar para o padrão" #: libraries/server_status_processes.lib.php:24 -#, fuzzy #| msgid "" #| "Note: Enabling the database statistics here might cause heavy traffic " #| "between the web server and the MySQL server." @@ -12621,8 +12603,8 @@ msgid "" "Note: Enabling the auto refresh here might cause heavy traffic between the " "web server and the MySQL server." msgstr "" -"Nota: Permitir a atualização automática pode causar tráfego intenso entre o " -"servidor web e o servidor MySQL." +"Nota: Habilitar a atualização automática aqui pode causar tráfego intenso " +"entre o servidor web e o servidor MySQL." #: libraries/server_status_processes.lib.php:69 msgid "ID" @@ -13569,9 +13551,8 @@ msgid "Show this query here again" msgstr "Mostrar esta consulta SQL aqui novamente" #: libraries/sql_query_form.lib.php:333 -#, fuzzy msgid "Rollback when finished" -msgstr "Desfazer («rollback») quando finalizar" +msgstr "Recuar quando finalizado" #: libraries/sql_query_form.lib.php:386 msgid "View only" @@ -13951,16 +13932,14 @@ msgid "Series names are in a column" msgstr "Nomes em série estão em uma coluna" #: libraries/tbl_chart.lib.php:240 -#, fuzzy #| msgid "Inside column:" msgid "Series column:" -msgstr "Série(s) de coluna(s):" +msgstr "Coluna de série:" #: libraries/tbl_chart.lib.php:253 -#, fuzzy #| msgid "Values for column %s" msgid "Value column:" -msgstr "Valor(es) de coluna(s):" +msgstr "Coluna de valor:" #: libraries/tbl_chart.lib.php:286 msgid "Save chart as image" @@ -14032,29 +14011,25 @@ msgstr "" #: libraries/tbl_columns_definition_form.lib.php:351 #: transformation_overview.php:41 -#, fuzzy #| msgid "Browser transformation" msgid "Browser display transformation" -msgstr "Transformação de visualização no navegador" +msgstr "Transformação de visualização do navegador" #: libraries/tbl_columns_definition_form.lib.php:353 -#, fuzzy #| msgid "Browser transformation" msgid "Browser display transformation options" -msgstr "Opções de transformação de visualização no navegador" +msgstr "Opções de transformação de visualização do navegador" #: libraries/tbl_columns_definition_form.lib.php:356 #: transformation_overview.php:42 -#, fuzzy #| msgid "Browser transformation" msgid "Input transformation" -msgstr "Transformação de entrada" +msgstr "Transformação de dado" #: libraries/tbl_columns_definition_form.lib.php:358 -#, fuzzy #| msgid "Transformation options" msgid "Input transformation options" -msgstr "Opções de transformação de entrada" +msgstr "Opções de transformação de dado" #: libraries/tbl_columns_definition_form.lib.php:599 #, php-format @@ -14066,10 +14041,9 @@ msgid "Is a foreign key." msgstr "É uma chave estrangeira." #: libraries/tbl_columns_definition_form.lib.php:634 -#, fuzzy #| msgid "Remove column(s)" msgid "Pick from Central Columns" -msgstr "Escolher das colunas centrais" +msgstr "Escolher através das colunas centrais" #: libraries/tbl_columns_definition_form.lib.php:820 msgid "first" @@ -14131,10 +14105,9 @@ msgstr "" "\"PRIMARY\" precisa ser o nome de e apenas da chave primária!" #: libraries/tbl_indexes.lib.php:305 -#, fuzzy #| msgid "Index cache size" msgid "Index choice:" -msgstr "Opção de índice:" +msgstr "Escolha de índice:" #: libraries/tbl_indexes.lib.php:321 msgid "Key block size:" @@ -14145,10 +14118,9 @@ msgid "Index type:" msgstr "Tipo de índice:" #: libraries/tbl_indexes.lib.php:346 -#, fuzzy #| msgid "User:" msgid "Parser:" -msgstr "Analisador:" +msgstr "Verificador:" #: libraries/tbl_indexes.lib.php:358 msgid "Comment:" @@ -14766,10 +14738,9 @@ msgid "Tracking versions deleted successfully." msgstr "Controle(s) de versão(ões) excluída(s) com sucesso." #: tbl_tracking.php:107 -#, fuzzy #| msgid "No rows selected" msgid "No versions selected." -msgstr "Não há versão(ões) selecionada(as)." +msgstr "Não há versões selecionadas." #: tbl_tracking.php:138 msgid "SQL statements executed." @@ -14788,10 +14759,9 @@ msgid "Available MIME types" msgstr "Tipos de MIME disponíveis" #: transformation_overview.php:37 -#, fuzzy #| msgid "Available transformations" msgid "Available browser display transformations" -msgstr "Transformações de visualização no navegador disponíveis" +msgstr "Transformações de exibição do navegador disponíveis" #: transformation_overview.php:38 msgid "Available input transformations" From 76ec1d8b33654f38a02257b37bd21703a8be953d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristjan=20R=C3=A4ts?= Date: Mon, 23 Mar 2015 08:17:42 +0100 Subject: [PATCH 5/5] Translated using Weblate (Estonian) Currently translated at 100.0% (3040 of 3040 strings) [CI skip] --- po/et.po | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/po/et.po b/po/et.po index 106c56e682..5433c41b9a 100644 --- a/po/et.po +++ b/po/et.po @@ -6,10 +6,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.5.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2015-03-22 07:35-0400\n" -"PO-Revision-Date: 2015-03-19 08:57+0200\n" +"PO-Revision-Date: 2015-03-23 08:17+0200\n" "Last-Translator: Kristjan Räts \n" -"Language-Team: Estonian \n" +"Language-Team: Estonian " +"\n" "Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -5493,16 +5493,14 @@ msgid "Default table tab" msgstr "Vaikimisi tabeli vaheleht" #: libraries/config/messages.inc.php:94 -#, fuzzy #| msgid "Enclose table and column names with backquotes" msgid "Autocomplete of the table and column names in the SQL queries." -msgstr "Aseta tabeli ja veeru nimed alumise ja ülemise jutumärgi vahele" +msgstr "Automaatne tabelite ja veergude nimede lõpetamine SQL päringutes." #: libraries/config/messages.inc.php:95 -#, fuzzy #| msgid "Enclose table and column names with backquotes" msgid "Enable autocomplete for table and column names" -msgstr "Aseta tabeli ja veeru nimed alumise ja ülemise jutumärgi vahele" +msgstr "Luba tabelite ja veergude nimede automaatne lõpetamine" #: libraries/config/messages.inc.php:97 msgid "Whether the table structure actions should be hidden."