From 165bcba54e7cb2f21202fc24c01569fa63ce8baa Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 6 Feb 2014 09:15:16 +0100 Subject: Style fixes: Capitalization of "true" and "false" Use "true" instead of "TRUE" and "false" instead of "FALSE" or "False". Signed-off-by: Lukas Fleischer --- web/lib/gettext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/lib/gettext.php') diff --git a/web/lib/gettext.php b/web/lib/gettext.php index 5064047..4ccd75d 100644 --- a/web/lib/gettext.php +++ b/web/lib/gettext.php @@ -410,7 +410,7 @@ class gettext_reader { function pgettext($context, $msgid) { $key = $context . chr(4) . $msgid; $ret = $this->translate($key); - if (strpos($ret, "\004") !== FALSE) { + if (strpos($ret, "\004") !== false) { return $msgid; } else { return $ret; @@ -420,7 +420,7 @@ class gettext_reader { function npgettext($context, $singular, $plural, $number) { $key = $context . chr(4) . $singular; $ret = $this->ngettext($key, $plural, $number); - if (strpos($ret, "\004") !== FALSE) { + if (strpos($ret, "\004") !== false) { return $singular; } else { return $ret; -- cgit v1.2.3-70-g09d2