diff options
author | dartraiden <wowemuh@gmail.com> | 2018-04-28 19:16:47 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2018-04-28 19:16:47 +0300 |
commit | 69efdcb7f914b5fc66f83773eca1d555c7a9a145 (patch) | |
tree | 74465152f2e0039ac27de26e8a4d6a8f34ff3d19 /langpacks/serbian | |
parent | 5a9900711573edc1aefadde779a623e39a345644 (diff) |
langpacks: unification
Diffstat (limited to 'langpacks/serbian')
-rw-r--r-- | langpacks/serbian/Refresh.bat | 5 | ||||
-rw-r--r-- | langpacks/serbian/UpdateLang.bat | 10 |
2 files changed, 4 insertions, 11 deletions
diff --git a/langpacks/serbian/Refresh.bat b/langpacks/serbian/Refresh.bat index da7f958199..0605a5c486 100644 --- a/langpacks/serbian/Refresh.bat +++ b/langpacks/serbian/Refresh.bat @@ -11,5 +11,8 @@ REM ========================= cd "..\..\tools\lpgen\" call refresher.bat %language% "%oldLangpackPath%" -REM copy and reload langpack in your Miranda (uncoment next line + enable cmdline.dll plugin to use it) +REM if previous command failed, exit +if %ERRORLEVEL% NEQ 0 exit /B 1 + +REM copy and reload langpack in your Miranda (uncomment next line + enable cmdline.dll plugin to use it) REM call installer.bat %language% "%mirandaPath%" diff --git a/langpacks/serbian/UpdateLang.bat b/langpacks/serbian/UpdateLang.bat deleted file mode 100644 index a063036d82..0000000000 --- a/langpacks/serbian/UpdateLang.bat +++ /dev/null @@ -1,10 +0,0 @@ -for %%* in (.) do set CurrDirName=%%~n*
-set langdir=%CD%
-set lang=%CurrDirName%
-set OldLangpackPath=
-
-del /f /q %langdir%\Untranslated\*.txt
-
-pushd ..\..\tools\lpgen
-cscript /nologo translate.js /sourcelang:"%lang%" /noref:"yes" /popuntranslated:"yes" /out:"%langdir%" /untranslated:"%langdir%\Untranslated" /langpack:%OldLangpackPath%
-popd
\ No newline at end of file |