]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #4004 decided to downgrage missing language keys to NOTICE for all languages...
authorCash Costello <cash.costello@gmail.com>
Sun, 15 Jul 2012 00:42:31 +0000 (20:42 -0400)
committerCash Costello <cash.costello@gmail.com>
Sun, 15 Jul 2012 00:42:31 +0000 (20:42 -0400)
engine/lib/languages.php

index 219917b297bf35ccc8b9a0dfba504e9d18943a82..98006f7cdfb43b506d332634c79b8435943a972b 100644 (file)
@@ -50,11 +50,11 @@ function elgg_echo($message_key, $args = array(), $language = "") {
                $string = $CONFIG->translations[$language][$message_key];
        } else if (isset($CONFIG->translations["en"][$message_key])) {
                $string = $CONFIG->translations["en"][$message_key];
-               $lang   = $CONFIG->translations["en"][$language];
+               $lang = $CONFIG->translations["en"][$language];
                elgg_log(sprintf('Missing %s translation for "%s" language key', $lang, $message_key), 'NOTICE');
        } else {
                $string = $message_key;
-               elgg_log(sprintf('Missing English translation for "%s" language key', $message_key), 'WARNING');
+               elgg_log(sprintf('Missing English translation for "%s" language key', $message_key), 'NOTICE');
        }
 
        // only pass through if we have arguments to allow backward compatibility