#36249 closed defect (bug) (fixed)
Avoid using HTML tags in translation strings (wp-admin/options-writing.php)
Reported by: | ramiy | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description
In the Settings > Writing screen, replace <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>
with %s
in translation string.
Old string:
To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.
New string:
To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: %s.
(See the attached patch)
Attachments (3)
Change History (10)
#2
follow-up:
↓ 3
@
9 years ago
- Keywords close added; has-patch removed
The comma needs to be translatable, see https://en.wikipedia.org/wiki/Comma#In_other_languages.
#3
in reply to:
↑ 2
@
9 years ago
Replying to ocean90:
The comma needs to be translatable, see https://en.wikipedia.org/wiki/Comma#In_other_languages.
Done. See the 3rd patch.
Replacing <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>
with %1$s, %2$s, %3$s
Note: See
TracTickets for help on using
tickets.
The second patch has translators comments.