]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/gpx_success.html.erb
Pluralize notifier message when other than 1
[rails.git] / app / views / notifier / gpx_success.html.erb
index d298bd70a0c9f3690be86482224a663590f75ad6..d9d184a6d88a56b90ba3a11ef162c8752ce108be 100644 (file)
@@ -1,6 +1,9 @@
-<p><%= t'notifier.gpx_notification.greeting' %></p>
+<p><%= t "notifier.gpx_notification.greeting" %></p>
 
 <p>
   <%= render :partial => "gpx_description" %>
-  <%= t'notifier.gpx_notification.success.loaded_successfully', :trace_points => @trace_points, :possible_points => @possible_points %>
+  <%= t("notifier.gpx_notification.success.loaded_successfully",
+        :trace_points => @trace_points,
+        :possible_points => @possible_points,
+        :count => @possible_points) %>
 </p>