Changeset 64 for trunk/LocalPlayer


Ignore:
Timestamp:
Jan 14, 2017, 12:52:41 AM (8 years ago)
Author:
chronos
Message:
  • Added: New configuration dialog for selecting interface language.
  • Added: Czech and Deutch language recoded to UTF-8.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r61 r64  
    12711271  begin
    12721272    UnusedTribeFiles.Clear;
    1273     ok := FindFirst(DataDir + 'Localization' + DirectorySeparator + 'Tribes' +
    1274       DirectorySeparator + '*.tribe.txt', faArchive + faReadOnly,
    1275       SearchRec) = 0;
     1273    ok := FindFirst(LocalizedFilePath('Tribes') + DirectorySeparator + '*.tribe.txt',
     1274      faArchive + faReadOnly, SearchRec) = 0;
    12761275    if not ok then
    12771276    begin
    12781277      FindClose(SearchRec);
    1279       ok := FindFirst(HomeDir + 'Tribes' + DirectorySeparator + '*.tribe.txt',
     1278      ok := FindFirst(LocalizedFilePath('Tribes' + DirectorySeparator + '*.tribe.txt'),
    12801279        faArchive + faReadOnly, SearchRec) = 0;
    12811280    end;
Note: See TracChangeset for help on using the changeset viewer.