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 | |
parent | b0f318f7e49db4e726ad5788b7c4021b7b95fb0f (diff) |
langpacks: add updatelang.bat
git-svn-id: http://svn.miranda-ng.org/main/trunk@15549 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | langpacks/bulgarian/UpdateLang.bat (renamed from langpacks/serbian/UpdateLangNoEmptyLines.bat) | 0 | ||||
-rw-r--r-- | langpacks/english_gb/UpdateLang.bat | 10 | ||||
-rw-r--r-- | langpacks/serbian/UpdateLang.bat | 10 |
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 |