Skip to content

Commit

Permalink
Version 0.3.0, added: Translated TinyMCE Editor
Browse files Browse the repository at this point in the history
  • Loading branch information
MaWoScha committed Feb 11, 2015
1 parent f56d69d commit d57e0ff
Show file tree
Hide file tree
Showing 29 changed files with 596 additions and 3 deletions.
1 change: 1 addition & 0 deletions MagentoConnect.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ <h3>ChangeLog</h3>
<ul>
<li><strong>0.1.0:</strong> Basisversion, only a Framework.</li>
<li><strong>0.2.0:</strong> Added: Translated Magento Connect Downloader</li>
<li><strong>0.3.0:</strong> Added: Translated TinyMCE Editor</li>
</ul>
11 changes: 10 additions & 1 deletion app/code/community/German/LocalePackDe/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<config>
<modules>
<German_LocalePackDe>
<version>0.2.0</version>
<version>0.3.0</version>
<locale>de_DE</locale>
<title>German (Germany) Language Pack</title>
<link_git>https://github.com/riconeitzel/German_LocalePack_de_DE</link_git>
Expand Down Expand Up @@ -60,6 +60,15 @@
</default>

<adminhtml>
<layout>
<updates>
<localepackde>
<files>
<default>localepackde.xml</default>
</files>
</localepackde>
</updates>
</layout>
<translate>
<modules>
<German_LocalePackDe>
Expand Down
22 changes: 21 additions & 1 deletion app/code/community/German/LocalePackDe/etc/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package German_LocalePack
* @authors MaWoScha <mawoscha@siempro.co, http://www.siempro.co/>, Rico Neitzel <rico@buro71a.de, http://www.buro71a.de/>
* @developer MaWoScha <mawoscha@siempro.co, http://www.siempro.co/>, Rico Neitzel <rico@buro71a.de, http://www.buro71a.de/>
* @version 0.1.0
* @version 0.3.0
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
-->
Expand Down Expand Up @@ -64,6 +64,26 @@
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</additional_extensions>

<tinymce_language translate="label" module="localepackde">
<label>Translate TinyMCE</label>
<sort_order>70</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<enabled translate="label">
<label>Enabled</label>
<comment>Use German language for TinyMCE Editor?</comment>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_enabledisable</source_model>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</enabled>
</fields>
</tinymce_language>
</groups>
</localepackde>
</sections>
Expand Down
34 changes: 34 additions & 0 deletions app/design/adminhtml/default/default/layout/localepackde.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0"?>
<!--
/**
* @category German
* @package German_LocalePack
* @authors MaWoScha <mawoscha@siempro.co, http://www.siempro.co/>, Rico Neitzel <rico@buro71a.de, http://www.buro71a.de/>
* @developer MaWoScha <mawoscha@siempro.co, http://www.siempro.co/>, Rico Neitzel <rico@buro71a.de, http://www.buro71a.de/>
* @version 0.3.0
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
-->
<layout>
<!--
Layout for editor element
-->
<editor>
<reference name="head">
<!--remove standard editor config "english"-->
<action method="removeItem" ifconfig="localepackde/tinymce_language/enabled">
<type>js</type>
<name>mage/adminhtml/wysiwyg/tiny_mce/setup.js</name>
</action>

<!--add config file with "de" language file using-->
<action method="addItem" ifconfig="localepackde/tinymce_language/enabled">
<type>js</type>
<name>german/localepackde/setup.js</name>
<params/>
<if/>
<condition>can_load_tiny_mce</condition>
</action>
</reference>
</editor>
</layout>
2 changes: 2 additions & 0 deletions app/locale/de_DE/German_LocaleDe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
"Payment in Advance","Vorkasse"
"Extension Key for the","Erweiterungsschlüssel für den"
"on","auf"
"Translate TinyMCE","TinyMCE übersetzen"
"Use German language for TinyMCE Editor?","Deutsche Version des TinyMCE-Editors verwenden?"
"custom stores","benutzerdefinierte Läden"
"This is your individual language pack that is only managed and maintained by you.","Dies ist Ihr ganz persönliches Sprachpaket, das nur von Ihnen verwaltet und gepflegt wird."
"Adjust the file ""%s"" with your name and the link to your website.","Passen Sie die Datei ""%s"" mit Ihrem Namen und dem Link zu Ihrer Webseite an."
Expand Down
2 changes: 2 additions & 0 deletions app/locale/en_US/German_LocaleDe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
"Payment in Advance","Payment in advance"
"Extension Key for the","Extension Key for the"
"on","on"
"Translate TinyMCE","Translate TinyMCE"
"Use German language for TinyMCE Editor?","Use German language for TinyMCE Editor?"
"custom stores","custom stores"
"This is your individual language pack that is only managed and maintained by you.","This is your individual language pack that is only managed and maintained by you."
"Adjust the file ""%s"" with your name and the link to your website.","Adjust the file ""%s"" with your name and the link to your website."
Expand Down
2 changes: 2 additions & 0 deletions app/locale/es_ES/German_LocaleDe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
"Payment in Advance","Pago por adelantado"
"Extension Key for the","Clave de extensión para el"
"on","a"
"Translate TinyMCE","Traducir TinyMCE"
"Use German language for TinyMCE Editor?","¿Usar la versión alemana del editor TinyMCE?"
"custom stores","tiendas personalizadas"
"This is your individual language pack that is only managed and maintained by you.","Es su propio paquete de lenguaje personal que es administrado y mantenido sólo por usted."
"Adjust the file ""%s"" with your name and the link to your website.","Ajuste el archivo ""%s"" con su nombre y el enlace a su sitio web."
Expand Down
2 changes: 2 additions & 0 deletions app/locale/fr_FR/German_LocaleDe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
"Payment in Advance","Paiement anticipé"
"Extension Key for the","EClé d'extension pour le"
"on","sur"
"Translate TinyMCE","Traduire TinyMCE"
"Use German language for TinyMCE Editor?","Utilisez la version allemande de l'éditeur TinyMCE?"
"custom stores","personnalisés magasins"
"This is your individual language pack that is only managed and maintained by you.","Il est son propre pack individuel de la langue qui est seulement géré et entretenu que par vous."
"Adjust the file ""%s"" with your name and the link to your website.","Réglez le fichier ""%s"" avec votre nom et le lien à votre site web."
Expand Down
2 changes: 2 additions & 0 deletions app/locale/pt_PT/German_LocaleDe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
"Payment in Advance","Pago por adelantado"
"Extension Key for the","Chave de extensão para o"
"on","em"
"Translate TinyMCE","Traduzir TinyMCE"
"Use German language for TinyMCE Editor?","Use versão alemã do editor TinyMCE?"
"custom stores","lojas personalizadas"
"This is your individual language pack that is only managed and maintained by you.","É o seu próprio pacote de idioma pessoal que é gerido e mantido apenas por você."
"Adjust the file ""%s"" with your name and the link to your website.","Defina o arquivo ""%s"" com seu nome e link para seu site."
Expand Down
19 changes: 19 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,27 @@
"map": [
["./app/code/community/German/LocalePackDe", "./app/code/community/German/LocalePackDe"],
["./app/etc/modules/German_LocalePackDe.xml", "./app/etc/modules/German_LocalePackDe.xml"],
["./app/design/adminhtml/default/default/layout/localepackde.xml", "./app/design/adminhtml/default/default/layout/localepackde.xml"],
["./downloader/template_de_1.5", "./downloader/template_de_1.5"],
["./downloader/template_de_1.7", "./downloader/template_de_1.7"],
["./js/german/localepackde/setup.js", "./js/german/localepackde/setup.js"],
["./js/tiny_mce/langs/de.js", "./js/tiny_mce/langs/de.js"],
["./js/tiny_mce/plugins/advhr/langs/de_dlg.js", "./js/tiny_mce/plugins/advhr/langs/de_dlg.js"],
["./js/tiny_mce/plugins/advimage/langs/de_dlg.js", "./js/tiny_mce/plugins/advimage/langs/de_dlg.js"],
["./js/tiny_mce/plugins/advlink/langs/de_dlg.js", "./js/tiny_mce/plugins/advlink/langs/de_dlg.js"],
["./js/tiny_mce/plugins/autosave/langs/de.js", "./js/tiny_mce/plugins/autosave/langs/de.js"],
["./js/tiny_mce/plugins/emotions/langs/de_dlg.js", "./js/tiny_mce/plugins/emotions/langs/de_dlg.js"],
["./js/tiny_mce/plugins/fullpage/langs/de_dlg.js", "./s/tiny_mce/plugins/fullpage/langs/de_dlg.js"],
["./js/tiny_mce/plugins/media/langs/de_dlg.js", "./js/tiny_mce/plugins/media/langs/de_dlg.js"],
["./js/tiny_mce/plugins/paste/langs/de_dlg.js", "./js/tiny_mce/plugins/paste/langs/de_dlg.js"],
["./js/tiny_mce/plugins/searchreplace/langs/de_dlg.js", "./js/tiny_mce/plugins/searchreplace/langs/de_dlg.js"],
["./js/tiny_mce/plugins/style/langs/de_dlg.js", "./js/tiny_mce/plugins/style/langs/de_dlg.js"],
["./js/tiny_mce/plugins/table/langs/de_dlg.js", "./js/tiny_mce/plugins/table/langs/de_dlg.js"],
["./js/tiny_mce/plugins/template/langs/de_dlg.js", "./js/tiny_mce/plugins/template/langs/de_dlg.js"],
["./js/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js", "./js/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js"],
["./js/tiny_mce/themes/advanced/langs/de.js", "./js/tiny_mce/themes/advanced/langs/de.js"],
["./js/tiny_mce/themes/advanced/langs/de_dlg.js", "./js/tiny_mce/themes/advanced/langs/de_dlg.js"],
["./js/tiny_mce/themes/simple/langs/de.js", "./js/tiny_mce/themes/simple/langs/de.js"],
["./app/locale/de_DE/German_LocaleDe.csv", "./app/locale/de_DE/German_LocaleDe.csv"],
["./app/locale/en_US/German_LocaleDe.csv", "./app/locale/en_US/German_LocaleDe.csv"],
["./app/locale/es_ES/German_LocaleDe.csv", "./app/locale/es_ES/German_LocaleDe.csv"],
Expand Down
Loading

0 comments on commit d57e0ff

Please sign in to comment.