From ef7ff3d6b37f776c3608254804ef19f609a10a34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20Manuel=20G=C3=B3mez=20Senovilla?= Date: Mon, 14 Dec 2009 21:11:05 +0000 Subject: [PATCH] Fix pending hardcoding for new translations --- etemplate/inc/class.solangfile.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.solangfile.inc.php b/etemplate/inc/class.solangfile.inc.php index 500675909c..6cde565694 100644 --- a/etemplate/inc/class.solangfile.inc.php +++ b/etemplate/inc/class.solangfile.inc.php @@ -364,7 +364,7 @@ class solangfile $from = translation::charset(); //echo "

solangfile::write_file('$app_name',,'$userlang') converting from '$from' to charset('$userlang')='$to'

\n"; - $fn = EGW_SERVER_ROOT . SEP . $app_name . SEP . 'lang' . SEP . translation::LANGFILE_PREFIX . $userlang . '.lang'; + $fn = translation::get_lang_file($app_name,$userlang); if (file_exists($fn)) { $backup = $fn . '.old';