From c0d6ccd275007f47c1174faaf841626c73e68ddb Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Wed, 24 Jan 2007 20:06:43 +0000 Subject: fix language export and remove debug --- import.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'import.php') diff --git a/import.php b/import.php index 4464d2e..da33e01 100644 --- a/import.php +++ b/import.php @@ -2,7 +2,7 @@ /** * @package languages * @subpackage functions - * @version $Header: /cvsroot/bitweaver/_bit_languages/import.php,v 1.11 2007/01/16 11:40:37 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_languages/import.php,v 1.12 2007/01/24 20:06:43 squareing Exp $ */ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. @@ -88,8 +88,7 @@ if (isset($_REQUEST["import"])) { foreach( $gBitLanguage->mStrings[$_REQUEST['export_lang_code']] as $tran ) { if( !empty( $_REQUEST['all_trans'] ) || ( $tran['version'] == BIT_MAJOR_VERSION && !empty( $tran['trans'] ))) { if( !empty( $_REQUEST['include_empty'] ) || !empty( $tran['trans'] )) { - //$data .= "'" . str_replace( "'", "\\'", stripslashes( $tran["source"] )) . "' => '" . str_replace( "'", "\\'",stripslashes( $tran["trans"] )) . "',\n"; - $data .= stripslashes( $tran["version"] ) . "\n"; + $data .= "'" . str_replace( "'", "\\'", stripslashes( $tran["source"] )) . "' => '" . str_replace( "'", "\\'",stripslashes( $tran["trans"] )) . "',\n"; } } } -- cgit v1.3