forked from translate/pootle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send email when suggestions are rejected or accepted
Accepting suggestion with changes does not yet send email. Part of translate#5041.
- Loading branch information
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
pootle/templates/editor/email/suggestion_accepted_with_comment.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{% load i18n %} | ||
{% filter wordwrap:70 %}{% blocktrans %}Suggestion #{{ suggestion_id }} submitted by you for {{ unit_url }} has been accepted with the following comment:{% endblocktrans %}{% endfilter %} | ||
|
||
{{ comment }} | ||
|
||
|
||
{% filter wordwrap:70 %}{% blocktrans %}We hope this feedback will help you improve your future contributions.{% endblocktrans %}{% endfilter %} |
7 changes: 7 additions & 0 deletions
7
pootle/templates/editor/email/suggestion_rejected_with_comment.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{% load i18n %} | ||
{% filter wordwrap:70 %}{% blocktrans %}Suggestion #{{ suggestion_id }} submitted by you for {{ unit_url }} has been rejected with the following comment:{% endblocktrans %}{% endfilter %} | ||
|
||
{{ comment }} | ||
|
||
|
||
{% filter wordwrap:70 %}{% blocktrans %}We hope this feedback will help you improve your future contributions.{% endblocktrans %}{% endfilter %} |