[damned-lies] Added --gnome to pofilter to exclude translator_credits from false positives
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Added --gnome to pofilter to exclude translator_credits from false positives
- Date: Sun, 11 Mar 2018 08:45:06 +0000 (UTC)
commit 57bb9d63c07065b033c6b19dbb8c361da1a7f353
Author: Claude Paroz <claude 2xlibre net>
Date: Sun Mar 11 09:43:09 2018 +0100
Added --gnome to pofilter to exclude translator_credits from false positives
vertimus/models.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vertimus/models.py b/vertimus/models.py
index b4a520c..9e3ed16 100644
--- a/vertimus/models.py
+++ b/vertimus/models.py
@@ -376,7 +376,9 @@ class ActionAbstract(models.Model):
def check_po_file(self, filters=('xmltags',)):
status, out, errs = run_shell_command(
- ['pofilter', '--progress=none', '-t'] + list(filters) + [self.most_uptodate_file.path]
+ ['pofilter', '--progress=none', '--gnome', '-t'] +
+ list(filters) +
+ [self.most_uptodate_file.path]
)
if status == STATUS_OK:
return out
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]