pysepal.i18n.formatting.placeholders#
- pysepal.i18n.formatting.placeholders(message)[source]#
Return field names, or None for unsupported template syntax.
Fields are simple names. Escaped braces are literal text. Positional fields are returned as numbers so English validation can name that error. Object traversal, conversions and format specifications are not part of the message language; callers format values before passing them to msg().
- Parameters:
message (str)
- Return type:
FrozenSet[str] | None