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