mirror of https://github.com/tuskyapp/Tusky.git
Browse Source
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 `<b>%1$s</b>` and then passed to `fromHtml`. Since for some reason not even the source strings got the `<b>%1$s</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.pull/5108/head
2 changed files with 19 additions and 10 deletions
Loading…
Reference in new issue