Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No longer need to do anything in FText::_(), which used to guard agai…
…nst JText::_() breaking strings with commas. JText has since been fixed, and in fact will now correctly interpret whether a given string is actually an sprintf() style. So calling JText::_("SOME_SPRINTF_TAG,foo,bar"} will work the same as JText::sprintf("SOME_SPRINT_TAG", 'foo', 'bar'). So wherever you can specify translatable strings in the Fabrik backend, you can specify them as sprintf style, like (say) "MY_WELCOME_MESSAGE,{table___salutation},{table___name}" as the "thanks message" in a redirect plugin. So FText::_() is basically now an unused wrapper for JText::(), in case we ever want to do any Funky Fabrik Stuff to translatable strings in the future.
- Loading branch information