summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2013-01-04 17:37:59 (GMT)
committer Jennifer Hodgdon2013-01-04 17:37:59 (GMT)
commitd266845b260b9b048ce451603af2cbb4bcb53742 (patch)
treec0d83e04bce4d16c680344885afbd2a9fbe89800
parent661d81b36165af32d0e127207168a2142ec61225 (diff)
Issue #1873608 by David_Rothstein: Clarify documentation on when to use t vs format_string
-rw-r--r--includes/bootstrap.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 036bfc9..06752b1 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1492,8 +1492,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.