You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the "default" help text for BooleanOptionalAction at Lib/argparse.py:878 (which, incidentally, will be duplicated when used with ArgumentDefaultsHelpFormatter);
the "argument %(argument_name)s: %(message)s" error message at Lib/argparse.py:751;
the formatted section heading at Lib/argparse.py:225: if the heading itself is translatable, the string "%(heading)s:" is not. More precisely, the colon right after the heading might also require localization, as some languages (e.g., French) typeset colons with a preceding non-breaking space (i.e., "%(heading)s :"). (Okay, I'll admit that this is nitpicking!)
I'll submit a pull request with proposed fixes for these strings.
Activity
softsolsolutions commentedon Aug 25, 2021
Dear all,
There are a few strings in the
argparsemodule which are not translatable through thegettextAPI.Some have already been reported:
However, some others remain:
BooleanOptionalActionat Lib/argparse.py:878 (which, incidentally, will be duplicated when used withArgumentDefaultsHelpFormatter);I'll submit a pull request with proposed fixes for these strings.
Kind regards,
Santhosh
savannahostrowski commentedon Sep 21, 2024
Translation is supported on all of the above now. These instances were addressed via:
argparse#27668