Changeset 297 for trunk/export/create_addon.php
- Timestamp:
- Dec 28, 2009, 2:32:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/create_addon.php
r291 r297 97 97 98 98 $CreatedFileList[] = $Column['AddonFileName'].'_'.$FileIndex; 99 $FileName = $this->TempDir.$Column['AddonFileName'].'_'.$FileIndex.'.lua'; 99 $FileName = $this->TempDir.'CzWoW/'.$Column['AddonFileName'].'_'.$FileIndex.'.lua'; 100 if(!file_exists($this->TempDir.'CzWoW/')) mkdir($this->TempDir.'CzWoW/', 0777, true); 100 101 echo($Column['AddonFileName'].': '); 101 102 $i = 0; … … 129 130 $Buffer .= '<script file="'.$CreatedFile.'.lua"/>'."\n"; 130 131 $Buffer .= '</Ui>'; 131 file_put_contents($this->TempDir.' Translates.xml', $Buffer);132 file_put_contents($this->TempDir.'CzWoW/Translates.xml', $Buffer); 132 133 } 133 134 … … 168 169 $Buffer .= 'f("'.addslashes($Line['ShortCut']).'", "'.$Original.'", "'.$Translated.'");'."\n"; 169 170 } 170 file_put_contents($this->TempDir.' LocalizationStrings.lua', $Buffer);171 file_put_contents($this->TempDir.'CzWoW/LocalizationStrings.lua', $Buffer); 171 172 } 172 173
Note:
See TracChangeset
for help on using the changeset viewer.