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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rules/po.cpp b/src/rules/po.cpp
index bb99e1e..0aab5c5 100644
--- a/src/rules/po.cpp
+++ b/src/rules/po.cpp
@@ -59,6 +59,10 @@ static void processMessage(RuleBase *const rule)
const char cId = msgId[szId - 1];
if (cStr == ' ' && cId != ' ')
rule->print("Useless space at end of translation line.");
+ std::string name = rule->getFile();
+ if (findCutLast(name, "po/ar.po") || findCutLast(name, "po/fa.po"))
+ return;
+
if (cId == '.' || cId == ',' ||cId == '!' || cId == '?' || cId == '-')
{
if (cId != cStr)