]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Remove superfluous "language" from diary strings - it sounds weird (other option...
[rails.git] / app / models / notifier.rb
index 9793caee762ad5c7cdb9fc25eb8670a45573a6e4..80a8ae4850a20a8849b25369aab621b2e69450b0 100644 (file)
@@ -33,7 +33,7 @@ class Notifier < ActionMailer::Base
 
   def gpx_success(trace, possible_points)
     common_headers trace.user
-    subject "[OpenStreetMap] GPX Import success"
+    subject I18n.t('notifier.gpx_notification.success.subject')
     body :trace_name => trace.name,
          :trace_points => trace.size,
          :trace_description => trace.description,
@@ -44,7 +44,7 @@ class Notifier < ActionMailer::Base
   def gpx_failure(trace, error)
     common_headers trace.user
     from "webmaster@openstreetmap.org"
-    subject "[OpenStreetMap] GPX Import failure"
+    subject I18n.t('notifier.gpx_notification.failure.subject')
     body :trace_name => trace.name,
          :trace_description => trace.description,
          :trace_tags => trace.tags,