X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d9dbd3edf16335ffd6b9d57d63f55ca98fdc292c..5753f3e89c1aedfc3923dcb5130d534120eb85c7:/app/models/notifier.rb diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 9793caee7..80a8ae485 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -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,