Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Commit

Permalink
NSIS script updated.
Browse files Browse the repository at this point in the history
Small fixes.
  • Loading branch information
RazrFalcon committed Mar 10, 2012
1 parent 0b497b5 commit fd6fb7c
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 896 deletions.
8 changes: 2 additions & 6 deletions src/aboutdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,8 @@ p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Verdana'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Developers:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Andrey Bayrak <<a href="[email protected]"><span style=" text-decoration: underline; color:#0057ae;">[email protected]</span></a>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Evgeniy Raizner <<a href="[email protected]"><span style=" text-decoration: underline; color:#0057ae;">[email protected]</span></a>></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Special thanks:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alexandre Prokoudine <<a href="[email protected]"><span style=" text-decoration: underline; color:#0057ae;">[email protected]</span></a>></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Translators:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Evgeniy Raizner <<a href="[email protected]"><span style=" text-decoration: underline; color:#0057ae;">[email protected]</span></a>><br /><br />Special thanks:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alexandre Prokoudine <<a href="[email protected]"><span style=" text-decoration: underline; color:#0057ae;">[email protected]</span></a>><br /><br />Translators:</p>
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Czech - Pavel Fric &amp;lt;&lt;a href=&quot;[email protected]&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0057ae;&quot;&gt;[email protected]&lt;/span&gt;&lt;/a&gt;&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
Expand Down
19 changes: 11 additions & 8 deletions svgcleaner.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ InstallDir "$PROGRAMFILES\${APP_NAME}"

!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Russian"
!insertmacro MUI_LANGUAGE "Ukrainian"
!insertmacro MUI_LANGUAGE "Czech"

!insertmacro MUI_RESERVEFILE_LANGDLL

Expand Down Expand Up @@ -99,6 +101,7 @@ MessageBox MB_YESNO "Install Strawberry Perl?" /SD IDYES IDNO endStrawberryPerl
mydownload:
DetailPrint "Downloading Strawberry Perl..."
NSISdl::download http:https://strawberry-perl.googlecode.com/files/strawberry-perl-5.12.3.0.msi "$EXEDIR\strawberry-perl-5.12.3.0.msi"
DetailPrint "Installing Strawberry Perl..."
Pop $R0
StrCmp $R0 "success" +3
MessageBox MB_OK "Download failed: $R0"
Expand All @@ -120,16 +123,17 @@ MessageBox MB_YESNO "Install Strawberry Perl?" /SD IDYES IDNO endStrawberryPerl
File "QtXml4.dll"
File "libgcc_s_dw2-1.dll"
File "mingwm10.dll"
File "interface.xml"
File "7za.exe"
SetOutPath "$INSTDIR\imageformats"
File "imageformats\qico4.dll"
File "imageformats\qsvg4.dll"
SetOutPath "$INSTDIR\presets"
File "presets\normal.preset"
File "presets\optimal.preset"
File "presets\soft.preset"
File "presets\vacuum-defs.preset"
File "presets\Normal.preset"
File "presets\Optimal.preset"
File "presets\Soft.preset"
SetOutPath "$INSTDIR\translations"
File "translations\svgcleaner_cs_CS.qm"
File "translations\svgcleaner_ru_RU.qm"
File "translations\svgcleaner_uk_UA.qm"
SetOutPath "C:\strawberry\perl\site\lib\XML"
File "XML-Twig\site\lib\XML\Twig.pm"
SetOutPath "C:\strawberry\perl\site\lib\XML\Twig"
Expand Down Expand Up @@ -220,11 +224,10 @@ RmDir /r "$INSTDIR"
RmDir "$INSTDIR"
MessageBox MB_YESNO "Delete Strawberry Perl?" /SD IDYES IDNO endStrawberryPerl
RmDir /r "C:\strawberry"
endStrawberryPerl:

${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "C:\strawberry\c\bin"
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "C:\strawberry\perl\site\bin"
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "C:\strawberry\perl\bin"
endStrawberryPerl:

!ifdef REG_START_MENU
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $SM_Folder
Expand Down
6 changes: 3 additions & 3 deletions translations/svgcleaner_cs_CS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#000000;&quot;&gt;Předem se omlouváme za jakékoli chyby. Hlášení chyb posílejte, prosím, [email protected].&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="117"/>
<location filename="../src/aboutdialog.ui" line="113"/>
<source>Donate</source>
<translation>Dary</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="123"/>
<location filename="../src/aboutdialog.ui" line="119"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http:https://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
Expand Down Expand Up @@ -97,7 +97,7 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Andrey Bayrak &amp;lt;[email protected]&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="91"/>
<location filename="../src/aboutdialog.ui" line="87"/>
<source>License</source>
<translation>Povolení</translation>
</message>
Expand Down
6 changes: 3 additions & 3 deletions translations/svgcleaner_ru_RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ p, li { white-space: pre-wrap; }
<translation>Авторы</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="91"/>
<location filename="../src/aboutdialog.ui" line="87"/>
<source>License</source>
<translation>Лицензия</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="117"/>
<location filename="../src/aboutdialog.ui" line="113"/>
<source>Donate</source>
<translation>Поддержите проект</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="123"/>
<location filename="../src/aboutdialog.ui" line="119"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http:https://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
Expand Down
6 changes: 3 additions & 3 deletions translations/svgcleaner_uk_UA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ p, li { white-space: pre-wrap; }
<translation>Автори</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="91"/>
<location filename="../src/aboutdialog.ui" line="87"/>
<source>License</source>
<translation>Ліцензія</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="117"/>
<location filename="../src/aboutdialog.ui" line="113"/>
<source>Donate</source>
<translation>Підтримайте проект</translation>
</message>
<message>
<location filename="../src/aboutdialog.ui" line="123"/>
<location filename="../src/aboutdialog.ui" line="119"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http:https://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
Expand Down
Loading

0 comments on commit fd6fb7c

Please sign in to comment.