summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2013-10-08 12:49:48 +0100
committerAlessio Treglia <alessio@debian.org>2013-10-08 12:49:48 +0100
commitaa68b7bd585a157e8952881e87e2c09de6ec742f (patch)
tree236530346be25c9f2e1588f2577cc3d5a53a5f69 /setup
parent228d763f5a95a2575a18e03e0ea77555106023c4 (diff)
Imported Upstream version 0.8.6
Diffstat (limited to 'setup')
-rw-r--r--setup/license.txt14
-rw-r--r--setup/scripts/install_smplayer.cmd8
-rw-r--r--setup/scripts/make_pkgs.cmd87
-rw-r--r--setup/scripts/make_pkgs64.cmd259
-rw-r--r--setup/smplayer.nsi89
-rw-r--r--setup/translations/basque.nsh7
-rw-r--r--setup/translations/catalan.nsh7
-rw-r--r--setup/translations/croatian.nsh7
-rw-r--r--setup/translations/czech.nsh7
-rw-r--r--setup/translations/danish.nsh7
-rw-r--r--setup/translations/dutch.nsh7
-rw-r--r--setup/translations/english.nsh7
-rw-r--r--setup/translations/finnish.nsh7
-rw-r--r--setup/translations/french.nsh121
-rw-r--r--setup/translations/german.nsh7
-rw-r--r--setup/translations/hebrew.nsh7
-rw-r--r--setup/translations/hungarian.nsh7
-rw-r--r--setup/translations/italian.nsh7
-rw-r--r--setup/translations/japanese.nsh7
-rw-r--r--setup/translations/korean.nsh7
-rw-r--r--setup/translations/norwegian.nsh7
-rw-r--r--setup/translations/polish.nsh7
-rw-r--r--setup/translations/portuguese.nsh17
-rw-r--r--setup/translations/russian.nsh7
-rw-r--r--setup/translations/simpchinese.nsh7
-rw-r--r--setup/translations/slovak.nsh7
-rw-r--r--setup/translations/slovenian.nsh7
-rw-r--r--setup/translations/spanish.nsh7
-rw-r--r--setup/translations/thai.nsh7
-rw-r--r--setup/translations/tradchinese.nsh7
30 files changed, 641 insertions, 115 deletions
diff --git a/setup/license.txt b/setup/license.txt
index e508e12..da70b03 100644
--- a/setup/license.txt
+++ b/setup/license.txt
@@ -1,10 +1,3 @@
-A. SMPlayer License
-B. Youtube Terms of Services
-
-====================================================
-
-A. SMPlayer License
-
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
@@ -345,10 +338,3 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
-====================================================
-
-B. Youtube Terms of Services
-
-By using SMPlayer you hereby agree to be bound by Google Terms of Services located
-at http://www.google.com/accounts/TOS
-
diff --git a/setup/scripts/install_smplayer.cmd b/setup/scripts/install_smplayer.cmd
index 05bdcc8..36f81f4 100644
--- a/setup/scripts/install_smplayer.cmd
+++ b/setup/scripts/install_smplayer.cmd
@@ -5,8 +5,8 @@ echo.
echo Warning: it will only work with sources from the SVN and the command svn has to be in the path
echo.
-set /P QTVER="Qt Version (Default: 4.7.4): "
-if "%QTVER%"=="" set QTVER=4.7.4
+set /P QTVER="Qt Version (Default: 4.8.4): "
+if "%QTVER%"=="" set QTVER=4.8.4
set OUTPUT_DIR=smplayer-build
@@ -15,7 +15,8 @@ set SMTUBE_DIR=svn\smtube
set SMPLAYER_THEMES_DIR=svn\smplayer-themes
set SMPLAYER_SKINS_DIR=svn\smplayer-skins
set MPLAYER_DIR=mplayer
-set QT_DIR=C:\QtSDK\Desktop\Qt\%QTVER%\mingw
+rem set QT_DIR=C:\QtSDK\Desktop\Qt\%QTVER%\mingw
+set QT_DIR=C:\Qt\%QTVER%
echo.
echo ###### SMPlayer, QT libs #######
@@ -31,6 +32,7 @@ copy %QT_DIR%\bin\QtCore4.dll %OUTPUT_DIR%
copy %QT_DIR%\bin\QtGui4.dll %OUTPUT_DIR%
copy %QT_DIR%\bin\QtNetwork4.dll %OUTPUT_DIR%
copy %QT_DIR%\bin\QtXml4.dll %OUTPUT_DIR%
+copy %QT_DIR%\bin\QtScript4.dll %OUTPUT_DIR%
copy %QT_DIR%\bin\mingwm10.dll %OUTPUT_DIR%
if %QTVER% geq 4.6.0 (
copy %QT_DIR%\bin\libgcc_s_dw2-1.dll %OUTPUT_DIR%
diff --git a/setup/scripts/make_pkgs.cmd b/setup/scripts/make_pkgs.cmd
index 9e7485b..c9a6202 100644
--- a/setup/scripts/make_pkgs.cmd
+++ b/setup/scripts/make_pkgs.cmd
@@ -56,40 +56,57 @@ if "%USER_CHOICE%" == "1" (
echo --- Creating SMPlayer NSIS Packages ---
echo.
-echo Format: VER_MAJOR.VER_MINOR.VER_BUILD.VER_REVISION
-echo Example: 0.8.1.0
-echo.
-echo Note: VER_REVISION must be defined as '0' if not used
+echo Format: VER_MAJOR.VER_MINOR.VER_BUILD[.VER_REVISION]
+echo VER_REVISION is optional (set to 0 if blank)
echo.
:: Reset in case ran again in same command prompt instance
+set NSIS_PKG_VER=
set VER_MAJOR=
set VER_MINOR=
set VER_BUILD=
set VER_REVISION=
+set VER_REV_CMD=
-set /P VER_MAJOR="VER_MAJOR: "
-set /P VER_MINOR="VER_MINOR: "
-set /P VER_BUILD="VER_BUILD: "
-set /P VER_REVISION="VER_REVISION: "
+:nsispkgver_again
+Set /p NSIS_PKG_VER="Version: "
-echo.
+for /f "tokens=1 delims=." %%j in ("%NSIS_PKG_VER%") do set VER_MAJOR=%%j
+for /f "tokens=2 delims=." %%k in ("%NSIS_PKG_VER%") do set VER_MINOR=%%k
+for /f "tokens=3 delims=." %%l in ("%NSIS_PKG_VER%") do set VER_BUILD=%%l
+for /f "tokens=4 delims=." %%m in ("%NSIS_PKG_VER%") do set VER_REVISION=%%m
-if %VER_REVISION% neq 0 (
+if [%VER_MAJOR%]==[] (
+ echo Major Version # must be specified [#.x.x]
+ echo.
+ goto nsispkgver_again
+)
-%NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DVER_REVISION=%VER_REVISION% %TOP_LEVEL_DIR%\smplayer.nsi
-rem %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DVER_REVISION=%VER_REVISION% /DWIN64 %TOP_LEVEL_DIR%\smplayer.nsi
-rem %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DVER_REVISION=%VER_REVISION% /DWIN64 %TOP_LEVEL_DIR%\smplayer.full.nsi
+if [%VER_MINOR%]==[] (
+ echo Minor Version # must be specified [x.#.x]
+ echo.
+ goto nsispkgver_again
+)
-) else (
+if [%VER_BUILD%]==[] (
+ echo Build Version # must be specified [x.x.#]
+ echo.
+ goto nsispkgver_again
+)
-%NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %TOP_LEVEL_DIR%\smplayer.nsi
-rem %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DWIN64 %TOP_LEVEL_DIR%\smplayer.nsi
-rem %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DWIN64 %TOP_LEVEL_DIR%\smplayer.full.nsi
+if [%VER_REVISION%]==[] (
+ set VER_REV_CMD=
+) else (
+ set VER_REV_CMD= /DVER_REVISION=%VER_REVISION%
+)
+if exist %TOP_LEVEL_DIR%\smplayer-build (
+ %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD%%VER_REV_CMD% %TOP_LEVEL_DIR%\smplayer.nsi
)
-echo.
+if exist %TOP_LEVEL_DIR%\smplayer-build64 (
+ %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD%%VER_REV_CMD% /DWIN64 %TOP_LEVEL_DIR%\smplayer.nsi
+)
goto end
@@ -121,7 +138,7 @@ if not exist %TOP_LEVEL_DIR%\smplayer-portable-%SMPLAYER_VER% (
)
echo.
-echo ###### Backing up files #######
+echo Backing up files...
echo.
ren %SMPLAYER_PORTABLE_DIR%\smplayer.exe smplayer.bak
@@ -129,31 +146,51 @@ ren %SMPLAYER_PORTABLE_DIR%\smtube.exe smtube.bak
ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config config.bak
echo.
-echo ###### Create screenshots dir. #######
+echo Creating screenshots dir...
echo.
mkdir %SMPLAYER_PORTABLE_DIR%\screenshots
echo.
-echo ###### Create mplayer config #######
+echo Creating smplayer.ini...
+echo.
+
+echo [%%General]> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo screenshot_directory=.\\screenshots>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo.>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo [advanced]>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo mplayer_additional_options=-nofontconfig>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+
+echo.
+echo Creating smplayer_orig.ini...
+echo.
+
+echo [%%General]> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo screenshot_directory=.\\screenshots>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo.>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo [advanced]>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo mplayer_additional_options=-nofontconfig>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+
+echo.
+echo Creating mplayer config...
echo.
-echo ## MPlayer Windows configuration>> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+echo ## MPlayer Windows configuration> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
echo.>> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
echo subfont=c:\windows\fonts\arial.ttf>> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
echo ^<cachedir^>../fontconfig^</cachedir^>> %SMPLAYER_PORTABLE_DIR%\mplayer\fonts\local.conf
echo.
-echo ###### Copying portable .exe #######
+echo Copying portable .exe...
echo.
copy /y %PORTABLE_EXE_DIR%\smplayer-portable.exe %SMPLAYER_PORTABLE_DIR%\smplayer.exe
copy /y %PORTABLE_EXE_DIR%\smtube-portable.exe %SMPLAYER_PORTABLE_DIR%\smtube.exe
echo.
-echo ###### Creating portable package #######
+echo Finalizing portable package...
echo.
-7za a -t7z %OUTPUT_DIR%\smplayer-portable-%SMPLAYER_VER%.7z %SMPLAYER_PORTABLE_DIR% -xr!*.bak -xr!qxtcore.dll -mx9
+7za a -t7z %OUTPUT_DIR%\smplayer-portable-%SMPLAYER_VER%.7z %SMPLAYER_PORTABLE_DIR% -xr!*.bak -xr!qxtcore.dll -xr!mplayer64.exe -mx9
echo.
echo Restoring source folder(s) back to its original state...
diff --git a/setup/scripts/make_pkgs64.cmd b/setup/scripts/make_pkgs64.cmd
new file mode 100644
index 0000000..b77388a
--- /dev/null
+++ b/setup/scripts/make_pkgs64.cmd
@@ -0,0 +1,259 @@
+@echo off
+echo This batch file can help you to create a packages for SMPlayer and MPlayer.
+echo.
+echo Note: It will temporarily rename the smplayer-build or mplayer directory.
+echo Be sure to have a compiled portable smplayer.exe, renamed as
+echo `smplayer-portable.exe` in the same directory as this script or an
+echo alternate location you specify in this script when creating the portable
+echo packages.
+echo.
+echo Configure your build environment at the beginning of this script.
+echo.
+echo 7zip command-line (http://7zip.org) is required by this script.
+echo.
+echo 1 - NSIS SMPlayer Packages
+echo 2 - Portable SMPlayer Package
+echo 3 - SMPlayer Package w/o MPlayer
+echo 4 - MPlayer Package
+
+echo.
+
+:: Relative directory of all the source files to this script
+set TOP_LEVEL_DIR=..
+
+:: Reset in case ran again in same command prompt instance
+set SMPLAYER_VER=
+
+:: NSIS path
+set NSIS_PATH="C:\Program Files (x86)\NSIS\Unicode"
+
+set SMPLAYER_DIR=%TOP_LEVEL_DIR%\smplayer-build64
+set MPLAYER_DIR=%TOP_LEVEL_DIR%\mplayer
+set OUTPUT_DIR=%TOP_LEVEL_DIR%\output
+set PORTABLE_EXE_DIR=%TOP_LEVEL_DIR%\portable
+
+:reask
+set /P USER_CHOICE="Choose an action: "
+echo.
+
+if "%USER_CHOICE%" == "1" (
+ goto nsispkg
+
+) else if "%USER_CHOICE%" == "2" (
+ goto portable
+
+) else if "%USER_CHOICE%" == "3" (
+ goto nomplayer
+
+) else if "%USER_CHOICE%" == "4" (
+ goto mplayer
+
+) else (
+ goto reask
+)
+
+:nsispkg
+
+echo --- Creating SMPlayer NSIS Packages ---
+echo.
+echo Format: VER_MAJOR.VER_MINOR.VER_BUILD[.VER_REVISION]
+echo VER_REVISION is optional (set to 0 if blank)
+echo.
+
+
+:: Reset in case ran again in same command prompt instance
+set NSIS_PKG_VER=
+set VER_MAJOR=
+set VER_MINOR=
+set VER_BUILD=
+set VER_REVISION=
+set VER_REV_CMD=
+
+:nsispkgver_again
+Set /p NSIS_PKG_VER="Version: "
+
+for /f "tokens=1 delims=." %%j in ("%NSIS_PKG_VER%") do set VER_MAJOR=%%j
+for /f "tokens=2 delims=." %%k in ("%NSIS_PKG_VER%") do set VER_MINOR=%%k
+for /f "tokens=3 delims=." %%l in ("%NSIS_PKG_VER%") do set VER_BUILD=%%l
+for /f "tokens=4 delims=." %%m in ("%NSIS_PKG_VER%") do set VER_REVISION=%%m
+
+if [%VER_MAJOR%]==[] (
+ echo Major Version # must be specified [#.x.x]
+ echo.
+ goto nsispkgver_again
+)
+
+if [%VER_MINOR%]==[] (
+ echo Minor Version # must be specified [x.#.x]
+ echo.
+ goto nsispkgver_again
+)
+
+if [%VER_BUILD%]==[] (
+ echo Build Version # must be specified [x.x.#]
+ echo.
+ goto nsispkgver_again
+)
+
+if [%VER_REVISION%]==[] (
+ set VER_REV_CMD=
+) else (
+ set VER_REV_CMD= /DVER_REVISION=%VER_REVISION%
+)
+
+if exist %TOP_LEVEL_DIR%\smplayer-build (
+ %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD%%VER_REV_CMD% %TOP_LEVEL_DIR%\smplayer.nsi
+)
+
+if exist %TOP_LEVEL_DIR%\smplayer-build64 (
+ %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD%%VER_REV_CMD% /DWIN64 %TOP_LEVEL_DIR%\smplayer.nsi
+)
+
+goto end
+
+:portable
+echo --- Creating SMPlayer Portable Package ---
+echo.
+
+set /P SMPLAYER_VER="SMPlayer Version: "
+if "%SMPLAYER_VER%"=="" goto end
+echo.
+
+:: Check for portable exes
+if not exist %PORTABLE_EXE_DIR%\smplayer-portable64.exe (
+ echo SMPlayer portable EXE not found!
+ goto end
+)
+
+if not exist %PORTABLE_EXE_DIR%\smtube-portable64.exe (
+ echo SMTube portable EXE not found!
+ goto end
+)
+
+ren %SMPLAYER_DIR% smplayer-portable-%SMPLAYER_VER%-x64
+set SMPLAYER_PORTABLE_DIR=%TOP_LEVEL_DIR%\smplayer-portable-%SMPLAYER_VER%-x64
+
+if not exist %TOP_LEVEL_DIR%\smplayer-portable-%SMPLAYER_VER%-x64 (
+ echo Oops! Unable to find renamed directory, make sure no files are opened.
+ goto end
+)
+
+echo.
+echo Backing up files...
+echo.
+
+ren %SMPLAYER_PORTABLE_DIR%\smplayer.exe smplayer.bak
+ren %SMPLAYER_PORTABLE_DIR%\smtube.exe smtube.bak
+ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer.exe mplayer.exe.bak32
+ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer64.exe mplayer.exe
+ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config config.bak
+
+echo.
+echo Creating screenshots dir...
+echo.
+
+mkdir %SMPLAYER_PORTABLE_DIR%\screenshots
+
+echo.
+echo Creating smplayer.ini...
+echo.
+
+echo [%%General]> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo screenshot_directory=.\\screenshots>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo.>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo [advanced]>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo mplayer_additional_options=-nofontconfig>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+
+echo.
+echo Creating smplayer_orig.ini...
+echo.
+
+echo [%%General]> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo screenshot_directory=.\\screenshots>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo.>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo [advanced]>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo mplayer_additional_options=-nofontconfig>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+
+echo.
+echo Creating mplayer config...
+echo.
+
+echo ## MPlayer Windows configuration> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+echo.>> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+echo subfont=c:\windows\fonts\arial.ttf>> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+echo ^<cachedir^>../fontconfig^</cachedir^>> %SMPLAYER_PORTABLE_DIR%\mplayer\fonts\local.conf
+
+echo.
+echo Copying portable .exe...
+echo.
+
+copy /y %PORTABLE_EXE_DIR%\smplayer-portable64.exe %SMPLAYER_PORTABLE_DIR%\smplayer.exe
+copy /y %PORTABLE_EXE_DIR%\smtube-portable64.exe %SMPLAYER_PORTABLE_DIR%\smtube.exe
+
+echo.
+echo Finalizing portable package...
+echo.
+7za a -t7z %OUTPUT_DIR%\smplayer-portable-%SMPLAYER_VER%-x64.7z %SMPLAYER_PORTABLE_DIR% -xr!*.bak* -xr!qxtcore.dll -mx9
+
+echo.
+echo Restoring source folder(s) back to its original state...
+echo.
+rmdir %SMPLAYER_PORTABLE_DIR%\screenshots
+del %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+del %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+del %SMPLAYER_PORTABLE_DIR%\smplayer.exe
+del %SMPLAYER_PORTABLE_DIR%\smtube.exe
+ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer.exe mplayer64.exe
+ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer.exe.bak32 mplayer.exe
+del %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+del %SMPLAYER_PORTABLE_DIR%\mplayer\fonts\local.conf
+ren %SMPLAYER_PORTABLE_DIR%\smplayer.bak smplayer.exe
+ren %SMPLAYER_PORTABLE_DIR%\smtube.bak smtube.exe
+ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config.bak config
+ren %SMPLAYER_PORTABLE_DIR% smplayer-build64
+
+goto end
+
+:nomplayer
+echo --- Creating SMPlayer w/o MPlayer Package ---
+echo.
+
+set /P SMPLAYER_VER="SMPlayer Version: "
+if "%SMPLAYER_VER%"=="" goto end
+echo.
+
+ren %SMPLAYER_DIR% smplayer-%SMPLAYER_VER%
+set SMPLAYER_DIR=%TOP_LEVEL_DIR%\smplayer-%SMPLAYER_VER%
+
+7za a -t7z %OUTPUT_DIR%\smplayer-%SMPLAYER_VER%_without_mplayer.7z %SMPLAYER_DIR% -xr!mplayer -mx9
+
+ren %SMPLAYER_DIR% smplayer-build
+
+echo.
+echo Restoring source folder(s) back to its original state....
+
+goto end
+
+:mplayer
+echo.
+echo --- Creating MPlayer Package ---
+echo.
+
+set /P MP_REV="MPlayer Revision: "
+
+ren %MPLAYER_DIR% mplayer-svn-%MP_REV%
+set MPLAYER_DIR=%TOP_LEVEL_DIR%\mplayer-svn-%MP_REV%
+
+7za a -t7z %OUTPUT_DIR%\mplayer-svn-%MP_REV%.7z %MPLAYER_DIR% -xr!mencoder.exe -mx9
+
+ren %MPLAYER_DIR% mplayer
+set MPLAYER_DIR=%TOP_LEVEL_DIR%\mplayer
+
+echo.
+echo Restoring source folder(s) back to its original state...
+
+goto end
+
+:end
+
+pause
diff --git a/setup/smplayer.nsi b/setup/smplayer.nsi
index fa938f8..4a2466a 100644
--- a/setup/smplayer.nsi
+++ b/setup/smplayer.nsi
@@ -96,6 +96,8 @@
Var Reinstall_Message
Var Reinstall_OverwriteButton
Var Reinstall_OverwriteButton_State
+ Var Reinstall_RemoveSettings
+ Var Reinstall_RemoveSettings_State
Var Reinstall_Uninstall
Var Reinstall_UninstallButton
Var Reinstall_UninstallButton_State
@@ -360,7 +362,12 @@ SectionGroup $(MPlayerGroupTitle)
SectionIn RO
SetOutPath "$INSTDIR\mplayer"
- File /r /x mencoder.exe "${SMPLAYER_BUILD_DIR}\mplayer\*.*"
+ File /r /x mplayer.exe /x mencoder.exe /x mplayer64.exe /x mencoder64.exe "${SMPLAYER_BUILD_DIR}\mplayer\*.*"
+!ifdef WIN64
+ File /oname=mplayer.exe "${SMPLAYER_BUILD_DIR}\mplayer\mplayer64.exe"
+!else
+ File "${SMPLAYER_BUILD_DIR}\mplayer\mplayer.exe"
+!endif
WriteRegDWORD HKLM "${SMPLAYER_REG_KEY}" Installed_MPlayer 0x1
@@ -368,6 +375,10 @@ SectionGroup $(MPlayerGroupTitle)
Section /o $(Section_MPlayerCodecs) SecCodecs
+!ifdef WIN64
+ SectionIn RO
+!endif
+
AddSize 22931
${If} $Restore_Codecs == 1
@@ -382,11 +393,19 @@ SectionGroup $(MPlayerGroupTitle)
retry_codecs_dl:
DetailPrint $(Codecs_DL_Msg)
+!ifndef USE_NSISDL
inetc::get /CONNECTTIMEOUT 15000 /RESUME "" /BANNER $(Codecs_DL_Msg) /CAPTION $(Codecs_DL_Msg) \
"http://www.mplayerhq.hu/MPlayer/releases/codecs/${CODEC_VERSION}.zip" \
"$PLUGINSDIR\${CODEC_VERSION}.zip" /END
Pop $R0
StrCmp $R0 OK +4 0
+!else
+ NSISdl::download /TIMEOUT=15000 \
+ "http://www.mplayerhq.hu/MPlayer/releases/codecs/${CODEC_VERSION}.zip" \
+ "$PLUGINSDIR\${CODEC_VERSION}.zip" /END
+ Pop $R0
+ StrCmp $R0 "success" +4 0
+!endif
DetailPrint $(Codecs_DL_Failed)
MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION $(Codecs_DL_Retry) /SD IDCANCEL IDRETRY retry_codecs_dl
Goto check_codecs
@@ -433,6 +452,12 @@ ${MementoSection} $(Section_Translations) SecTranslations
${MementoSectionEnd}
+Section /o $(Reinstall_Msg5) SecResetSettings
+
+ NsExec::Exec '"$INSTDIR\smplayer.exe" -delete-config'
+
+SectionEnd
+
;--------------------------------
;Install/Uninstall information
Section -Post
@@ -483,6 +508,7 @@ ${MementoSectionDone}
!insertmacro MUI_DESCRIPTION_TEXT ${SecCodecs} $(Section_MPlayerCodecs_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${SecThemes} $(Section_IconThemes_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${SecTranslations} $(Section_Translations_Desc)
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecResetSettings} $(Section_ResetSettings_Desc)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;--------------------------------
@@ -611,11 +637,12 @@ ${MementoSectionDone}
;--------------------------------
;Shared functions
+!ifdef USE_RUNCHECK
!macro RunCheckMacro UN
Function ${UN}RunCheck
retry_runcheck:
- FindWindow $0 "" "SMPlayer"
+ FindWindow $0 "QWidget" "SMPlayer"
StrCmp $0 0 notRunning
MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION $(SMPlayer_Is_Running) /SD IDCANCEL IDRETRY retry_runcheck
Abort
@@ -625,19 +652,18 @@ FunctionEnd
!macroend
!insertmacro RunCheckMacro ""
!insertmacro RunCheckMacro "un."
+!endif
;--------------------------------
;Installer functions
Function .onInit
-/*
${Unless} ${AtLeastWinXP}
MessageBox MB_YESNO|MB_ICONSTOP $(OS_Not_Supported) /SD IDNO IDYES installonoldwindows
Abort
installonoldwindows:
${EndIf}
-*/
!ifdef WIN64
${IfNot} ${RunningX64}
@@ -676,12 +702,14 @@ Function .onInit
MessageBox MB_OK|MB_ICONEXCLAMATION $(Installer_Is_Running)
Abort
+!ifdef USE_RUNCHECK
;Check if SMPlayer is running
;Allow skipping check using /NORUNCHECK
${GetParameters} $R0
${GetOptions} $R0 "/NORUNCHECK" $R1
IfErrors 0 +2
Call RunCheck
+!endif
;Check for admin on < Vista
UserInfo::GetAccountType
@@ -706,7 +734,12 @@ Function .onInstSuccess
${MementoSectionSave}
- ExecShell "open" "http://smplayer.sourceforge.net/guide.php?version=${SMPLAYER_VERSION}"
+/*
+ ${Unless} $Reinstall_Uninstall == 1
+ ExecShell "open" "http://smplayer.sourceforge.net/thank-you.php?version=${SMPLAYER_VERSION}"
+ ${EndIf}
+*/
+
FunctionEnd
Function .onInstFailed
@@ -722,6 +755,17 @@ Function .onInstFailed
FunctionEnd
+/* Function un.onUninstSuccess
+
+ ;Don't launch uninstall page if reinstalling
+ ${un.GetParameters} $R0
+ ${un.GetOptionsS} $R0 "/R" $R1
+
+ IfErrors 0 +2
+ ExecShell "open" "http://smplayer.sourceforge.net/uninstall.php?version=${SMPLAYER_VERSION}"
+
+FunctionEnd */
+
Function CheckPreviousVersion
ClearErrors
@@ -769,10 +813,15 @@ FunctionEnd
Function LoadPreviousSettings
;MPlayer codecs section doesn't use Memento so we need to restore it manually
- ReadRegDWORD $R0 HKLM "${SMPLAYER_REG_KEY}" "Installed_Codecs"
- ${If} $R0 == 1
- !insertmacro SelectSection ${SecCodecs}
- ${EndIf}
+ ;32-bit only
+!ifdef WIN64
+ !insertmacro UnSelectSection ${SecCodecs}
+!else
+ ReadRegDWORD $R0 HKLM "${SMPLAYER_REG_KEY}" "Installed_Codecs"
+ ${If} $R0 == 1
+ !insertmacro SelectSection ${SecCodecs}
+ ${EndIf}
+!endif
;Gets start menu folder name
!insertmacro MUI_STARTMENU_GETFOLDER "SMP_SMenu" $SMPlayer_StartMenuFolder
@@ -809,7 +858,10 @@ Function PageReinstall
${NSD_CreateCheckBox} 0 90u 100% 8u $(Reinstall_Msg4)
Pop $Reinstall_ChgSettings
- ${NSD_CreateLabel} 0 115u 100% 16u
+ ${NSD_CreateCheckBox} 0 102u 100% 8u $(Reinstall_Msg5)
+ Pop $Reinstall_RemoveSettings
+
+ ${NSD_CreateLabel} 0 121u 100% 16u
Pop $Reinstall_Message
SendMessage $Reinstall_OverwriteButton ${BM_SETCHECK} 1 0
@@ -819,6 +871,10 @@ Function PageReinstall
SendMessage $Reinstall_ChgSettings ${BM_SETCHECK} 1 0
${Endif}
+ ${If} $Reinstall_RemoveSettings_State == 1
+ SendMessage $Reinstall_RemoveSettings ${BM_SETCHECK} 1 0
+ ${Endif}
+
${NSD_OnClick} $Reinstall_OverwriteButton PageReinstallUpdate
${NSD_OnClick} $Reinstall_UninstallButton PageReinstallUpdate
${NSD_OnClick} $Reinstall_ChgSettings PageReinstallUpdate
@@ -834,6 +890,11 @@ Function PageReinstallLeave
${NSD_GetState} $Reinstall_OverwriteButton $Reinstall_OverwriteButton_State
${NSD_GetState} $Reinstall_UninstallButton $Reinstall_UninstallButton_State
${NSD_GetState} $Reinstall_ChgSettings $Reinstall_ChgSettings_State
+ ${NSD_GetState} $Reinstall_RemoveSettings $Reinstall_RemoveSettings_State
+
+ ${If} $Reinstall_RemoveSettings_State == 1
+ !insertmacro SelectSection ${SecResetSettings}
+ ${EndIf}
FunctionEnd
@@ -846,6 +907,7 @@ Function PageReinstallUpdate
${If} $Reinstall_OverwriteButton_State == 1
EnableWindow $Reinstall_ChgSettings 1
+ EnableWindow $Reinstall_RemoveSettings 1
GetDlgItem $R0 $HWNDPARENT 1
${If} $Reinstall_ChgSettings_State != 1
@@ -861,6 +923,9 @@ Function PageReinstallUpdate
EnableWindow $Reinstall_ChgSettings 0
${NSD_SetState} $Reinstall_ChgSettings 0
+ EnableWindow $Reinstall_RemoveSettings 0
+ ${NSD_SetState} $Reinstall_RemoveSettings 0
+
GetDlgItem $R0 $HWNDPARENT 1
SendMessage $R0 ${WM_SETTEXT} 0 "STR:$(^UninstallBtn)"
@@ -975,12 +1040,14 @@ Function un.onInit
Abort
${EndIf}
+!ifdef USE_RUNCHECK
;Check if SMPlayer is running
;Allow skipping check using /NORUNCHECK
${un.GetParameters} $R0
${un.GetOptions} $R0 "/NORUNCHECK" $R1
IfErrors 0 +2
Call un.RunCheck
+!endif
;Gets start menu folder name
!insertmacro MUI_STARTMENU_GETFOLDER "SMP_SMenu" $SMPlayer_StartMenuFolder
@@ -999,4 +1066,4 @@ Function un.ConfirmPagePre
Abort
${EndUnless}
-FunctionEnd \ No newline at end of file
+FunctionEnd
diff --git a/setup/translations/basque.nsh b/setup/translations/basque.nsh
index 063da6e..6d47806 100644
--- a/setup/translations/basque.nsh
+++ b/setup/translations/basque.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (beharrezkoa)"
${LangFileString} Section_MPlayer_Desc "MPlayer; beharrezkoa irakurketarako."
${LangFileString} Section_MPlayerCodecs "Kodek Binarioak"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Aukerazko kodekak MPlayerrentzat. (Internet Elkarketa beharrezkoa da ezarpenerako)"
+!endif
${LangFileString} Section_MEncoder_Desc "MPlayer laguntzen duen programa bat erabili daiteke kodeatzeko edo eraldatzeko sostengatutako audio edo bideo jarioak."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "SMPlayer-entzako ikur gai gehigarriak
${LangFileString} Section_Translations "Hizkuntzak"
${LangFileString} Section_Translations_Desc "SMPlayer-entzako Ez Ingelerazko hizkuntza agiriak."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "Kodek binario paketeek jatorrizkoan ez dauden kodek sostengua gehitzen dute, RealVideo aldaera berrienak eta formato ez arrunt asko bezalakoak.$\nOhartu hauek ez direla beharrezkoak heuskarri arruntenak irakurtzeko, DVD, MPEG-1/2/4, etab."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Klikatu Hasi jarraitzeko gertu zaudenean."
${LangFileString} Reinstall_Msg3_2 "Klikatu Hurrengoa jarraitzeko gertu zaudenean."
${LangFileString} Reinstall_Msg3_3 "Klikatu Kendu jarraitzeko gertu zaudenean."
${LangFileString} Reinstall_Msg4 "Aldatu Ezarpenaren Hobespenak"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "berrezarri"
${LangFileString} Type_Downgrade "aurrekoratu"
diff --git a/setup/translations/catalan.nsh b/setup/translations/catalan.nsh
index 0998917..8492a81 100644
--- a/setup/translations/catalan.nsh
+++ b/setup/translations/catalan.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/croatian.nsh b/setup/translations/croatian.nsh
index 78f0416..0cc5c0f 100644
--- a/setup/translations/croatian.nsh
+++ b/setup/translations/croatian.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/czech.nsh b/setup/translations/czech.nsh
index 28dc32f..0764fb2 100644
--- a/setup/translations/czech.nsh
+++ b/setup/translations/czech.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (vyžadován)"
${LangFileString} Section_MPlayer_Desc "MPlayer; vyžadován pro přehrávání."
${LangFileString} Section_MPlayerCodecs "Binární kodeky"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Přídavné kodeky MPlayeru. (Pro instalaci je potřeba připojení k Internetu)"
+!endif
${LangFileString} Section_MEncoder_Desc "Dodatkový program pro MPlayer, který se využívá k enkódování nebo transformaci audio/video souborů."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Přídavná témata ikon pro SMPlayer
${LangFileString} Section_Translations "Lokalizace"
${LangFileString} Section_Translations_Desc "Neanglické lokalizace."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "Binární kodeky podporují formáty, které zatím nejsou implementovány nativně, např. novější varianty RealVideo a jiné málo používané formáty.$\nPro většinu běžných formátů nejsou potřeba (DVD, MPEG-1/2/4, apod.)."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Stiskněte Start jste-li připraveni."
${LangFileString} Reinstall_Msg3_2 "Stiskněte Další jste-li připraveni."
${LangFileString} Reinstall_Msg3_3 "Stiskněte Odinstalovat jste-li připraveni."
${LangFileString} Reinstall_Msg4 "Změnit nastavení instalace"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstalovat"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/danish.nsh b/setup/translations/danish.nsh
index c72d1a6..1ece68c 100644
--- a/setup/translations/danish.nsh
+++ b/setup/translations/danish.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/dutch.nsh b/setup/translations/dutch.nsh
index 798f44f..9290410 100644
--- a/setup/translations/dutch.nsh
+++ b/setup/translations/dutch.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/english.nsh b/setup/translations/english.nsh
index 180a647..5fa6a86 100644
--- a/setup/translations/english.nsh
+++ b/setup/translations/english.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/finnish.nsh b/setup/translations/finnish.nsh
index 8e736a2..cb206d2 100644
--- a/setup/translations/finnish.nsh
+++ b/setup/translations/finnish.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/french.nsh b/setup/translations/french.nsh
index 42df74c..7dac952 100644
--- a/setup/translations/french.nsh
+++ b/setup/translations/french.nsh
@@ -7,88 +7,95 @@
!insertmacro LANGFILE "French" "Français"
; Startup
-${LangFileString} Installer_Is_Running "The installer is already running."
-${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
-${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} Installer_Is_Running "L'installateur est déjà en cours d'exécution."
+${LangFileString} Installer_No_Admin "Vous devez être connecté comme administrateur pour installer ce programme."
+${LangFileString} SMPlayer_Is_Running "Une instance de SMPlayer est en cours d'exécution. Veuillez quitter SMPlayer puis réessayer l'installation."
-${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
+${LangFileString} OS_Not_Supported "Système d'exploitation non supporté.$\nSMPlayer ${SMPLAYER_VERSION} requiert au minimum Windows XP et pourrait ne pas fonctionner correctement sur votre système.$\nSouhaitez-vous vraiment continuer l'installation ?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
-${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
-${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+${LangFileString} Existing_32bitInst "Une installation de SMPlayer 32 bits existe. Vous devez désinstaller SMPlayer 32 bits d'abord."
+${LangFileString} Existing_64bitInst "Une installation de SMPlayer 64 bits existe. Vous devez désinstaller SMPlayer 64 bits d'abord."
; Welcome page
-${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
-${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+${LangFileString} WelcomePage_Title "Installation de $(^NameDA)"
+${LangFileString} WelcomePage_Text "Ce programme va vous guider à travers l'installation de $(^NameDA).$\r$\n$\r$\nIl est recommandé de quitter toutes les instances de SMPlayer avant de continuer. Ceci permet de mettre à jour les fichiers concernés sans avoir besoin de redémarrer votre ordinateur.$\r$\n$\r$\n$_CLICK"
; Components Page
-${LangFileString} ShortcutGroupTitle "Shortcuts"
-${LangFileString} MPlayerGroupTitle "MPlayer Components"
+${LangFileString} ShortcutGroupTitle "Raccourcis"
+ ${LangFileString} MPlayerGroupTitle "Composants de MPlayer"
-${LangFileString} Section_SMPlayer "SMPlayer (required)"
-${LangFileString} Section_SMPlayer_Desc "SMPlayer, shared libraries, and documentation."
+${LangFileString} Section_SMPlayer "SMPlayer (requis)"
+${LangFileString} Section_SMPlayer_Desc "SMPlayer, bibliothèques partagées et documentation."
-${LangFileString} Section_DesktopShortcut "Desktop"
-${LangFileString} Section_DesktopShortcut_Desc "Creates a shortcut to SMPlayer on the desktop."
+${LangFileString} Section_DesktopShortcut "Bureau"
+${LangFileString} Section_DesktopShortcut_Desc "Crée un raccourci vers SMPlayer sur le bureau."
-${LangFileString} Section_StartMenu "Start Menu"
-${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
+${LangFileString} Section_StartMenu "Menu Démarrer"
+${LangFileString} Section_StartMenu_Desc "Crée une entrée pour SMPlayer dans le menu Démarrer."
-${LangFileString} Section_MPlayer "MPlayer (required)"
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
+${LangFileString} Section_MPlayer "MPlayer (requis)"
+${LangFileString} Section_MPlayer_Desc "MPlayer; requis pour la lecture."
-${LangFileString} Section_MPlayerCodecs "Binary Codecs"
-${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+${LangFileString} Section_MPlayerCodecs "Codecs binaires"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
+${LangFileString} Section_MPlayerCodecs_Desc "Codecs optionnels pour MPlayer. (Connexion Internet requise durant l'installation.)"
+!endif
-${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
+${LangFileString} Section_MEncoder_Desc "Programme permettant d'encoder ou de convertir des flux audio et/ou vidéos supportés par MPlayer."
-${LangFileString} Section_IconThemes "Icon Themes"
-${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
+${LangFileString} Section_IconThemes "Thèmes d'icônes"
+${LangFileString} Section_IconThemes_Desc "Thèmes d'icônes supplémentaires pour SMPlayer."
-${LangFileString} Section_Translations "Languages"
-${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_Translations "Langues"
+${LangFileString} Section_Translations_Desc "Fichiers de langues (autres qie l'anglais) pour SMPlayer."
-${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
+${LangFileString} MPlayer_Codec_Msg "Les paquets de codecs binaires ajoutent le support pour les codecs qui ne sont pas encore nativement supportés, tels que les nouvelles variantes de RealVideo et d'autres formats peu communs.$\nRemarque : Ces codecs ne sont pas nécessaires pour lire les formats communs tels que les DVD, MPE-1/2/4, etc."
; Upgrade/Reinstall Page
-${LangFileString} Reinstall_Header_Text "Select Install Type"
-${LangFileString} Reinstall_Header_SubText "Select Overwrite or Uninstall mode."
+${LangFileString} Reinstall_Header_Text "Sélectionnez le type d'installation."
+${LangFileString} Reinstall_Header_SubText "Sélectionnez le mode Remplacement ou Désinstallation."
-${LangFileString} Reinstall_Msg1 "You have an existing installation of SMPlayer in the following folder:"
-${LangFileString} Reinstall_Msg2 "Please select how to proceed:"
-${LangFileString} Reinstall_Overwrite "Overwrite ($Inst_Type) the existing installation"
-${LangFileString} Reinstall_Uninstall "Uninstall (remove) the existing installation"
-${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
-${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
-${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
-${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg1 "Il existe déjà une installation de SMPlayer dans le dossier suivant :"
+${LangFileString} Reinstall_Msg2 "Veuillez sélectionner l'opération à effectuer :"
+${LangFileString} Reinstall_Overwrite "Remplacer l'installation existante. ($Inst_Type)"
+${LangFileString} Reinstall_Uninstall "Désinstaller l'installation existante. (Supprimer)"
+${LangFileString} Reinstall_Msg3_1 "Cliquez sur « Démarrer » une fois prêt à continuer."
+${LangFileString} Reinstall_Msg3_2 "Cliquez sur « Suivant » une fois prêt à continuer."
+${LangFileString} Reinstall_Msg3_3 "Cliquez sur « Désinstaller » une fois prêt à continuer."
+${LangFileString} Reinstall_Msg4 "Changer les paramètres d'installation."
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
-${LangFileString} Type_Reinstall "reinstall"
-${LangFileString} Type_Downgrade "downgrade"
-${LangFileString} Type_Upgrade "upgrade"
+${LangFileString} Type_Reinstall "Réinstaller la même version."
+${LangFileString} Type_Downgrade "Installer une version plus ancienne."
+${LangFileString} Type_Upgrade "Installer une version plus récente."
-${LangFileString} StartBtn "Start"
+${LangFileString} StartBtn "Commencer"
; Codecs Section
-${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
-${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
-${LangFileString} Codecs_DL_Failed "Failed to download MPlayer codecs: '$R0'."
-${LangFileString} Codecs_Inst_Failed "Failed to install MPlayer codecs."
+${LangFileString} Codecs_DL_Msg "Télécharge les codecs de MPlayer..."
+${LangFileString} Codecs_DL_Retry "Les codecs de MPlayer n'ont pas été correctement installés. Réessayer ?"
+${LangFileString} Codecs_DL_Failed "Échec du téléchargement des codecs de MPlayer : '$R0'."
+${LangFileString} Codecs_Inst_Failed "Échec de l'installation des codecs de MPlayer."
; Uninstaller
-${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
-${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
-${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
-${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
+${LangFileString} Uninstaller_No_Admin "Cette installation ne peut être désinstallée que par un utilisateur ayant les privilèges d'administrateur."
+${LangFileString} Uninstaller_Aborted "Désinstallation abandonnée par l'utilisateur."
+${LangFileString} Uninstaller_NotInstalled "Il ne semble pas que SMPlayer soit installé dans le dossier '$INSTDIR'.$\r$\nContinuer quand même (déconseillé) ?"
+${LangFileString} Uninstaller_64bitOnly "Cette installation ne peut être désinstallée qu'à partir de Windows 64 bits."
; Vista & Later Default Programs Registration
-${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
+${LangFileString} Application_Description "SMPlayer est une interface utilisateur pour MPlayer, de ses fonctionnalités les plus élémentaires (telles que lire des vidéos, des DVD, des VCD) aux plus avancées (telles que le support des filtres MPlayer, les listes EDL, etc.)."
; Misc
-${LangFileString} Info_Codecs_Backup "Backing up codecs from previous installation..."
-${LangFileString} Info_Codecs_Restore "Restoring codecs from previous installation..."
-${LangFileString} Info_Del_Files "Deleting Files..."
-${LangFileString} Info_Del_Registry "Deleting Registry Keys..."
-${LangFileString} Info_Del_Shortcuts "Deleting Shortcuts..."
-${LangFileString} Info_Rest_Assoc "Restoring file associations..."
-${LangFileString} Info_RollBack "Rolling back changes..."
-${LangFileString} Info_Files_Extract "Extracting files..."
+${LangFileString} Info_Codecs_Backup "Sauvegarde les codecs de l'installation précédente..."
+${LangFileString} Info_Codecs_Restore "Restaure les codecs de l'installation précédente..."
+${LangFileString} Info_Del_Files "Supprime les fichiers..."
+${LangFileString} Info_Del_Registry "Supprime les clés de registre..."
+${LangFileString} Info_Del_Shortcuts "Supprime les raccourcis..."
+${LangFileString} Info_Rest_Assoc "Restaure les associations de fichier..."
+${LangFileString} Info_RollBack "Défait les changements..."
+${LangFileString} Info_Files_Extract "Extrait les fichiers..."
diff --git a/setup/translations/german.nsh b/setup/translations/german.nsh
index 5009179..91bd2e6 100644
--- a/setup/translations/german.nsh
+++ b/setup/translations/german.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (erforderlich)"
${LangFileString} Section_MPlayer_Desc "MPlayer – benötigt für die Wiedergabe."
${LangFileString} Section_MPlayerCodecs "Binärcodecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optionale Codecs für MPlayer. (Internetverbindung benötigt für Installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Weitere Symboldesigns für SMPlayer."
${LangFileString} Section_Translations "Lokalisierungen"
${LangFileString} Section_Translations_Desc "Nicht englische Lokalisierungen."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "Binärcodec-Pakete werden eingesetzt für Codecs, die noch nicht nativ implementiert sind – wie neuere Varianten von RealVideo und viele ungewöhnliche Formate.$\nHinweis: Die Pakete sind nicht notwendig, um die gängigsten Formate wiederzugeben (DVD, MPEG-1/2/4, etc.)"
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/hebrew.nsh b/setup/translations/hebrew.nsh
index 21a66e9..f6710a2 100644
--- a/setup/translations/hebrew.nsh
+++ b/setup/translations/hebrew.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/hungarian.nsh b/setup/translations/hungarian.nsh
index 4a9bcf1..970864f 100644
--- a/setup/translations/hungarian.nsh
+++ b/setup/translations/hungarian.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "A bináris kodek csomagok támogatást nyújtanak natívan még nem támogatott kodekekhez, mint pl. az újabb RealVideo variánsok és sok ritka formátum.$\nNem szükségesek a legtöbb gyakori formátum lejátszásához, mint a DVD-k, MPEG-1/2/4, stb."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/italian.nsh b/setup/translations/italian.nsh
index 79e16d0..2c197db 100644
--- a/setup/translations/italian.nsh
+++ b/setup/translations/italian.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (essenziale)"
${LangFileString} Section_MPlayer_Desc "MPlayer; essenziale per la riproduzione."
${LangFileString} Section_MPlayerCodecs "Codec binari"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Codec aggiuntivi per MPlayer. (Connessione a Internet richiesta per l'installazione)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Temi di icone aggiuntivi per SMPlayer
${LangFileString} Section_Translations "Localizzazioni"
${LangFileString} Section_Translations_Desc "Localizzazioni non Inglesi."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "I pacchetti di codec binari forniscono il supporto per i codec che non sono stati ancora implementati nativamente, per esempio per le varianti di RealVideo e anche un sacco di formati poco utilizzati.$\nNota che non sono richiesti per riprodurre i formati più comuni come DVD, MPEG-1/2/4, ecc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/japanese.nsh b/setup/translations/japanese.nsh
index 2726417..9447697 100644
--- a/setup/translations/japanese.nsh
+++ b/setup/translations/japanese.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (必須)"
${LangFileString} Section_MPlayer_Desc "再生のために必要な MPlayer です。"
${LangFileString} Section_MPlayerCodecs "バイナリ コーデック"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "MPlayer のオプション コーデックです。(インストールにはインターネット接続が必要です)"
+!endif
${LangFileString} Section_MEncoder_Desc "サポートされたオーディオまたはビデオ ストリームのエンコードや変換に使用できる MPlayer の姉妹プログラムです。"
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "SMPlayer の追加アイコン テー
${LangFileString} Section_Translations "言語"
${LangFileString} Section_Translations_Desc "SMPlayer の英語以外のの言語ファイルです。"
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "バイナリ コーデック パッケージは新しい RealVideo 派生や多くの希少なフォーマットなど、まだ自然には実装されていないコーデックへのサポートを追加します。$\nDVD、MPEG-1/2/4 などの最も一般的なフォーマットの再生には必要でないことにご注意ください。"
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "続行するには [開始] をクリック
${LangFileString} Reinstall_Msg3_2 "続行するには [次へ] をクリックします。"
${LangFileString} Reinstall_Msg3_3 "続行するには [アンインストール] をクリックします。"
${LangFileString} Reinstall_Msg4 "インストール設定を変更する"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "再インストール"
${LangFileString} Type_Downgrade "ダウングレード"
diff --git a/setup/translations/korean.nsh b/setup/translations/korean.nsh
index c834f3c..0e950f8 100644
--- a/setup/translations/korean.nsh
+++ b/setup/translations/korean.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/norwegian.nsh b/setup/translations/norwegian.nsh
index f96bfba..86a9857 100644
--- a/setup/translations/norwegian.nsh
+++ b/setup/translations/norwegian.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/polish.nsh b/setup/translations/polish.nsh
index 9d63fd5..0f93c40 100644
--- a/setup/translations/polish.nsh
+++ b/setup/translations/polish.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (wymagane)"
${LangFileString} Section_MPlayer_Desc "MPlayer; wymagany do odtwarzania filmów."
${LangFileString} Section_MPlayerCodecs "Kodeki"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Opcjonalne kodeki do MPlayera. (Wymagane połączenie z internetem)"
+!endif
${LangFileString} Section_MEncoder_Desc "Jest to prosty koder (kompresor) filmów, zaprojektowany do kodowania filmów otwieralnych MPlayerem do innych obsługiwanych formatów"
${LangFileString} Section_IconThemes "Zestawy Ikon"
@@ -46,6 +50,8 @@ ${LangFileString} Section_IconThemes_Desc "Dodatkowe zestawy ikon do SMPlayera."
${LangFileString} Section_Translations "Tłumaczenia"
${LangFileString} Section_Translations_Desc "Tłumaczenia na inne języki."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "Paczka z kodekami dodaje wsparcie dla kodeków, które nie są jeszcze natywnie wspierane, np. nowsze warianty RealVideo, oraz wiele mniej znanych formatów.$\nProszę mieć na uwadze, że paczka nie jest wymagana do odtworzenia popularnych formatów, takich jak DVD, MPEG-1/2/4, itp."
; Upgrade/Reinstall Page
@@ -60,6 +66,7 @@ ${LangFileString} Reinstall_Msg3_1 "Kliknij Start, gdy będziesz gotów."
${LangFileString} Reinstall_Msg3_2 "Kliknij Dalej, gdy będziesz gotów."
${LangFileString} Reinstall_Msg3_3 "Kliknij Odinstaluj, gdy będziesz gotów."
${LangFileString} Reinstall_Msg4 "Zmiana Ustawień Instalacji"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "zainstaluj ponownie"
${LangFileString} Type_Downgrade "zrób downgrade"
diff --git a/setup/translations/portuguese.nsh b/setup/translations/portuguese.nsh
index 232874a..ad673ce 100644
--- a/setup/translations/portuguese.nsh
+++ b/setup/translations/portuguese.nsh
@@ -17,7 +17,7 @@ ${LangFileString} Existing_32bitInst "Já existe uma instalação 32 bits do SMP
${LangFileString} Existing_64bitInst "Já existe uma instalação 64 bits do SMPlayer. Tem que a desinstalar antes de efetuar uma nova instalação."
; Welcome page
-${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Title "Configuração do $(^NameDA)"
${LangFileString} WelcomePage_Text "Esta configuração irá ajuda-lo a instalar o $(^NameDA).$\r$\n$\r$\nÉ altamente recomendado o encerramento de quaisquer instâncias do SMPlayer antes de iniciar a instalação. Deste modo, será possível atualizar os ficheiros do programa sem ter que reiniciar o computador.$\r$\n$\r$\n$_CLICK"
; Components Page
@@ -28,16 +28,20 @@ ${LangFileString} Section_SMPlayer "SMPlayer (obrigatório)"
${LangFileString} Section_SMPlayer_Desc "SMPlayer, bibliotecas partilhadas e documentação."
${LangFileString} Section_DesktopShortcut "Ambiente de trabalho"
-${LangFileString} Section_DesktopShortcut_Desc "Cria um atalho para o SMPlayer no ambiente de trabalho."
+${LangFileString} Section_DesktopShortcut_Desc "Cria um atalho do SMPlayer no ambiente de trabalho."
${LangFileString} Section_StartMenu "Menu Iniciar"
-${LangFileString} Section_StartMenu_Desc "Cria uma entrada no Menu Iniciar para o SMPlayer."
+${LangFileString} Section_StartMenu_Desc "Cria uma entrada do SMPlayer no menu Iniciar."
${LangFileString} Section_MPlayer "MPlayer (obrigatório)"
${LangFileString} Section_MPlayer_Desc "MPlayer; necessário para a reprodução."
${LangFileString} Section_MPlayerCodecs "Codificadores"
-${LangFileString} Section_MPlayerCodecs_Desc "Codificadores opcionais para o MPlayer. (precisa de uma ligação à Internet)"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Os codificadores binários não são suportados por esta versão."
+!else
+${LangFileString} Section_MPlayerCodecs_Desc "Codificadores opcionais para o MPlayer. (Precisa de uma ligação à Internet)"
+!endif
${LangFileString} Section_MEncoder_Desc "Um programa complementar ao MPlayer, utilizado para codificar ou converter emissões de vídeo e áudio."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Ícones adicionais para o SMPlayer."
${LangFileString} Section_Translations "Idiomas"
${LangFileString} Section_Translations_Desc "Idiomas adicionais para o SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Elimina as configurações existentes do SMPlayer."
+
${LangFileString} MPlayer_Codec_Msg "O pacote de codificadores adiciona suporte para os formatos que ainda não foram implementados no MPlayer, tais como as novas variantes RealVideo e outros formatos.$\nEstes codificadores não são necessários para os formatos mais comuns como DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Clique Iniciar para continuar."
${LangFileString} Reinstall_Msg3_2 "Clique Seguinte para continuar."
${LangFileString} Reinstall_Msg3_3 "Clique Desinstalar para continuar."
${LangFileString} Reinstall_Msg4 "Alterar definições de instalação"
+${LangFileString} Reinstall_Msg5 "Reiniciar configurações do SMPlayer"
${LangFileString} Type_Reinstall "Reinstalar"
${LangFileString} Type_Downgrade "Reverter"
@@ -81,7 +88,7 @@ ${LangFileString} Uninstaller_NotInstalled "Parece que o SMPlayer não está ins
${LangFileString} Uninstaller_64bitOnly "Esta instalação só pode ser desinstalada num sistema Windows de 64 bits."
; Vista & Later Default Programs Registration
-${LangFileString} Application_Description "O SMPlayer é uma interface gráfico para o MPlayer, com funções simples como a reprodução de vídeos, DVDs e VCDs bem como outras mais avançadas(suporte a filtros MPlayer, listas e mais)."
+${LangFileString} Application_Description "O SMPlayer é uma interface gráfica para o MPlayer, com funções simples como a reprodução de vídeos, DVDs e VCDs bem como outras mais avançadas(suporte a filtros MPlayer, listas e mais)."
; Misc
${LangFileString} Info_Codecs_Backup "A copiar codificadores da instalação anterior..."
diff --git a/setup/translations/russian.nsh b/setup/translations/russian.nsh
index 62d84cf..05e2107 100644
--- a/setup/translations/russian.nsh
+++ b/setup/translations/russian.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (необходимо)"
${LangFileString} Section_MPlayer_Desc "MPlayer; необходимо для воспроизведения."
${LangFileString} Section_MPlayerCodecs "Бинарные кодеки"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Дополнительные кодеки для MPlayer. (Для установки требуется подключение к сети Интернет)"
+!endif
${LangFileString} Section_MEncoder_Desc "Сопутствующая MPlayer программа, которую можно использовать для кодирования и преобразования поддерживаемых аудио и видео потоков."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Дополнительные темы
${LangFileString} Section_Translations "Переводы"
${LangFileString} Section_Translations_Desc "Языковые файлы SMPlayer, помимо английского."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "Пакеты с бинарными кодеками добавляют поддержку кодеков, не встроенных в mplayer, например, RealVideo и других нестандартных форматов.$\nОбратите внимание, что эти кодеки не нужны для воспроизведения большинства обычных форматов вроде DVD, MPEG-1/2/4 и т.п."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Нажмите Старт для продо
${LangFileString} Reinstall_Msg3_2 "Нажмите Далее для продолжения."
${LangFileString} Reinstall_Msg3_3 "Нажмите Удалить для продолжения."
${LangFileString} Reinstall_Msg4 "Изменить настройки установки"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "переустановить"
${LangFileString} Type_Downgrade "откатить"
diff --git a/setup/translations/simpchinese.nsh b/setup/translations/simpchinese.nsh
index 21b6348..c530bea 100644
--- a/setup/translations/simpchinese.nsh
+++ b/setup/translations/simpchinese.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (必需)"
${LangFileString} Section_MPlayer_Desc "播放所必需的 MPlayer。"
${LangFileString} Section_MPlayerCodecs "二进制编解码器"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "适用于 MPlayer 的可选编解码器。(安装需要使用网络连接)"
+!endif
${LangFileString} Section_MEncoder_Desc "MPlayer 的配套程序,可以用来编码或转换支持的音频/视频流。"
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "适用于 SMPlayer 的附加图标主
${LangFileString} Section_Translations "语言"
${LangFileString} Section_Translations_Desc "适用于 SMPlayer 的非英语语言文件。"
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "二进制编解码器包可增加对新 RealVideo 变种和很多不常见格式的支持。$\n请注意,播放像 DVD、MPEG-1/2/4 这样平时常见的格式无需安装本编解码器包。"
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "单击『开始』继续。"
${LangFileString} Reinstall_Msg3_2 "单击『下一步』继续。"
${LangFileString} Reinstall_Msg3_3 "单击『卸载』继续。"
${LangFileString} Reinstall_Msg4 "更改安装设置"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "重新安装"
${LangFileString} Type_Downgrade "降级"
diff --git a/setup/translations/slovak.nsh b/setup/translations/slovak.nsh
index 5b6833f..71e92e0 100644
--- a/setup/translations/slovak.nsh
+++ b/setup/translations/slovak.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/slovenian.nsh b/setup/translations/slovenian.nsh
index 531b112..338c9e0 100644
--- a/setup/translations/slovenian.nsh
+++ b/setup/translations/slovenian.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/spanish.nsh b/setup/translations/spanish.nsh
index 3bdca42..db2e2aa 100644
--- a/setup/translations/spanish.nsh
+++ b/setup/translations/spanish.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (requerido)"
${LangFileString} Section_MPlayer_Desc "MPlayer; requerido para la reproducción multimedia."
${LangFileString} Section_MPlayerCodecs "Códecs Binarios"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Códecs opcionales para MPlayer. (Se necesita conexión a internet para la instalación)"
+!endif
${LangFileString} Section_MEncoder_Desc "Un programa opcional que puede ser usado para recodificar vídeos."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Temas de iconos adicionales para SMPl
${LangFileString} Section_Translations "Idiomas"
${LangFileString} Section_Translations_Desc "Ficheros de idiomas para SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Borra la configuración de SMPlayer de instalaciones anteriores."
+
${LangFileString} MPlayer_Codec_Msg "El paquete de códecs binarios añade soporte para códecs que todavía no se han implementado nativamente, como como las nuevas variantes de RealVideo y algunos formatos poco comunes.$\nTen en cuenta de que no son necesarios para reproducir los formatos más comunes como DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Pulsa en Comenzar cuando estés listo."
${LangFileString} Reinstall_Msg3_2 "Pulsa Continuar cuando estés listo."
${LangFileString} Reinstall_Msg3_3 "Pulsa Desinstalar cuando estés listo."
${LangFileString} Reinstall_Msg4 "Cambiar las opciones de instalación"
+${LangFileString} Reinstall_Msg5 "Reiniciar la configuración de SMPlayer"
${LangFileString} Type_Reinstall "reinstalar"
${LangFileString} Type_Downgrade "desactualizar"
diff --git a/setup/translations/thai.nsh b/setup/translations/thai.nsh
index 01159a4..544b0d7 100644
--- a/setup/translations/thai.nsh
+++ b/setup/translations/thai.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"
diff --git a/setup/translations/tradchinese.nsh b/setup/translations/tradchinese.nsh
index 93664a2..b0d4fa8 100644
--- a/setup/translations/tradchinese.nsh
+++ b/setup/translations/tradchinese.nsh
@@ -37,7 +37,11 @@ ${LangFileString} Section_MPlayer "MPlayer (required)"
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+!ifdef WIN64
+${LangFileString} Section_MPlayerCodecs_Desc "Binary codecs are not supported in this version."
+!else
${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+!endif
${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
@@ -47,6 +51,8 @@ ${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
${LangFileString} Section_Translations "Languages"
${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_ResetSettings_Desc "Deletes SMPlayer preferences leftover from previous installations."
+
${LangFileString} MPlayer_Codec_Msg "The binary codec packages add support for codecs that are not yet implemented natively, like newer RealVideo variants and a lot of uncommon formats.$\nNote that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
@@ -61,6 +67,7 @@ ${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
${LangFileString} Reinstall_Msg4 "Change Installation Settings"
+${LangFileString} Reinstall_Msg5 "Reset my SMPlayer configuration"
${LangFileString} Type_Reinstall "reinstall"
${LangFileString} Type_Downgrade "downgrade"