diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-02-14 18:53:33 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-02-14 18:53:33 +0000 |
| commit | 7fd9ac34346383def277cbdd51d514cb806eb9e7 (patch) | |
| tree | 31751428479d4abd8a161f18b13c2f8b187e2579 /resources/assets/javascripts/bootstrap/multi_select.js | |
| parent | aee06a2a8be305d409bf442bf6f43b8b126b2744 (diff) | |
set translations after locale has been set, fixes #2089
Closes #2089
Merge request studip/studip!1370
Diffstat (limited to 'resources/assets/javascripts/bootstrap/multi_select.js')
| -rw-r--r-- | resources/assets/javascripts/bootstrap/multi_select.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/assets/javascripts/bootstrap/multi_select.js b/resources/assets/javascripts/bootstrap/multi_select.js index 6e033af..38fa362 100644 --- a/resources/assets/javascripts/bootstrap/multi_select.js +++ b/resources/assets/javascripts/bootstrap/multi_select.js @@ -1,6 +1,7 @@ import { $gettext } from '../lib/gettext.js'; +import eventBus from "../lib/event-bus"; -STUDIP.domReady(() => { +eventBus.on('studip:set-locale', () => { $.extend($.ui.multiselect, { locale: { addAll: $gettext('Alle hinzufügen'), |
