aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-01-23 16:05:34 +0000
committerLouise Crow <louise.crow@gmail.com>2013-04-10 08:32:31 +0100
commit7e0163d15da2bc83eecc589937bd779d3a16c467 (patch)
treec4092f1ef8c7fbe2ea499958c192eb842344e772 /app
parent953e7fc3f934b0adec2eda26f1aa5c00f47afea1 (diff)
Replace %s with {{}} in translation "If the address is wrong..."
Diffstat (limited to 'app')
-rw-r--r--app/views/public_body/view_email.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/public_body/view_email.rhtml b/app/views/public_body/view_email.rhtml
index 014f5a5c0..a213ff93d 100644
--- a/app/views/public_body/view_email.rhtml
+++ b/app/views/public_body/view_email.rhtml
@@ -25,7 +25,7 @@
<p>
<% if @public_body.is_requestable? || @public_body.not_requestable_reason != 'bad_contact' %>
- <%= _('If the address is wrong, or you know a better address, please <a href="%s">contact us</a>.')% [help_contact_path]%>
+ <%= _('If the address is wrong, or you know a better address, please <a href="{{url}}">contact us</a>.', :url => help_contact_path.html_safe) %>
<% else %>
<%= _(' If you know the address to use, then please <a href="{{url}}">send it to us</a>.
You may be able to find the address on their website, or by phoning them up and asking.', :url =>help_contact_path.html_safe) %>