I'm in the process of building a little project this weekend called Pirates Vs. Ninjas Vs. Zombies Vs. Robots ;)
The purpose is to learn some of the aspects of Cake that I've not yet used before - such as the __() function for translation.
I've got a message that I want to output along the lines of "The %s thank you", where %s would be 'Zombies'. If I was using normal PHP, I guess I would use:
$string = 'Zombies'; printf('The %s thank you', $string);
But as I'm trying to use the __() translate function, I don't know how to make this work.
Can anyone help me please? Thank you :)