Fix pending hardcoding for new translations

This commit is contained in:
Oscar Manuel Gómez Senovilla 2009-12-14 21:11:05 +00:00
parent 2bd5449c40
commit ef7ff3d6b3

View File

@ -364,7 +364,7 @@ class solangfile
$from = translation::charset();
//echo "<p>solangfile::write_file('$app_name',,'$userlang') converting from '$from' to charset('$userlang')='$to'</p>\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';