Show More
@@ -71,7 +71,9 b' def promptchoice(pe):' | |||
|
71 | 71 | deprecatedpe = None |
|
72 | 72 | @scanner() |
|
73 | 73 | def deprecatedsetup(pofile): |
|
74 |
pes = [p for p in pofile |
|
|
74 | pes = [p for p in pofile | |
|
75 | if ((p.msgid == 'DEPRECATED' or p.msgid == '(DEPRECATED)') and | |
|
76 | p.msgstr)] | |
|
75 | 77 | if len(pes): |
|
76 | 78 | global deprecatedpe |
|
77 | 79 | deprecatedpe = pes[0] |
@@ -108,7 +110,7 b' def deprecated(pe):' | |||
|
108 | 110 | >>> match(deprecated, pe) |
|
109 | 111 | """ |
|
110 | 112 | if not ('(DEPRECATED)' in pe.msgstr or |
|
111 |
(deprecatedpe and |
|
|
113 | (deprecatedpe and | |
|
112 | 114 | deprecatedpe.msgstr in pe.msgstr)): |
|
113 | 115 | yield "msgstr inconsistently translated (DEPRECATED)" |
|
114 | 116 |
General Comments 0
You need to be logged in to leave comments.
Login now