OSDN Git Service

Add Git Command to document
[tortoisegit/TortoiseGitJp.git] / contrib / other / translation-status / Check_Errors.bat
1 @echo off\r
2 rem Copyright (C) 2004-2008 the TortoiseSVN team\r
3 rem This file is distributed under the same license as TortoiseSVN\r
4 \r
5 rem Last commit by:\r
6 rem $Author: luebbe $\r
7 rem $Date: 2008-09-29 19:22:31 +0800 (Mon, 29 Sep 2008) $\r
8 rem $Rev: 14138 $\r
9 \r
10 SETLOCAL\r
11 FOR /F "usebackq skip=1" %%c IN (`msgfmt %* 2^>^&1 ^| grep -c msgstr`) DO SET /A count=%%c\r
12 \r
13 if Defined count (\r
14   rem\r
15 ) else (\r
16   SET count=0\r
17 )\r
18 echo %count%\r
19 ENDLOCAL\r