Show More
@@ -96,11 +96,10 b' def deprecated(pe):' | |||
|
96 | 96 | >>> for e in deprecated(pe): print e |
|
97 | 97 | msgstr inconsistently translated (DEPRECATED) |
|
98 | 98 | """ |
|
99 | global deprecatedpe | |
|
100 | if not '(DEPRECATED)' in pe.msgstr: | |
|
101 |
|
|
|
102 | and deprecatedpe.msgstr in pe.msgstr): | |
|
103 | yield "msgstr inconsistently translated (DEPRECATED)" | |
|
99 | if not ('(DEPRECATED)' in pe.msgstr or | |
|
100 | (deprecatedpe and deprecatedpe.msgstr and | |
|
101 | deprecatedpe.msgstr in pe.msgstr)): | |
|
102 | yield "msgstr inconsistently translated (DEPRECATED)" | |
|
104 | 103 | |
|
105 | 104 | #################### |
|
106 | 105 |
General Comments 0
You need to be logged in to leave comments.
Login now