From 13d7f61ef1eaaeb3cba391b297290fa798795600 Mon Sep 17 00:00:00 2001 From: "J.M" Date: Thu, 28 Jun 2012 14:46:11 +0200 Subject: [PATCH 1/9] Fix bug #3538655 with a workaround, revert this commit when PMA drops PHP5.2 support --- libraries/plugins/PluginObserver.class.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libraries/plugins/PluginObserver.class.php b/libraries/plugins/PluginObserver.class.php index 190f02d747..6e56e8d201 100644 --- a/libraries/plugins/PluginObserver.class.php +++ b/libraries/plugins/PluginObserver.class.php @@ -43,12 +43,19 @@ abstract class PluginObserver implements SplObserver * This method is called when any PluginManager to which the observer * is attached calls PluginManager::notify() * + * TODO Declare this function abstract, removing its body, + * as soon as we drop support for PHP 5.2.x. + * See bug #3538655. + * * @param SplSubject $subject The PluginManager notifying the observer * of an update. * * @return void */ - abstract public function update (SplSubject $subject); + public function update (SplSubject $subject) + { + throw new Exception('PluginObserver::update must be overridden in child classes.'); + } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ @@ -78,4 +85,4 @@ abstract class PluginObserver implements SplObserver $this->_pluginManager = $_pluginManager; } } -?> \ No newline at end of file +?> From bbb4a6c5aacf9dd1a273a2bc3a7278aadaad2c19 Mon Sep 17 00:00:00 2001 From: "J.M" Date: Thu, 28 Jun 2012 14:55:28 +0200 Subject: [PATCH 2/9] PMA_DRIZZLE is not always defined in libraries/Menu.class.php#428 Use of undefined constant PMA_DRIZZLE - assumed 'PMA_DRIZZLE' Backtrace .\libraries\Menu.class.php#104: PMA_Menu->_getServerTabs() .\libraries\Menu.class.php#75: PMA_Menu->_getMenu() .\libraries\Header.class.php#315: PMA_Menu->getDisplay() .\libraries\Response.class.php#244: PMA_Header->getDisplay() .\libraries\Response.class.php#257: PMA_Response->_getDisplay() .\libraries\Response.class.php#308: PMA_Response->_htmlResponse() .\libraries\OutputBuffering.class.php#110: PMA_Response::response() PMA_OutputBuffering::stop() --- libraries/Menu.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Menu.class.php b/libraries/Menu.class.php index dcc7f2b73c..88719d116d 100644 --- a/libraries/Menu.class.php +++ b/libraries/Menu.class.php @@ -425,7 +425,7 @@ class PMA_Menu { $is_superuser = PMA_isSuperuser(); $binary_logs = null; - if (! PMA_DRIZZLE) { + if (!defined('PMA_DRIZZLE') || (defined('PMA_DRIZZLE') && ! PMA_DRIZZLE)) { $binary_logs = PMA_DBI_fetch_result( 'SHOW MASTER LOGS', 'Log_name', @@ -495,7 +495,7 @@ class PMA_Menu $tabs['charset']['link'] = 'server_collations.php'; $tabs['charset']['text'] = __('Charsets'); - if (PMA_DRIZZLE) { + if (defined('PMA_DRIZZLE') && PMA_DRIZZLE) { $tabs['plugins']['icon'] = 'b_engine.png'; $tabs['plugins']['link'] = 'server_plugins.php'; $tabs['plugins']['text'] = __('Plugins'); From 1dcb2c9ee3c2371d5a1841007bad59b60b7d3053 Mon Sep 17 00:00:00 2001 From: Alexsandro Preis Dubinski Date: Thu, 28 Jun 2012 15:04:49 +0200 Subject: [PATCH 3/9] Translated using Weblate. --- po/pt_BR.po | 61 +++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/po/pt_BR.po b/po/pt_BR.po index 077c5e3d7e..8b0530831e 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 3.5.2-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-06-04 13:42+0200\n" -"PO-Revision-Date: 2012-06-27 16:29+0200\n" +"PO-Revision-Date: 2012-06-28 13:50+0200\n" "Last-Translator: Alexsandro Preis Dubinski \n" "Language-Team: brazilian_portuguese \n" "Language: pt_BR\n" @@ -1911,7 +1911,7 @@ msgstr "Zoom Pesquisa detalhada" #: js/messages.php:300 msgid "Each point represents a data row." -msgstr "Cada ponto representa uma linha de dados" +msgstr "Cada ponto representa uma linha de dados." #: js/messages.php:302 msgid "Hovering over a point will show its label." @@ -1923,7 +1923,7 @@ msgstr "Para ampliar, selecione um trecho do gráfico com o mouse." #: js/messages.php:306 msgid "Click reset zoom link to come back to original state." -msgstr "Clique no link resetar zoom para voltar ao estado original" +msgstr "Clique no link resetar zoom para voltar ao estado original." #: js/messages.php:308 msgid "Click a data point to view and possibly edit the data row." @@ -2028,14 +2028,14 @@ msgid "" msgstr "" "Esta tabela não contem uma unica coluna, Opções relacionadas aos links " "Editar, Marcar, Editar, Copiar e Apagar podem não funcionar mais após ser " -"salva" +"salva." #: js/messages.php:355 msgid "" "You can also edit most columns
by clicking directly on their content." msgstr "" "Você também pode editar algumas colunas
clicando diretamente em seu " -"conteúdo" +"conteúdo." #: js/messages.php:356 msgid "Go to link" @@ -2378,7 +2378,7 @@ msgstr "Muitas mensagens de erro, algumas não exibidas." #: libraries/File.class.php:221 msgid "File was not an uploaded file." -msgstr "Arquivo não era um arquivo carregado" +msgstr "Arquivo não era um arquivo carregado." #: libraries/File.class.php:260 libraries/File.class.php:389 msgid "Unknown error while uploading." @@ -4476,7 +4476,7 @@ msgid "" "DATETIME and TIMESTAMP, ascending order otherwise" msgstr "" "[kbd]SMART[/kbd] - i.e. ordem decrescente para colunas do tipo TIME, DATE, " -"DATETIME e TIMESTAM; caso contrário, ordem ascendente." +"DATETIME e TIMESTAM, caso contrário, ordem ascendente." #: libraries/config/messages.inc.php:330 msgid "Default sorting order" @@ -5783,7 +5783,7 @@ msgstr "" "Esse valor é interpretado usando %1$sstrftime%2$s, então você pode usar as " "strings de formatação de tempo. Adicionalmente a seguinte transformação " "ocorrerá: %3$s. Outros textos serão mantidos como estão. Veja a %4$sFAQ%5$s " -"para detalhes" +"para detalhes." #: libraries/display_export.lib.php:270 msgid "use this for future exports" @@ -7900,7 +7900,7 @@ msgstr "Nenhuma tabela encontrada no banco de dados" #: libraries/rte/rte_words.lib.php:48 msgid "There are no events to display." -msgstr "Não existem eventos para serem mostrados" +msgstr "Não existem eventos para serem mostrados." #: libraries/schema/Dia_Relation_Schema.class.php:230 #: libraries/schema/Eps_Relation_Schema.class.php:420 @@ -8194,7 +8194,7 @@ msgid "" "below, if there is any, may also help you in diagnosing the problem" msgstr "" "Parece haver um erro na sua consulta SQL. A saída do servidor MySQL abaixo, " -"isto se existir alguma, também poderá ajudar a diagnosticar o problema." +"isto se existir alguma, também poderá ajudar a diagnosticar o problema" #: libraries/sqlparser.lib.php:175 msgid "" @@ -8480,24 +8480,25 @@ msgid "" "will prevent wrapping and ensure that the output appears all on one line " "(Default 1)." msgstr "" -"LINUX APENAS: Rode uma aplicação externa e alimente os campos de dados pela " +"APENAS LINUX: Rode uma aplicação externa e alimente os campos de dados pela " "entrada padrão. Retorna a saída padrão da aplicação. Padrão é Limpo, para " "uma bonita impressão do código HTML. Por razões de segurança, você deve " -"editar manualmente o arquivo libraries/transformations/text_plain__external." -"inc.php e inserir as ferramentas que você permite rodar. A primeira opção é " -"o número do programa que você quer rodar e a segunda opção são os parâmetros " -"para o programa. A terceira opção, se setada para 1 irá converter a saída " -"usando htmlspecialchars() (Padrão é 1). A quarta opção, se setada como 1 irá " -"por um NOWRAP para o conteúdo da célula, de forma que a saída inteira será " -"mostrada sem reformatação(Padrão é 1)" +"editar manualmente o arquivo " +"libraries/transformations/text_plain__external.inc.php e inserir as " +"ferramentas que você permite rodar. A primeira opção é o número do programa " +"que você quer rodar e a segunda opção são os parâmetros para o programa. A " +"terceira opção, se setada para 1 irá converter a saída usando " +"htmlspecialchars() (Padrão é 1). A quarta opção, se setada como 1 irá por um " +"NOWRAP para o conteúdo da célula, de forma que a saída inteira será " +"mostrada sem reformatação(Padrão é 1)." #: libraries/transformations/text_plain__formatted.inc.php:10 msgid "" "Displays the contents of the column as-is, without running it through " "htmlspecialchars(). That is, the column is assumed to contain valid HTML." msgstr "" -"Mostra o conteúdo da coluna como na realidade, sem manipular através de " -"htmlspecialchars(). Isso é, a coluna assume conter HTML válido" +"Mostra o conteúdo da coluna como é, sem manipular através de " +"htmlspecialchars(). Isso é, a coluna assume conter somente HTML válido." #: libraries/transformations/text_plain__imagelink.inc.php:10 msgid "" @@ -9447,7 +9448,7 @@ msgstr "O usuário %s já existe!" #: server_privileges.php:1045 msgid "You have added a new user." -msgstr "Adicionado usuário" +msgstr "Você adicionou um novo usuário." #: server_privileges.php:1273 #, php-format @@ -10090,7 +10091,7 @@ msgstr "" "O número de tabelas temporárias no disco criadas automaticamente pelo " "servidor enquanto executava os enunciados. Se Created_tmp_disk_tables é " "grande, você pode aumentar o valor de tmp_table_size para fazer as tabelas " -"temporárias serem baseadas na memória ou invés de baseadas no disco" +"temporárias serem baseadas na memória ou invés de baseadas no disco." #: server_status.php:1311 msgid "How many temporary files mysqld has created." @@ -10291,7 +10292,7 @@ msgid "" "and had to do a single-page read." msgstr "" "O número de leituras lógicas que o InnoDB não pode satisfer do buffer pool e " -"teria que fazer uma leitura de página simples" +"teria que fazer uma leitura de página simples." #: server_status.php:1340 msgid "" @@ -10700,7 +10701,7 @@ msgid "" msgstr "" "O número de processos no cache de processos. A taxa de hits do cache pode " "ser calculada como Threads_created/conexões. Se este valor for vermelho você " -"deve aumentar seu thread_cache_size" +"deve aumentar seu thread_cache_size." #: server_status.php:1412 msgid "The number of currently open connections." @@ -11237,7 +11238,7 @@ msgstr "" #: setup/lib/index.lib.php:186 msgid "No newer stable version is available" -msgstr "Não existe nenhuma versão estável mais nova." +msgstr "Não existe nenhuma versão estável mais nova" #: setup/lib/index.lib.php:274 #, php-format @@ -13167,7 +13168,7 @@ msgid "" "Aborted connections rate is at %s, this value should be less than 1 per hour" msgstr "" "A taxa de conexões abortadas é %s, este valor deve ser menor do que 1 por " -"hora." +"hora" #: po/advisory_rules.php:240 msgid "Percentage of aborted clients" @@ -13203,7 +13204,7 @@ msgstr "Taxa de clientes abortados" msgid "Aborted client rate is at %s, this value should be less than 1 per hour" msgstr "" "A taxa de clientes abortados é %s. Este valor deve ser menor do que 1 por " -"hora." +"hora" #: po/advisory_rules.php:250 msgid "Is InnoDB disabled?" @@ -13215,7 +13216,7 @@ msgstr "O InnoDB não está ativado." #: po/advisory_rules.php:252 msgid "InnoDB is usually the better choice for table engines." -msgstr "InnoDB é normalmente a melhor escolha para engines de tabelas" +msgstr "InnoDB é normalmente a melhor escolha para engines de tabelas." #: po/advisory_rules.php:253 msgid "have_innodb is set to 'value'" @@ -13231,7 +13232,7 @@ msgid "" "InnoDB buffer pool." msgstr "" "O tamanho do arquivo de log do InnoDB não é apropriado em relação ao Buffer " -"Pool do InnoDB" +"Pool do InnoDB." #: po/advisory_rules.php:257 #, php-format @@ -13318,7 +13319,7 @@ msgstr "" "consumo. Tenha cuidado, pois ao atribuir valores muito altos, seu sistema " "começará a fazer swap, o que diminuirá o desempenho significativamente. Veja " "também este artigo." +"innodb_buffer_pool_size/\">este artigo" #: po/advisory_rules.php:268 #, php-format From 89600d7b1b1947b679c4070b202a678677bf8b4a Mon Sep 17 00:00:00 2001 From: Yasitha Pandithawatta Date: Thu, 28 Jun 2012 22:29:47 +0530 Subject: [PATCH 4/9] test cases for DisplayResults.class.php --- test/classes/PMA_DisplayResults_test.php | 371 ++++++++++++++++++ .../core/PMA_getTableCount_test_dis.php | 27 +- .../core/PMA_headerLocation_test_disabled.php | 11 +- 3 files changed, 406 insertions(+), 3 deletions(-) create mode 100644 test/classes/PMA_DisplayResults_test.php diff --git a/test/classes/PMA_DisplayResults_test.php b/test/classes/PMA_DisplayResults_test.php new file mode 100644 index 0000000000..0f5ed2c8b5 --- /dev/null +++ b/test/classes/PMA_DisplayResults_test.php @@ -0,0 +1,371 @@ +object = $this->getMockForAbstractClass('PMA_DisplayResults', array('as', '','','')); + + } + + /** + * 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); + } + + /** + * Call private functions by making the visibitlity to public. + * + * @param string $name method name + * @param array $params parameters for the invocation + * + * @return the output from the private method. + */ + private function _callPrivateFunction($name, $params) + { + $class = new ReflectionClass('PMA_DisplayResults'); + $method = $class->getMethod($name); + $method->setAccessible(true); + return $method->invokeArgs($this->object, $params); + } + + /** + * @param $the_disp_mode string the synthetic value for display_mode (see a few lines above for explanations) + * @param $the_total the total number of rows returned by the SQL + * query without any programmatically appended + * LIMIT clause + * (just a copy of $unlim_num_rows if it exists, + * elsecomputed inside this function) + * + * @param $output output from the _setDisplayMode method + * + * @dataProvider providerForTestSetDisplayModeCase1 + */ + public function testSetDisplayModeCase1($the_disp_mode, $the_total, $output){ + + $GLOBALS['is_count'] = true; + $GLOBALS['is_maint'] = true; + + $this->assertEquals( + $this->_callPrivateFunction( + '_setDisplayMode', + array(&$the_disp_mode, &$the_total) + ), + $output + ); + } + + /** + * @return array data for testSetDisplayModeCase1 + */ + public function providerForTestSetDisplayModeCase1() + { + return array( + array( + 'urkp111111', + 5, + array( + 'edit_lnk' => 'nn', + 'del_lnk' => 'nn', + 'sort_lnk' => 0, + 'nav_bar' => 0, + 'ins_row' => 0, + 'bkm_form' => 1, + 'text_btn' => 1, + 'pview_lnk' => 1 + ) + ), + array( + 'nnnn000000', + 5, + array( + 'edit_lnk' => 'nn', + 'del_lnk' => 'nn', + 'sort_lnk' => 0, + 'nav_bar' => 0, + 'ins_row' => 0, + 'bkm_form' => 0, + 'text_btn' => 0, + 'pview_lnk' => 0 + ) + ) + ); + } + + /** + * @param $the_disp_mode string the synthetic value for display_mode (see a few lines above for explanations) + * @param $the_total the total number of rows returned by the SQL + * query without any programmatically appended + * LIMIT clause + * (just a copy of $unlim_num_rows if it exists, + * elsecomputed inside this function) + * + * @param $output output from the _setDisplayMode method + * + * @dataProvider providerForTestSetDisplayModeCase2 + */ + public function testSetDisplayModeCase2($the_disp_mode, $the_total, $output){ + + + $GLOBALS['is_count'] = false; + $GLOBALS['is_maint'] = false; + $GLOBALS['is_analyse'] = false; + $GLOBALS['is_explain'] = false; + $GLOBALS['is_show'] = true; + $GLOBALS['sql_query'] = 'SELECT * FROM `pma_bookmark` WHERE 1'; + $GLOBALS['unlim_num_rows'] = 1; + + $this->assertEquals( + $this->_callPrivateFunction( + '_setDisplayMode', + array(&$the_disp_mode, &$the_total) + ), + $output + ); + } + + /** + * @return array data for testSetDisplayModeCase2 + */ + public function providerForTestSetDisplayModeCase2() + { + return array( + array( + 'urkp111111', + 5, + array( + 'edit_lnk' => 'nn', + 'del_lnk' => 'nn', + 'sort_lnk' => 0, + 'nav_bar' => 0, + 'ins_row' => 0, + 'bkm_form' => 1, + 'text_btn' => 1, + 'pview_lnk' => 1 + ) + ), + array( + 'nnnn000000', + 5, + array( + 'edit_lnk' => 'nn', + 'del_lnk' => 'nn', + 'sort_lnk' => 0, + 'nav_bar' => 0, + 'ins_row' => 0, + 'bkm_form' => 0, + 'text_btn' => 0, + 'pview_lnk' => 0 + ) + ) + ); + } + + /** + * @param $the_disp_mode string the synthetic value for display_mode (see a few lines above for explanations) + * @param $the_total the total number of rows returned by the SQL + * query without any programmatically appended + * LIMIT clause + * (just a copy of $unlim_num_rows if it exists, + * elsecomputed inside this function) + * + * @param $output output from the _setDisplayMode method + * + * @dataProvider providerForTestSetDisplayModeCase3 + */ + public function testSetDisplayModeCase3($the_disp_mode, $the_total, $output){ + + $GLOBALS['is_count'] = false; + $GLOBALS['is_maint'] = false; + $GLOBALS['is_analyse'] = false; + $GLOBALS['is_explain'] = false; + $GLOBALS['printview'] = '1'; + + $this->assertEquals( + $this->_callPrivateFunction( + '_setDisplayMode', + array(&$the_disp_mode, &$the_total) + ), + $output + ); + } + + /** + * @return array data for testSetDisplayModeCase3 + */ + public function providerForTestSetDisplayModeCase3() + { + return array( + array( + 'urkp111111', + 5, + array( + 'edit_lnk' => 'nn', + 'del_lnk' => 'nn', + 'sort_lnk' => 0, + 'nav_bar' => 0, + 'ins_row' => 0, + 'bkm_form' => 0, + 'text_btn' => 0, + 'pview_lnk' => 0 + ) + ), + array( + 'nnnn000000', + 5, + array( + 'edit_lnk' => 'nn', + 'del_lnk' => 'nn', + 'sort_lnk' => 0, + 'nav_bar' => 0, + 'ins_row' => 0, + 'bkm_form' => 0, + 'text_btn' => 0, + 'pview_lnk' => 0 + ) + ) + ); + } + + /** + * Test for _isSelect function + */ + public function testisSelect(){ + + $GLOBALS['is_count'] = false; + $GLOBALS['is_export'] = false; + $GLOBALS['is_func'] = false; + $GLOBALS['is_analyse'] = false; + $GLOBALS['analyzed_sql'][0]['select_expr'] = array(); + $GLOBALS['analyzed_sql'][0]['queryflags']['select_from'] = 'pma'; + $GLOBALS['analyzed_sql'][0]['table_ref'] = array('table_ref'); + + $this->assertTrue( + $this->_callPrivateFunction( + '_isSelect', + array() + ) + ); + } + + /** + * @param string $caption iconic caption for button + * @param string $title text for button + * @param integer $pos position for next query + * @param string $html_sql_query query ready for display + * @param $output output from the _getTableNavigationButton method + * + * @dataProvider providerForTestGetTableNavigationButton + */ + public function testGetTableNavigationButton($caption, $title, $pos, $html_sql_query, $output){ + + $GLOBALS['cfg']['NavigationBarIconic'] = true; + $GLOBALS['cfg']['AjaxEnable'] = true; + $_SESSION[' PMA_token '] = 'token'; + + $this->assertEquals( + $this->_callPrivateFunction( + '_getTableNavigationButton', + array(&$caption, $title, $pos, $html_sql_query) + ), + $output + ); + } + + /** + * @return array array data for testGetTableNavigationButton + */ + public function providerForTestGetTableNavigationButton() + { + return array( + array( + 'btn', + 'Submit', + 1, + 'SELECT * FROM `pma_bookmark` WHERE 1', + '
' + ) + ); + } + + /** + * @param integer $pos_next the offset for the "next" page + * @param integer $pos_prev the offset for the "previous" page + * @param string $id_for_direction_dropdown the id for the direction dropdown + * @param $output output from the _getTableNavigation method + * + * @dataProvider providerForTestGetTableNavigation + */ + public function testGetTableNavigation($pos_next, $pos_prev, $id_for_direction_dropdown, $output){ + + $_SESSION['tmp_user_values']['max_rows'] = '20'; + $GLOBALS['cfg']['AjaxEnable'] = true; + $_SESSION['tmp_user_values']['pos'] = true; + $GLOBALS['num_rows'] = '20'; + $GLOBALS['unlim_num_rows'] = '50'; + $GLOBALS['cfg']['ShowAll'] = true; + $GLOBALS['cfg']['ShowDisplayDirection'] = true; + $_SESSION['tmp_user_values']['repeat_cells'] = '1'; + $_SESSION['tmp_user_values']['disp_direction'] = '1'; + + $this->assertEquals( + str_word_count($this->_callPrivateFunction( + '_getTableNavigation', + array($pos_next, $pos_prev, $id_for_direction_dropdown) + )), + $output + ); + } + + /** + * @return array array data for testGetTableNavigation + */ + public function providerForTestGetTableNavigation() + { + return array( + array( + 21, + 41, + '123', + '526' + ) + ); + } + +} diff --git a/test/libraries/core/PMA_getTableCount_test_dis.php b/test/libraries/core/PMA_getTableCount_test_dis.php index aa9af73708..246a17152a 100644 --- a/test/libraries/core/PMA_getTableCount_test_dis.php +++ b/test/libraries/core/PMA_getTableCount_test_dis.php @@ -10,12 +10,23 @@ /* * Include to test. */ + +require_once 'libraries/vendor_config.php'; +require_once 'libraries/Theme.class.php'; require_once 'libraries/core.lib.php'; + require_once 'libraries/common.lib.php'; +require_once 'libraries/js_escape.lib.php'; +require_once 'libraries/select_lang.lib.php'; +require_once 'libraries/sanitizing.lib.php'; require_once 'libraries/config.default.php'; require_once 'libraries/Config.class.php'; + +require_once 'libraries/url_generating.lib.php'; + +require_once 'libraries/Table.class.php'; require_once 'libraries/database_interface.lib.php'; -require_once 'libraries/vendor_config.php'; +require_once 'libraries/php-gettext/gettext.inc'; require_once 'config.sample.inc.php'; @@ -24,6 +35,20 @@ class PMA_getTableCount_test extends PHPUnit_Framework_TestCase public function setUp() { $GLOBALS['PMA_Config'] = new PMA_Config(); + $GLOBALS['PMA_Config']->enableBc(); +// $GLOBALS['cfg']['Server'] = array( +// 'host' => 'host', +// 'verbose' => 'verbose', +// 'extension' => 'mysql' +// ); + $GLOBALS['cfg']['OBGzip'] = false; + $_SESSION['PMA_Theme'] = new PMA_Theme(); + $_SESSION[' PMA_token '] = 'token'; + $GLOBALS['pmaThemeImage'] = 'theme/'; + $GLOBALS['pmaThemePath'] = $_SESSION['PMA_Theme']->getPath(); + $GLOBALS['server'] = 1; + $GLOBALS['db'] = ''; + $GLOBALS['table'] = ''; } function testTableCount() diff --git a/test/libraries/core/PMA_headerLocation_test_disabled.php b/test/libraries/core/PMA_headerLocation_test_disabled.php index 4869483b40..78bd7309b0 100644 --- a/test/libraries/core/PMA_headerLocation_test_disabled.php +++ b/test/libraries/core/PMA_headerLocation_test_disabled.php @@ -9,10 +9,17 @@ /* * Include to test. */ -require_once 'libraries/common.lib.php'; -require_once 'libraries/url_generating.lib.php'; +require_once 'libraries/vendor_config.php'; require_once 'libraries/core.lib.php'; +require_once 'libraries/common.lib.php'; +require_once 'libraries/js_escape.lib.php'; require_once 'libraries/select_lang.lib.php'; +require_once 'libraries/sanitizing.lib.php'; +require_once 'libraries/Config.class.php'; +require_once 'libraries/url_generating.lib.php'; +require_once 'libraries/Theme.class.php'; +require_once 'libraries/Table.class.php'; +require_once 'libraries/php-gettext/gettext.inc'; /** * Test function sending headers. From 149fa8400f6e8a0f2baff0a1f00ef3c7130d23c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 29 Jun 2012 09:19:02 +0200 Subject: [PATCH 5/9] Adjust docs headers --- test/classes/PMA_DisplayResults_test.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/classes/PMA_DisplayResults_test.php b/test/classes/PMA_DisplayResults_test.php index 0f5ed2c8b5..e1c1be64f0 100644 --- a/test/classes/PMA_DisplayResults_test.php +++ b/test/classes/PMA_DisplayResults_test.php @@ -1,10 +1,8 @@ Date: Fri, 29 Jun 2012 09:19:16 +0200 Subject: [PATCH 6/9] Translated using Weblate. --- po/pt_BR.po | 228 ++++++++++++++++++---------------------------------- 1 file changed, 80 insertions(+), 148 deletions(-) diff --git a/po/pt_BR.po b/po/pt_BR.po index 43243f4058..e95a27dce1 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.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-06-28 09:04+0200\n" -"PO-Revision-Date: 2012-06-28 13:50+0200\n" +"PO-Revision-Date: 2012-06-28 16:25+0200\n" "Last-Translator: Alexsandro Preis Dubinski \n" "Language-Team: brazilian_portuguese \n" "Language: pt_BR\n" @@ -2489,13 +2489,11 @@ msgid "Start row" msgstr "Linha inicial" #: libraries/DisplayResults.class.php:677 -#, fuzzy #| msgid "Number of fields" msgid "Number of rows" msgstr "Número de linhas" #: libraries/DisplayResults.class.php:686 -#, fuzzy #| msgid "More" msgid "Mode" msgstr "Modo" @@ -2553,14 +2551,12 @@ msgstr "Opções" #: libraries/DisplayResults.class.php:1329 #: libraries/DisplayResults.class.php:1435 -#, fuzzy #| msgid "Partial Texts" msgid "Partial texts" msgstr "Textos parciais" #: libraries/DisplayResults.class.php:1330 #: libraries/DisplayResults.class.php:1439 -#, fuzzy #| msgid "Full Texts" msgid "Full texts" msgstr "Textos completos" @@ -2578,7 +2574,6 @@ msgid "Show binary contents" msgstr "Mostrar conteúdo binário" #: libraries/DisplayResults.class.php:1362 -#, fuzzy msgid "Show BLOB contents" msgstr "Exibir conteúdo BLOB" @@ -6186,14 +6181,13 @@ msgid "possible deep recursion attack" msgstr "possível ataque de recursão profunda" #: libraries/database_interface.lib.php:1939 -#, fuzzy #| msgid " the local MySQL server's socket is not correctly configured)" msgid "" "The server is not responding (or the local server's socket is not correctly " "configured)." msgstr "" "O servidor não está respondendo (ou o soquete do servidor local não está " -"configurado corretamente)" +"configurado corretamente)." #: libraries/database_interface.lib.php:1942 msgid "The server is not responding." @@ -6291,7 +6285,6 @@ msgid "Exporting rows from \"%s\" table" msgstr "Exportar linhas da tabela \"%s\"" #: libraries/display_export.lib.php:104 -#, fuzzy #| msgid "Export type" msgid "Export Method:" msgstr "Método de exportação:" @@ -6391,16 +6384,15 @@ msgid "zipped" msgstr "compactado" #: libraries/display_export.lib.php:336 -#, fuzzy #| msgid "\"gzipped\"" msgid "gzipped" -msgstr "\"compactado com gzip\"" +msgstr "compactado com gzip" #: libraries/display_export.lib.php:338 #, fuzzy #| msgid "\"bzipped\"" msgid "bzipped" -msgstr "\"compactado com bzip\"" +msgstr "compactado com bzip" #: libraries/display_export.lib.php:347 msgid "View output as text" @@ -6777,9 +6769,8 @@ msgid "" msgstr "" #: libraries/engines/pbxt.lib.php:38 -#, fuzzy msgid "Log cache size" -msgstr "Tamanho do buffer de ordenação" +msgstr "Tamanho do cache do log" #: libraries/engines/pbxt.lib.php:39 msgid "" @@ -6840,9 +6831,8 @@ msgid "" msgstr "" #: libraries/engines/pbxt.lib.php:68 -#, fuzzy msgid "Log buffer size" -msgstr "Tamanho do buffer de ordenação" +msgstr "Tamanho do buffer do log" #: libraries/engines/pbxt.lib.php:69 msgid "" @@ -6887,10 +6877,9 @@ msgid "" msgstr "" #: libraries/engines/pbxt.lib.php:133 -#, fuzzy #| msgid "Relations" msgid "Related Links" -msgstr "Relações" +msgstr "Links relatados" #: libraries/engines/pbxt.lib.php:135 msgid "The PrimeBase XT Blog by Paul McCullagh" @@ -6924,26 +6913,26 @@ msgid "Edit structure by following the \"Structure\" link" msgstr "" #: libraries/import.lib.php:1175 -#, fuzzy, php-format +#, php-format msgid "Go to database: %s" -msgstr "Sem bases" +msgstr "Ir para bando de dados: %s" #: libraries/import.lib.php:1178 libraries/import.lib.php:1206 -#, fuzzy, php-format +#, php-format #| msgid "Missing data for %s" msgid "Edit settings for %s" -msgstr "dado faltante para %s" +msgstr "Editar configurações para %s" #: libraries/import.lib.php:1201 -#, fuzzy, php-format +#, php-format msgid "Go to table: %s" -msgstr "Sem bases" +msgstr "Ir para tabela: %s" #: libraries/import.lib.php:1204 -#, fuzzy, php-format +#, php-format #| msgid "Structure only" msgid "Structure of %s" -msgstr "Somente estrutura" +msgstr "Estrutura do %s" #: libraries/import.lib.php:1212 #, php-format @@ -7028,11 +7017,10 @@ msgid "Inserted row id: %1$d" msgstr "Id da linha inserida: %1$d" #: libraries/kanji-encoding.lib.php:147 -#, fuzzy #| msgid "None" msgctxt "None encoding conversion" msgid "None" -msgstr "Nenhum" +msgstr "Nenhuma" #. l10n: This is currently used only in Japanese locales #: libraries/kanji-encoding.lib.php:153 @@ -7040,10 +7028,9 @@ msgid "Convert to Kana" msgstr "" #: libraries/mult_submits.inc.php:277 -#, fuzzy #| msgid "Fri" msgid "From" -msgstr "Sex" +msgstr "Do" #: libraries/mult_submits.inc.php:280 msgid "To" @@ -7059,7 +7046,6 @@ msgid "Add table prefix" msgstr "" #: libraries/mult_submits.inc.php:293 -#, fuzzy #| msgid "Add index" msgid "Add prefix" msgstr "Adicionar índice" @@ -7277,7 +7263,6 @@ msgid "Reload navigation frame" msgstr "" #: libraries/plugin_interface.lib.php:350 -#, fuzzy #| msgid "This format has no options" msgid "This format has no options" msgstr "Esse formato não tem opções" @@ -7405,10 +7390,9 @@ msgstr "Colunas delimitadas por:" #: libraries/plugins/export/ExportCsv.class.php:112 #: libraries/plugins/import/ImportCsv.class.php:92 -#, fuzzy #| msgid "Fields escaped by" msgid "Columns escaped with:" -msgstr "Campos pulados por:" +msgstr "Campos escapou com:" #: libraries/plugins/export/ExportCsv.class.php:117 #: libraries/plugins/import/ImportCsv.class.php:99 @@ -7439,7 +7423,6 @@ msgstr "Edição do Excel:" #: libraries/plugins/export/ExportSql.class.php:375 #: libraries/plugins/export/ExportTexytext.class.php:68 #: libraries/plugins/export/ExportXml.class.php:132 -#, fuzzy msgid "Data dump options" msgstr "Opções de exportação do Banco de Dados" @@ -7462,10 +7445,9 @@ msgstr "Evento" #: libraries/plugins/export/ExportTexytext.class.php:427 #: libraries/rte/rte_events.lib.php:469 libraries/rte/rte_routines.lib.php:967 #: libraries/rte/rte_triggers.lib.php:362 -#, fuzzy #| msgid "Description" msgid "Definition" -msgstr "Descrição" +msgstr "Definição" #: libraries/plugins/export/ExportHtmlword.class.php:544 #: libraries/plugins/export/ExportOdt.class.php:632 @@ -7489,58 +7471,51 @@ msgid "Stand-in structure for view" msgstr "Estrutura stand-in para visualizar" #: libraries/plugins/export/ExportLatex.class.php:42 -#, fuzzy #| msgid "Content of table __TABLE__" msgid "Content of table @TABLE@" -msgstr "Conteúdo da tabela __TABLE__" +msgstr "Conteúdo da tabela @TABLE@" #: libraries/plugins/export/ExportLatex.class.php:43 msgid "(continued)" msgstr "(continuação)" #: libraries/plugins/export/ExportLatex.class.php:44 -#, fuzzy #| msgid "Structure of table __TABLE__" msgid "Structure of table @TABLE@" -msgstr "Estrutura da tabela __TABLE__" +msgstr "Estrutura da tabela @TABLE@" #: libraries/plugins/export/ExportLatex.class.php:109 #: libraries/plugins/export/ExportOdt.class.php:82 #: libraries/plugins/export/ExportSql.class.php:277 -#, fuzzy #| msgid "Transformation options" msgid "Object creation options" -msgstr "Opções de transformação" +msgstr "Opções de criação de objetos" #: libraries/plugins/export/ExportLatex.class.php:121 #: libraries/plugins/export/ExportLatex.class.php:175 -#, fuzzy #| msgid "Table caption" msgid "Table caption (continued)" -msgstr "Leganda da Tabela" +msgstr "Legenda da tabela(continuação)" #: libraries/plugins/export/ExportLatex.class.php:134 #: libraries/plugins/export/ExportOdt.class.php:89 #: libraries/plugins/export/ExportSql.class.php:174 -#, fuzzy #| msgid "Disable foreign key checks" msgid "Display foreign key relationships" msgstr "Desabilitar verificação de chaves estrangeiras" #: libraries/plugins/export/ExportLatex.class.php:140 #: libraries/plugins/export/ExportOdt.class.php:95 -#, fuzzy #| msgid "Displaying Column Comments" msgid "Display comments" -msgstr "Exibindo comentários da coluna" +msgstr "Exibir comentários" #: libraries/plugins/export/ExportLatex.class.php:146 #: libraries/plugins/export/ExportOdt.class.php:101 #: libraries/plugins/export/ExportSql.class.php:181 -#, fuzzy #| msgid "Available MIME types" msgid "Display MIME types" -msgstr "MIME-type disponíveis" +msgstr "Mostrar os MIME-type" #: libraries/plugins/export/ExportLatex.class.php:223 #: libraries/plugins/export/ExportSql.class.php:691 @@ -7611,12 +7586,9 @@ msgid "" msgstr "" #: libraries/plugins/export/ExportSql.class.php:160 -#, fuzzy #| msgid "Add custom comment into header (\\n splits lines)" msgid "Additional custom header comment (\\n splits lines):" -msgstr "" -"Adicionar comentário pessoal no cabeçalho (\n" -" quebra linhas)" +msgstr "Adicionar comentário pessoal no cabeçalho (\\n quebras de linha):" #: libraries/plugins/export/ExportSql.class.php:166 msgid "" @@ -7632,10 +7604,10 @@ msgstr "" #: libraries/plugins/export/ExportSql.class.php:242 #: libraries/plugins/export/ExportSql.class.php:310 #: libraries/plugins/export/ExportSql.class.php:318 -#, fuzzy, php-format +#, php-format #| msgid "Statements" msgid "Add %s statement" -msgstr "Comandos" +msgstr "Adicionar comando %s" #: libraries/plugins/export/ExportSql.class.php:287 msgid "Add statements:" @@ -7737,10 +7709,9 @@ msgid "RELATIONS FOR TABLE" msgstr "RELAÇÕES PARA A TABELA" #: libraries/plugins/export/ExportSql.class.php:1512 -#, fuzzy #| msgid "Allows reading data." msgid "Error reading data:" -msgstr "Permitir leitura dos dados." +msgstr "Erro ao ler dados:" #: libraries/plugins/export/ExportXml.class.php:68 #: libraries/plugins/import/ImportXml.class.php:49 @@ -7752,15 +7723,13 @@ msgid "Object creation options (all are recommended)" msgstr "" #: libraries/plugins/export/ExportXml.class.php:121 -#, fuzzy #| msgid "View" msgid "Views" -msgstr "Visão" +msgstr "Visualizações" #: libraries/plugins/export/ExportXml.class.php:137 -#, fuzzy msgid "Export contents" -msgstr "Tipo de exportação" +msgstr "Exportar conteúdo" #: libraries/plugins/import/ImportCsv.class.php:109 #: libraries/plugins/import/ImportOds.class.php:63 @@ -7777,10 +7746,9 @@ msgid "" msgstr "" #: libraries/plugins/import/ImportCsv.class.php:126 -#, fuzzy #| msgid "Column names" msgid "Column names: " -msgstr "Nome das colunas" +msgstr "Nome das colunas:" #: libraries/plugins/import/ImportCsv.class.php:169 #: libraries/plugins/import/ImportCsv.class.php:184 @@ -7804,7 +7772,7 @@ msgid "Invalid format of CSV input on line %d." msgstr "Formato inválido na linha %d da entrada CSV." #: libraries/plugins/import/ImportCsv.class.php:473 -#, fuzzy, php-format +#, php-format #| msgid "Invalid field count in CSV input on line %d." msgid "Invalid column count in CSV input on line %d." msgstr "Contador de campo inválido na linha %d da entrada CSV." @@ -7871,10 +7839,9 @@ msgid "MySQL Spatial Extension does not support ESRI type \"%s\"." msgstr "" #: libraries/plugins/import/ImportShp.class.php:256 -#, fuzzy #| msgid "File %s does not contain any key id" msgid "The imported file does not contain any data" -msgstr "Arquivo %s não contém qualquer identificação da chave" +msgstr "Os arquivos importados não contém dados válidos" #: libraries/plugins/import/ImportSql.class.php:57 msgid "SQL compatibility mode:" @@ -8098,10 +8065,9 @@ msgid "SQL history" msgstr "Histórico SQL" #: libraries/relation.lib.php:214 -#, fuzzy #| msgid "Persistent connections" msgid "Persistent recently used tables" -msgstr "Conexões persistentes" +msgstr "Tabelas persistentes recentemente usadas" #: libraries/relation.lib.php:225 msgid "Persistent tables' UI preferences" @@ -8169,14 +8135,12 @@ msgid "Port" msgstr "Porta" #: libraries/replication_gui.lib.php:107 -#, fuzzy msgid "Master status" -msgstr "Exibir status dos escravos" +msgstr "Status principal" #: libraries/replication_gui.lib.php:109 -#, fuzzy msgid "Slave status" -msgstr "Exibir status dos escravos" +msgstr "Status dos secundários" #: libraries/replication_gui.lib.php:118 libraries/sql_query_form.lib.php:415 #: server_status.php:1501 server_variables.php:123 @@ -8246,10 +8210,9 @@ msgid "The following query has failed: \"%s\"" msgstr "A seguinte consulta falhou: \"%s\"" #: libraries/rte/rte_events.lib.php:116 -#, fuzzy #| msgid "Sorry, we failed to restore the dropped routine." msgid "Sorry, we failed to restore the dropped event." -msgstr "Desculpa, mas falhamos ao restaurar a rotina." +msgstr "Desculpe, mas falhamos ao restaurar o evento caído." #: libraries/rte/rte_events.lib.php:117 libraries/rte/rte_routines.lib.php:298 #: libraries/rte/rte_triggers.lib.php:90 @@ -8257,16 +8220,16 @@ msgid "The backed up query was:" msgstr "A consulta de backup foi:" #: libraries/rte/rte_events.lib.php:121 -#, fuzzy, php-format +#, php-format #| msgid "Routine %1$s has been modified." msgid "Event %1$s has been modified." -msgstr "A rotina %1$s foi modificada." +msgstr "O evento %1$s foi modificado." #: libraries/rte/rte_events.lib.php:133 -#, fuzzy, php-format +#, php-format #| msgid "Table %1$s has been created." msgid "Event %1$s has been created." -msgstr "A tabela %1$s foi criada." +msgstr "O evento %1$s foi criada." #: libraries/rte/rte_events.lib.php:141 libraries/rte/rte_routines.lib.php:329 #: libraries/rte/rte_triggers.lib.php:114 @@ -8275,10 +8238,9 @@ msgstr "" "Um ou mais erros ocorreram durante o processamento de sua requisição:" #: libraries/rte/rte_events.lib.php:186 -#, fuzzy #| msgid "Edit server" msgid "Edit event" -msgstr "Editar servidor" +msgstr "Editar evento" #: libraries/rte/rte_events.lib.php:213 libraries/rte/rte_routines.lib.php:409 #: libraries/rte/rte_routines.lib.php:1336 @@ -8293,51 +8255,45 @@ msgid "Details" msgstr "Detalhes" #: libraries/rte/rte_events.lib.php:378 -#, fuzzy #| msgid "Event type" msgid "Event name" -msgstr "Tipo de evento" +msgstr "Nome do evento" #: libraries/rte/rte_events.lib.php:399 server_binlog.php:177 msgid "Event type" msgstr "Tipo de evento" #: libraries/rte/rte_events.lib.php:420 libraries/rte/rte_routines.lib.php:893 -#, fuzzy, php-format +#, php-format #| msgid "Change" msgid "Change to %s" -msgstr "Alterar" +msgstr "Alterar para %s" #: libraries/rte/rte_events.lib.php:426 -#, fuzzy #| msgid "Execute" msgid "Execute at" -msgstr "Executar" +msgstr "Executar em" #: libraries/rte/rte_events.lib.php:434 -#, fuzzy #| msgid "Execute" msgid "Execute every" -msgstr "Executar" +msgstr "Executar sempre" #: libraries/rte/rte_events.lib.php:453 -#, fuzzy msgctxt "Start of recurring event" msgid "Start" -msgstr "Status" +msgstr "Início" #: libraries/rte/rte_events.lib.php:461 -#, fuzzy #| msgid "End" msgctxt "End of recurring event" msgid "End" -msgstr "Fim" +msgstr "Final" #: libraries/rte/rte_events.lib.php:475 -#, fuzzy #| msgid "Complete inserts" msgid "On completion preserve" -msgstr "Inserções completas" +msgstr "Após a conclusão manter" #: libraries/rte/rte_events.lib.php:479 libraries/rte/rte_routines.lib.php:977 #: libraries/rte/rte_triggers.lib.php:368 @@ -8387,10 +8343,9 @@ msgid "Event scheduler status" msgstr "" #: libraries/rte/rte_list.lib.php:55 -#, fuzzy #| msgid "Return type" msgid "Returns" -msgstr "Tipo de returno" +msgstr "Retornos" #: libraries/rte/rte_routines.lib.php:69 #, fuzzy @@ -8434,62 +8389,55 @@ msgid "Edit routine" msgstr "Editar rotina" #: libraries/rte/rte_routines.lib.php:875 -#, fuzzy #| msgid "Routines" msgid "Routine name" -msgstr "Rotinas" +msgstr "Nome das rotinas" #: libraries/rte/rte_routines.lib.php:898 msgid "Parameters" msgstr "" #: libraries/rte/rte_routines.lib.php:903 -#, fuzzy #| msgid "Direct links" msgid "Direction" -msgstr "Links diretos" +msgstr "Diração" #: libraries/rte/rte_routines.lib.php:906 libraries/tbl_properties.inc.php:87 msgid "Length/Values" msgstr "Tamanho/Definir*" #: libraries/rte/rte_routines.lib.php:921 -#, fuzzy #| msgid "Add index" msgid "Add parameter" msgstr "Adicionar índice" #: libraries/rte/rte_routines.lib.php:925 -#, fuzzy #| msgid "Remove database" msgid "Remove last parameter" -msgstr "Remover Banco de Dados" +msgstr "Remover último índice" #: libraries/rte/rte_routines.lib.php:930 msgid "Return type" msgstr "Tipo de returno" #: libraries/rte/rte_routines.lib.php:936 -#, fuzzy #| msgid "Length/Values" msgid "Return length/values" -msgstr "Tamanho/Definir*" +msgstr "Retornar comprimento/valores" #: libraries/rte/rte_routines.lib.php:942 -#, fuzzy #| msgid "Table options" msgid "Return options" -msgstr "Opções da tabela" +msgstr "Opções de retorno" #: libraries/rte/rte_routines.lib.php:973 msgid "Is deterministic" msgstr "" #: libraries/rte/rte_routines.lib.php:982 -#, fuzzy #| msgid "Security" msgid "Security type" -msgstr "Segurança" +msgstr "Tipo de segurança" #: libraries/rte/rte_routines.lib.php:989 msgid "SQL data access" @@ -8542,43 +8490,38 @@ msgstr "Executar rotina" #: libraries/rte/rte_routines.lib.php:1425 #: libraries/rte/rte_routines.lib.php:1428 -#, fuzzy #| msgid "Routines" msgid "Routine parameters" -msgstr "Rotinas" +msgstr "Parâmetros da rotina" #: libraries/rte/rte_triggers.lib.php:89 -#, fuzzy #| msgid "Sorry, we failed to restore the dropped routine." msgid "Sorry, we failed to restore the dropped trigger." msgstr "Desculpa, mas falhamos ao restaurar a rotina." #: libraries/rte/rte_triggers.lib.php:94 -#, fuzzy, php-format +#, php-format #| msgid "Routine %1$s has been modified." msgid "Trigger %1$s has been modified." msgstr "A rotina %1$s foi modificada." #: libraries/rte/rte_triggers.lib.php:106 -#, fuzzy, php-format +#, php-format #| msgid "Table %1$s has been created." msgid "Trigger %1$s has been created." -msgstr "A tabela %1$s foi criada." +msgstr "A rotina %1$s foi criada." #: libraries/rte/rte_triggers.lib.php:166 -#, fuzzy #| msgid "Add a new server" msgid "Edit trigger" -msgstr "Adicionar novo servidor" +msgstr "Editar rotina" #: libraries/rte/rte_triggers.lib.php:313 -#, fuzzy #| msgid "Triggers" msgid "Trigger name" -msgstr "Gatilhos" +msgstr "Nome da rotina" #: libraries/rte/rte_triggers.lib.php:334 -#, fuzzy #| msgid "Time" msgctxt "Trigger action time" msgid "Time" @@ -8597,17 +8540,15 @@ msgid "You must provide a valid event for the trigger" msgstr "" #: libraries/rte/rte_triggers.lib.php:429 -#, fuzzy #| msgid "Invalid table name" msgid "You must provide a valid table name" -msgstr "Nome de tabela inválida" +msgstr "Você precisa colocar um nome de tabela válido" #: libraries/rte/rte_triggers.lib.php:435 msgid "You must provide a trigger definition." msgstr "" #: libraries/rte/rte_words.lib.php:22 -#, fuzzy #| msgid "Add index" msgid "Add routine" msgstr "Adicionar índice" @@ -8618,16 +8559,14 @@ msgid "Export of routine %s" msgstr "Exportação de rotina %s" #: libraries/rte/rte_words.lib.php:25 -#, fuzzy #| msgid "Routines" msgid "routine" -msgstr "Rotinas" +msgstr "rotina" #: libraries/rte/rte_words.lib.php:26 -#, fuzzy #| msgid " do not have the necessary privileges to create a new routine" msgid "You do not have the necessary privileges to create a routine" -msgstr "Você não tem direitos suficientes para criar uma nova rotina" +msgstr "Você não tem privilégios suficientes para criar uma nova rotina" #: libraries/rte/rte_words.lib.php:27 #, php-format @@ -8639,62 +8578,55 @@ msgid "There are no routines to display." msgstr "Não existem rotinas para mostrar." #: libraries/rte/rte_words.lib.php:34 -#, fuzzy #| msgid "Add a new server" msgid "Add trigger" -msgstr "Adicionar novo servidor" +msgstr "Adicionar gatilho" #: libraries/rte/rte_words.lib.php:36 -#, fuzzy, php-format +#, php-format msgid "Export of trigger %s" -msgstr "Tipo de exportação" +msgstr "Exportação do gatilho %s" #: libraries/rte/rte_words.lib.php:37 -#, fuzzy #| msgid "Triggers" msgid "trigger" -msgstr "Gatilhos" +msgstr "Gatilho" #: libraries/rte/rte_words.lib.php:38 -#, fuzzy #| msgid " do not have the necessary privileges to create a new routine" msgid "You do not have the necessary privileges to create a trigger" -msgstr "Você não tem direitos suficientes para criar uma nova rotina" +msgstr "Você não tem permissões suficientes para criar um novo gatilho" #: libraries/rte/rte_words.lib.php:39 -#, fuzzy, php-format +#, php-format #| msgid "No routine with name %1$s found in database %2$s" msgid "No trigger with name %1$s found in database %2$s" -msgstr "Nenhuma rotina com o nome %1$s encontrada no banco de dados %2$s" +msgstr "Nenhum gatilho com o nome %1$s encontrado no banco de dados %2$s" #: libraries/rte/rte_words.lib.php:40 -#, fuzzy #| msgid "There are no files to upload" msgid "There are no triggers to display." -msgstr "Não existem triggers para mostrar" +msgstr "Não existem gatilhos para mostrar." #: libraries/rte/rte_words.lib.php:46 -#, fuzzy #| msgid "Add a new server" msgid "Add event" -msgstr "Adicionar novo servidor" +msgstr "Adicionar evento" #: libraries/rte/rte_words.lib.php:48 -#, fuzzy, php-format +#, php-format msgid "Export of event %s" -msgstr "Tipo de exportação" +msgstr "Exportação do evento %s" #: libraries/rte/rte_words.lib.php:49 -#, fuzzy #| msgid "Event" msgid "event" -msgstr "Evento" +msgstr "evento" #: libraries/rte/rte_words.lib.php:50 -#, fuzzy #| msgid " do not have the necessary privileges to create a new routine" msgid "You do not have the necessary privileges to create an event" -msgstr "Você não tem direitos suficientes para criar uma nova rotina" +msgstr "Você não tem permissões suficientes para criar um novo evento" #: libraries/rte/rte_words.lib.php:51 #, fuzzy, php-format From aa29a641e7ec0c9a89fbefa2e441103b54e51561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 29 Jun 2012 09:19:17 +0200 Subject: [PATCH 7/9] Translated using Weblate. --- po/sk.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sk.po b/po/sk.po index 42cc651e14..3ab6f0be2f 100644 --- a/po/sk.po +++ b/po/sk.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-06-28 09:04+0200\n" -"PO-Revision-Date: 2012-05-17 14:52+0200\n" +"PO-Revision-Date: 2012-06-28 16:32+0200\n" "Last-Translator: Michal Čihař \n" "Language-Team: slovak \n" "Language: sk\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 1.0\n" +"X-Generator: Weblate 1.1\n" #: browse_foreigners.php:36 browse_foreigners.php:60 js/messages.php:354 #: libraries/DisplayResults.class.php:577 server_privileges.php:1838 @@ -1965,7 +1965,7 @@ msgstr "Kliknite na dátový bod pre zobrazenie a prípadnú úpravu dát." #: js/messages.php:310 msgid "The plot can be resized by dragging it along the bottom right corner." -msgstr "Graf môžete zvúčšiť potiahnutím za pravý dolný roh." +msgstr "Graf môžete zväčšiť potiahnutím za pravý dolný roh." #: js/messages.php:312 msgid "Select two columns" From 2cc8dcca9d58d91d094a6ded0743f318b96b772b Mon Sep 17 00:00:00 2001 From: Alexsandro Preis Dubinski Date: Fri, 29 Jun 2012 09:35:29 +0200 Subject: [PATCH 8/9] Translated using Weblate. --- po/pt_BR.po | 228 ++++++++++++++++++---------------------------------- 1 file changed, 80 insertions(+), 148 deletions(-) diff --git a/po/pt_BR.po b/po/pt_BR.po index 8b0530831e..31bd75f964 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 3.5.2-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-06-04 13:42+0200\n" -"PO-Revision-Date: 2012-06-28 13:50+0200\n" +"PO-Revision-Date: 2012-06-28 16:25+0200\n" "Last-Translator: Alexsandro Preis Dubinski \n" "Language-Team: brazilian_portuguese \n" "Language: pt_BR\n" @@ -5553,14 +5553,13 @@ msgid "possible deep recursion attack" msgstr "possível ataque de recursão profunda" #: libraries/database_interface.lib.php:1813 -#, fuzzy #| msgid " the local MySQL server's socket is not correctly configured)" msgid "" "The server is not responding (or the local server's socket is not correctly " "configured)." msgstr "" "O servidor não está respondendo (ou o soquete do servidor local não está " -"configurado corretamente)" +"configurado corretamente)." #: libraries/database_interface.lib.php:1816 msgid "The server is not responding." @@ -5699,7 +5698,6 @@ msgid "Exporting rows from \"%s\" table" msgstr "Exportar linhas da tabela \"%s\"" #: libraries/display_export.lib.php:92 -#, fuzzy #| msgid "Export type" msgid "Export Method:" msgstr "Método de exportação:" @@ -5803,16 +5801,15 @@ msgid "zipped" msgstr "compactado" #: libraries/display_export.lib.php:312 -#, fuzzy #| msgid "\"gzipped\"" msgid "gzipped" -msgstr "\"compactado com gzip\"" +msgstr "compactado com gzip" #: libraries/display_export.lib.php:314 #, fuzzy #| msgid "\"bzipped\"" msgid "bzipped" -msgstr "\"compactado com bzip\"" +msgstr "compactado com bzip" #: libraries/display_export.lib.php:323 msgid "View output as text" @@ -5944,13 +5941,11 @@ msgid "Start row" msgstr "Linha inicial" #: libraries/display_tbl.lib.php:430 -#, fuzzy #| msgid "Number of fields" msgid "Number of rows" msgstr "Número de linhas" #: libraries/display_tbl.lib.php:435 -#, fuzzy #| msgid "More" msgid "Mode" msgstr "Modo" @@ -5994,13 +5989,11 @@ msgid "Options" msgstr "Opções" #: libraries/display_tbl.lib.php:632 libraries/display_tbl.lib.php:650 -#, fuzzy #| msgid "Partial Texts" msgid "Partial texts" msgstr "Textos parciais" #: libraries/display_tbl.lib.php:633 libraries/display_tbl.lib.php:654 -#, fuzzy #| msgid "Full Texts" msgid "Full texts" msgstr "Textos completos" @@ -6018,7 +6011,6 @@ msgid "Show binary contents" msgstr "Mostrar conteúdo binário" #: libraries/display_tbl.lib.php:677 -#, fuzzy msgid "Show BLOB contents" msgstr "Exibir conteúdo BLOB" @@ -6354,10 +6346,9 @@ msgid "" msgstr "" #: libraries/engines/pbms.lib.php:96 libraries/engines/pbxt.lib.php:127 -#, fuzzy #| msgid "Relations" msgid "Related Links" -msgstr "Relações" +msgstr "Links relatados" #: libraries/engines/pbms.lib.php:98 msgid "The PrimeBase Media Streaming Blog by Barry Leslie" @@ -6389,9 +6380,8 @@ msgid "" msgstr "" #: libraries/engines/pbxt.lib.php:32 -#, fuzzy msgid "Log cache size" -msgstr "Tamanho do buffer de ordenação" +msgstr "Tamanho do cache do log" #: libraries/engines/pbxt.lib.php:33 msgid "" @@ -6452,9 +6442,8 @@ msgid "" msgstr "" #: libraries/engines/pbxt.lib.php:62 -#, fuzzy msgid "Log buffer size" -msgstr "Tamanho do buffer de ordenação" +msgstr "Tamanho do buffer do log" #: libraries/engines/pbxt.lib.php:63 msgid "" @@ -6515,10 +6504,9 @@ msgid "Columns enclosed with:" msgstr "Colunas delimitadas por:" #: libraries/export/csv.php:26 libraries/import/csv.php:30 -#, fuzzy #| msgid "Fields escaped by" msgid "Columns escaped with:" -msgstr "Campos pulados por:" +msgstr "Campos escapou com:" #: libraries/export/csv.php:27 libraries/import/csv.php:31 msgid "Lines terminated with:" @@ -6541,7 +6529,6 @@ msgstr "Edição do Excel:" #: libraries/export/htmlword.php:28 libraries/export/latex.php:70 #: libraries/export/odt.php:56 libraries/export/sql.php:222 #: libraries/export/texytext.php:26 libraries/export/xml.php:73 -#, fuzzy msgid "Data dump options" msgstr "Opções de exportação do Banco de Dados" @@ -6556,53 +6543,46 @@ msgid "Table structure for table" msgstr "Estrutura da tabela" #: libraries/export/latex.php:14 -#, fuzzy #| msgid "Content of table __TABLE__" msgid "Content of table @TABLE@" -msgstr "Conteúdo da tabela __TABLE__" +msgstr "Conteúdo da tabela @TABLE@" #: libraries/export/latex.php:15 msgid "(continued)" msgstr "(continuação)" #: libraries/export/latex.php:16 -#, fuzzy #| msgid "Structure of table __TABLE__" msgid "Structure of table @TABLE@" -msgstr "Estrutura da tabela __TABLE__" +msgstr "Estrutura da tabela @TABLE@" #: libraries/export/latex.php:48 libraries/export/odt.php:40 #: libraries/export/sql.php:142 -#, fuzzy #| msgid "Transformation options" msgid "Object creation options" -msgstr "Opções de transformação" +msgstr "Opções de criação de objetos" #: libraries/export/latex.php:52 libraries/export/latex.php:76 -#, fuzzy #| msgid "Table caption" msgid "Table caption (continued)" -msgstr "Leganda da Tabela" +msgstr "Legenda da tabela(continuação)" #: libraries/export/latex.php:57 libraries/export/odt.php:43 #: libraries/export/sql.php:56 -#, fuzzy #| msgid "Disable foreign key checks" msgid "Display foreign key relationships" msgstr "Desabilitar verificação de chaves estrangeiras" #: libraries/export/latex.php:60 libraries/export/odt.php:46 -#, fuzzy #| msgid "Displaying Column Comments" msgid "Display comments" -msgstr "Exibindo comentários da coluna" +msgstr "Exibir comentários" #: libraries/export/latex.php:63 libraries/export/odt.php:49 #: libraries/export/sql.php:63 -#, fuzzy #| msgid "Available MIME types" msgid "Display MIME types" -msgstr "MIME-type disponíveis" +msgstr "Mostrar os MIME-type" #: libraries/export/latex.php:132 libraries/export/sql.php:482 #: libraries/export/xml.php:131 libraries/header_printview.inc.php:59 @@ -6657,12 +6637,9 @@ msgid "" msgstr "" #: libraries/export/sql.php:45 -#, fuzzy #| msgid "Add custom comment into header (\\n splits lines)" msgid "Additional custom header comment (\\n splits lines):" -msgstr "" -"Adicionar comentário pessoal no cabeçalho (\n" -" quebra linhas)" +msgstr "Adicionar comentário pessoal no cabeçalho (\\n quebras de linha):" #: libraries/export/sql.php:50 msgid "" @@ -6677,10 +6654,10 @@ msgstr "" #: libraries/export/sql.php:114 libraries/export/sql.php:173 #: libraries/export/sql.php:180 -#, fuzzy, php-format +#, php-format #| msgid "Statements" msgid "Add %s statement" -msgstr "Comandos" +msgstr "Adicionar comando %s" #: libraries/export/sql.php:152 msgid "Add statements:" @@ -6783,10 +6760,9 @@ msgid "Stand-in structure for view" msgstr "Estrutura stand-in para visualizar" #: libraries/export/sql.php:1112 -#, fuzzy #| msgid "Allows reading data." msgid "Error reading data:" -msgstr "Permitir leitura dos dados." +msgstr "Erro ao ler dados:" #: libraries/export/xml.php:19 libraries/import/xml.php:28 msgid "XML" @@ -6797,15 +6773,13 @@ msgid "Object creation options (all are recommended)" msgstr "" #: libraries/export/xml.php:62 -#, fuzzy #| msgid "View" msgid "Views" -msgstr "Visão" +msgstr "Visualizações" #: libraries/export/xml.php:78 -#, fuzzy msgid "Export contents" -msgstr "Tipo de exportação" +msgstr "Exportar conteúdo" #: libraries/footer.inc.php:163 libraries/footer.inc.php:165 #: libraries/footer.inc.php:168 @@ -6852,26 +6826,26 @@ msgid "Edit structure by following the \"Structure\" link" msgstr "" #: libraries/import.lib.php:1106 -#, fuzzy, php-format +#, php-format msgid "Go to database: %s" -msgstr "Sem bases" +msgstr "Ir para bando de dados: %s" #: libraries/import.lib.php:1109 libraries/import.lib.php:1132 -#, fuzzy, php-format +#, php-format #| msgid "Missing data for %s" msgid "Edit settings for %s" -msgstr "dado faltante para %s" +msgstr "Editar configurações para %s" #: libraries/import.lib.php:1127 -#, fuzzy, php-format +#, php-format msgid "Go to table: %s" -msgstr "Sem bases" +msgstr "Ir para tabela: %s" #: libraries/import.lib.php:1130 -#, fuzzy, php-format +#, php-format #| msgid "Structure only" msgid "Structure of %s" -msgstr "Somente estrutura" +msgstr "Estrutura do %s" #: libraries/import.lib.php:1136 #, php-format @@ -6892,10 +6866,9 @@ msgid "" msgstr "" #: libraries/import/csv.php:42 -#, fuzzy #| msgid "Column names" msgid "Column names: " -msgstr "Nome das colunas" +msgstr "Nome das colunas:" #: libraries/import/csv.php:62 libraries/import/csv.php:75 #: libraries/import/csv.php:80 libraries/import/csv.php:85 @@ -6916,7 +6889,7 @@ msgid "Invalid format of CSV input on line %d." msgstr "Formato inválido na linha %d da entrada CSV." #: libraries/import/csv.php:337 -#, fuzzy, php-format +#, php-format #| msgid "Invalid field count in CSV input on line %d." msgid "Invalid column count in CSV input on line %d." msgstr "Contador de campo inválido na linha %d da entrada CSV." @@ -6975,10 +6948,9 @@ msgid "MySQL Spatial Extension does not support ESRI type \"%s\"." msgstr "" #: libraries/import/shp.php:376 -#, fuzzy #| msgid "File %s does not contain any key id" msgid "The imported file does not contain any data" -msgstr "Arquivo %s não contém qualquer identificação da chave" +msgstr "Os arquivos importados não contém dados válidos" #: libraries/import/sql.php:33 msgid "SQL compatibility mode:" @@ -6989,11 +6961,10 @@ msgid "Do not use AUTO_INCREMENT for zero values" msgstr "" #: libraries/kanji-encoding.lib.php:147 -#, fuzzy #| msgid "None" msgctxt "None encoding conversion" msgid "None" -msgstr "Nenhum" +msgstr "Nenhuma" #. l10n: This is currently used only in Japanese locales #: libraries/kanji-encoding.lib.php:153 @@ -7001,10 +6972,9 @@ msgid "Convert to Kana" msgstr "" #: libraries/mult_submits.inc.php:254 -#, fuzzy #| msgid "Fri" msgid "From" -msgstr "Sex" +msgstr "Do" #: libraries/mult_submits.inc.php:257 msgid "To" @@ -7020,7 +6990,6 @@ msgid "Add table prefix" msgstr "" #: libraries/mult_submits.inc.php:270 -#, fuzzy #| msgid "Add index" msgid "Add prefix" msgstr "Adicionar índice" @@ -7235,7 +7204,6 @@ msgid "Reload navigation frame" msgstr "" #: libraries/plugin_interface.lib.php:309 -#, fuzzy #| msgid "This format has no options" msgid "This format has no options" msgstr "Esse formato não tem opções" @@ -7285,10 +7253,9 @@ msgid "SQL history" msgstr "Histórico SQL" #: libraries/relation.lib.php:136 -#, fuzzy #| msgid "Persistent connections" msgid "Persistent recently used tables" -msgstr "Conexões persistentes" +msgstr "Tabelas persistentes recentemente usadas" #: libraries/relation.lib.php:140 msgid "Persistent tables' UI preferences" @@ -7348,14 +7315,12 @@ msgid "User name" msgstr "Nome do usuário" #: libraries/replication_gui.lib.php:107 -#, fuzzy msgid "Master status" -msgstr "Exibir status dos escravos" +msgstr "Status principal" #: libraries/replication_gui.lib.php:109 -#, fuzzy msgid "Slave status" -msgstr "Exibir status dos escravos" +msgstr "Status dos secundários" #: libraries/replication_gui.lib.php:118 libraries/sql_query_form.lib.php:388 #: server_status.php:1478 server_variables.php:123 @@ -7433,10 +7398,9 @@ msgid "The following query has failed: \"%s\"" msgstr "A seguinte consulta falhou: \"%s\"" #: libraries/rte/rte_events.lib.php:116 -#, fuzzy #| msgid "Sorry, we failed to restore the dropped routine." msgid "Sorry, we failed to restore the dropped event." -msgstr "Desculpa, mas falhamos ao restaurar a rotina." +msgstr "Desculpe, mas falhamos ao restaurar o evento caído." #: libraries/rte/rte_events.lib.php:117 libraries/rte/rte_routines.lib.php:267 #: libraries/rte/rte_triggers.lib.php:90 @@ -7444,16 +7408,16 @@ msgid "The backed up query was:" msgstr "A consulta de backup foi:" #: libraries/rte/rte_events.lib.php:121 -#, fuzzy, php-format +#, php-format #| msgid "Routine %1$s has been modified." msgid "Event %1$s has been modified." -msgstr "A rotina %1$s foi modificada." +msgstr "O evento %1$s foi modificado." #: libraries/rte/rte_events.lib.php:133 -#, fuzzy, php-format +#, php-format #| msgid "Table %1$s has been created." msgid "Event %1$s has been created." -msgstr "A tabela %1$s foi criada." +msgstr "O evento %1$s foi criada." #: libraries/rte/rte_events.lib.php:141 libraries/rte/rte_routines.lib.php:292 #: libraries/rte/rte_triggers.lib.php:114 @@ -7462,10 +7426,9 @@ msgstr "" "Um ou mais erros ocorreram durante o processamento de sua requisição:" #: libraries/rte/rte_events.lib.php:185 -#, fuzzy #| msgid "Edit server" msgid "Edit event" -msgstr "Editar servidor" +msgstr "Editar evento" #: libraries/rte/rte_events.lib.php:212 libraries/rte/rte_routines.lib.php:370 #: libraries/rte/rte_routines.lib.php:1276 @@ -7480,58 +7443,51 @@ msgid "Details" msgstr "Detalhes" #: libraries/rte/rte_events.lib.php:374 -#, fuzzy #| msgid "Event type" msgid "Event name" -msgstr "Tipo de evento" +msgstr "Nome do evento" #: libraries/rte/rte_events.lib.php:395 server_binlog.php:182 msgid "Event type" msgstr "Tipo de evento" #: libraries/rte/rte_events.lib.php:416 libraries/rte/rte_routines.lib.php:849 -#, fuzzy, php-format +#, php-format #| msgid "Change" msgid "Change to %s" -msgstr "Alterar" +msgstr "Alterar para %s" #: libraries/rte/rte_events.lib.php:422 -#, fuzzy #| msgid "Execute" msgid "Execute at" -msgstr "Executar" +msgstr "Executar em" #: libraries/rte/rte_events.lib.php:430 -#, fuzzy #| msgid "Execute" msgid "Execute every" -msgstr "Executar" +msgstr "Executar sempre" #: libraries/rte/rte_events.lib.php:449 -#, fuzzy msgctxt "Start of recurring event" msgid "Start" -msgstr "Status" +msgstr "Início" #: libraries/rte/rte_events.lib.php:457 -#, fuzzy #| msgid "End" msgctxt "End of recurring event" msgid "End" -msgstr "Fim" +msgstr "Final" #: libraries/rte/rte_events.lib.php:465 libraries/rte/rte_routines.lib.php:923 #: libraries/rte/rte_triggers.lib.php:354 -#, fuzzy #| msgid "Description" msgid "Definition" -msgstr "Descrição" +msgstr "Definição" #: libraries/rte/rte_events.lib.php:471 -#, fuzzy #| msgid "Complete inserts" msgid "On completion preserve" -msgstr "Inserções completas" +msgstr "Após a conclusão manter" #: libraries/rte/rte_events.lib.php:475 libraries/rte/rte_routines.lib.php:933 #: libraries/rte/rte_triggers.lib.php:360 @@ -7580,10 +7536,9 @@ msgid "Event scheduler status" msgstr "" #: libraries/rte/rte_list.lib.php:54 -#, fuzzy #| msgid "Return type" msgid "Returns" -msgstr "Tipo de returno" +msgstr "Retornos" #: libraries/rte/rte_list.lib.php:63 libraries/rte/rte_triggers.lib.php:340 msgid "Event" @@ -7625,62 +7580,55 @@ msgid "Edit routine" msgstr "Editar rotina" #: libraries/rte/rte_routines.lib.php:831 -#, fuzzy #| msgid "Routines" msgid "Routine name" -msgstr "Rotinas" +msgstr "Nome das rotinas" #: libraries/rte/rte_routines.lib.php:854 msgid "Parameters" msgstr "" #: libraries/rte/rte_routines.lib.php:859 -#, fuzzy #| msgid "Direct links" msgid "Direction" -msgstr "Links diretos" +msgstr "Diração" #: libraries/rte/rte_routines.lib.php:862 libraries/tbl_properties.inc.php:98 msgid "Length/Values" msgstr "Tamanho/Definir*" #: libraries/rte/rte_routines.lib.php:877 -#, fuzzy #| msgid "Add index" msgid "Add parameter" msgstr "Adicionar índice" #: libraries/rte/rte_routines.lib.php:881 -#, fuzzy #| msgid "Remove database" msgid "Remove last parameter" -msgstr "Remover Banco de Dados" +msgstr "Remover último índice" #: libraries/rte/rte_routines.lib.php:886 msgid "Return type" msgstr "Tipo de returno" #: libraries/rte/rte_routines.lib.php:892 -#, fuzzy #| msgid "Length/Values" msgid "Return length/values" -msgstr "Tamanho/Definir*" +msgstr "Retornar comprimento/valores" #: libraries/rte/rte_routines.lib.php:898 -#, fuzzy #| msgid "Table options" msgid "Return options" -msgstr "Opções da tabela" +msgstr "Opções de retorno" #: libraries/rte/rte_routines.lib.php:929 msgid "Is deterministic" msgstr "" #: libraries/rte/rte_routines.lib.php:938 -#, fuzzy #| msgid "Security" msgid "Security type" -msgstr "Segurança" +msgstr "Tipo de segurança" #: libraries/rte/rte_routines.lib.php:945 msgid "SQL data access" @@ -7733,10 +7681,9 @@ msgstr "Executar rotina" #: libraries/rte/rte_routines.lib.php:1359 #: libraries/rte/rte_routines.lib.php:1362 -#, fuzzy #| msgid "Routines" msgid "Routine parameters" -msgstr "Rotinas" +msgstr "Parâmetros da rotina" #: libraries/rte/rte_routines.lib.php:1369 libraries/tbl_select.lib.php:79 #: tbl_change.php:292 tbl_change.php:330 @@ -7744,37 +7691,33 @@ msgid "Function" msgstr "Função" #: libraries/rte/rte_triggers.lib.php:89 -#, fuzzy #| msgid "Sorry, we failed to restore the dropped routine." msgid "Sorry, we failed to restore the dropped trigger." msgstr "Desculpa, mas falhamos ao restaurar a rotina." #: libraries/rte/rte_triggers.lib.php:94 -#, fuzzy, php-format +#, php-format #| msgid "Routine %1$s has been modified." msgid "Trigger %1$s has been modified." msgstr "A rotina %1$s foi modificada." #: libraries/rte/rte_triggers.lib.php:106 -#, fuzzy, php-format +#, php-format #| msgid "Table %1$s has been created." msgid "Trigger %1$s has been created." -msgstr "A tabela %1$s foi criada." +msgstr "A rotina %1$s foi criada." #: libraries/rte/rte_triggers.lib.php:161 -#, fuzzy #| msgid "Add a new server" msgid "Edit trigger" -msgstr "Adicionar novo servidor" +msgstr "Editar rotina" #: libraries/rte/rte_triggers.lib.php:305 -#, fuzzy #| msgid "Triggers" msgid "Trigger name" -msgstr "Gatilhos" +msgstr "Nome da rotina" #: libraries/rte/rte_triggers.lib.php:326 -#, fuzzy #| msgid "Time" msgctxt "Trigger action time" msgid "Time" @@ -7793,17 +7736,15 @@ msgid "You must provide a valid event for the trigger" msgstr "" #: libraries/rte/rte_triggers.lib.php:421 -#, fuzzy #| msgid "Invalid table name" msgid "You must provide a valid table name" -msgstr "Nome de tabela inválida" +msgstr "Você precisa colocar um nome de tabela válido" #: libraries/rte/rte_triggers.lib.php:427 msgid "You must provide a trigger definition." msgstr "" #: libraries/rte/rte_words.lib.php:18 -#, fuzzy #| msgid "Add index" msgid "Add routine" msgstr "Adicionar índice" @@ -7814,16 +7755,14 @@ msgid "Export of routine %s" msgstr "Exportação de rotina %s" #: libraries/rte/rte_words.lib.php:21 -#, fuzzy #| msgid "Routines" msgid "routine" -msgstr "Rotinas" +msgstr "rotina" #: libraries/rte/rte_words.lib.php:22 -#, fuzzy #| msgid " do not have the necessary privileges to create a new routine" msgid "You do not have the necessary privileges to create a routine" -msgstr "Você não tem direitos suficientes para criar uma nova rotina" +msgstr "Você não tem privilégios suficientes para criar uma nova rotina" #: libraries/rte/rte_words.lib.php:23 #, php-format @@ -7835,62 +7774,55 @@ msgid "There are no routines to display." msgstr "Não existem rotinas para mostrar." #: libraries/rte/rte_words.lib.php:30 -#, fuzzy #| msgid "Add a new server" msgid "Add trigger" -msgstr "Adicionar novo servidor" +msgstr "Adicionar gatilho" #: libraries/rte/rte_words.lib.php:32 -#, fuzzy, php-format +#, php-format msgid "Export of trigger %s" -msgstr "Tipo de exportação" +msgstr "Exportação do gatilho %s" #: libraries/rte/rte_words.lib.php:33 -#, fuzzy #| msgid "Triggers" msgid "trigger" -msgstr "Gatilhos" +msgstr "Gatilho" #: libraries/rte/rte_words.lib.php:34 -#, fuzzy #| msgid " do not have the necessary privileges to create a new routine" msgid "You do not have the necessary privileges to create a trigger" -msgstr "Você não tem direitos suficientes para criar uma nova rotina" +msgstr "Você não tem permissões suficientes para criar um novo gatilho" #: libraries/rte/rte_words.lib.php:35 -#, fuzzy, php-format +#, php-format #| msgid "No routine with name %1$s found in database %2$s" msgid "No trigger with name %1$s found in database %2$s" -msgstr "Nenhuma rotina com o nome %1$s encontrada no banco de dados %2$s" +msgstr "Nenhum gatilho com o nome %1$s encontrado no banco de dados %2$s" #: libraries/rte/rte_words.lib.php:36 -#, fuzzy #| msgid "There are no files to upload" msgid "There are no triggers to display." -msgstr "Não existem triggers para mostrar" +msgstr "Não existem gatilhos para mostrar." #: libraries/rte/rte_words.lib.php:42 -#, fuzzy #| msgid "Add a new server" msgid "Add event" -msgstr "Adicionar novo servidor" +msgstr "Adicionar evento" #: libraries/rte/rte_words.lib.php:44 -#, fuzzy, php-format +#, php-format msgid "Export of event %s" -msgstr "Tipo de exportação" +msgstr "Exportação do evento %s" #: libraries/rte/rte_words.lib.php:45 -#, fuzzy #| msgid "Event" msgid "event" -msgstr "Evento" +msgstr "evento" #: libraries/rte/rte_words.lib.php:46 -#, fuzzy #| msgid " do not have the necessary privileges to create a new routine" msgid "You do not have the necessary privileges to create an event" -msgstr "Você não tem direitos suficientes para criar uma nova rotina" +msgstr "Você não tem permissões suficientes para criar um novo evento" #: libraries/rte/rte_words.lib.php:47 #, fuzzy, php-format From a5737474d8636601a3dfdaa090cede0eb4616f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 29 Jun 2012 09:35:30 +0200 Subject: [PATCH 9/9] Translated using Weblate. --- po/sk.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sk.po b/po/sk.po index ee54a9507b..b4b158f244 100644 --- a/po/sk.po +++ b/po/sk.po @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 3.5.2-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-06-04 13:42+0200\n" -"PO-Revision-Date: 2012-05-17 14:52+0200\n" +"PO-Revision-Date: 2012-06-28 16:32+0200\n" "Last-Translator: Michal Čihař \n" "Language-Team: slovak \n" "Language: sk\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 1.0\n" +"X-Generator: Weblate 1.1\n" #: browse_foreigners.php:35 browse_foreigners.php:53 js/messages.php:353 #: libraries/display_tbl.lib.php:359 server_privileges.php:1677 @@ -1926,7 +1926,7 @@ msgstr "Kliknite na dátový bod pre zobrazenie a prípadnú úpravu dát." #: js/messages.php:310 msgid "The plot can be resized by dragging it along the bottom right corner." -msgstr "Graf môžete zvúčšiť potiahnutím za pravý dolný roh." +msgstr "Graf môžete zväčšiť potiahnutím za pravý dolný roh." #: js/messages.php:312 msgid "Select two columns"