summaryrefslogtreecommitdiffstats
path: root/web/lib/gettext.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-02-06 09:15:16 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-02-06 16:32:31 +0100
commit165bcba54e7cb2f21202fc24c01569fa63ce8baa (patch)
tree611dfd98f1188fa1eab50659540cfc1c8236ac53 /web/lib/gettext.php
parentb8a31dcc72703b4cd597e4ce681abcf6b0a3d507 (diff)
downloadaurweb-165bcba54e7cb2f21202fc24c01569fa63ce8baa.tar.xz
Style fixes: Capitalization of "true" and "false"
Use "true" instead of "TRUE" and "false" instead of "FALSE" or "False". Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/gettext.php')
-rw-r--r--web/lib/gettext.php4
1 files changed, 2 insertions, 2 deletions
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;