Skip to content

fix: build the __init__ translation entry from the import documentation - #5222

Merged
aaltat merged 1 commit into
MarketSquare:mainfrom
aaltat:translation_init_fix
Sep 5, 2026
Merged

fix: build the __init__ translation entry from the import documentation#5222
aaltat merged 1 commit into
MarketSquare:mainfrom
aaltat:translation_init_fix

Conversation

@aaltat

@aaltat aaltat commented Sep 5, 2026

Copy link
Copy Markdown
Member

init now uses inspect.getdoc(type(browser).init); intro keeps the class docstring.

Fixes #5220

__init__ now uses inspect.getdoc(type(browser).__init__); __intro__ keeps
the class docstring.

Fixes MarketSquare#5220
@aaltat
aaltat merged commit 74970bf into MarketSquare:main Sep 5, 2026
58 of 60 checks passed
@aaltat
aaltat deleted the translation_init_fix branch September 5, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Translation __init__ entry duplicates __intro__: import-argument documentation is never translated

1 participant