Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions babel/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"currency_fractions",
"language_aliases",
"likely_subtags",
"meta_zones",
"parent_exceptions",
"script_aliases",
"territory_aliases",
Expand Down
2 changes: 1 addition & 1 deletion tests/messages/data/project/file1.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
def foo():
# TRANSLATOR: This will be a translator coment,
# that will include several lines
print _('bar')
print(_('bar'))
2 changes: 1 addition & 1 deletion tests/messages/data/project/file2.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
def foo():
# Note: This will have the TRANSLATOR: tag but shouldn't
# be included on the extracted stuff
print ngettext('foobar', 'foobars', 1)
print(ngettext('foobar', 'foobars', 1))
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
def foo():
# Note: This will have the TRANSLATOR: tag but shouldn't
# be included on the extracted stuff
print ngettext('FooBar', 'FooBars', 1)
print(ngettext('FooBar', 'FooBars', 1))