Skip to content

Commit

Permalink
Make link interpolated and translatable.
Browse files Browse the repository at this point in the history
  • Loading branch information
goobertron committed Aug 22, 2013
1 parent f6b8938 commit 7da7650
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/pages/tutorials.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<div class="span-one-third">
<h3><%= t '.more_tutorials' %></h3>
<ul>
<li><%= t '.other_doc1' %><%= link_to t('.other_doc2'), other_docs_url %><%= t '.other_doc3' %></li>
<li><%= t('.other_docs', other_docs_link: link_to(t('.other_docs_link_text'), other_docs_url)).html_safe %></li>
</ul>
</div>
</div>
Expand Down
5 changes: 2 additions & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,8 @@ en:
tips: 'Tips and tricks'
formatting: 'Formatting text'
more_tutorials: 'Want more help?'
other_doc1: 'Check our '
other_doc2: 'other documentation'
other_doc3: ' page for links to other sites.'
other_docs: 'Check our %{other_docs_link} page for links to other sites.'
other_docs_link_text: 'other documentation'
thanks: 'Huge thanks to Kevin Kleinman, who created the original Diasporial guides on which these tutorials are based.'
getting_started1:
byline: 'Part 1 – Signing up'
Expand Down

0 comments on commit 7da7650

Please sign in to comment.