summaryrefslogtreecommitdiff
path: root/langpacks/spanish/UpdateLang.bat
blob: a063036d82b89e2f9c16fc5433779be55db0231f (plain)
1
2
3
4
5
6
7
8
9
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:%OldLangpackPath%
popd