Changeset 214 for trunk/export/create_addon.php
- Timestamp:
- Jun 22, 2009, 9:22:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/create_addon.php
r200 r214 69 69 $string = ReplaceVarInText($string); 70 70 return($string); 71 } 72 73 function NotCancel($string) 74 { 75 //echo (strpos($string,'<html>')); 76 if (strpos($string,'<html>') > -1) { 77 return(false); 78 } else { 79 return(true); 80 } 71 81 } 72 82 … … 125 135 $en = trim(ReplaceEnText($Line['Original'])); 126 136 $cz = ReplaceCzText($Line['Translation']); 127 if(($en <> '') and ($cz <> '') )137 if(($en <> '') and ($cz <> '') and (NotCancel($en))) 128 138 { 129 139 $Buffer .= "\n".'["'.$en.'"]="'.$cz.'",';
Note:
See TracChangeset
for help on using the changeset viewer.