diff options
Diffstat (limited to 'langpacks/ukrainian/UpdateLang.bat')
-rw-r--r-- | langpacks/ukrainian/UpdateLang.bat | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/langpacks/ukrainian/UpdateLang.bat b/langpacks/ukrainian/UpdateLang.bat index 296cc1df5d..a063036d82 100644 --- a/langpacks/ukrainian/UpdateLang.bat +++ b/langpacks/ukrainian/UpdateLang.bat @@ -1,8 +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"
+cscript /nologo translate.js /sourcelang:"%lang%" /noref:"yes" /popuntranslated:"yes" /out:"%langdir%" /untranslated:"%langdir%\Untranslated" /langpack:%OldLangpackPath%
popd
\ No newline at end of file |