summaryrefslogtreecommitdiffstats
path: root/web/lib/gettext.php
diff options
context:
space:
mode:
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;