Changeset 287


Ignore:
Timestamp:
Oct 17, 2011, 1:38:22 PM (13 years ago)
Author:
george
Message:
Location:
CoolTranslator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CoolTranslator/Demo/TranslatorDemo.lpi

    r286 r287  
    5353        <ResourceBaseClass Value="Form"/>
    5454        <UnitName Value="UMainForm"/>
    55         <IsVisibleTab Value="True"/>
    5655        <EditorIndex Value="0"/>
    5756        <WindowIndex Value="0"/>
    5857        <TopLine Value="1"/>
    59         <CursorPos X="30" Y="9"/>
     58        <CursorPos X="29" Y="18"/>
    6059        <UsageCount Value="21"/>
    6160        <Loaded Value="True"/>
     
    8079        <Filename Value="..\UCoolTranslator.pas"/>
    8180        <UnitName Value="UCoolTranslator"/>
     81        <IsVisibleTab Value="True"/>
    8282        <EditorIndex Value="1"/>
    8383        <WindowIndex Value="0"/>
    8484        <TopLine Value="274"/>
    85         <CursorPos X="29" Y="279"/>
     85        <CursorPos X="1" Y="286"/>
    8686        <UsageCount Value="11"/>
    8787        <Loaded Value="True"/>
     
    141141      </Unit11>
    142142    </Units>
    143     <JumpHistory Count="29" HistoryIndex="28">
     143    <JumpHistory Count="30" HistoryIndex="29">
    144144      <Position1>
    145145        <Filename Value="..\UCoolTranslator.pas"/>
     
    258258        <Caret Line="9" Column="29" TopLine="1"/>
    259259      </Position29>
     260      <Position30>
     261        <Filename Value="UMainForm.pas"/>
     262        <Caret Line="18" Column="29" TopLine="1"/>
     263      </Position30>
    260264    </JumpHistory>
    261265  </ProjectOptions>
     
    289293  </CompilerOptions>
    290294  <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>
    300295    <Exceptions Count="3">
    301296      <Item1>
  • CoolTranslator/UCoolTranslator.pas

    r269 r287  
    152152    //ShowMessage(ExtractFileDir(Application.ExeName) +
    153153    //  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');
    156156    for I := 0 to FileList.Count - 1 do begin
    157157      FileName := FileList[I];
Note: See TracChangeset for help on using the changeset viewer.