Skip to content

Avoid error-prone leading whitespace in translatable strings#771

Merged
hebasto merged 3 commits into
bitcoin-core:masterfrom
hebasto:231023-space
Oct 25, 2023
Merged

Avoid error-prone leading whitespace in translatable strings#771
hebasto merged 3 commits into
bitcoin-core:masterfrom
hebasto:231023-space

Conversation

@hebasto

@hebasto hebasto commented Oct 23, 2023

Copy link
Copy Markdown
Member

While working on the GUI translation via Transifex web interface, I found it error-prone to have leading whitespace in translatable strings. This is because it is very easy to unintentionally drop them in translations unnoticed.

Fixed all current cases. Added a linter to prevent similar cases in the future.

@DrahtBot

DrahtBot commented Oct 23, 2023

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK furszy

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@furszy furszy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 856325f

@hebasto
hebasto merged commit 64879f4 into bitcoin-core:master Oct 25, 2023
@bitcoin-core bitcoin-core locked and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants