How did it break? Did it throw an error, or just give the wrong output?

- Nathan

Evgeny wrote:
> There is another syntax to GlobalizeRails, and that is :
>   'There are %d users on this site' / @users_count
>
> This will actually translate into different things, depending on
> @users_count.
> @users_count = 1 =>   'There is one user on this site'
> @users_count = 10 => 'There are 10 users on this site'
>
> There is also a "%s" thing, that lets you insert arbirtary strings
> into the translation. Like
>   'Follow this link : %s' / link_to(....)
>
>
> Currently, I tried to use haml and a line like this :
>   = 'Things %s' / @things
>
> And it didn't work :(
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to