diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-02-18 16:19:57 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-02-18 16:19:57 +0000 |
commit | f648530b98c820cde92d6d2cddda896013d76558 (patch) | |
tree | 9614372faa416a2aec8b6498337aa4aa47b95b08 | |
parent | cee79d514e28536e5cfe3d2f1270f0425f35dac1 (diff) | |
parent | 6e62f225d0dbcf66c963c8c43fb9ff0e37d53bcd (diff) |
Merge remote-tracking branch 'opennewzealand_github/feature/translate-view-email' into rails-3-develop
-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 "" |