summaryrefslogtreecommitdiff
path: root/langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat
diff options
context:
space:
mode:
Diffstat (limited to 'langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat')
-rw-r--r--langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat b/langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat
new file mode 100644
index 0000000000..a4a9af6f0f
--- /dev/null
+++ b/langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat
@@ -0,0 +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%" /out:"%langdir%" /untranslated:"%langdir%\Untranslated" /langpack:%OldLangpackPath%
+popd \ No newline at end of file