#38823 closed defect (bug) (fixed)
Cant translate link text including the link to Codex
Reported by: | odysseygate | Owned by: | westonruter |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Customize | Keywords: | has-patch needs-refresh |
Focuses: | administration | Cc: |
Description
The link to Codex:Know_Your_Sources#CSS on class-wp-customize-manager.php L3827 can't be translated, so we can't change Codex into each local codex, on the link "Learn more about CSS".
Attachments (5)
Change History (12)
#2
@
8 years ago
- Milestone changed from Awaiting Review to 4.7
- Owner set to westonruter
- Status changed from new to accepted
#3
@
8 years ago
- Keywords reporter-feedback added
@odysseygate I think in that case we can just let the URL itself be a translation string as in 38823.1.diff. There are 44 instances of this being done in core already. See 38823.examples.txt for ack --php "__\( 'http" src/wp-admin/ src/wp-includes/
. Agreed?
#4
follow-up:
↓ 7
@
8 years ago
- Keywords commit added; reporter-feedback removed
@odysseygate Thanks for your contribution! For next time, this handbook page will help you create an actual patch file like 38823.1.diff so one can easily see & apply the changes you made.
@westonruter 38823.1.diff looks good.
#5
@
8 years ago
- Focuses accessibility removed
- Keywords needs-refresh added; commit removed
38823.1.diff doesn't look good because it's adding a text domain which I think was supposed to be a context. _x() would be the right function for that. But there is no need for a context since it's the only instance of that link.
#7
in reply to:
↑ 4
@
8 years ago
Replying to swissspidy:
Oops, sorry. i mistook diff for whole to attach...
Convert to actual patch