Remove HTML tags from translations + add plural forms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
YouTube Scope |
New
|
Undecided
|
Unassigned |
Bug Description
The following lines in /src/youtube/
string videos_count = "<b> "+ format_
string views_count = "<b> "+ format_
string subscribers_count = "<b> "+ format_
This is error prone and can break the HTML with translation errors. Also, translators can't use proper plural forms with these strings. I recommend fetching the translations with the following method:
ngettext("%d video", "%d videos", channel-
and then replacing %d in the result with "<b>" + format_