Changeset 287
- Timestamp:
- Oct 17, 2011, 1:38:22 PM (13 years ago)
- Location:
- CoolTranslator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CoolTranslator/Demo/TranslatorDemo.lpi
r286 r287 53 53 <ResourceBaseClass Value="Form"/> 54 54 <UnitName Value="UMainForm"/> 55 <IsVisibleTab Value="True"/>56 55 <EditorIndex Value="0"/> 57 56 <WindowIndex Value="0"/> 58 57 <TopLine Value="1"/> 59 <CursorPos X=" 30" Y="9"/>58 <CursorPos X="29" Y="18"/> 60 59 <UsageCount Value="21"/> 61 60 <Loaded Value="True"/> … … 80 79 <Filename Value="..\UCoolTranslator.pas"/> 81 80 <UnitName Value="UCoolTranslator"/> 81 <IsVisibleTab Value="True"/> 82 82 <EditorIndex Value="1"/> 83 83 <WindowIndex Value="0"/> 84 84 <TopLine Value="274"/> 85 <CursorPos X=" 29" Y="279"/>85 <CursorPos X="1" Y="286"/> 86 86 <UsageCount Value="11"/> 87 87 <Loaded Value="True"/> … … 141 141 </Unit11> 142 142 </Units> 143 <JumpHistory Count=" 29" HistoryIndex="28">143 <JumpHistory Count="30" HistoryIndex="29"> 144 144 <Position1> 145 145 <Filename Value="..\UCoolTranslator.pas"/> … … 258 258 <Caret Line="9" Column="29" TopLine="1"/> 259 259 </Position29> 260 <Position30> 261 <Filename Value="UMainForm.pas"/> 262 <Caret Line="18" Column="29" TopLine="1"/> 263 </Position30> 260 264 </JumpHistory> 261 265 </ProjectOptions> … … 289 293 </CompilerOptions> 290 294 <Debugging> 291 <BreakPoints Count="1">292 <Item1>293 <Kind Value="bpkSource"/>294 <WatchScope Value="wpsGlobal"/>295 <WatchKind Value="wpkWrite"/>296 <Source Value="..\UCoolTranslator.pas"/>297 <Line Value="279"/>298 </Item1>299 </BreakPoints>300 295 <Exceptions Count="3"> 301 296 <Item1> -
CoolTranslator/UCoolTranslator.pas
r269 r287 152 152 //ShowMessage(ExtractFileDir(Application.ExeName) + 153 153 // DirectorySeparator + 'Languages' + ' ' + '*.' + LocaleShort + '.po'); 154 FileList := FindAllFiles(ExtractFileDir( Application.ExeName) +155 DirectorySeparator + 'Languages', '*.' + LocaleShort + '.po');154 FileList := FindAllFiles(ExtractFileDir(UTF8Encode(Application.ExeName)) + 155 DirectorySeparator + FPOFilesFolder, '*.' + LocaleShort + '.po'); 156 156 for I := 0 to FileList.Count - 1 do begin 157 157 FileName := FileList[I];
Note:
See TracChangeset
for help on using the changeset viewer.