[damned-lies] Fix misplaced parenthesis to actually show the translated string



commit 81356f1f1378777606b2c10dfa5aa8371dad4ae4
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Thu Jul 26 17:42:44 2012 +0200

    Fix misplaced parenthesis to actually show the translated string

 vertimus/views.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vertimus/views.py b/vertimus/views.py
index af641d7..7c01614 100644
--- a/vertimus/views.py
+++ b/vertimus/views.py
@@ -178,7 +178,7 @@ def vertimus_diff(request, action_id_1, action_id_2, level):
              # 3) Lastly, the file should be the more recently committed file (merged)
             try:
                 stats = Statistics.objects.get(branch=state.branch, domain=state.domain, language=state.language)
-                descr_2 = _("Latest committed file for %(lang)s" % {'lang': state.language.get_name()})
+                descr_2 = _("Latest committed file for %(lang)s") % {'lang': state.language.get_name()}
             except Statistics.DoesNotExist:
                 stats = get_object_or_404(Statistics, branch=state.branch, domain=state.domain, language=None)
                 descr_2 = _("Latest POT file")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]