From bc94b0e6c107f930fd0893b3845c367f3669dad7 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Fri, 4 Jan 2013 09:37:23 -0800 Subject: [PATCH] Issue #1873608 by David_Rothstein: Clarify documentation on when to use t vs format_string --- core/includes/bootstrap.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 4f836982a8fe..2c0322773281 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -1523,8 +1523,9 @@ function t($string, array $args = array(), array $options = array()) { * page (especially text that may have come from untrusted users, since in that * case it prevents cross-site scripting and other security problems). * - * In most cases, you should use t() rather than this function, since it will - * translate the text (on non-English-only sites) in addition to formatting it. + * In most cases, you should use t() rather than calling this function + * directly, since it will translate the text (on non-English-only sites) in + * addition to formatting it. * * @param $string * A string containing placeholders.