summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--langpacks/bulgarian/UpdateLang.bat (renamed from langpacks/serbian/UpdateLangNoEmptyLines.bat)0
-rw-r--r--langpacks/english_gb/UpdateLang.bat10
-rw-r--r--langpacks/serbian/UpdateLang.bat10
3 files changed, 20 insertions, 0 deletions
diff --git a/langpacks/serbian/UpdateLangNoEmptyLines.bat b/langpacks/bulgarian/UpdateLang.bat
index a063036d82..a063036d82 100644
--- a/langpacks/serbian/UpdateLangNoEmptyLines.bat
+++ b/langpacks/bulgarian/UpdateLang.bat
diff --git a/langpacks/english_gb/UpdateLang.bat b/langpacks/english_gb/UpdateLang.bat
new file mode 100644
index 0000000000..3a20a0be7f
--- /dev/null
+++ b/langpacks/english_gb/UpdateLang.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%" /langpack:%OldLangpackPath%
+popd \ No newline at end of file
diff --git a/langpacks/serbian/UpdateLang.bat b/langpacks/serbian/UpdateLang.bat
new file mode 100644
index 0000000000..a063036d82
--- /dev/null
+++ b/langpacks/serbian/UpdateLang.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