View | Details | Raw Unified | Return to bug 227366
Collapse All | Expand All

(-)classes/export/generate1.php.org (+1 lines)
Lines 201-206 Link Here
201
				if( $strings_row['trans'] ) {
201
				if( $strings_row['trans'] ) {
202
					# json_encode returns the string with quotes fore and aft.  Need to strip them.
202
					# json_encode returns the string with quotes fore and aft.  Need to strip them.
203
					$tr_string = preg_replace('/^"(.*)"$/', '${1}', json_encode($strings_row['trans']));
203
					$tr_string = preg_replace('/^"(.*)"$/', '${1}', json_encode($strings_row['trans']));
204
					$tr_string = str_replace('\\\\', '\\', $tr_string);
204
					fwrite( $outp, $tr_string );
205
					fwrite( $outp, $tr_string );
205
					# echo $strings_row['trans'];
206
					# echo $strings_row['trans'];
206
				} else {
207
				} else {

Return to bug 227366