[20923] Fix: pick the correct translation

Sigurd Nes <[email protected]>
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20923
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20923
Author:   sigurdne
Date:     2010-01-05 21:16:30 +0000 (Tue, 05 Jan 2010)
Log Message:
-----------
Fix: pick the correct translation

Modified Paths:
--------------
    people/sigurdne/modules/phpgwapi/trunk/inc/class.setup_translation.inc.php

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.setup_translation.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.setup_translation.inc.php	2010-01-05 21:13:50 UTC (rev 20922)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.setup_translation.inc.php	2010-01-05 21:16:30 UTC (rev 20923)
@@ -32,7 +32,7 @@
 			$ConfigLang = phpgw::get_var('ConfigLang');
 			$this->set_userlang($ConfigLang);
 
-			$fn = PHPGW_SERVER_ROOT . "/phpgwapi/setup/phpgw_{$this->userlang}.lang";
+			$fn = PHPGW_SERVER_ROOT . "/setup/lang/phpgw_{$this->userlang}.lang";
 			if (!file_exists($fn))
 			{
 				$fn = PHPGW_SERVER_ROOT . '/phpgwapi/setup/phpgw_en.lang';
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.