X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b07fd8b4b7b8906a6a731bf8ed280d0d4a5afcf..938cdd8503f9e9257e9b023eb25ed32d6668bf74:/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,