[ckan-changes] [okfn/ckan] ec07a0: [#1635] Put num. new activities in email notificat...
GitHub
noreply at github.com
Tue Dec 18 16:23:14 UTC 2012
Branch: refs/heads/1635-feature-email-notifications-for-activity-streams
Home: https://github.com/okfn/ckan
Commit: ec07a0a4745d33666eeb6ff9c5aeef4a587c956b
https://github.com/okfn/ckan/commit/ec07a0a4745d33666eeb6ff9c5aeef4a587c956b
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M ckan/lib/email_notifications.py
M ckan/templates/activity_streams/activity_stream_email_notifications.text
M ckan/tests/functional/api/test_email_notifications.py
Log Message:
-----------
[#1635] Put num. new activities in email notifications
Make email notifications say "1 new activity", "3 new activities" etc.
instead of just "You have new activity". Both in the email subject and
in the body. Handle plural form translation properly with ungettext.
Also make the email subjects translatable, which I had forgotten to do before.
More information about the ckan-changes
mailing list