From eaf78115d24219e99fd3bca5668fd8b0375ef556 Mon Sep 17 00:00:00 2001
From: Andreas Kotowicz
Date: Sun, 27 Nov 2011 09:43:51 +0100
Subject: [PATCH] send user back to the same page before changing the display
language.
---
helpdesk/templates/helpdesk/base.html | 2 +-
helpdesk/templates/helpdesk/public_change_language.html | 2 +-
helpdesk/views/public.py | 6 +++++-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/helpdesk/templates/helpdesk/base.html b/helpdesk/templates/helpdesk/base.html
index f5425bb6..e437de2d 100644
--- a/helpdesk/templates/helpdesk/base.html
+++ b/helpdesk/templates/helpdesk/base.html
@@ -99,7 +99,7 @@
{% if helpdesk_settings.HELPDESK_FOOTER_SHOW_API_LINK %}{% trans "API" %}{% endif %}
{% trans "User Settings" %}
{% if helpdesk_settings.HELPDESK_FOOTER_SHOW_CHANGE_LANGUAGE_LINK %}
- {% trans "Change Language" %}
+ {% trans "Change Language" %}
{% endif %}
{% if user.is_superuser %}{% trans "System Settings" %}{% endif %}
diff --git a/helpdesk/templates/helpdesk/public_change_language.html b/helpdesk/templates/helpdesk/public_change_language.html
index ead9b2fc..5d872773 100644
--- a/helpdesk/templates/helpdesk/public_change_language.html
+++ b/helpdesk/templates/helpdesk/public_change_language.html
@@ -6,7 +6,7 @@
{% trans "Change the display language" %}