[4.6.1] Blank pages in French language
Hi, we are facing an issue when upgrading to 4.6.1. It appears only when we are using French language.
When using French language, all pages are blank and in the console, we can see an issue with unescaped quotes at line 323 (ajaxThrottlingMessage) :
const partialNavigation = new PartialNavigation({
initialURL: '/home/',
disabledAnchorClasses: [
'btn-multi-item-action', 'disabled', 'pagination-disabled'
],
excludeAnchorClasses: ['fancybox', 'new_window', 'non-ajax'],
redirectionCode: 278,
maximumAjaxRequests: 10,
ajaxRequestTimeout: 5000,
ajaxThrottlingMessage: 'Trop de demandes en attente. Les demandes supplémentaires seront bloquées jusqu'à ce qu'une demande en attente soit terminée ou après la fin du délai.'
});
If we revert to 4.5.9, switch to English language and re-update to 4.6.1, it works fine. So, it seems that translations are not escaped correctly.