diff options
author | Dart Raiden <wowemuh@gmail.com> | 2015-10-12 21:59:55 +0000 |
---|---|---|
committer | Dart Raiden <wowemuh@gmail.com> | 2015-10-12 21:59:55 +0000 |
commit | c402b5bf98ba9937cef250752d3f94996155b314 (patch) | |
tree | cce7cb72bff11d4f6105a7df9e50b81d964634b7 /langpacks/english_gb | |
parent | b0f318f7e49db4e726ad5788b7c4021b7b95fb0f (diff) |
langpacks: add updatelang.bat
git-svn-id: http://svn.miranda-ng.org/main/trunk@15549 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'langpacks/english_gb')
-rw-r--r-- | langpacks/english_gb/UpdateLang.bat | 10 |
1 files changed, 10 insertions, 0 deletions
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 |