File: 0003-poterminology_defaultstopfile.patch

package info (click to toggle)
translate-toolkit 3.16.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,364 kB
  • sloc: python: 64,354; sh: 1,406; makefile: 186; xml: 48
file content (25 lines) | stat: -rw-r--r-- 942 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Debian l10n developers <debian-l10n-devel@lists.alioth.debian.org>
Date: Fri, 14 Mar 2025 23:52:43 +1100
Subject: poterminology_defaultstopfile

Goal: avoid links to the build environment in the poterminology manpage

Status wrt upstream: Debian specific as long as the manpages are only
                     distributed by Debian
---
 translate/tools/poterminology.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/translate/tools/poterminology.py b/translate/tools/poterminology.py
index 256849c..501bd0f 100644
--- a/translate/tools/poterminology.py
+++ b/translate/tools/poterminology.py
@@ -546,7 +546,7 @@ def main():
         metavar="STOPFILE",
         dest="stopfile",
         help="read stopword (term exclusion) list from STOPFILE (default {})".format(
-            file_discovery.get_abs_data_filename("stoplist-en")
+            "/usr/share/pyshared/translate/share/stoplist-en"
         ),
     )