##// END OF EJS Templates
tests: cleanup check-translation deprecated
timeless@mozdev.org -
r26276:93395bee default
parent child Browse files
Show More
@@ -96,10 +96,9 def deprecated(pe):
96 >>> for e in deprecated(pe): print e
96 >>> for e in deprecated(pe): print e
97 msgstr inconsistently translated (DEPRECATED)
97 msgstr inconsistently translated (DEPRECATED)
98 """
98 """
99 global deprecatedpe
99 if not ('(DEPRECATED)' in pe.msgstr or
100 if not '(DEPRECATED)' in pe.msgstr:
100 (deprecatedpe and deprecatedpe.msgstr and
101 if not (deprecatedpe and deprecatedpe.msgstr
101 deprecatedpe.msgstr in pe.msgstr)):
102 and deprecatedpe.msgstr in pe.msgstr):
103 yield "msgstr inconsistently translated (DEPRECATED)"
102 yield "msgstr inconsistently translated (DEPRECATED)"
104
103
105 ####################
104 ####################
General Comments 0
You need to be logged in to leave comments. Login now