Skip to content

Commit

Permalink
Merge branch '2023.11' into 2024.11
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlabci committed Feb 5, 2025
2 parents 4ddd355 + 9d9580c commit c962732
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tine20/Tinebase/js/tineInit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,16 @@ Tine.Tinebase.tineInit = {
require('Locale');
require('Locale/Gettext');

await waitFor( function() { return Tine.__translationData?.__isLoaded; });
try {
await waitFor( function() { return Tine.__translationData?.__isLoaded; }, 10000);
} catch (e) {
await Ext.MessageBox.alert(
formatMessage('Translation Problem'),
formatMessage('A problem, with the translations was detected, trying to reload client...')
);
Tine.Tinebase.common.reload({ clearCache: true, keepRegistry: false });
throw e;
}
Tine.__applyExtTranslations();

_.each(Tine.__translationData.msgs, function(msgs, category) {
Expand Down

0 comments on commit c962732

Please sign in to comment.