[wp-trac] [WordPress Trac] #49518: Consider adding domain-specific i18N filter hooks
WordPress Trac
noreply at wordpress.org
Tue Jun 23 04:41:19 UTC 2020
#49518: Consider adding domain-specific i18N filter hooks
-------------------------------------------------+-------------------------
Reporter: geminilabs | Owner: whyisjake
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: I18N | Version: 5.3.2
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing needs-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Changes (by whyisjake):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"48131" 48131]:
{{{
#!CommitTicketReference repository="" revision="48131"
I18N: Introduce domain specific i18n gettext hooks.
Adding context to allow for more specific targeting. New hooks:
* `gettext-{$domain}`
* `gettext_with_context-{$domain}`
* `ngettext-{$domain}`
* `ngettext_with_context-{$domain}`
Fixes #49518.
Props geminilabs, garrett-eclipse, davidbaumwald, johnbillion, whyisjake.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49518#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list