From 01803e81277733da3edf4f5266bc3bd4ca08eb66 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 9 Nov 2017 11:44:40 +0300 Subject: merge of fixes for installer into stable --- tools/installer_ng_stable/MirandaNG.iss | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'tools/installer_ng_stable/MirandaNG.iss') 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; -- cgit v1.2.3