Skip to content

Commit

Permalink
Merge pull request #84 from hernanicajado/master
Browse files Browse the repository at this point in the history
Update Portuguese translations
  • Loading branch information
kartik-v committed Jul 24, 2015
2 parents bbbe102 + 4d769d8 commit 4c3ce11
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
4 changes: 2 additions & 2 deletions messages/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'messagePath' => __DIR__,
// array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh-CN', 'de'].
'languages' => ['da', 'de', 'en', 'es', 'fr', 'hu', 'it', 'lt', 'pt-BR', 'ru', 'vi', 'zh-CN'],
'languages' => ['da', 'de', 'en', 'es', 'fr', 'hu', 'it', 'lt', 'pt-BR', 'pt-PT', 'ru', 'vi', 'zh-CN'],
// string, the name of the function for translating messages.
// Defaults to 'Yii::t'. This is used as a mark to find the messages to be
// translated. You may use a string for single function name or an array for
Expand Down Expand Up @@ -48,4 +48,4 @@
// When format is "db", you may specify the following two options
//'db' => 'db',
//'sourceMessageTable' => '{{%source_message}}',
];
];
25 changes: 25 additions & 0 deletions messages/pt-PT/kveditable.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'(not set)' => '(não definido)',
'Apply' => 'Aplicar',
'Close' => 'Fechar',
'Edit' => 'Editar',
'Reset' => 'Anular',
];
25 changes: 25 additions & 0 deletions messages/pt/kveditable.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'(not set)' => '(não definido)',
'Apply' => 'Aplicar',
'Close' => '',
'Edit' => 'Editar',
'Reset' => 'Resetar',
];

0 comments on commit 4c3ce11

Please sign in to comment.