Skip to content

Stop passing a deprecated command's help text through gettext - #3901

Open
kdeldycke wants to merge 1 commit into
pallets:stablefrom
kdeldycke:no-gettext-on-help-text
Open

kdeldycke wants to merge 1 commit into
pallets:stablefrom
kdeldycke:no-gettext-on-help-text

Conversation

@kdeldycke

@kdeldycke kdeldycke commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

This PR is a small consistency fix, that is aligning the way the (DEPRECATED) label is translated in options, arguments and commands.

In the latter, the deprecation text was translated in addition to the label, which is not the behavior of options and arguments.

Related to: janluke/cloup#244

@kdeldycke kdeldycke added the help output Help text formatting, layout, and --help rendering label Oct 31, 2026
@kdeldycke kdeldycke added this to the 8.5.1 milestone Oct 31, 2026
@kdeldycke
kdeldycke force-pushed the no-gettext-on-help-text branch from 7cc463f to c4dd0cd Compare October 31, 2026 12:43
agammann

This comment was marked as low quality.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help output Help text formatting, layout, and --help rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants