From 4ccef2eb9805841954e48dbb21b40a7b4de6a37e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 18 Aug 2006 01:42:34 +0000 Subject: [PATCH] r1059: Add gettext functions for those who don't have them --- includes/language.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/includes/language.php b/includes/language.php index 6eadcde..8278415 100644 --- a/includes/language.php +++ b/includes/language.php @@ -19,6 +19,20 @@ || ################################################################### \*=====================================================================*/ +// ################################################################### +// for those who don't have gettext + +if (!function_exists('gettext')) +{ + function gettext($str) { return $str; } + function _($str) { return $str; } + function bindtextdomain() {} + function textdomain() {} + function bind_textdomain_codeset() {} + + $isso->debug('NOTICE: gettext not installed'); +} + // ################################################################### // LEXICAL STRING CONSTANTS -- 2.22.5