From 94cdeebe3d83289059c3cfec36680e25ab670757 Mon Sep 17 00:00:00 2001 From: MaWoScha Date: Tue, 10 Feb 2015 11:15:23 +0100 Subject: [PATCH] Version 0.1.0, not so much functionality, but framework is done --- MagentoConnect.html | 48 +++++++ README.md | 39 ++++++ .../Config/Form/Fieldset/Extensions.php | 38 ++++++ .../Config/Form/Fieldset/Instructions.php | 68 ++++++++++ .../German/LocalePackBr/Helper/Data.php | 12 ++ .../German/LocalePackBr/Model/Observer.php | 55 ++++++++ .../German/LocalePackBr/etc/config.xml | 110 ++++++++++++++++ .../German/LocalePackBr/etc/system.xml | 60 +++++++++ app/etc/modules/German_LocalePackBr.xml | 19 +++ app/locale/de_DE/German_LocaleBr.csv | 32 +++++ app/locale/en_US/German_LocaleBr.csv | 32 +++++ app/locale/es_ES/German_LocaleBr.csv | 32 +++++ app/locale/fr_FR/German_LocaleBr.csv | 32 +++++ app/locale/pt_BR/German_LocaleBr.csv | 32 +++++ app/locale/pt_PT/German_LocaleBr.csv | 32 +++++ composer.json | 31 +++++ modman | 30 +++++ var/connect/German_LocalePack_pt_BR.xml | 119 ++++++++++++++++++ 18 files changed, 821 insertions(+) create mode 100644 MagentoConnect.html create mode 100644 README.md create mode 100644 app/code/community/German/LocalePackBr/Block/System/Config/Form/Fieldset/Extensions.php create mode 100644 app/code/community/German/LocalePackBr/Block/System/Config/Form/Fieldset/Instructions.php create mode 100644 app/code/community/German/LocalePackBr/Helper/Data.php create mode 100644 app/code/community/German/LocalePackBr/Model/Observer.php create mode 100644 app/code/community/German/LocalePackBr/etc/config.xml create mode 100644 app/code/community/German/LocalePackBr/etc/system.xml create mode 100644 app/etc/modules/German_LocalePackBr.xml create mode 100644 app/locale/de_DE/German_LocaleBr.csv create mode 100644 app/locale/en_US/German_LocaleBr.csv create mode 100644 app/locale/es_ES/German_LocaleBr.csv create mode 100644 app/locale/fr_FR/German_LocaleBr.csv create mode 100644 app/locale/pt_BR/German_LocaleBr.csv create mode 100644 app/locale/pt_PT/German_LocaleBr.csv create mode 100644 composer.json create mode 100644 modman create mode 100644 var/connect/German_LocalePack_pt_BR.xml diff --git a/MagentoConnect.html b/MagentoConnect.html new file mode 100644 index 0000000..ab54571 --- /dev/null +++ b/MagentoConnect.html @@ -0,0 +1,48 @@ +

Brasilianisches Sprachpaket für Magento Commerce

+

(Magento Community Modules - Portuguese (Brasil) Language Pack)

+

(Paquete de idioma portugués (Brasil) para Magento Commerce)

+ +

Aviso / Hint / Hinweis

+

Qualquer pessoa que pretenda utilizar Português do Brasil, você deve instalar o pacote de idioma LocalePack_pt_BR.

+

Cualquier persona que desee utilizar portugués brasileño, debe instalar el paquete de idioma LocalePack_pt_BR.

+

Anyone wishing to use Brazilian Portuguese, should install the language pack LocalePack_pt_BR.

+

Wer brasilianisches Portugiesisch nutzen möchte, sollte das Sprachpaket LocalePack_pt_BR installieren.

+ +

Nota importante sobre Magento Versão 1.9 / Nota importante acerca Magento Versión 1.9 / Important note on Magento Version 1.9 / Wichtiger Hinweis zur Magento Version 1.9

+

Magento Inc. tem com sua própria versão 1.9, traduzido semi-automaticamente, pacote de idiomas pré-instalados. Quem quiser usar o LocalePack_pt_BR, você deve primeiro remover a pasta app/locale/pt_BR para o pacote de idiomas pode ser instalado.

+

Magento Inc. tiene con la versión 1.9 su propio, semi-automáticamente traducido, paquete de idiomas como preinstalado. El que quiere usar el LocalePack_pt_BR, primero debe eliminar la carpeta app/locale/pt_BR para que el paquete de idioma se puede instalar.

+

Magento Inc. has pre-installed with the 1.9 private, semi-automatically translated, language pack. Who wants to use the LocalePack_pt_BR must first delete the app/locale/pt_BR folder so that this language pack can be installed.

+

Magento Inc. hat mit der 1.9 ein eigenes, teilautomatisch übersetztes, Sprachpaket vorinstalliert. Wer das LocalePack_pt_BR benutzen möchte, muss vorher den Ordner app/locale/pt_BR löschen, damit dieses Sprachpaket installiert werden kann.

+ +

Encontrado um problema? / ¿Encontrado un problema? / Mistake found? / Fehler gefunden?

+

Os erros podem ser relatados no GitHub / Los errores pueden ser reportados en GitHub / Errors may be reported on GitHub / Fehler können auf GitHub gemeldet werden +https://github.com/MaWoScha/German_LocalePack_pt_BR/issues

+ +

Cooperação desejado / Cooperación deseada / Cooperation wanted / Mitarbeit erwünscht

+

Informações sobre o pacote de idiomas pode ser encontrada no repositório GitHub sob correspondente
+https://github.com/MaWoScha/German_LocalePack_pt_BR

+

Para os empregados neste pacote de idiomas, por favor envie PullRequests sempre em preview-Branch. Obrigado :-)

+ +

Información sobre el paquete de idioma se puede encontrar en el correspondiente repositorio GitHub bajo
+https://github.com/MaWoScha/German_LocalePack_pt_BR

+

Para los colaboradores en este paquete de idioma, por favor, mandan PullRequests siempre al preview-Branch. Gracias :-)

+ +

Information about language package can be found in the corresponding GitHub repository
+https://github.com/MaWoScha/German_LocalePack_pt_BR

+

For employees on this language pack please PullRequests always send for the preview-Branch. Thank you :-)

+ +

Informationen zum Sprachpaket finden sich im dazugehörigen GitHub-Repository unter
+https://github.com/MaWoScha/German_LocalePack_pt_BR

+

Bei Mitarbeit am Sprachpaket bitte PullRequests immer für den preview-Branch schicken. Danke :-)

+ +

Mais informação / Más información / More Information / Mehr Hinweise

+ + +

ChangeLog

+ diff --git a/README.md b/README.md new file mode 100644 index 0000000..3461a85 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# Brasilianisches Sprachpaket für Magento (CE) +(Magento Community Modules - Portuguese (Brazil) Language Pack)
+(Módulos de Magento Community - Paquete de idioma portugués) + +Este pacote de idioma é gerido por MaWoScha.
+Este paquete de idioma está gestionado por MaWoScha.
+This language package is managed by MaWoScha.
+Dieses Sprachpaket wird von MaWoScha verwaltet. + + +# Git-Repository / Git-Verwaltung + +Dieses Git-Repository kann genutzt werden für: + +* Reine Informationszwecke +* Entwicklung aktueller Versionen +* Behebung von Fehlern in bereits veröffentlichten Versionen +* Alternative Downloads (unabhängig von den offiziellen Quellen) +* Eigene Sprachversion basierend auf pt_PT +* Melden von Fehlern und PullRequests +* Aktives Mitwirken am Sprachpaket + +## Relatar problemas / Cómo informar de problemas / Reporting bugs / Melden von Fehlern + +Wir freuen uns, wenn dieses Repository aktiv dazu genutzt, wird Fehler zu melden (Issue) und zu beheben (PullRequest im _preview_-Branch). + +Oben dann einfach auf "Issues" klicken -> "New Issue", um ein Anliegen zu übermitteln. Bestehende Anliegen hingegen können auch ohne GitHub-Account eingesehen werden, inklusive deren Bearbeitungsstand. + +_Beachten Sie dazu bitte:_ Wenn hier in den Versionen Veränderungen eingepflegt werden, dann entsprechen diese nicht mehr dem Stand des Sprachpakets, welches Sie über Magento Connect installieren können. Es ist leider nicht möglich dort veröffentlichte Releases nachträglich zu bearbeiten. :-) + +_Hinweis:_ PullRequests sind bitte immer im Preview-Branch zu senden. + +## Aktives Mitwirken am Sprachpaket + +Lust am Sprachpaket mitzuwirken und einen (zumindest kostenlosen) Github- und/oder Crowdin.net-Account? Dann einfach MaWoScha kontaktieren und wir stimmen eine eventuelle Zusammenarbeit ab. + +Viel Spaß mit dem brasilianischen Magento Sprachpaket! + +MaWoScha diff --git a/app/code/community/German/LocalePackBr/Block/System/Config/Form/Fieldset/Extensions.php b/app/code/community/German/LocalePackBr/Block/System/Config/Form/Fieldset/Extensions.php new file mode 100644 index 0000000..d27e84b --- /dev/null +++ b/app/code/community/German/LocalePackBr/Block/System/Config/Form/Fieldset/Extensions.php @@ -0,0 +1,38 @@ + + * @developer MaWoScha + * @version 0.1.0 + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + */ +class German_LocalePackBr_Block_System_Config_Form_Fieldset_Extensions + extends Mage_Adminhtml_Block_System_Config_Form_Fieldset +{ + public function render(Varien_Data_Form_Element_Abstract $element) + { + $helper = Mage::helper("localepackbr"); + + $html = $this->_getHeaderHtml($element); + $html .= "

".$helper->__("The installed language pack only provides translations of in Magento existing texts. If you want to prepare your Magento store on the legal requirements in %s or expand common payment methods, we recommend to install the following additional extensions.", + $helper->__("Brazil"))."

"; + $html .= "
"; + $html .= "

".$helper->__("Specific market adjustment for")." ".$helper->__("Brazilian and Latin American stores")."

"; + $html .= "
"; + $html .= "
".$helper->__("Currently not available")."
"; + $html .= "
"; + $html .= "

".$helper->__("Common payment methods")."

"; + $html .= "
"; + $html .= "
".$helper->__("Debit / direct debit")." - DebitPayment ".$helper->__("on")." Magento Connect
"; + $html .= "
".$helper->__("Extension Key for the")." Connect Manager: http://connect20.magentocommerce.com/community/DebitPayment
"; + $html .= "
".$helper->__("Cash On Delivery")." - CashOnDelivery ".$helper->__("on")." Magento Connect
"; + $html .= "
".$helper->__("Extension Key for the")." Connect Manager: http://connect20.magentocommerce.com/community/CashOnDelivery
"; + $html .= "
".$helper->__("Payment in advance")." - BankPayment ".$helper->__("on")." Magento Connect
"; + $html .= "
".$helper->__("Extension Key for the")." Connect Manager: http://connect20.magentocommerce.com/community/BankPayment
"; + $html .= "
"; + $html .= $this->_getFooterHtml($element); + + return $html; + } +} diff --git a/app/code/community/German/LocalePackBr/Block/System/Config/Form/Fieldset/Instructions.php b/app/code/community/German/LocalePackBr/Block/System/Config/Form/Fieldset/Instructions.php new file mode 100644 index 0000000..068961f --- /dev/null +++ b/app/code/community/German/LocalePackBr/Block/System/Config/Form/Fieldset/Instructions.php @@ -0,0 +1,68 @@ + + * @developer MaWoScha + * @version 0.1.0 + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + */ +class German_LocalePackBr_Block_System_Config_Form_Fieldset_Instructions + extends Mage_Adminhtml_Block_System_Config_Form_Fieldset +{ + public function render(Varien_Data_Form_Element_Abstract $element) + { + $nodepath = "modules/German_LocalePackBr"; + $helper = Mage::helper("localepackbr"); + + $modules = Mage::getConfig()->getNode('modules')->children(); + $section_link = Mage::helper('adminhtml')->getUrl('adminhtml/system_config/edit', array('section'=>'general')); + + $html = $this->_getHeaderHtml($element); + $html .= "

"; + $html .= $helper->__("The %s language pack in version %s has been successfully installed.", + (string)Mage::app()->getConfig()->getNode($nodepath.'/locale'), + (string)Mage::app()->getConfig()->getNode($nodepath.'/version') ); + $html .= "

"; + if (!array_key_exists("German_LocaleFallback", $modules)) { + $html .= "

".$helper->__("Note: Install the extension %s, so you can use %s as a fallback language.", + "German LocaleFallback", + "pt_PT", + $section_link )."

"; + } else if (!array_key_exists("German_LocalePackPt", $modules)) { + $html .= "

".$helper->__("Note: Install the language package %s to use it as a fallback language.", + "German LocalePackPt", + $section_link )."

"; + } + $html .= "

"; + $html .= $helper->__("On the Magento Connect page of the Brazilian language pack, you can find more information on the latest versions.", + (string)Mage::app()->getConfig()->getNode($nodepath.'/link_mage') ); + $html .= "

"; + $html .= "

"; + $html .= $helper->__("For those interested there is a GitHub repository. It is provided for the following purposes:", + (string)Mage::app()->getConfig()->getNode($nodepath.'/link_git') ); + $html .= "

"; + + $html .= "
    "; + $html .= "
  • ".$helper->__("Development of current language pack versions")."
  • "; + $html .= "
  • ".$helper->__("Report an error / send in patches, also happy for both published releases")."
  • "; + $html .= "
  • ".$helper->__("Alternative Downloads (regardless of official sources)")."
  • "; + $html .= "
  • ".$helper->__("Copy / forks for their own purposes")."
  • "; + $html .= "
  • ".$helper->__("Active participation in the language pack")."
  • "; + $html .= "
  • ".$helper->__("View Preview versions & test")."
  • "; + $html .= '
'; + + $html .= "

"; + $html .= $helper->__("Note for detailed information, the README file on the GitHub page."); + $html .= "

"; + $html .= "

"; + $html .= $helper->__("In order to ensure the translation Magento coverage, please see the information in the lower paragraphs!"); + $html .= "

"; + $html .= "

"; + $html .= $helper->__("powered by")." MaWoScha"; + $html .= "

"; + $html .= $this->_getFooterHtml($element); + + return $html; + } +} diff --git a/app/code/community/German/LocalePackBr/Helper/Data.php b/app/code/community/German/LocalePackBr/Helper/Data.php new file mode 100644 index 0000000..11372b3 --- /dev/null +++ b/app/code/community/German/LocalePackBr/Helper/Data.php @@ -0,0 +1,12 @@ +, Rico Neitzel + * @developer MaWoScha , Rico Neitzel + * @version 0.1.0 + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + */ +class German_LocalePackBr_Helper_Data extends Mage_Core_Helper_Abstract { + +} diff --git a/app/code/community/German/LocalePackBr/Model/Observer.php b/app/code/community/German/LocalePackBr/Model/Observer.php new file mode 100644 index 0000000..93bf209 --- /dev/null +++ b/app/code/community/German/LocalePackBr/Model/Observer.php @@ -0,0 +1,55 @@ +, Rico Neitzel + * @developer MaWoScha , Rico Neitzel + * @version 0.1.0 + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + */ +class German_LocalePackBr_Model_Observer { + + public function adminhtmlControllerActionPredispatchStart() { + + $helper = Mage::helper("localepackbr"); + if ($this->localeMatchesMagento() && Mage::getSingleton('admin/session')->isLoggedIn()) { + Mage::getSingleton('core/session')->addNotice($helper->__('Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here.')); + } + } + + /** + * Version number of current locale + * + * @return string + */ + public function getVersionNumber() { + + return (string)Mage::app()->getConfig()->getNode('modules/German_LocalePackBr/version'); + } + + /** + * Check if Magento Version Number is the beginning of Locale Version Number + * + * @return bool + */ + public function localeMatchesMagento() { + + $magento = Mage::getVersion(); + $locale = $this->getVersionNumber(); + + if (strpos($magento, $locale) !== false) { + return true; + } + + return false; + } + + /** + * Get URL of AdminPanel LocalePack section + * + * @return string + */ + public function getManageUrl() { + return Mage::helper("adminhtml")->getUrl('adminhtml/system_config/edit', array('section'=>'localepackbr')); + } +} diff --git a/app/code/community/German/LocalePackBr/etc/config.xml b/app/code/community/German/LocalePackBr/etc/config.xml new file mode 100644 index 0000000..2ccaaf5 --- /dev/null +++ b/app/code/community/German/LocalePackBr/etc/config.xml @@ -0,0 +1,110 @@ + + + + + + 0.1.0 + pt_BR + Portuguese (Brazil) Language Pack + https://github.com/MaWoScha/German_LocalePack_pt_BR + http://www.magentocommerce.com/magento-connect/magento-community-modules-portuguese-brazil-language-pack.html + + + + + + + German_LocalePackBr_Model + + + + + German_LocalePackBr_Helper + + + + + German_LocalePackBr_Block + + + + + + + localepackbr/observer + adminhtmlControllerActionPredispatchStart + + + + + + + + + + https://github.com/MaWoScha/German_LocalePack_pt_BR + + + + BR + + + + + + + + + localepackbr.xml + + + + + + + + + German_LocaleBr.csv + German_LocalePt.csv + + + + + + + + Allow Everything + + + + + + + + + Portuguese (Brazil) Language Pack + + + + + + + + + + + + \ No newline at end of file diff --git a/app/code/community/German/LocalePackBr/etc/system.xml b/app/code/community/German/LocalePackBr/etc/system.xml new file mode 100644 index 0000000..f89bd0b --- /dev/null +++ b/app/code/community/German/LocalePackBr/etc/system.xml @@ -0,0 +1,60 @@ + + + + + + + 150 + + + + + + localepacks + 85 + 1 + 0 + 0 + + + + text + localepackbr/system_config_form_fieldset_instructions + 10 + 1 + 0 + 0 + + + + + text + 50 + 1 + 0 + 0 + More Infos here soon! + + + + + text + localepackbr/system_config_form_fieldset_extensions + 60 + 1 + 0 + 0 + + + + + \ No newline at end of file diff --git a/app/etc/modules/German_LocalePackBr.xml b/app/etc/modules/German_LocalePackBr.xml new file mode 100644 index 0000000..e8f79f2 --- /dev/null +++ b/app/etc/modules/German_LocalePackBr.xml @@ -0,0 +1,19 @@ + + + + + + true + community + + + \ No newline at end of file diff --git a/app/locale/de_DE/German_LocaleBr.csv b/app/locale/de_DE/German_LocaleBr.csv new file mode 100644 index 0000000..ebab098 --- /dev/null +++ b/app/locale/de_DE/German_LocaleBr.csv @@ -0,0 +1,32 @@ +"Language Packs","Sprachpakete" +"Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here.","Achtung: Ihr Locale Pack passt nicht zur installierten Magento Version. Für mehr Information klicken Sie hier." +"Brazil","Brasilien" +"Portuguese (Brazil)","Portugiesisch (Brasilien)" +"Brazilian language package pt_BR - Community Edition (CE)","Portugiesisches Sprachpaket pt_BR - Community Edition (CE)" +"The %s language pack in version %s has been successfully installed.","Das Sprachpaket %s in der Version %s wurde erfolgreich installiert." +"On the Magento Connect page of the Brazilian language pack, you can find more information on the latest versions.","Auf der Magento-Connect-Seite des brasilianischen Sprachpakets finden Sie weitere Informationen zu aktuellen Versionen." +"For those interested there is a GitHub repository. It is provided for the following purposes:","Für Interessierte steht ein GitHub-Repository zur Verfügung. Es ist für die folgenden Zwecke vorgesehen" +"Development of current language pack versions","Entwicklung aktueller Sprachpaket-Versionen" +"Report an error / send in patches, also happy for both published releases","Fehler melden/Patches einsenden, auch gerne für bereits veröffentlichte Releases" +"Alternative Downloads (regardless of official sources)","Alternative Downloads (unabhängig der offiziellen Quellen)" +"Copy / forks for their own purposes","Kopieren/Forken für eigene Zwecke" +"Active participation in the language pack","Aktives Mitwirken am Sprachpaket" +"View Preview versions & test","Vorschau-Versionen ansehen & testen" +"Note for detailed information, the README file on the GitHub page.","Beachten Sie für detaillierte Informationen die README-Datei auf der GitHub-Seite." +"In order to ensure the translation Magento coverage, please see the information in the lower paragraphs!","Um Magento flächendeckend übersetzen zu können, beachten Sie bitte auch die Infos in den unteren Bereichen!" +"powered by","bereitgestellt von" +"and","und" +"Using your own translations","Eigene Übersetzungen nutzen" +"Recommended extensions","Empfohlene Erweiterungen" +"The installed language pack only provides translations of in Magento existing texts. If you want to prepare your Magento store on the legal requirements in %s or expand common payment methods, we recommend to install the following additional extensions.","Das installierte Sprachpaket liefert lediglich Übersetzungen der in Magento vorhandenen Texte. Wenn Sie Ihren Magento Shop auf die rechtlichen Anforderungen in %s vorbereiten oder um verbreitete Zahlungsarten erweitern möchten, dann empfehlen wir Ihnen zusätzlich folgende Erweiterungen zu installieren." +"Specific market adjustment for","Spezifische Marktanpassung für" +"Brazilian and Latin American stores","Brasilianische und Lateinamerikanische Shops" +"Currently not available","Derzeit nicht verfügbar" +"Note: Install the extension %s, so you can use %s as a fallback language.","Hinweis: Installieren Sie die Erweiterung %s, damit Sie %s> als Ausweichsprache nutzen können." +"Note: Install the language package %s to use it as a fallback language.","Hinweis: Installieren Sie das Sprachpaket %s, um es als Ausweichsprache nutzen zu können." +"Common payment methods","Verbreitete Zahlungsarten" +"Debit / direct debit","Bankeinzug/Lastschrift" +"Cash On Delivery","Nachnahme" +"Payment in Advance","Vorkasse" +"Extension Key for the","Erweiterungsschlüssel für den" +"on","auf" diff --git a/app/locale/en_US/German_LocaleBr.csv b/app/locale/en_US/German_LocaleBr.csv new file mode 100644 index 0000000..5a75c9b --- /dev/null +++ b/app/locale/en_US/German_LocaleBr.csv @@ -0,0 +1,32 @@ +"Language Packs","Language Packs" +"Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here.","Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here." +"Brazil","Brazil" +"Portuguese (Brazil)","Portuguese (Brazil)" +"Brazilian language package pt_BR - Community Edition (CE)","Brazilian language package pt_BR - Community Edition (CE)" +"The %s language pack in version %s has been successfully installed.","The %s language pack in version %s has been successfully installed." +"On the Magento Connect page of the Brazilian language pack, you can find more information on the latest versions.","On the Magento Connect page of the Brazilian language pack, you can find more information on the latest versions." +"For those interested there is a GitHub repository. It is provided for the following purposes:","For those interested there is a GitHub repository. It is provided for the following purposes:" +"Development of current language pack versions","Development of current language pack versions" +"Report an error / send in patches, also happy for both published releases","Report an error / send in patches, also happy for both published releases" +"Alternative Downloads (regardless of official sources)","Alternative Downloads (regardless of official sources)" +"Copy / forks for their own purposes","Copy / forks for their own purposes" +"Active participation in the language pack","Active participation in the language pack" +"View Preview versions & test","View Preview versions & test" +"Note for detailed information, the README file on the GitHub page.","Note for detailed information, the README file on the GitHub page." +"In order to ensure the translation Magento coverage, please see the information in the lower paragraphs!","In order to ensure the translation Magento coverage, please see the information in the lower paragraphs!" +"powered by","powered by" +"and","and" +"Using your own translations","Using your own translations" +"Recommended extensions","Recommended extensions" +"The installed language pack only provides translations of in Magento existing texts. If you want to prepare your Magento store on the legal requirements in %s or expand common payment methods, we recommend to install the following additional extensions.","The installed language pack only provides translations of in Magento existing texts. If you want to prepare your Magento store on the legal requirements in %s or expand common payment methods, we recommend to install the following additional extensions." +"Specific market adjustment for","Specific market adjustment for" +"Brazilian and Latin American stores","Brazilian and Latin American stores" +"Currently not available","Currently not available" +"Note: Install the extension %s, so you can use %s as a fallback language.","Note: Install the extension %s, so you can use %s as a fallback language." +"Note: Install the language package %s to use it as a fallback language.","Note: Install the language package %s to use it as a fallback language." +"Common payment methods","Common payment methods" +"Debit / direct debit","Debit / direct debit" +"Cash On Delivery","Cash On Delivery" +"Payment in Advance","Payment in advance" +"Extension Key for the","Extension Key for the" +"on","on" diff --git a/app/locale/es_ES/German_LocaleBr.csv b/app/locale/es_ES/German_LocaleBr.csv new file mode 100644 index 0000000..8cb0b77 --- /dev/null +++ b/app/locale/es_ES/German_LocaleBr.csv @@ -0,0 +1,32 @@ +"Language Packs","Paquetes de idioma" +"Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here.","Atención: Su paquete de idioma no coincide con la versión de Magento. Obtenga más información aquí." +"Brazil","Brasil" +"Portuguese (Brazil)","Portugués (Brasil)" +"Brazilian language package pt_BR - Community Edition (CE)","Paquete de idioma brasileño pt_BR - Community Edition (CE)" +"The %s language pack in version %s has been successfully installed.","El paquete de idioma %s en la versión %s se ha instalado correctamente." +"On the Magento Connect page of the Brazilian language pack, you can find more information on the latest versions.","En la Página principal de extensión del paquete de idioma brasileño usted puede encontrar más información sobre las últimas versiones." +"For those interested there is a GitHub repository. It is provided for the following purposes:","Para los interesados hay un repositorio de GitHub. Se suministra con los siguientes fines:" +"Development of current language pack versions","Desarrollo de las versiones lingüísticas de corriente de carga" +"Report an error / send in patches, also happy for both published releases","Señalar un error / enviar parches, también feliz para ambas publicaciones liberados" +"Alternative Downloads (regardless of official sources)","Descargas alternativos (sin tener en cuenta las fuentes oficiales)" +"Copy / forks for their own purposes","Copiar / horquillas para sus propios fines" +"Active participation in the language pack","Participación activa en el paquete de idioma" +"View Preview versions & test","Ver y probar las versiones de vista previa" +"Note for detailed information, the README file on the GitHub page.","Nota: Para obtener información detallada, el archivo LEAME/README en la página de GitHub." +"In order to ensure the translation Magento coverage, please see the information in the lower paragraphs!","Con el fin de asegurar la cobertura de traducción Magento, por favor consulte la información de los párrafos más abajo!" +"powered by","proporcionado por" +"and","y" +"Using your own translations","Usando sus propias traducciones" +"Recommended extensions","Extensiones recomendadas" +"The installed language pack only provides translations of in Magento existing texts. If you want to prepare your Magento store on the legal requirements in %s or expand common payment methods, we recommend to install the following additional extensions.","El paquete de idioma instalado sólo ofrece traducciones de los textos existentes en Magento. Si desea preparar su tienda Magento en los requisitos legales en %s o ampliar los métodos de pago comunes, entonces le recomendamos que instale las siguientes extensiones adicionales." +"Specific market adjustment for","Ajustes al mercado específico de" +"Brazilian and Latin American stores","lojas brasileiras e latino-americanas" +"Currently not available","Actualmente no disponible" +"Note: Install the extension %s, so you can use %s as a fallback language.","Nota: Instale la extensión %s, para que pueda utilizar %s como idioma de segunda opción." +"Note: Install the language package %s to use it as a fallback language.","Nota: Instale el paquete de idioma %s, para usarlo como idioma de segunda opción." +"Common payment methods","Métodos de pago comunes" +"Debit / direct debit","Débito / débito directo" +"Cash On Delivery","Contra reembolso" +"Payment in Advance","Pago por adelantado" +"Extension Key for the","Clave de extensión para el" +"on","a" diff --git a/app/locale/fr_FR/German_LocaleBr.csv b/app/locale/fr_FR/German_LocaleBr.csv new file mode 100644 index 0000000..097df8d --- /dev/null +++ b/app/locale/fr_FR/German_LocaleBr.csv @@ -0,0 +1,32 @@ +"Language Packs","Language Packs" +"Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here.","Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here." +"Brazil","Brésil" +"Portuguese (Brazil)","Portugais (Brésil)" +"Brazilian language package pt_BR - Community Edition (CE)","Paquet de langue brésilienne pt_BR - Community Edition (CE)" +"The %s language pack in version %s has been successfully installed.","Le pack de langue %s dans la version %s a été installé avec succès." +"On the Magento Connect page of the Brazilian language pack, you can find more information on the latest versions.","Sur la Magento Connect page du pack de langue brésilienne que vous trouverez de plus amples informations sur les versions actuelles." +"For those interested there is a GitHub repository. It is provided for the following purposes:","Pour les intéressés, il est un dépôt GitHub. Il est prévu pour les fins suivantes:" +"Development of current language pack versions","Développement de versions de pack de langues actuelle" +"Report an error / send in patches, also happy for both published releases","Report an error / send in patches, also happy for both published releases" +"Alternative Downloads (regardless of official sources)","Alternative Downloads (regardless of official sources)" +"Copy / forks for their own purposes","Copy / forks for their own purposes" +"Active participation in the language pack","Active participation in the language pack" +"View Preview versions & test","View Preview versions & test" +"Note for detailed information, the README file on the GitHub page.","Remarque pour des informations détaillées, le fichier README sur la page GitHub." +"In order to ensure the translation Magento coverage, please see the information in the lower paragraphs!","Afin d'assurer la couverture de la traduction Magento, s'il vous plaît voir les informations dans les paragraphes plus bas!" +"powered by","alimenté par" +"and","et" +"Using your own translations","Utilisation de vos propres traductions" +"Recommended extensions","Extensions recommandées" +"The installed language pack only provides translations of in Magento existing texts. If you want to prepare your Magento store on the legal requirements in %s or expand common payment methods, we recommend to install the following additional extensions.","Le pack de langue installée seulement fournit des traductions de textes existants dans Magento. Si vous voulez préparer votre boutique Magento sur les exigences juridiques en %s ou développer des modes de paiement, nous vous recommandons d'installer les extensions suivantes." +"Specific market adjustment for","Ajustement du marché spécifique pour" +"Brazilian and Latin American stores","les magasins brésiliens et latino-américains" +"Currently not available","Actuellement indisponible" +"Note: Install the extension %s, so you can use %s as a fallback language.","Remarque: Installez l'extension %s, de sorte que vous pouvez utiliser %s comme un repli langue." +"Note: Install the language package %s to use it as a fallback language.","Remarque: Installez le package de langue %s, de l'utiliser comme un repli langue." +"Common payment methods","Modes de paiement" +"Debit / direct debit","Debit / direct debit" +"Cash On Delivery","Cash On Delivery" +"Payment in Advance","Payment in Advance" +"Extension Key for the","EClé d'extension pour le" +"on","sur" diff --git a/app/locale/pt_BR/German_LocaleBr.csv b/app/locale/pt_BR/German_LocaleBr.csv new file mode 100644 index 0000000..52a5ab3 --- /dev/null +++ b/app/locale/pt_BR/German_LocaleBr.csv @@ -0,0 +1,32 @@ +"Language Packs","Language Packs" +"Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here.","Atención: Su paquete de idioma no coincide con la versión de Magento. Obtenga más información aquí." +"Brazil","Brasil" +"Portuguese (Brazil)","Português (Brasil)" +"Brazilian language package pt_BR - Community Edition (CE)","Pacote de língua brasileira pt_BR - Community Edition (CE)" +"The %s language pack in version %s has been successfully installed.","O pacote de idiomas %s na versão %s foi instalado com sucesso." +"On the Magento Connect page of the Brazilian language pack, you can find more information on the latest versions.","Na Magento Connect página do pacote de língua brasileira você pode encontrar mais informações sobre as últimas versões." +"For those interested there is a GitHub repository. It is provided for the following purposes:","Para os interessados, há uma repositório GitHub. Ele vem com as seguintes finalidades:" +"Development of current language pack versions","Desenvolvimento de versões de idioma atual do pacote" +"Report an error / send in patches, also happy for both published releases","Señalar un error / enviar parches, también feliz para ambas publicaciones liberados" +"Alternative Downloads (regardless of official sources)","Descargas alternativos (sin tener en cuenta las fuentes oficiales)" +"Copy / forks for their own purposes","Copiar / horquillas para sus propios fines" +"Active participation in the language pack","Participación activa en el paquete de idioma" +"View Preview versions & test","Ver y probar las versiones de vista previa" +"Note for detailed information, the README file on the GitHub page.","Nota: Para obter informações detalhadas, o arquivo LEAME/README no página GitHub." +"In order to ensure the translation Magento coverage, please see the information in the lower paragraphs!","A fim de garantir a cobertura de tradução Magento, por favor, consulte as informações abaixo de parágrafos!" +"powered by","distribuído por" +"and","e" +"Using your own translations","Usando suas próprias traduções" +"Recommended extensions","Extensões recomendadas" +"The installed language pack only provides translations of in Magento existing texts. If you want to prepare your Magento store on the legal requirements in %s or expand common payment methods, we recommend to install the following additional extensions.","O pacote de idiomas instalados apenas fornece traduções de textos existentes no Magento. Se você quiser preparar sua loja Magento sobre os requisitos legais na %s ou expandir os métodos de pagamento comuns, então nós recomendamos que você instale as seguintes extensões adicionais." +"Specific market adjustment for","Definindo mercado específico para" +"Brazilian and Latin American stores","lojas brasileiras e latino-americanas" +"Currently not available","Indisponível no momento" +"Note: Install the extension %s, so you can use %s as a fallback language.","Nota: Instale a extensão %s, assim você pode usar o %s como uma segunda opção de idioma." +"Note: Install the language package %s to use it as a fallback language.","Nota: Instale o pacote de idioma %s, para o uso como uma segunda opção de idioma." +"Common payment methods","Métodos de pagamento comuns" +"Debit / direct debit","Débito / débito directo" +"Cash On Delivery","Contra reembolso" +"Payment in Advance","Pago por adelantado" +"Extension Key for the","Chave de extensão para o" +"on","em" diff --git a/app/locale/pt_PT/German_LocaleBr.csv b/app/locale/pt_PT/German_LocaleBr.csv new file mode 100644 index 0000000..52a5ab3 --- /dev/null +++ b/app/locale/pt_PT/German_LocaleBr.csv @@ -0,0 +1,32 @@ +"Language Packs","Language Packs" +"Attention: Your Locale Pack doesn\'t match your Magento Version. Get more information here.","Atención: Su paquete de idioma no coincide con la versión de Magento. Obtenga más información aquí." +"Brazil","Brasil" +"Portuguese (Brazil)","Português (Brasil)" +"Brazilian language package pt_BR - Community Edition (CE)","Pacote de língua brasileira pt_BR - Community Edition (CE)" +"The %s language pack in version %s has been successfully installed.","O pacote de idiomas %s na versão %s foi instalado com sucesso." +"On the Magento Connect page of the Brazilian language pack, you can find more information on the latest versions.","Na Magento Connect página do pacote de língua brasileira você pode encontrar mais informações sobre as últimas versões." +"For those interested there is a GitHub repository. It is provided for the following purposes:","Para os interessados, há uma repositório GitHub. Ele vem com as seguintes finalidades:" +"Development of current language pack versions","Desenvolvimento de versões de idioma atual do pacote" +"Report an error / send in patches, also happy for both published releases","Señalar un error / enviar parches, también feliz para ambas publicaciones liberados" +"Alternative Downloads (regardless of official sources)","Descargas alternativos (sin tener en cuenta las fuentes oficiales)" +"Copy / forks for their own purposes","Copiar / horquillas para sus propios fines" +"Active participation in the language pack","Participación activa en el paquete de idioma" +"View Preview versions & test","Ver y probar las versiones de vista previa" +"Note for detailed information, the README file on the GitHub page.","Nota: Para obter informações detalhadas, o arquivo LEAME/README no página GitHub." +"In order to ensure the translation Magento coverage, please see the information in the lower paragraphs!","A fim de garantir a cobertura de tradução Magento, por favor, consulte as informações abaixo de parágrafos!" +"powered by","distribuído por" +"and","e" +"Using your own translations","Usando suas próprias traduções" +"Recommended extensions","Extensões recomendadas" +"The installed language pack only provides translations of in Magento existing texts. If you want to prepare your Magento store on the legal requirements in %s or expand common payment methods, we recommend to install the following additional extensions.","O pacote de idiomas instalados apenas fornece traduções de textos existentes no Magento. Se você quiser preparar sua loja Magento sobre os requisitos legais na %s ou expandir os métodos de pagamento comuns, então nós recomendamos que você instale as seguintes extensões adicionais." +"Specific market adjustment for","Definindo mercado específico para" +"Brazilian and Latin American stores","lojas brasileiras e latino-americanas" +"Currently not available","Indisponível no momento" +"Note: Install the extension %s, so you can use %s as a fallback language.","Nota: Instale a extensão %s, assim você pode usar o %s como uma segunda opção de idioma." +"Note: Install the language package %s to use it as a fallback language.","Nota: Instale o pacote de idioma %s, para o uso como uma segunda opção de idioma." +"Common payment methods","Métodos de pagamento comuns" +"Debit / direct debit","Débito / débito directo" +"Cash On Delivery","Contra reembolso" +"Payment in Advance","Pago por adelantado" +"Extension Key for the","Chave de extensão para o" +"on","em" diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..d7b8425 --- /dev/null +++ b/composer.json @@ -0,0 +1,31 @@ +{ + "name": "mawoscha/german-localepack-pt-br", + "type": "magento-module", + "license":"OSL-3.0", + "description":"Portuguese (Brazil) Community Translation", + "authors":[ + { + "name":"MaWoScha" + } + ], + "require": { + "magento-hackathon/magento-composer-installer": "*" + }, + "extra": { + "magento-root-dir": "./", + "magento-deploystrategy": "copy", + "map": [ + ["./app/code/community/German/LocalePackBr", "./app/code/community/German/LocalePackBr"], + ["./app/etc/modules/German_LocalePackBr.xml", "./app/etc/modules/German_LocalePackBr.xml"], + ["./app/locale/de_DE/German_LocaleBr.csv", "./app/locale/de_DE/German_LocaleBr.csv"], + ["./app/locale/en_US/German_LocaleBr.csv", "./app/locale/en_US/German_LocaleBr.csv"], + ["./app/locale/es_ES/German_LocaleBr.csv", "./app/locale/es_ES/German_LocaleBr.csv"], + ["./app/locale/fr_FR/German_LocaleBr.csv", "./app/locale/fr_FR/German_LocaleBr.csv"], + ["./app/locale/pt_BR/German_LocaleBr.csv", "./app/locale/pt_BR/German_LocaleBr.csv"], + ["./app/locale/pt_PT/German_LocaleBr.csv", "./app/locale/pt_PT/German_LocaleBr.csv"] + ] + }, + "config": { + "preferred-install": "dist" + } +} diff --git a/modman b/modman new file mode 100644 index 0000000..a0614f8 --- /dev/null +++ b/modman @@ -0,0 +1,30 @@ +#BackendModule +app/code/community/German/LocalePackBr app/code/community/German/LocalePackBr +app/etc/modules/German_LocalePackBr.xml app/etc/modules/German_LocalePackBr.xml + + +#Downloader + + +#Misc + + +#TinyMCE + + +#LocalePack Translation +app/locale/de_DE/German_LocaleBr.csv app/locale/de_DE/German_LocaleBr.csv +app/locale/es_ES/German_LocaleBr.csv app/locale/es_ES/German_LocaleBr.csv +app/locale/fr_FR/German_LocaleBr.csv app/locale/fr_FR/German_LocaleBr.csv +app/locale/en_US/German_LocaleBr.csv app/locale/en_US/German_LocaleBr.csv +app/locale/pt_BR/German_LocaleBr.csv app/locale/pt_BR/German_LocaleBr.csv +app/locale/pt_PT/German_LocaleBr.csv app/locale/pt_PT/German_LocaleBr.csv + +#Adminhtml und Default Theme + +#CoreTranslation + + + +# Clear the cache +#@shell rm -rf $PROJECT/var/cache/* && echo "Magento Cache cleared" diff --git a/var/connect/German_LocalePack_pt_BR.xml b/var/connect/German_LocalePack_pt_BR.xml new file mode 100644 index 0000000..150c13d --- /dev/null +++ b/var/connect/German_LocalePack_pt_BR.xml @@ -0,0 +1,119 @@ +<_> + + German_LocalePack_pt_BR + community + + 2 + + German Community Modules - Portuguese (Brazil) Language Pack + Paquete de idioma portugués para Magento Commerce - Versión para Brasil + +Portuguese language pack for Magento Commerce - Version for Brazil + +Portugiesisches Sprachpaket für Magento Commerce - Sprachversion für Brasilien + OSL + http://opensource.org/licenses/osl-3.0.php + 0.1.0 + stable + Compatible with Magento 1.6.x-1.9.2.x + + + Manfred Worm Schäfer + + + MaWoScha + + + manfredwormschaefer@gmail.com + + + 5.2.0 + 6.0.0 + + + + + + + + + + + + + + + + + + + + + Core + + + + + + + + + + + + magelocal + magecommunity + mageetc + magelocale + magelocale + magelocale + magelocale + magelocale + magelocale + + + + German/LocalePackBr + modules/German_LocalePackBr.xml + pt_BR/German_LocaleBr.csv + de_DE/German_LocaleBr.csv + en_US/German_LocaleBr.csv + es_ES/German_LocaleBr.csv + fr_FR/German_LocaleBr.csv + pt_PT/German_LocaleBr.csv + + + file + dir + file + file + file + file + file + file + file + + + + + + + + + + + + + + + #^.DS_Store# + #^.DS_Store# + #^.DS_Store# + #^.DS_Store# + #^.DS_Store# + #^.DS_Store# + #^.DS_Store# + #^.DS_Store# + + +