From 6693c5c3253ba1ee4222ff0b39c96ac6ae3d70f0 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Fri, 18 Jan 2008 00:56:24 +0000 Subject: [PATCH] Small fix to restart program, and updated installer Originally committed to SVN as r1756. --- aegisub/frame_main_events.cpp | 2 +- installer/aegisub2.iss | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/aegisub/frame_main_events.cpp b/aegisub/frame_main_events.cpp index 883d2674a..6c4f319a1 100644 --- a/aegisub/frame_main_events.cpp +++ b/aegisub/frame_main_events.cpp @@ -1655,7 +1655,7 @@ void FrameMain::OnChooseLanguage (wxCommandEvent &event) { // Restart Aegisub if (Close()) { wxStandardPaths stand; - wxExecute(stand.GetExecutablePath()); + wxExecute(_T("\"") + stand.GetExecutablePath() + _T("\"")); } } } diff --git a/installer/aegisub2.iss b/installer/aegisub2.iss index 3eea9068d..4935cf020 100644 --- a/installer/aegisub2.iss +++ b/installer/aegisub2.iss @@ -33,7 +33,7 @@ ; #define MyAppName "Aegisub" -#define MyAppVerName "Aegisub 2.00 alpha r1723" +#define MyAppVerName "Aegisub 2.00 alpha r1756" #define MyAppPublisher "Aegisub Team" #define MyAppURL "http://aegisub.net/" #define MyAppExeName "Aegisub.exe" @@ -67,7 +67,7 @@ PrivilegesRequired=poweruser DisableProgramGroupPage=true UsePreviousGroup=false AlwaysShowComponentsList=true -AppVersion=2.00 alpha r1723 +AppVersion=2.00 alpha r1756 AppID={{24BC8B57-716C-444F-B46B-A3349B9164C5} UninstallDisplayIcon={app}\Aegisub.exe @@ -165,6 +165,9 @@ Source: ..\bin\dictionaries\th_fr_FR.idx; DestDir: {app}\dictionaries; Flags: ig Source: ..\bin\dictionaries\th_it_IT.dat; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: th/it_IT Source: ..\bin\dictionaries\th_it_IT.idx; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: th/it_IT #endif +; localization +Source: ..\bin\locale\pt_BR\aegisub.mo; DestDir: {app}\locale\pt_BR; Flags: ignoreversion; Components: i18n/pt_BR +Source: ..\bin\locale\pt_BR\wxstd.mo; DestDir: {app}\locale\pt_BR; Flags: ignoreversion; Components: i18n/pt_BR [Icons] Name: {commonprograms}\{#MyAppName}; Filename: {app}\Aegisub.exe; WorkingDir: {app}; IconIndex: 0; Components: main; Comment: Aegisub subtitle editor @@ -186,6 +189,7 @@ Name: auto/auto3; Description: Automation 3 backwards compatibility; Types: full Name: help; Description: Help files (not written yet); Flags: fixed Name: i18n; Description: Languages; Types: full custom compact; Flags: fixed Name: i18n/english; Description: English (built in); Flags: fixed; Types: compact full custom +Name: i18n/pt_BR; Description: Brazilian Portuguese; Types: full #if IncludeSpeller != 0 Name: dic; Description: Spell checker; Types: full Name: dic/en_GB; Description: British English dictionary; Types: full