summaryrefslogtreecommitdiff
path: root/langpacks
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2018-07-19 16:25:28 +0300
committerdartraiden <wowemuh@gmail.com>2018-07-19 16:25:28 +0300
commit74a646d6aba11a398b5b706d9294a9e233f09cc0 (patch)
tree1220ccae9e214b007d36b103638f8a2bfc132d8c /langpacks
parent3e1aa7cfb7e7ed6b84840f9e4399dfb67f6aac76 (diff)
langpacks: it was a bad idea
Diffstat (limited to 'langpacks')
-rw-r--r--langpacks/english_gb/UpdateLang.bat10
-rw-r--r--langpacks/russian/Refresh.bat2
-rw-r--r--langpacks/ukrainian/Refresh.bat2
3 files changed, 12 insertions, 2 deletions
diff --git a/langpacks/english_gb/UpdateLang.bat b/langpacks/english_gb/UpdateLang.bat
new file mode 100644
index 0000000000..2a3a82a157
--- /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/russian/Refresh.bat b/langpacks/russian/Refresh.bat
index 4ec527bbdd..92614caf88 100644
--- a/langpacks/russian/Refresh.bat
+++ b/langpacks/russian/Refresh.bat
@@ -3,7 +3,7 @@
REM ====== VARIABLES ========
set "language=russian"
-set "oldLangpackPath=Deprecated\langpack_russian_old.txt"
+set "oldLangpackPath="
set "mirandaPath="
REM =========================
diff --git a/langpacks/ukrainian/Refresh.bat b/langpacks/ukrainian/Refresh.bat
index d167782eeb..1a9809bc7a 100644
--- a/langpacks/ukrainian/Refresh.bat
+++ b/langpacks/ukrainian/Refresh.bat
@@ -3,7 +3,7 @@
REM ====== VARIABLES ========
set "language=ukrainian"
-set "oldLangpackPath=Deprecated\langpack_ukrainian_old.txt"
+set "oldLangpackPath="
set "mirandaPath="
REM =========================