#6898 closed defect (bug) (no action required)
Avoid using HTML tags in translation strings (bp-core/classes/class-bp-admin.php)
Reported by: | ramiy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | has-patch |
Cc: |
Description
See the attaches patch.
Attachments (2)
Change History (8)
#3
@
9 years ago
@DJPaul
This patch is splitting the original string into two strings. The first string is an informative text where you inform the user about the community upload. The second string is a call-to-action.
But I agree with you that we need to remove the codex link translation string.
Old string:
Your community can now upload cover photos for their user profiles and groups. <a href="%s">Learn more →</a>
New strings:
Your community can now upload cover photos for their user profiles and groups.
Learn more →
This ticket was mentioned in Slack in #buddypress by djpaul. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
I don't like this patch because it splits a paragraph into two sentences. I expect there may be languages where people want to re-order the sentences, or continue to have just one for both.
There's also no benefit to providing a URL for translation as the project hasn't tackled translating its codex (yet).