Created
December 11, 2009 11:25
-
-
Save andreapavoni/254148 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This: | |
<p>Please <%= link_to "sign in", :controller => 'account', :action => 'login' %> to comment.</p> | |
Could be: | |
<p> | |
<%= I18n.t('views.formulas.please') %> | |
<%= link_to I18n.t('views.actions.sign_in'), :controller => 'account', :action => 'login' %> | |
<%= I18n.t('views.actions.to_comment') %>. | |
</p> | |
you can organize texts in actions, formulas, etc... to simplify their management | |
cheers, | |
a. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment