diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-18 12:33:48 +1100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-04-09 19:09:34 +0100 |
commit | 59846923c92d25c6f8aad74836b9fc9244d20be0 (patch) | |
tree | ee12c836518d388c0a973b0c4c19b156e3202919 /app | |
parent | adb74ad68c8bfa22869bf21088767a85175edbbb (diff) |
In translation strings replace %s with {{}} formatting
Diffstat (limited to 'app')
-rw-r--r-- | app/views/comment/_comment_form.rhtml | 2 |
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 %> |