summaryrefslogtreecommitdiff
path: root/langpacks/serbian/UpdateLang.bat
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2015-10-12 21:59:55 +0000
committerDart Raiden <wowemuh@gmail.com>2015-10-12 21:59:55 +0000
commitc402b5bf98ba9937cef250752d3f94996155b314 (patch)
treecce7cb72bff11d4f6105a7df9e50b81d964634b7 /langpacks/serbian/UpdateLang.bat
parentb0f318f7e49db4e726ad5788b7c4021b7b95fb0f (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/serbian/UpdateLang.bat')
-rw-r--r--langpacks/serbian/UpdateLang.bat10
1 files changed, 10 insertions, 0 deletions
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