#33239 closed defect (bug) (fixed)
Missing singular for deleting plugins
| Reported by: | pavelevap | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
The selected plugins have been <strong>deleted</strong>.
We should have singular and plural forms for this string. When you delete only one plugins (by clicking on delete link) you will get plural notice. One user showed me this string and told me he was afraid of what was really deleted :-) He deleted only one plugin, but WordPress told him, that plugins were deleted...
Attachments (2)
Change History (15)
#1
@
11 years ago
- Keywords needs-patch added
- Milestone Awaiting Review → Future Release
- Type defect (bug) → enhancement
- Version trunk
#6
@
11 years ago
- Resolution fixed
- Status closed → reopened
We are not using _n() in similar strings, when count is not part of the string, see example:
Plugin <strong>activated</strong>.
Selected plugins <strong>activated</strong>.
Also wording should respect the current pattern...
#7
@
11 years ago
- Keywords needs-patch added; has-patch needs-testing removed
- Type enhancement → defect (bug)
#9
@
11 years ago
@ocean90: Strings should respect current pattern for all others, for example "activated", "deactivated", etc? So, something like this:
Plugin <strong>deleted</strong>.
Selected plugins <strong>deleted</strong>.
#10
@
11 years ago
- Resolution fixed
- Status closed → reopened
This has introduced a PHP notice after deleting a plugin and being redirected to example.com/wp-admin/network/plugins.php?deleted=1:
Notice: Undefined variable: plugins_to_delete in ~/wp-admin/plugins.php on line 473
33239.1.patch