[wp-trac] [WordPress Trac] #58138: For echo the translated string, use _e() instead of __()
WordPress Trac
noreply at wordpress.org
Sun Apr 16 08:26:33 UTC 2023
#58138: For echo the translated string, use _e() instead of __()
-------------------------+-------------------------------
Reporter: mujuonly | Owner: mujuonly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.3
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
-------------------------+-------------------------------
Changes (by audrasjb):
* version: 6.2 =>
* component: General => I18N
* milestone: Awaiting Review => 6.3
Comment:
Hello, thanks for the ticket & patch!
Good point.
Also, I think the translation string should include the `:` character. In
some locales, this character has to be translatable. For example we need a
non-breaking space before `:` in `fr_FR`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58138#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list