diff rhodecode/templates/email_templates/pull_request_comment.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 6f71e6f81c9f
line wrap: on
line diff
--- a/rhodecode/templates/email_templates/pull_request_comment.html	Sat Dec 01 00:14:47 2012 +0100
+++ b/rhodecode/templates/email_templates/pull_request_comment.html	Sat Dec 01 00:20:39 2012 +0100
@@ -1,15 +1,14 @@
 ## -*- coding: utf-8 -*-
 <%inherit file="main.html"/>
 
-User <b>${pr_comment_user}</b> commented on pull request #${pr_id} for
-repository ${pr_target_repo}
+${_('User %s commented on pull request #%s for repository %s') % ('<b>%s</b>' % pr_comment_user ,pr_id,pr_target_repo)}
 
 <p>
 ${body}
 
 %if status_change:
-    <span>New status -> ${status_change}</span>
+    <span>${_('New status')} -> ${status_change}</span>
 %endif
 </p>
 
-View this comment here: ${pr_comment_url}
+${_('View this comment here')}: ${pr_comment_url}