From fb4cee0bd630cd9cb62cf6980d375d10508b697b Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 2 May 2011 15:44:25 +0000 Subject: - add hooks to send mail to i18n ml --- modules/subversion/templates/hook_sendmail.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/subversion/templates') diff --git a/modules/subversion/templates/hook_sendmail.pl b/modules/subversion/templates/hook_sendmail.pl index c9e95f27..54b4fe22 100644 --- a/modules/subversion/templates/hook_sendmail.pl +++ b/modules/subversion/templates/hook_sendmail.pl @@ -12,3 +12,13 @@ <%- commit_mail.each do |mail| -%> - <%= mail %> <%- end -%> +<%- if i18n_mail -%> +'.*\.pot$': + PATH: "/usr/bin:/usr/local/bin" + handler: Alternative + alternative: HTML::ColorDiff + with-diff: 1 + max_diff_length: 20000 + from: root@<%= domain %> + to: <%= i18n_mail %> +<%- end -%> -- cgit v1.2.1