Translate reload message after update

fixes #6064
This commit is contained in:
Morris Jobke 2013-11-26 16:22:01 +01:00
parent 2653d914d9
commit 81f6be92ef
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ $(document).ready(function () {
});
updateEventSource.listen('error', function(message) {
$('<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'));
updateEventSource.close();
});