summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-09 11:44:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-09 11:44:40 +0300
commit01803e81277733da3edf4f5266bc3bd4ca08eb66 (patch)
treed2fd871a6832b983ecd30802b0a74fc8f2ecf93e /tools
parentd3b08f6f513abf72483cf826f4485b96386e0a91 (diff)
merge of fixes for installer into stable
Diffstat (limited to 'tools')
-rw-r--r--tools/installer_ng_stable/MirandaNG.iss15
1 files changed, 9 insertions, 6 deletions
diff --git a/tools/installer_ng_stable/MirandaNG.iss b/tools/installer_ng_stable/MirandaNG.iss
index 2a548e2839..1f23d6c1e6 100644
--- a/tools/installer_ng_stable/MirandaNG.iss
+++ b/tools/installer_ng_stable/MirandaNG.iss
@@ -444,7 +444,7 @@ de.BlindClist=Kontaktliste für Blinde
de.NicerClist=Nicer-Kontaktliste
de.ModernClist=Moderne Kontaktliste
de.MessageWin=Nachrichtensitzungen
-de.StdMsg=StdMsg-Plugin
+de.StdMsg=Standard-Nachrichtenplugin
de.Scriver=Scriver-Nachrichtenplugin
de.Tabsrmm=TabSRMM-Nachrichtenplugin
de.Dbx_Mmap=Dbx_mmap-Datenbanktreiber
@@ -607,6 +607,9 @@ const
DRIVE_CDROM = 5; // The drive is a CD-ROM drive.
DRIVE_RAMDISK = 6; // The drive is a RAM disk.
+ // don't forget to increment it after adding new components!
+ COMPONENTS_COUNT = 20; // Index of the first language
+
// Default installation check
function IsDefault: Boolean;
begin
@@ -876,15 +879,15 @@ begin
if CurPageID = wpSelectComponents then
begin
if ActiveLanguage = 'en' then
- WizardForm.ComponentsList.Checked[25]:= True
+ WizardForm.ComponentsList.Checked[COMPONENTS_COUNT+4]:= True
else if ActiveLanguage = 'ru' then
- WizardForm.ComponentsList.Checked[21]:= True
+ WizardForm.ComponentsList.Checked[COMPONENTS_COUNT+0]:= True
else if ActiveLanguage = 'cz' then
- WizardForm.ComponentsList.Checked[22]:= True
+ WizardForm.ComponentsList.Checked[COMPONENTS_COUNT+1]:= True
else if ActiveLanguage = 'pl' then
- WizardForm.ComponentsList.Checked[23]:= True
+ WizardForm.ComponentsList.Checked[COMPONENTS_COUNT+2]:= True
else if ActiveLanguage = 'de' then
- WizardForm.ComponentsList.Checked[24]:= True;
+ WizardForm.ComponentsList.Checked[COMPONENTS_COUNT+3]:= True;
end;
end;