summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2015-10-12 21:21:37 +0000
committerDart Raiden <wowemuh@gmail.com>2015-10-12 21:21:37 +0000
commit9a8a534b524afa4db766b9307a5779ef17908973 (patch)
tree162e52b51643fddf171ae2994320453463f32ef2
parenteedd6a6897c8c1cecea58084fc0d2aeb15f2f511 (diff)
langpacks/belarusian: simpler to maintain, with standart update scripts
git-svn-id: http://svn.miranda-ng.org/main/trunk@15544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--langpacks/belarusian/NoTranslated.txt (renamed from langpacks/belarusian/Untranslated/NoTranslated.txt)0
-rw-r--r--langpacks/belarusian/UpdateLang.bat7
-rw-r--r--langpacks/belarusian/UpdateLangNoEmptyLines.bat10
-rw-r--r--langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat10
4 files changed, 20 insertions, 7 deletions
diff --git a/langpacks/belarusian/Untranslated/NoTranslated.txt b/langpacks/belarusian/NoTranslated.txt
index 2a144f41e4..2a144f41e4 100644
--- a/langpacks/belarusian/Untranslated/NoTranslated.txt
+++ b/langpacks/belarusian/NoTranslated.txt
diff --git a/langpacks/belarusian/UpdateLang.bat b/langpacks/belarusian/UpdateLang.bat
deleted file mode 100644
index bfee07bc99..0000000000
--- a/langpacks/belarusian/UpdateLang.bat
+++ /dev/null
@@ -1,7 +0,0 @@
-for %%* in (.) do set CurrDirName=%%~n*
-set langdir=%CD%
-set lang=%CurrDirName%
-
-pushd ..\..\tools\lpgen
-cscript /nologo translate.js /sourcelang:"%lang%" /popuntranslated:"yes" /out:"%langdir%"
-popd \ No newline at end of file
diff --git a/langpacks/belarusian/UpdateLangNoEmptyLines.bat b/langpacks/belarusian/UpdateLangNoEmptyLines.bat
new file mode 100644
index 0000000000..a063036d82
--- /dev/null
+++ b/langpacks/belarusian/UpdateLangNoEmptyLines.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
diff --git a/langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat b/langpacks/belarusian/UpdateLangWithEmptyLinesAndRef.bat
new file mode 100644
index 0000000000..a4a9af6f0f
--- /dev/null
+++ b/langpacks/belarusian/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