diff options
Diffstat (limited to 'babel/messages/checkers.py')
-rw-r--r-- | babel/messages/checkers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/messages/checkers.py b/babel/messages/checkers.py index 9231c67..00b84e5 100644 --- a/babel/messages/checkers.py +++ b/babel/messages/checkers.py @@ -67,7 +67,7 @@ def _validate_format(format: str, alternative: str) -> None: placeholders if `format` uses named placeholders. The behavior of this function is undefined if the string does not use - string formattings. + string formatting. If the string formatting of `alternative` is compatible to `format` the function returns `None`, otherwise a `TranslationError` is raised. |