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 f654359 commit f6bd4d1
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 @@ -3,6 +3,7 @@
## Unreleased

- Enigma: Fix finding of a private key when decrypting a message using GnuPG v2.3
- Fix TinyMCE localization installation (#9266)

## Release 1.5.6

Expand Down
2 changes: 1 addition & 1 deletion bin/install-jsdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,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 @@ -56,7 +56,7 @@
{
"lib": "tinymce-langs",
"version": "5.8.2",
"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 f6bd4d1

Please sign in to comment.