summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--langpacks/belarusian/NoTranslated.txt (renamed from langpacks/belarusian/Untranslated/NoTranslated.txt)0
-rw-r--r--langpacks/belarusian/UpdateLang.bat7
-rw-r--r--langpacks/belarusian/UpdateLangNoEmptyLines.bat10
-rw-r--r--langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat10
4 files changed, 20 insertions, 7 deletions
diff --git a/langpacks/belarusian/Untranslated/NoTranslated.txt b/langpacks/belarusian/NoTranslated.txt
index 2a144f41e4..2a144f41e4 100644
--- a/langpacks/belarusian/Untranslated/NoTranslated.txt
+++ b/langpacks/belarusian/NoTranslated.txt
diff --git a/langpacks/belarusian/UpdateLang.bat b/langpacks/belarusian/UpdateLang.bat
deleted file mode 100644
index bfee07bc99..0000000000
--- a/langpacks/belarusian/UpdateLang.bat
+++ /dev/null
@@ -1,7 +0,0 @@
-for %%* in (.) do set CurrDirName=%%~n*
-set langdir=%CD%
-set lang=%CurrDirName%
-
-pushd ..\..\tools\lpgen
-cscript /nologo translate.js /sourcelang:"%lang%" /popuntranslated:"yes" /out:"%langdir%"
-popd \ No newline at end of file
diff --git a/langpacks/belarusian/UpdateLangNoEmptyLines.bat b/langpacks/belarusian/UpdateLangNoEmptyLines.bat
new file mode 100644
index 0000000000..a063036d82
--- /dev/null
+++ b/langpacks/belarusian/UpdateLangNoEmptyLines.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%" /noref:"yes" /popuntranslated:"yes" /out:"%langdir%" /untranslated:"%langdir%\Untranslated" /langpack:%OldLangpackPath%
+popd \ No newline at end of file
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