summaryrefslogtreecommitdiff
path: root/langpacks/slovak/Refresh.bat
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-10 18:50:35 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-10 18:50:35 +0000
commitc93ec058116d2c607146d8c2c535d6a706144ec9 (patch)
tree602847eefa9941f888cb71ce3b01a515f3c0c5ba /langpacks/slovak/Refresh.bat
parent60f26cebb602e40d01f89aa74e807005f0990e62 (diff)
Windows line-endings for refresher scripts.
git-svn-id: http://svn.miranda-ng.org/main/trunk@5311 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'langpacks/slovak/Refresh.bat')
-rw-r--r--langpacks/slovak/Refresh.bat22
1 files changed, 18 insertions, 4 deletions
diff --git a/langpacks/slovak/Refresh.bat b/langpacks/slovak/Refresh.bat
index 0c91933c4f..f2af902ebf 100644
--- a/langpacks/slovak/Refresh.bat
+++ b/langpacks/slovak/Refresh.bat
@@ -1,4 +1,18 @@
-@echo off
-
-cd "..\..\tools\lpgen\"
-refresher.bat slovak "Deprecated\Langpack_slovak_old.txt" \ No newline at end of file
+@echo off
+
+REM ====== VARIABLES ========
+
+set "language=slovak"
+set "oldLangpackPath=Deprecated\Langpack_slovak_old.txt"
+
+REM =========================
+
+cd "..\..\tools\lpgen\"
+refresher.bat %language% "%oldLangpackPath%"
+
+REM copy and reload langpack in your Miranda (uncoment next lines + enable cmdline.dll plugin to use it)
+ REM echo Copy and refresh Miranda NG langpack
+ REM set "mirandaPath=D:\Programy\Miranda NG"
+ REM copy "..\..\langpacks\%language%\Langpack_%language%.txt" "%mirandaPath%\Langpack_%language%.txt"
+ REM cd "%mirandaPath%"
+ REM mimcmd.exe callservice LangPack/Reload 0 0