mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-19184 moodle specific tinymce localization
This commit is contained in:
parent
58aa4c08a6
commit
6f88c925dc
2
lib/editor/tinymce/extra/tools/.cvsignore
Normal file
2
lib/editor/tinymce/extra/tools/.cvsignore
Normal file
@ -0,0 +1,2 @@
|
||||
yuicompressor.jar
|
||||
temp
|
@ -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
|
5
lib/editor/tinymce/extra/tools/get_langs.sh
Normal file
5
lib/editor/tinymce/extra/tools/get_langs.sh
Normal 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
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user