summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-12-13 21:56:44 +0100
committermkanat%bugzilla.org <>2009-12-13 21:56:44 +0100
commit9d11a0d5090509137c1e94942159dcfe59fc61d9 (patch)
tree26bcba5b9ebe915f4383d2d799d3d62f275e94ed /template
parent63b76161d5c839fe1922eeb4e762b7dece1daa4a (diff)
downloadbugzilla-9d11a0d5090509137c1e94942159dcfe59fc61d9.tar.gz
bugzilla-9d11a0d5090509137c1e94942159dcfe59fc61d9.tar.xz
Bug 526734: Allow localization of the "From update of attachment" string in comments
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/format_comment.txt.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/template/en/default/bug/format_comment.txt.tmpl b/template/en/default/bug/format_comment.txt.tmpl
index 49ab95ad1..27b72a918 100644
--- a/template/en/default/bug/format_comment.txt.tmpl
+++ b/template/en/default/bug/format_comment.txt.tmpl
@@ -57,6 +57,14 @@ Created attachment [% comment.extra_data %]
[%+ comment.attachment.description %]
[%+ comment.body %]
+[% ELSIF comment.type == constants.CMT_ATTACHMENT_UPDATED %]
+Comment on attachment [% comment.extra_data %]
+[% IF is_bugmail %]
+ --> [% urlbase _ "attachment.cgi?id=" _ comment.extra_data %]
+[% END %]
+[%+ comment.attachment.description %]
+
+[%+ comment.body %]
[% ELSE %]
X[% comment_body %]
[% END %]