Nicaog/redmine_newissuealerts — pull request #1 by thorin (2012-10-28 10:20:47+00:00)
Title: Adds spanish locale and fixes to bugs

I've fixed the following:

1. Not sending emails if the notification was configured to send for all trackers
if n.enabled and ( **n.tracker_id == -1** or n.tracker_id == tracker_id)
instead of
if n.enabled and ( **n.project_id == -1** or n.tracker_id == tracker_id)

2. Not sending emails when the notification was configured for priority:
headers 'X-Priority' => **'1'** , 'Importance' => 'High', 'X-MSMail-Priority' => 'High' if newissuealert.priority
instead of
headers 'X-Priority' => **1** , 'Importance' => 'High', 'X-MSMail-Priority' => 'High' if newissuealert.priority

3. New locale for spanish (spanish is not my native tongue so it might not be perfect.)