[FIX] website_mass_mailing: do not translate code
Only translate the literal strings X-original-commit: 074191bb61b02e894b6cb7435e0b9b8909699a5e
This commit is contained in:
@@ -108,7 +108,7 @@ publicWidget.registry.subscribe = publicWidget.Widget.extend({
|
||||
}
|
||||
self.displayNotification({
|
||||
type: toastType,
|
||||
title: _t(`${toastType === 'success' ? 'Success' : 'Error'}`),
|
||||
title: toastType === 'success' ? _t('Success') : _t('Error'),
|
||||
message: result.toast_content,
|
||||
sticky: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user