Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Conversation

@connyduck
Copy link
Collaborator

This never worked as intended when the font weight was defined inside the resources. Seems like Weblate is not dealing with that correctly.
If there is <b>%1$s</b> used inside the resource, it gets stripped by getQuantityString. To work around that, it needs to be HTML escaped &lt;b>%1$s&lt;/b> and then passed to fromHtml.

Since for some reason not even the source strings got the &lt;b>%1$s&lt;/b> correct everywhere, I'm changing it to a completely code based version that will always be right no matter what is defined in the resource.

@connyduck connyduck requested review from Tak and charlag May 5, 2025 19:30
@connyduck connyduck merged commit 02fbc37 into develop May 6, 2025
1 check passed
@connyduck connyduck deleted the correct-font-weight-for-fav-boost-count branch May 6, 2025 18:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants