Mercurial > kallithea
diff rhodecode/templates/email_templates/pull_request.html @ 3054:400ca827f2c5 beta
added i18n to email templates
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 01 Dec 2012 00:20:39 +0100 |
parents | acc05c33cc0c |
children | 3274ba9f1489 |
line wrap: on
line diff
--- a/rhodecode/templates/email_templates/pull_request.html Sat Dec 01 00:14:47 2012 +0100 +++ b/rhodecode/templates/email_templates/pull_request.html Sat Dec 01 00:20:39 2012 +0100 @@ -1,20 +1,18 @@ ## -*- coding: utf-8 -*- <%inherit file="main.html"/> -User <b>${pr_user_created}</b> opened pull request for repository -${pr_repo_url} and wants you to review changes. - -<div>title: ${pr_title}</div> -<div>description:</div> +${_('User %s opened pull request for repository %s and wants you to review changes.') % ('<b>%s</b>' % pr_user_created,pr_repo_url)} +<div>${_('title')}: ${pr_title}</div> +<div>${_('description')}:</div> <p> ${body} </p> -<div>revisions for reviewing</div> +<div>${_('revisions for reviewing')}</div> <ul> %for r in pr_revisions: <li>${r}</li> %endfor </ul> -View this pull request here: ${pr_url} +${_('View this pull request here')}: ${pr_url}