- Timestamp:
- Apr 16, 2024, 9:47:10 PM (8 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Brain.pas
r468 r544 21 21 22 22 TBrain = class 23 private 24 FName: string; 25 function GetName: string; 26 procedure SetName(AValue: string); 27 public 23 28 FileName: string; 24 29 DLLName: string; 25 Name: string;30 LookupName: string; 26 31 Credits: string; { filename and full name } 27 32 hm: TLibHandle; { module handle } … … 39 44 constructor Create; 40 45 destructor Destroy; override; 46 property Name: string read GetName write SetName; 41 47 end; 42 48 … … 58 64 59 65 { TBrain } 66 67 function TBrain.GetName: string; 68 begin 69 if FName <> '' then Result := FName 70 else Result := Phrases.Lookup(LookupName); 71 end; 72 73 procedure TBrain.SetName(AValue: string); 74 begin 75 FName := AValue; 76 end; 60 77 61 78 procedure TBrain.LoadPicture; -
trunk/Direct.pas
r468 r544 175 175 GameServer.Init(Notify); 176 176 BrainNoTerm.Client := NoTerm.Client; 177 BrainNoTerm. Name := Phrases.Lookup('AIT');177 BrainNoTerm.LookupName := 'AIT'; 178 178 BrainSuperVirtual.Client := nil; 179 BrainSuperVirtual. Name := Phrases.Lookup('SUPER');179 BrainSuperVirtual.LookupName := 'SUPER'; 180 180 BrainTerm.Client := LocalPlayer.Client; 181 BrainTerm. Name := Phrases.Lookup('HUMAN');181 BrainTerm.LookupName := 'HUMAN'; 182 182 if NetworkEnabled then begin 183 183 BrainNetworkServer.Client := NetworkServer.Client; 184 BrainNetworkServer. Name := Phrases.Lookup('NETWORK_SERVER');184 BrainNetworkServer.LookupName := 'NETWORK_SERVER'; 185 185 BrainNetworkClient.Client := NetworkClient.Client; 186 BrainNetworkClient. Name := Phrases.Lookup('NETWORK_CLIENT');187 end; 188 BrainRandom. Name := Phrases.Lookup('RANDOMAI');186 BrainNetworkClient.LookupName := 'NETWORK_CLIENT'; 187 end; 188 BrainRandom.LookupName := 'RANDOMAI'; 189 189 Canvas.Font.Assign(UniFont[ftNormal]); 190 190 Canvas.Brush.Style := TBrushStyle.bsClear; -
trunk/Localization/fr/Language.txt
r473 r544 341 341 #BTN_NO Non 342 342 #BTN_INFO Info 343 #BTN_RESET Remettre 343 344 344 345 'Button Tooltips
Note:
See TracChangeset
for help on using the changeset viewer.