aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 20:42:31 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 20:42:31 -0400
commit0a54cabfe75fb0261fff12ee48cd868bfa8f06fb (patch)
tree3c2266d44d31f0f6a6431bcfd680853acb726ea3
parent78038be5795f3e766907694651c9ecaa12f3d0ef (diff)
downloadelgg-0a54cabfe75fb0261fff12ee48cd868bfa8f06fb.tar.gz
elgg-0a54cabfe75fb0261fff12ee48cd868bfa8f06fb.tar.bz2
Refs #4004 decided to downgrage missing language keys to NOTICE for all languages. The plugin categories were causing problems at the WARNING level. This will be more useful when we move db queries off NOTICE
-rw-r--r--engine/lib/languages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index 219917b29..98006f7cd 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -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