IniList setup_ext_list (setup_exts,
setup_exts + (sizeof(setup_exts) / sizeof(*setup_exts)));
-static BoolOption NoVerifyOption (false, 'X', "no-verify", "Don't verify setup.ini signatures");
-static BoolOption NoVersionCheckOption (false, '\0', "no-version-check", "Suppress checking if a newer version of setup is available");
+static BoolOption NoVerifyOption (false, 'X', "no-verify", IDS_HELPTEXT_NO_VERIFY);
+static BoolOption NoVersionCheckOption (false, '\0', "no-version-check", IDS_HELPTEXT_NO_VERSION_CHECK);
class GuiParseFeedback : public IniParseFeedback
{
public:
GuiParseFeedback () : lastpct (0)
{
+ Progress.SetText1 (IDS_PROGRESS_PARSING);
Progress.SetText2 ("");
Progress.SetText3 ("");
- Progress.SetText4 (IDS_PROGRESS_PARSING);
+ Progress.SetText4 (IDS_PROGRESS_PROGRESS);
yyerror_count = 0;
yyerror_messages.clear ();
}
virtual void iniName (const std::string& name)
{
- Progress.SetText1 (IDS_PROGRESS_PARSING);
Progress.SetText2 (name.c_str ());
Progress.SetText3 ("");
filename = name;
}
virtual ~ GuiParseFeedback ()
{
+ Progress.SetText2 ("");
+ Progress.SetText3 ("");
Progress.SetText4 (IDS_PROGRESS_PACKAGE);
+ Progress.SetBar1 (0);
}
private:
unsigned int lastpct;