#34498 closed defect (bug) (fixed)
Avoid using <code> in translation string (wp-admin/includes/class-wp-plugins-list-table.php)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | I18N | Keywords: | has-patch |
| Focuses: | Cc: |
Description
The attached patch is fixing three translation strings.
Attachments (1)
Change History (8)
#3
@
10 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
#5
follow-up:
↓ 6
@
10 years ago
@SergeyBiryukov, the last string still has <code> tags.
OLD STRING:
__( 'Requires <code>%s</code> in <code>wp-config.php</code>.' )
YOUR COMMIT:
__( 'Requires %s in <code>wp-config.php</code>.' )
MY PROPOSAL:
__( 'Requires %1$s in %2$s.' )
In many cases we had file names with code tags, and we moved them out of the translation strings. Removing the HTML tags from the string makes it easier to translate those strings, especially in RTL languages.
Note: See
TracTickets for help on using
tickets.
In 35440: