annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2799
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <%inherit file="main.html"/>
2815
acc05c33cc0c White space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2799
diff changeset
3
3054
400ca827f2c5 added i18n to email templates
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
4 ${_('User %s opened pull request for repository %s and wants you to review changes.') % ('<b>%s</b>' % pr_user_created,pr_repo_url)}
400ca827f2c5 added i18n to email templates
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
5 <div>${_('title')}: ${pr_title}</div>
400ca827f2c5 added i18n to email templates
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
6 <div>${_('description')}:</div>
2799
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
7 <p>
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 ${body}
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 </p>
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10
3054
400ca827f2c5 added i18n to email templates
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
11 <div>${_('revisions for reviewing')}</div>
2799
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12 <ul>
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 %for r in pr_revisions:
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 <li>${r}</li>
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 %endfor
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 </ul>
493646d3146f Nicer email notifications about pull-request
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17
3054
400ca827f2c5 added i18n to email templates
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
18 ${_('View this pull request here')}: ${pr_url}