comparison rhodecode/templates/changeset/changeset_file_comment.html @ 2307:d2043c703f84 beta

Fixed i18n of the second comment help block.
author Vincent Duvert <vincent@duvert.net>
date Sun, 20 May 2012 10:14:08 +0200
parents 66fa6c434ce4
children 83e4447077d3
comparison
equal deleted inserted replaced
2306:3917a858329c 2307:d2043c703f84
33 <div class="comment-inline-form"> 33 <div class="comment-inline-form">
34 %if c.rhodecode_user.username != 'default': 34 %if c.rhodecode_user.username != 'default':
35 <div class="overlay"><div class="overlay-text">${_('Submitting...')}</div></div> 35 <div class="overlay"><div class="overlay-text">${_('Submitting...')}</div></div>
36 ${h.form(h.url('changeset_comment', repo_name=c.repo_name, revision=changeset.raw_id),class_='inline-form')} 36 ${h.form(h.url('changeset_comment', repo_name=c.repo_name, revision=changeset.raw_id),class_='inline-form')}
37 <div class="clearfix"> 37 <div class="clearfix">
38 <div class="comment-help">${(_('Commenting on line {1}. Comments parsed using %s syntax with %s support.') 38 <div class="comment-help">${_('Commenting on line {1}.')}
39 % (('<a href="%s">RST</a>' % h.url('rst_help')), 39 ${(_('Comments parsed using %s syntax with %s support.') % (('<a href="%s">RST</a>' % h.url('rst_help')),
40 '<span style="color:#003367" class="tooltip" title="%s">@mention</span>' % 40 '<span style="color:#003367" class="tooltip" title="%s">@mention</span>' %
41 _('Use @username inside this text to send notification to this RhodeCode user')))|n}</div> 41 _('Use @username inside this text to send notification to this RhodeCode user')))|n}</div>
42 <textarea id="text_{1}" name="text"></textarea> 42 <textarea id="text_{1}" name="text"></textarea>
43 </div> 43 </div>
44 <div class="comment-button"> 44 <div class="comment-button">
95 <div class="comment-form"> 95 <div class="comment-form">
96 ${h.form(h.url('changeset_comment', repo_name=c.repo_name, revision=changeset.raw_id))} 96 ${h.form(h.url('changeset_comment', repo_name=c.repo_name, revision=changeset.raw_id))}
97 <strong>${_('Leave a comment')}</strong> 97 <strong>${_('Leave a comment')}</strong>
98 <div class="clearfix"> 98 <div class="clearfix">
99 <div class="comment-help"> 99 <div class="comment-help">
100 ${_('Comments parsed using')} <a href="${h.url('rst_help')}">RST</a> ${_('syntax')} 100 ${(_('Comments parsed using %s syntax with %s support.') % (('<a href="%s">RST</a>' % h.url('rst_help')),
101 ${_('with')} <span style="color:#003367" class="tooltip" title="${_('Use @username inside this text to send notification to this RhodeCode user')}">@mention</span> ${_('support')} 101 '<span style="color:#003367" class="tooltip" title="%s">@mention</span>' %
102 _('Use @username inside this text to send notification to this RhodeCode user')))|n}
102 </div> 103 </div>
103 ${h.textarea('text')} 104 ${h.textarea('text')}
104 </div> 105 </div>
105 <div class="comment-button"> 106 <div class="comment-button">
106 ${h.submit('save', _('Comment'), class_='ui-button')} 107 ${h.submit('save', _('Comment'), class_='ui-button')}