equal
deleted
inserted
replaced
385 LoadLocale(UserPathz[ptLocale] + '/en.txt'); // Do an initial load with english |
385 LoadLocale(UserPathz[ptLocale] + '/en.txt'); // Do an initial load with english |
386 LoadLocale(Pathz[ptLocale] + '/en.txt'); // Do an initial load with english |
386 LoadLocale(Pathz[ptLocale] + '/en.txt'); // Do an initial load with english |
387 if cLocaleFName <> 'en.txt' then |
387 if cLocaleFName <> 'en.txt' then |
388 begin |
388 begin |
389 // Try two letter locale first before trying specific locale overrides |
389 // Try two letter locale first before trying specific locale overrides |
390 if (Length(cLocale) > 2) and (Copy(cLocale,1,2) <> 'en') then |
390 if (Length(cLocale) > 3) and (Copy(cLocale,1,2) <> 'en') then |
391 begin |
391 begin |
392 LoadLocale(UserPathz[ptLocale] + '/' + Copy(cLocale,1,2)+'.txt'); |
392 LoadLocale(UserPathz[ptLocale] + '/' + Copy(cLocale,1,2)+'.txt'); |
393 LoadLocale(Pathz[ptLocale] + '/' + Copy(cLocale,1,2)+'.txt') |
393 LoadLocale(Pathz[ptLocale] + '/' + Copy(cLocale,1,2)+'.txt') |
394 end; |
394 end; |
395 LoadLocale(UserPathz[ptLocale] + '/' + cLocaleFName); |
395 LoadLocale(UserPathz[ptLocale] + '/' + cLocaleFName); |