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