summaryrefslogtreecommitdiff
path: root/langpacks/serbian/UpdateLangWithEmptyLinesAndRef.bat
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-03-20 09:38:02 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-03-20 09:38:02 +0000
commit190307ca7aee92d6b862db0bf78cde10acfc95d0 (patch)
treea04ca747239de6ebffb9dfda130076f29dc53c10 /langpacks/serbian/UpdateLangWithEmptyLinesAndRef.bat
parent904fd75ae2b8f8a4531cdc4e41951e58fb0f95ef (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@12447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'langpacks/serbian/UpdateLangWithEmptyLinesAndRef.bat')
-rw-r--r--langpacks/serbian/UpdateLangWithEmptyLinesAndRef.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/langpacks/serbian/UpdateLangWithEmptyLinesAndRef.bat b/langpacks/serbian/UpdateLangWithEmptyLinesAndRef.bat
new file mode 100644
index 0000000000..a4a9af6f0f
--- /dev/null
+++ b/langpacks/serbian/UpdateLangWithEmptyLinesAndRef.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%" /out:"%langdir%" /untranslated:"%langdir%\Untranslated" /langpack:%OldLangpackPath%
+popd \ No newline at end of file