Opened 11 years ago
Closed 11 years ago
#34203 closed defect (bug) (fixed)
Replace unneeded context with translator comments
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Customize | Version: | 4.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Background: https://wordpress.slack.com/archives/polyglots/p1442850615001279
There are two strings added in [30306] that need a translator comment instead of a context. They are now in WP_Customize_Manager::get_document_title_template() after [34269].
_x() is meant for same string used in different contexts, e.g. _x( 'Add New', 'post' ) vs. _x( 'Add New', 'plugin' ), as it may require a different translation in each case.
Placeholders generally need a translator comment (/* translators: ... */), not a context.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 34921: