Skip to content

Commit

Permalink
Merge branch '2024.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlabci committed Feb 5, 2025
2 parents 2ed27f8 + c962732 commit 022a966
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 @@ -1449,7 +1449,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 022a966

Please sign in to comment.