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.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/langpacks/serbian/UpdateLang.bat b/langpacks/serbian/UpdateLang.bat
new file mode 100644
index 0000000000..8fc5831286
--- /dev/null
+++ b/langpacks/serbian/UpdateLang.bat
@@ -0,0 +1,9 @@
+for %%* in (.) do set CurrDirName=%%~n*
+set langdir=%CD%
+set lang=%CurrDirName%
+
+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"
+popd \ No newline at end of file