liquid_feedback_frontend
diff model/initiative_for_notification.lua @ 1250:84f6e17c7ceb
Completed support for new notification system
author | bsw |
---|---|
date | Sun Apr 17 15:03:44 2016 +0200 (2016-04-17) |
parents | c0fd12b97d65 |
children | 659e3eda2fad |
line diff
1.1 --- a/model/initiative_for_notification.lua Tue Apr 05 20:41:05 2016 +0200 1.2 +++ b/model/initiative_for_notification.lua Sun Apr 17 15:03:44 2016 +0200 1.3 @@ -132,7 +132,7 @@ 1.4 if suggestion_count == 1 then 1.5 info[#info+1] = _"new suggestion for " .. initiatives_for_notification[1].initiative.display_name 1.6 else 1.7 - info[#info+1] = _("#{suggestion_count} suggestions added", { suggestion_count = suggestion_count }) 1.8 + info[#info+1] = _("#{count} suggestions added", { count = suggestion_count }) 1.9 end 1.10 end 1.11 1.12 @@ -175,4 +175,4 @@ 1.13 return true 1.14 end 1.15 1.16 -ScheduledNotificationToSend:get_next() 1.17 \ No newline at end of file 1.18 +ScheduledNotificationToSend:get_next()