mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 02:59:29 +00:00
Only include the ckeditor translations we really need
This commit is contained in:
parent
a8e92b5f46
commit
bba6fff4a5
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,8 @@ import "../../css/components/ckeditor.css";
|
|||
const translationContext = require.context(
|
||||
'ckeditor5/translations',
|
||||
false,
|
||||
/\.js$/
|
||||
//Only load the translation files we will really need
|
||||
/(de|it|fr|ru|ja|cs|da|zh|pl|hu)\.js$/
|
||||
);
|
||||
|
||||
function loadTranslation(language) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue