Skip to content

Commit

Permalink
Gettext-changes are running now too without having the ggettext libra…
Browse files Browse the repository at this point in the history
…ry activated in php.ini

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@1814 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jul 29, 2006
1 parent 0fe8cc6 commit 40a3c9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion classes/php-gettext/gettext.inc
Expand Up @@ -37,6 +37,11 @@ require('gettext.php');

// Variables

if (!defined("LC_MESSAGES"))
{
define("LC_MESSAGES",5);
}

global $text_domains, $default_domain, $LC_CATEGORIES, $EMULATEGETTEXT, $CURRENTLOCALE;
$text_domains = array();
$default_domain = 'messages';
Expand Down Expand Up @@ -315,4 +320,4 @@ if (!function_exists('gettext')) {
}
}

?>
?>
2 changes: 1 addition & 1 deletion common.php
Expand Up @@ -49,7 +49,7 @@
##################################################################################

require_once (dirname(__FILE__).'/classes/phpmailer/class.phpmailer.php');
require_once (dirname(__FILE__).'/classes/php-gettext/gettext.php');
require_once (dirname(__FILE__).'/classes/php-gettext/gettext.inc');
require_once (dirname(__FILE__).'/classes/core/surveytranslator.php');


Expand Down

0 comments on commit 40a3c9d

Please sign in to comment.