i18n/check-translation.py
changeset 26277 ad4d6c7aea6a
parent 26276 93395bee98ba
child 26837 33894facc180
--- a/i18n/check-translation.py	Thu Sep 17 21:20:17 2015 -0400
+++ b/i18n/check-translation.py	Thu Sep 17 21:20:35 2015 -0400
@@ -85,9 +85,16 @@
     >>> deprecatedsetup([ped])
     >>> pe = polib.POEntry(
     ...     msgid = 'Something (DEPRECATED)',
+    ...     msgstr= 'something (DEPRECATED)')
+    >>> match(deprecated, pe)
+    True
+    >>> for e in deprecated(pe): print e
+    >>> pe = polib.POEntry(
+    ...     msgid = 'Something (DEPRECATED)',
     ...     msgstr= 'something (DETACERPED)')
     >>> match(deprecated, pe)
     True
+    >>> for e in deprecated(pe): print e
     >>> pe = polib.POEntry(
     ...     msgid = 'Something (DEPRECATED)',
     ...     msgstr= 'something')