Commit 6045b3d1 authored by JC Brand's avatar JC Brand

Fix failing tests

parent ef02b4b6
......@@ -163,7 +163,7 @@
}
var n = new Notification(title, {
body: message.querySelector('body').textContent,
lang: _converse.i18n.locale_data.converse[""].lang,
lang: _.isEmpty(converse.i18n) ? 'en' : _converse.i18n.locale_data.converse[""].lang,
icon: _converse.notification_icon
});
setTimeout(n.close.bind(n), 5000);
......
......@@ -28,6 +28,7 @@
'text!zh'
], function ($, Jed) {
root.locales = {
'en': {},
'af': arguments[1],
'ca': arguments[2],
'de': arguments[3],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment