Fix translations specific language file import

This commit is contained in:
Stephen Abello
2026-04-23 16:34:02 +02:00
parent 3cb615ceb1
commit b8ef71f4b0

View File

@@ -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 {