From 4e82a5b26482c4c2919e73379bdea20139ca0bce Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Thu, 24 Sep 2015 11:42:38 -0700 Subject: [PATCH] Add warning to langauge pack download completion to restart server. --- kalite/updates/management/commands/languagepackdownload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kalite/updates/management/commands/languagepackdownload.py b/kalite/updates/management/commands/languagepackdownload.py index 4bc43a7c92..5f591f0978 100644 --- a/kalite/updates/management/commands/languagepackdownload.py +++ b/kalite/updates/management/commands/languagepackdownload.py @@ -97,7 +97,8 @@ def handle(self, *args, **options): self.next_stage(_("Invalidate caches")) caching.invalidate_all_caches() - self.complete(_("Finished processing language pack %(lang_name)s.") % {"lang_name": get_language_name(lang_code)}) + self.complete((_("Finished processing language pack %(lang_name)s.") % {"lang_name": get_language_name(lang_code)}) + + " Please restart the server to complete installation of the language pack.") except Exception as e: self.cancel(stage_status="error", notes=_("Error: %(error_msg)s") % {"error_msg": unicode(e)}) raise