Skip to content
Snippets Groups Projects
Commit 81f6be92 authored by Morris Jobke's avatar Morris Jobke
Browse files

Translate reload message after update

fixes #6064
parent 2653d914
Branches
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ $(document).ready(function () { ...@@ -5,7 +5,7 @@ $(document).ready(function () {
}); });
updateEventSource.listen('error', function(message) { updateEventSource.listen('error', function(message) {
$('<span>').addClass('error').append(message).append('<br />').appendTo($('.update')); $('<span>').addClass('error').append(message).append('<br />').appendTo($('.update'));
message = 'Please reload the page.'; message = t('core', 'Please reload the page.');
$('<span>').addClass('error').append(message).append('<br />').appendTo($('.update')); $('<span>').addClass('error').append(message).append('<br />').appendTo($('.update'));
updateEventSource.close(); updateEventSource.close();
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment