View Single Post
  #10  
Old 18-08-2015, 03:05
vint56 vint56 is offline
Registered User
 
Join Date: May 2011
Location: almaty
Posts: 52
Thanks: 145
Thanked 55 Times in 31 Posts
vint56 is on a distinguished road
example
Code:
;Создает страничку компонентов
#define Components

#define SelectText "Выбор языка интерфейса:"
#define RusText "Русский"
#define EngText "Английский"

;#define SelectSound "Выбор языка озвучки:"
;#define RusSound "Русский"
;#define EngSound "Английский"

#define SelectSound "Выбор таблетки:"
#define RusSound "PROPHET"
#define EngSound "FAiRLiGHT"
;CODEX
;FAiRLiGHT
;PROPHET
;SKIDROW
;3DM
;DMN32 / SKIDROW (Steam Emu)


[CustomMessages]
;rus.RusText=Русский
;rus.RusSound=Русский
;rus.EngText=Английский
;rus.EngSound=Английский
;rus.SelectText=Выбор языка интерфейса:
;rus.SelectSound=Выбор языка озвучки:

[code_]
/////////////////////ComponentsPage///////////////////////////////////
TextLabel:= TLabel.Create(WizardForm);
with TextLabel do begin
  Caption:=ExpandConstant('{#SelectText}');
end;

RUSTextLabel:= TLabel.Create(WizardForm);
with RUSTextLabel do begin
  Caption:=ExpandConstant('{#RusText}');
end;

ENGTextLabel:= TLabel.Create(WizardForm);
with ENGTextLabel do begin
 Caption:=ExpandConstant('{#EngText}');
end;

VoiceLabel:= TLabel.Create(WizardForm);
with VoiceLabel do begin
  Caption:=ExpandConstant('{#SelectSound}');
end;

RUSVoiceLabel:= TLabel.Create(WizardForm);
with RUSVoiceLabel do begin
  Caption:=ExpandConstant('{#RusSound}');
end;

ENGVoiceLabel:= TLabel.Create(WizardForm);
  with ENGVoiceLabel do begin
  Caption:=ExpandConstant('{#EngSound}');
end;

Last edited by vint56; 18-08-2015 at 03:15.
Reply With Quote
The Following 2 Users Say Thank You to vint56 For This Useful Post:
Amsal (18-08-2015), Harsh ojha (04-07-2019)