summaryrefslogtreecommitdiff
path: root/langpacks/serbian/UpdateLang.bat
diff options
context:
space:
mode:
Diffstat (limited to 'langpacks/serbian/UpdateLang.bat')
-rw-r--r--langpacks/serbian/UpdateLang.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/langpacks/serbian/UpdateLang.bat b/langpacks/serbian/UpdateLang.bat
index 8fc5831286..a063036d82 100644
--- a/langpacks/serbian/UpdateLang.bat
+++ b/langpacks/serbian/UpdateLang.bat
@@ -1,9 +1,10 @@
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:"%langdir%\Deprecated\old_langpack_%lang%.txt"
+cscript /nologo translate.js /sourcelang:"%lang%" /noref:"yes" /popuntranslated:"yes" /out:"%langdir%" /untranslated:"%langdir%\Untranslated" /langpack:%OldLangpackPath%
popd \ No newline at end of file