Files @ cd3f326d0ff1
Branch filter:

Location: kallithea/kallithea/templates/email_templates/changeset_comment.html

Thomas De Schampheleire
email templates: fix missing translation of titles and buttons

The buttons and titles of email templates were not correctly translated. The
corresponding strings were not part of the i18n files because they were not
recognized by the extraction logic.

Note: this will generate new translation strings.

Reported-by: Jan Heylen <jan.heylen@nokia.com>
<%inherit file="main.html"/>\
\
<%block name="header">\
<% title = _('Mention in Comment on Changeset "%s"') % h.shorter(message, 200, firstline=True) if is_mention else _('Comment on Changeset "%s"') % h.shorter(message, 200, firstline=True) %>\
<%include file="header.html" args="title=title,link=cs_comment_url"/>\
</%block>\
\
<table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
        <td>
<%include file="comment.html" args="text=body,author=cs_comment_user,status=status_change"/>\
        </td>
    </tr>
    <tr>
        <td height="30px" style="height:30px"></td>
    </tr>
    <tr>
        <td>
            <div>
                ${_('Changeset on')}
                <a style="${link_text_style}"
                   href="${cs_target_repo}">${cs_target_repo}</a>
                ${_('branch')}
                <span style="${data_style}">${branch}</span>:
            </div>
            <div>
                "<a style="${link_style}"
                   href="${cs_url}">${h.shorter(message, 60, firstline=True)}</a>"
                ${_('by')}
                <span style="${data_style}">${cs_author.full_name_and_username}</span>.
            </div>
        </td>
    </tr>
    <tr>
        <td>
<% title = _('View Comment') %>\
<%include file="button.html" args="url=cs_comment_url,title=title,padding_bottom=False"/>\
        </td>
    </tr>
</table>