summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2013-01-04 09:37:59 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2013-01-04 09:37:59 -0800
commitd266845b260b9b048ce451603af2cbb4bcb53742 (patch)
treec0d83e04bce4d16c680344885afbd2a9fbe89800
parent661d81b36165af32d0e127207168a2142ec61225 (diff)
downloadbrdo-d266845b260b9b048ce451603af2cbb4bcb53742.tar.gz
brdo-d266845b260b9b048ce451603af2cbb4bcb53742.tar.bz2
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 036bfc9ce..06752b13a 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.