[wp-trac] [WordPress Trac] #38918: delete_plugins() needs a proper singular and plural form for its error message
WordPress Trac
noreply at wordpress.org
Thu Nov 24 00:30:34 UTC 2016
#38918: delete_plugins() needs a proper singular and plural form for its error
message
----------------------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 2.6
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+------------------------------
Comment (by eddhurst):
I tried swapping this to use _n() and then realised that the plugins are
removed inline, so each error message is shown next to the plugin, rather
than in a list at the top.
As a result, should the translation case instead be to remove the (s)
plural altogether and just retain this as a pure `__()` singular
translation string?
To illustrate: Each error will only ever appear once next to each plugin
that fails to be deleted, so (should) output:
`Could not fully remove the plugin hello-dolly/hello.php.`
Rather than what would currently show:
`Could not fully remove the plugin(s) hello-dolly/hello.php.`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38918#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list