mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Fix translations specific language file import
This commit is contained in:
@@ -261,7 +261,7 @@ HTML;
|
|||||||
// add corresponding ckeditor language file
|
// add corresponding ckeditor language file
|
||||||
// P1 language + country
|
// P1 language + country
|
||||||
// P2 language
|
// P2 language
|
||||||
$sLanguageFileRelPath = 'node_modules/ckeditor5-itop-build/build/translations/'.$sLanguage.'-'.$sCountry.'.js';
|
$sLanguageFileRelPath = 'node_modules/ckeditor5-itop-build/build/translations/'.$sLanguage.'-'.$sCountry.'.umd.js';
|
||||||
if (file_exists(APPROOT.$sLanguageFileRelPath)) {
|
if (file_exists(APPROOT.$sLanguageFileRelPath)) {
|
||||||
$aJSRelPaths[] = $sLanguageFileRelPath;
|
$aJSRelPaths[] = $sLanguageFileRelPath;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user