summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-04 16:04:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-04 16:04:54 +0300
commitc0671d0212a66f23da2413b16a8bc25b4f67ed77 (patch)
tree71ec6800b79ea176801b4bff737938b552ca3686
parent0c6d962f0b46f78939d07f5f6f24d267cfecfde4 (diff)
downloadmplint-c0671d0212a66f23da2413b16a8bc25b4f67ed77.tar.gz
mplint-c0671d0212a66f23da2413b16a8bc25b4f67ed77.tar.bz2
mplint-c0671d0212a66f23da2413b16a8bc25b4f67ed77.tar.xz
mplint-c0671d0212a66f23da2413b16a8bc25b4f67ed77.zip
Add ignore for po files check.
-rw-r--r--src/rules/po.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/po.cpp b/src/rules/po.cpp
index edfb787..b8390e4 100644
--- a/src/rules/po.cpp
+++ b/src/rules/po.cpp
@@ -151,6 +151,12 @@ static void processMessage(RuleBase *const rule)
startRule(po)
{
+ if (strEndWith(file, "po/el.po"))
+ {
+ terminateRule();
+ return;
+ }
+
readId = false;
readStr = false;
skipOneCheck = false;