X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fgettext.php;h=af1e118712324b756c85652831a932afa54212f6;hb=1f2f93e6751d2c1b957aa7d197269b5c49df5d72;hp=e95e80ba5b11952ab6874bec442e37a46c262b37;hpb=a9a10f57ab2fce55033ccef09a98d05919f8bbe7;p=squirrelmail.git diff --git a/functions/gettext.php b/functions/gettext.php index e95e80ba..af1e1187 100644 --- a/functions/gettext.php +++ b/functions/gettext.php @@ -1,21 +1,21 @@ error==1) + $l10n[$gettext_domain]->error==1) return $str; return $l10n[$gettext_domain]->translate($str); } @@ -96,9 +96,8 @@ if (! function_exists('dgettext')) { global $l10n; if (! isset($l10n[$domain]) || ! is_object($l10n[$domain]) || - $l10n[$domain]->error==1) + $l10n[$domain]->error==1) return $str; return $l10n[$domain]->translate($str); } } -?> \ No newline at end of file