Skip to content

Commit

Permalink
Fix TinyMCE localization installation (#9266)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Dec 14, 2023
1 parent a2b5bb8 commit 6ad98e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- Fix PHP8 warnings (#9235, #9238, #9242)
- Fix saving other encryption settings besides enigma's (#9240)
- Fix unneeded php command use in installto.sh and deluser.sh scripts (#9237)
- Fix TinyMCE localization installation (#9266)

## Release 1.6.5

Expand Down
2 changes: 1 addition & 1 deletion bin/install-jsdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function extract_filetype($package, &$filetype = null)
{
global $CACHEDIR;

$filetype = pathinfo($package['url'], PATHINFO_EXTENSION) ?: 'tmp';
$filetype = pathinfo(preg_replace('/[?&].*$/', '', $package['url']), PATHINFO_EXTENSION) ?: 'tmp';
$cache_file = $CACHEDIR . '/' . $package['lib'] . '-' . $package['version'] . '.' . $filetype;

// Make sure it is a zip file
Expand Down
2 changes: 1 addition & 1 deletion jsdeps.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{
"lib": "tinymce-langs",
"version": "5.10.9",
"url": "https://www.tiny.cloud/tinymce-services-azure/1/i18n/download?langs=ar,hy,az,eu,be,bs,bg_BG,ca,zh_CN,zh_TW,hr,cs,cs_CZ,da,nl,en_CA,en_GB,eo,et,fo,fi,fr_FR,fr_CH,gd,gl,ka_GE,de,de_AT,el,he_IL,hi_IN,hu_HU,is_IS,id,ga,it,ja,kab,km_KH,ko_KR,ku,ku_IQ,lv,lt,lb,mk_MK,ml_IN,nb_NO,oc,fa,fa_IR,pl,pt_BR,pt_PT,ro,ru,sk,sl_SI,es,es_MX,sv_SE,tg,ta,ta_IN,tt,th_TH,tr,tr_TR,ug,uk,uk_UA,vi,vi_VN,cy&v=$v&extension=.zip",
"url": "https://download.tiny.cloud/tinymce/community/languagepacks/5/langs.zip?v=$v",
"dest": "program/js/tinymce"
},
{
Expand Down

0 comments on commit 6ad98e7

Please sign in to comment.