diff options
-rw-r--r-- | app/views/public_body/view_email.html.erb | 6 | ||||
-rw-r--r-- | locale/app.pot | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/app/views/public_body/view_email.html.erb b/app/views/public_body/view_email.html.erb index 3f0a558c7..5f4bc95f4 100644 --- a/app/views/public_body/view_email.html.erb +++ b/app/views/public_body/view_email.html.erb @@ -1,4 +1,4 @@ -<% @title = "FOI email address for '" + h(@public_body.name) + "'" %> +<% @title = _("FOI email address for {{public_body}}", :public_body => h(@public_body.name)) %> <h1><%= _('FOI email address for {{public_body}}',:public_body=> public_body_link(@public_body))%></h1> @@ -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 546e98aaa..ad023524a 100644 --- a/locale/app.pot +++ b/locale/app.pot @@ -3784,3 +3784,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 "" |