Skip to content

Commit

Permalink
Merge pull request #197 from zaip/master
Browse files Browse the repository at this point in the history
Translation set for Brazilian Portuguese
  • Loading branch information
David Coallier committed Nov 1, 2012
2 parents ec4b884 + 3f902ef commit c0ee438
Show file tree
Hide file tree
Showing 33 changed files with 628 additions and 98 deletions.
6 changes: 3 additions & 3 deletions setup.sh 100644 → 100755
Expand Up @@ -13,7 +13,7 @@ CURRENTDIR=`pwd`


# Giving permissions # Giving permissions
## This is for the generated actions (By the administration interface) ## This is for the generated actions (By the administration interface)
chmod 775 $CURRENTDIR/src/frapi/custom/Action chmod 777 $CURRENTDIR/src/frapi/custom/Action


chmod 775 $CURRENTDIR/src/frapi/custom/Config chmod 777 $CURRENTDIR/src/frapi/custom/Config
chmod 664 $CURRENTDIR/src/frapi/custom/Config/*.xml chmod 777 $CURRENTDIR/src/frapi/custom/Config/*.xml
1 change: 1 addition & 0 deletions src/frapi/admin/application/Bootstrap.php
Expand Up @@ -26,6 +26,7 @@ protected function _initLanguages()
$translate->addTranslation($languageDir . DIRECTORY_SEPARATOR . 'fr_FR.mo', 'fr'); $translate->addTranslation($languageDir . DIRECTORY_SEPARATOR . 'fr_FR.mo', 'fr');
$translate->addTranslation($languageDir . DIRECTORY_SEPARATOR . 'it_IT.mo', 'it'); $translate->addTranslation($languageDir . DIRECTORY_SEPARATOR . 'it_IT.mo', 'it');
$translate->addTranslation($languageDir . DIRECTORY_SEPARATOR . 'ru_RU.mo', 'ru'); $translate->addTranslation($languageDir . DIRECTORY_SEPARATOR . 'ru_RU.mo', 'ru');
$translate->addTranslation($languageDir . DIRECTORY_SEPARATOR . 'pt_BR.mo', 'pt_BR');


$locale = new Zend_Session_Namespace('locale'); $locale = new Zend_Session_Namespace('locale');
if (!$locale->value) { if (!$locale->value) {
Expand Down
Binary file added src/frapi/admin/application/languages/pt_BR.mo
Binary file not shown.

0 comments on commit c0ee438

Please sign in to comment.