diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-05-04 20:42:42 -0700 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-05-04 20:42:42 -0700 |
commit | c7f534a77e40413bd7f27b05d7bddd27691a7e3b (patch) | |
tree | 7f31fb7551d75b08519c0eda9b739ee78d42da1b /includes/install.inc | |
parent | d96bf5d808877830216c371e016a43a59ecf5857 (diff) | |
download | brdo-c7f534a77e40413bd7f27b05d7bddd27691a7e3b.tar.gz brdo-c7f534a77e40413bd7f27b05d7bddd27691a7e3b.tar.bz2 |
- Patch #1086066 by drewish, Mile23: get_t() should describe what it does and why.
Diffstat (limited to 'includes/install.inc')
-rw-r--r-- | includes/install.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/install.inc b/includes/install.inc index 14b5d7ebe..75ff62360 100644 --- a/includes/install.inc +++ b/includes/install.inc @@ -1054,7 +1054,12 @@ function install_goto($path) { * Used during the install process, when database, theme, and localization * system is possibly not yet available. * + * Use t() if your code will never run during the Drupal installation phase. + * Use st() if your code will only run during installation and never any other + * time. Use get_t() if your code could run in either circumstance. + * * @see t() + * @see get_t() * @ingroup sanitization */ function st($string, array $args = array(), array $options = array()) { |