aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-18 12:33:48 +1100
committerLouise Crow <louise.crow@gmail.com>2013-04-09 19:09:34 +0100
commit59846923c92d25c6f8aad74836b9fc9244d20be0 (patch)
treeee12c836518d388c0a973b0c4c19b156e3202919 /app
parentadb74ad68c8bfa22869bf21088767a85175edbbb (diff)
In translation strings replace %s with {{}} formatting
Diffstat (limited to 'app')
-rw-r--r--app/views/comment/_comment_form.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/comment/_comment_form.rhtml b/app/views/comment/_comment_form.rhtml
index 120929643..d834b5b90 100644
--- a/app/views/comment/_comment_form.rhtml
+++ b/app/views/comment/_comment_form.rhtml
@@ -13,7 +13,7 @@
<%= hidden_field_tag 'submitted_comment', 1 %>
<%= hidden_field_tag 'preview', 1 %>
<%= submit_tag _('Preview your annotation') %>
- <%= raw(_(' (<strong>no ranty</strong> politics, read our <a href="%s">moderation policy</a>)') % [help_requesting_path+'#moderation']) %>
+ <%= _(' (<strong>no ranty</strong> politics, read our <a href="{{url}}">moderation policy</a>)', :url => (help_requesting_path+'#moderation').html_safe) %>
</p>
<% end %>