开发者

handing over a link into the translation

I just upgraded to rails 3 and face a problem handing over a link to a translation:

I used to do this as follows:

t('translation_dest', :link => link_path)

And in my translations:

translation_dest: "blabla {{link}} blabla"

In rails 3 the link doesnt show up just {开发者_Python百科{link}} as text.

Any Ideas are wellcome! Maechi


{{}} is deprecated, try %{link}

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜