Debian Codegraph @

tests/messages/data/project/issue_1224_test.py

raw
1 from myproject.i18n import lazy_gettext as _l, lazy_ngettext as _n
2
3
4 class Choices:
5 # SPECIAL: This comment should be extracted
6 CHOICE_X = 1, _l("Choice X")
7 # SPECIAL: Another special comment
8 CHOICE_Y = 2, _l("Choice Y")
9 # No comment...
10 OPTION_C = 3, _l("Option C")
11 # Test for _n too! (but no comment... shush...)
12 OPTION_A = 4, (_n("Option A", "Options of the A kind", 1))