summaryrefslogtreecommitdiff
path: root/src/rules/po.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/po.cpp')
-rw-r--r--src/rules/po.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/rules/po.cpp b/src/rules/po.cpp
index 7725177..54f34bc 100644
--- a/src/rules/po.cpp
+++ b/src/rules/po.cpp
@@ -68,10 +68,19 @@ static void processMessage(RuleBase *const rule)
std::string name = rule->getFile();
if (findCutLast(name, "po/ar.po") || findCutLast(name, "po/fa.po"))
return;
+ if (name.find("po/unused/") != std::string::npos)
+ return;
- if (cId == '.' || cId == ',' || cId == '!' || cId == '?' || cId == '-'
- || cId == ':' || cId == ';' || cId == '+' || cId == '|'
- || cId == ' ')
+ if (cId == '.' ||
+ cId == ',' ||
+ cId == '!' ||
+ cId == '?' ||
+ cId == '-' ||
+ cId == ':' ||
+ cId == ';' ||
+ cId == '+' ||
+ cId == '|' ||
+ cId == ' ')
{
if (cId != cStr)
rule->print("Wrong character at end of translation line.");