aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRowan Crawford <wombleton@gmail.com>2014-02-10 17:58:28 +1300
committerRowan Crawford <wombleton@gmail.com>2014-02-10 17:58:28 +1300
commit8d6f50a54671a03050c7f4ab27b7ee49d5c24544 (patch)
tree3a2837400da71d70a5f16d5de0f3976ca29d1dce
parent3ed969e88f60e6a9123a09544e553e48a41dfa12 (diff)
Translate "make a new FOI request" in view email
-rw-r--r--app/views/public_body/view_email.html.erb4
-rw-r--r--locale/app.pot6
2 files changed, 8 insertions, 2 deletions
diff --git a/app/views/public_body/view_email.html.erb b/app/views/public_body/view_email.html.erb
index 3f0a558c7..ab8e1a5f6 100644
--- a/app/views/public_body/view_email.html.erb
+++ b/app/views/public_body/view_email.html.erb
@@ -35,9 +35,9 @@
<div id="stepwise_make_request_view_email">
<strong>
<% if @public_body.eir_only? %>
- <%= link_to "Make a new EIR request", new_request_to_body_path(:url_name => @public_body.url_name)%>
+ <%= link_to _("Make a new EIR request"), new_request_to_body_path(:url_name => @public_body.url_name)%>
<% else %>
- <%= link_to "Make a new FOI request", new_request_to_body_path(:url_name => @public_body.url_name)%>
+ <%= link_to _("Make a new FOI request"), new_request_to_body_path(:url_name => @public_body.url_name)%>
<% end %>
to <%= h(@public_body.name) %>
</strong>
diff --git a/locale/app.pot b/locale/app.pot
index 46114483a..08d0258f2 100644
--- a/locale/app.pot
+++ b/locale/app.pot
@@ -3507,3 +3507,9 @@ msgstr ""
msgid "{{user}} made this {{law_used_full}} request"
msgstr ""
+
+msgid "Make a new FOI request"
+msgstr ""
+
+msgid "Make a new EIR request"
+msgstr ""