##// END OF EJS Templates
diffs: add translation string
ergo -
r384:7507e2a3 default
parent child Browse files
Show More
@@ -49,11 +49,11 b' class OPS(object):'
49 def wrap_to_table(str_):
49 def wrap_to_table(str_):
50 return '''<table class="code-difftable">
50 return '''<table class="code-difftable">
51 <tr class="line no-comment">
51 <tr class="line no-comment">
52 <td class="add-comment-line tooltip" title="Click to comment"><span class="add-comment-content"></span></td>
52 <td class="add-comment-line tooltip" title="%s"><span class="add-comment-content"></span></td>
53 <td class="lineno new"></td>
53 <td class="lineno new"></td>
54 <td class="code no-comment"><pre>%s</pre></td>
54 <td class="code no-comment"><pre>%s</pre></td>
55 </tr>
55 </tr>
56 </table>''' % str_
56 </table>''' % (_('Click to comment'), str_)
57
57
58
58
59 def wrapped_diff(filenode_old, filenode_new, diff_limit=None, file_limit=None,
59 def wrapped_diff(filenode_old, filenode_new, diff_limit=None, file_limit=None,
@@ -626,7 +626,9 b' class DiffProcessor(object):'
626 """
626 """
627
627
628 if condition:
628 if condition:
629 return '''<a href="%(url)s" class="tooltip" title="Click to select line">%(label)s</a>''' % {
629 return '''<a href="%(url)s" class="tooltip"
630 title="%(title)s">%(label)s</a>''' % {
631 'title': _('Click to select line'),
630 'url': url,
632 'url': url,
631 'label': label
633 'label': label
632 }
634 }
General Comments 0
You need to be logged in to leave comments. Login now