Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

internationalized the inquests#none view

  • Loading branch information...
commit c374710e0da26105ab680b1d487054f25a10523e 1 parent 10dbccd
@jamesarosen authored
Showing with 6 additions and 2 deletions.
  1. +3 −2 app/views/inquests/none.html.erb
  2. +3 −0  config/locales/en.yml
View
5 app/views/inquests/none.html.erb
@@ -1,2 +1,3 @@
-Sorry, there aren't any inquests you haven't voted on. Maybe you'd like to
-<%= link_to 'add one', new_inquest_path -%>?
+<p>
+ <%= t('inquests.none.body', :link => link_to(t('inquests.none.link'), new_inquest_path)) %>
+</p>
View
3  config/locales/en.yml
@@ -17,6 +17,9 @@ en:
new:
title: "Not sure whether it's a filing cabinet or not?"
submit: "Poll the audience"
+ none:
+ body: "Sorry, there aren't any inquests you haven't voted on. Maybe you'd like to {{link}}?"
+ link: "add one"
pages:
not_found:
title: "Dude, where's your filing cabinet?"
Please sign in to comment.
Something went wrong with that request. Please try again.