MDL-19184 moodle specific tinymce localization

This commit is contained in:
skodak 2009-05-17 08:48:42 +00:00
parent 58aa4c08a6
commit 6f88c925dc
4 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,2 @@
yuicompressor.jar
temp

View File

@ -1,2 +1,3 @@
#!/bin/bash
java -jar yuicompressor.jar --line-break 1000 ../../tiny_mce_src.js -o ../../tiny_mce.js
java -jar yuicompressor.jar --line-break 1000 ../../Popup.js -o ../../tiny_mce_popup.js

View File

@ -0,0 +1,5 @@
#!/bin/bash
for lang in 'sq' 'ar' 'az' 'be' 'bn' 'nb' 'bs' 'br' 'bg' 'ca' 'ch' 'zh' 'hr' 'cs' 'da' 'dv' 'nl' 'en' 'et' 'fi' 'fr' 'gl' 'de' 'el' 'gu' 'he' 'hu' 'is' 'id' 'ia' 'it' 'ja' 'ko' 'lv' 'lt' 'mk' 'ms' 'mn' 'se' 'no' 'nn' 'fa' 'pl' 'pt' 'ro' 'ru' 'sc' 'sr' 'ii' 'si' 'sk' 'sl' 'es' 'sv' 'tt' 'th' 'tr' 'tw' 'uk' 'cy' 'vi'
do
wget "http://services.moxiecode.com/i18n/download.aspx?format=xml&code=$lang&product=tinymce" -O temp/$lang.xml
done

View File

@ -10,7 +10,7 @@ Upgrade procedure:
3/ copy tinymce/jscripts/tiny_mce/classes/Popup.js to Popup.js
4/ apply plugins/media/* (extra/tinymce_plugin_media.patch) - MDL-16650
5/ apply strings patch
6/ compress modified js files using yuicompressor.jar from dev package, use shell file extra/tools/compress.sh
6/ copy yuicompressor.jar from dev package into extra/tools/, use shell script extra/tools/compress.sh to compress modified files
7/ download all TinyMCE lang files and update moodle lang string files
8/ rebuild string files