summaryrefslogtreecommitdiff
path: root/langpacks/serbian/UpdateLang.bat
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-03-20 07:42:03 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-03-20 07:42:03 +0000
commit1f480a2b40066e478c9ff2824c24b12168fa4573 (patch)
tree03d461c12aaedd36bc7c554b61dfbc9e224797c4 /langpacks/serbian/UpdateLang.bat
parent3c65c36ab09cb7bffd4e3ac699fcb32d74da65a5 (diff)
Serbian language folder structure cerated, until and if the author provides his sources of the langpack
git-svn-id: http://svn.miranda-ng.org/main/trunk@12444 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'langpacks/serbian/UpdateLang.bat')
-rw-r--r--langpacks/serbian/UpdateLang.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/langpacks/serbian/UpdateLang.bat b/langpacks/serbian/UpdateLang.bat
new file mode 100644
index 0000000000..8fc5831286
--- /dev/null
+++ b/langpacks/serbian/UpdateLang.bat
@@ -0,0 +1,9 @@
+for %%* in (.) do set CurrDirName=%%~n*
+set langdir=%CD%
+set lang=%CurrDirName%
+
+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:"%langdir%\Deprecated\old_langpack_%lang%.txt"
+popd \ No newline at end of file