/[smecontribs]/rpms/translate-toolkit/contribs8/translate-toolkit-1.5.3-stoplist.patch
ViewVC logotype

Annotation of /rpms/translate-toolkit/contribs8/translate-toolkit-1.5.3-stoplist.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Feb 24 18:18:37 2010 UTC (14 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: translate-toolkit-1_5_3-2_1_el5_sme, translate-toolkit-1_5_3-2_el5_sme, translate-toolkit-1_5_3-2_0_el5_sme, HEAD
Initial import

1 slords 1.1 diff -up translate-toolkit-1.5.3/translate/tools/poterminology.py.stoplist translate-toolkit-1.5.3/translate/tools/poterminology.py
2     --- translate-toolkit-1.5.3/translate/tools/poterminology.py.stoplist 2010-01-23 01:18:39.000000000 +0200
3     +++ translate-toolkit-1.5.3/translate/tools/poterminology.py 2010-02-02 15:35:24.000000000 +0200
4     @@ -74,7 +74,7 @@ class TerminologyExtractor(object):
5    
6     if stopfile is None:
7     try:
8     - stopfile = file_discovery.get_abs_data_filename('stoplist-%s' % self.sourcelanguage)
9     + stopfile = '/usr/share/translate-toolkit/stoplist-%s' % self.sourcelanguage
10     except:
11     pass
12     self.stopfile = stopfile
13     @@ -457,7 +457,7 @@ def main():
14    
15     parser.add_option("-S", "--stopword-list", type="string", metavar="STOPFILE", dest="stopfile",
16     help="read stopword (term exclusion) list from STOPFILE (default %s)" %
17     - file_discovery.get_abs_data_filename('stoplist-en'))
18     + '/usr/share/translate-toolkit/stoplist-en')
19    
20     parser.set_defaults(foldtitle = True, ignorecase = False)
21     parser.add_option("-F", "--fold-titlecase", callback=fold_case_option,

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed