From 81f6be92efe3ac999883f0d3104724e34ce685db Mon Sep 17 00:00:00 2001 From: Morris Jobke <morris.jobke@gmail.com> Date: Tue, 26 Nov 2013 16:22:01 +0100 Subject: [PATCH] Translate reload message after update fixes #6064 --- core/js/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/update.js b/core/js/update.js index 2c28e72f7c..b1b7f6e37e 100644 --- a/core/js/update.js +++ b/core/js/update.js @@ -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(); }); -- GitLab