BUGFIX Consistent usage of ss.i18n.sprintf() instead of ss.i18n.printf() - the method is returning a string rather than outputting directly, so should be sprintf()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64081 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-10-10 21:06:59 +00:00
parent ec591fc1fe
commit ab8c7fbedc

View File

@ -115,7 +115,7 @@ ss.i18n = {
* @param string S : string to perform printf on.
* @param string L : Array of arguments for printf()
*/
printf: function(S) {
sprintf: function(S) {
if (arguments.length == 1) return S;
var nS = "";