From bcb73b4b91076111b78072bd9dc071b6df20d045 Mon Sep 17 00:00:00 2001 From: Marcin Lulek Date: Wed, 6 Jul 2016 15:43:25 +0200 Subject: [PATCH] diffs: add translation string --- rhodecode/lib/diffs.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rhodecode/lib/diffs.py b/rhodecode/lib/diffs.py index 0382eed3..91c04cdd 100644 --- a/rhodecode/lib/diffs.py +++ b/rhodecode/lib/diffs.py @@ -49,11 +49,11 @@ class OPS(object): def wrap_to_table(str_): return ''' - + -
%s
''' % str_ + ''' % (_('Click to comment'), str_) def wrapped_diff(filenode_old, filenode_new, diff_limit=None, file_limit=None, @@ -626,7 +626,9 @@ class DiffProcessor(object): """ if condition: - return '''%(label)s''' % { + return '''%(label)s''' % { + 'title': _('Click to select line'), 'url': url, 'label': label }