diff options
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 86831fa6c..e296f68e8 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -285,7 +285,7 @@ function locale_theme() { * * @param $string * A string to look up translation for. If omitted, all the - * cached strings will be returned in all languages already + * cached strings will be returned in all languages already * used on the page. * @param $langcode * Language code to use for the lookup. @@ -304,9 +304,9 @@ function locale($string = NULL, $langcode = NULL) { // Store database cached translations in a static var. if (!isset($locale_t[$langcode])) { $locale_t[$langcode] = array(); - // Disabling the usage of string caching allows a module to watch for - // the exact list of strings used on a page. From a performance - // perspective that is a really bad idea, so we have no user + // Disabling the usage of string caching allows a module to watch for + // the exact list of strings used on a page. From a performance + // perspective that is a really bad idea, so we have no user // interface for this. Be careful when turning this option off! if (variable_get('locale_cache_strings', 1) == 1) { if (!($cache = cache_get('locale:'. $langcode, 'cache'))) { |