[Fusionforge-commits] FusionForge branch master updated. 55a47733cf162f6cf3f9742df0080df5479b3a01

Alain Peyrat aljeux at fusionforge.org
Tue Oct 23 14:02:35 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  55a47733cf162f6cf3f9742df0080df5479b3a01 (commit)
      from  6b163817b3d4fc826ada097f1d150e311366c8eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 55a47733cf162f6cf3f9742df0080df5479b3a01
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Tue Oct 23 14:02:21 2012 +0200

    Drop use of sys_gettext_path in code

diff --git a/src/common/include/gettext.php b/src/common/include/gettext.php
index cd5a2f3..4d817e3 100644
--- a/src/common/include/gettext.php
+++ b/src/common/include/gettext.php
@@ -218,7 +218,7 @@ function setup_gettext_from_sys_lang () {
 function setup_gettext_from_locale ($locale) {
 	setlocale(LC_ALL, $locale);
 
-	if (forge_get_config('gettext_path') || isset($GLOBALS['sys_gettext_path'])) {
+	if (forge_get_config('gettext_path')) {
 		bindtextdomain('fusionforge', forge_get_config('gettext_path'));
 	} else {
 		bindtextdomain('fusionforge', '/usr/share/locale/');

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/gettext.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list