Restored accidentally removed lines

This commit is contained in:
Birunthan Mohanathas 2012-04-28 20:40:45 +03:00
parent 4c96ba718a
commit 88b13d4192

View File

@ -102,9 +102,14 @@ for /f "tokens=1,2,3 delims=," %%a in (..\Language\List) do (
>>"..\Language\Language.rc" echo #include "Resource.rc" >>"..\Language\Language.rc" echo #include "Resource.rc"
>>".\Installer\Languages.nsh" echo ${IncludeLanguage} "%%b" "%%a" >>".\Installer\Languages.nsh" echo ${IncludeLanguage} "%%b" "%%a"
set LANGUAGES='%%a - ${LANGFILE_%%b_NAME}' '${LANG_%%b}' '${LANG_%%b_CP}' !LANGUAGES! set LANGUAGES='%%a - ${LANGFILE_%%b_NAME}' '${LANG_%%b}' '${LANG_%%b_CP}' !LANGUAGES!
"msbuild.exe" /t:Language /p:Configuration=Release;Platform=Win32;TargetName=%%c ..\Rainmeter.sln > "BuildLog.txt"
if not %ERRORLEVEL% == 0 echo ERROR: Building language %%a failed & goto END
) )
>>".\Installer\Languages.nsh" echo ^^!define LANGUAGES "%LANGUAGES%" >>".\Installer\Languages.nsh" echo ^^!define LANGUAGES "%LANGUAGES%"
goto :eof
:: Restore English :: Restore English
echo #include "English.h"> "..\Language\Language.rc" echo #include "English.h"> "..\Language\Language.rc"
echo #include "Resource.rc">> "..\Language\Language.rc" echo #include "Resource.rc">> "..\Language\Language.rc"