// JS syntax
__("Warning: Unable to find {0} in any table related to {1}" , ['Key', 'PageType'], "This is some context")

__("Warning: Unable to find {0} in any table related to {1}" , ['Key', 'PageType'])

__("You don't have any messages yet.")

__('Submit' , null, "Some PageType")

// this is considered as invalid
__('You don\'t have any messages yet.')


// Python syntax
_("Warning: Unable to find {0} in any table related to {1}", context="This is some context").format('Key', 'PageType')

_('Submit', context="Some PageType")

_("""You don't have any messages yet.""")

_('''You don't have any messages yet.''')

// allow newline in beginning
_(
"""Long string that needs its own line because of black formatting."""
).format("blah")

_(
"Long string with", context="context"
).format("blah")

_(
    "Long string with",
    context="context on newline"
).format("blah")
