Changeset 459
- Timestamp:
- Nov 27, 2023, 6:56:56 PM (12 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Languages.pas
r456 r459 216 216 SLang_za = 'Zhuang'; 217 217 SLang_zh = 'Chinese'; 218 SLang_zh_Hans = 'Simplified Chinese'; 219 SLang_zh_Hant = 'Traditional Chinese'; 218 220 SLang_zu = 'Zulu'; 221 219 222 220 223 implementation … … 228 231 begin 229 232 I := 0; 230 while (I < Count) and ( TLanguage(Items[I]).Code <ACode) do Inc(I);231 if I < Count then Result := TLanguage(Items[I])233 while (I < Count) and (Items[I].Code <> ACode) do Inc(I); 234 if I < Count then Result := Items[I] 232 235 else Result := nil; 233 236 end; … … 439 442 AddNew('za', SLang_za); 440 443 AddNew('zh', SLang_zh); 444 AddNew('zh-Hant', SLang_zh_Hant); 445 AddNew('zh-Hans', SLang_zh_Hans); 441 446 AddNew('zu', SLang_zu); 442 447 end; -
trunk/Packages/Common/Languages/Languages.cs.po
r456 r459 1040 1040 msgstr "Čínština" 1041 1041 1042 #: languages.slang_zh_hans 1043 msgid "Simplified Chinese" 1044 msgstr "" 1045 1046 #: languages.slang_zh_hant 1047 msgid "Traditional Chinese" 1048 msgstr "" 1049 1042 1050 #: languages.slang_zu 1043 1051 #, fuzzy -
trunk/Packages/Common/Languages/Languages.pot
r456 r459 776 776 msgstr "" 777 777 778 #: languages.slang_zh_hans 779 msgid "Simplified Chinese" 780 msgstr "" 781 782 #: languages.slang_zh_hant 783 msgid "Traditional Chinese" 784 msgstr "" 785 778 786 #: languages.slang_zu 779 787 msgid "Zulu" -
trunk/Start.pas
r456 r459 468 468 Translator := TTranslator.Create(nil); 469 469 with Translator, Languages do begin 470 AddNew('zh-Hant', 'Traditional Chinese');471 AddNew('zh-Hans', 'Simplified Chinese');472 470 SearchByCode('').Available := True; 473 471
Note:
See TracChangeset
for help on using the changeset viewer.