#54712 closed defect (bug) (fixed)
Users: Use the "Posts" post type general name contextualized string in user’s posts count column label
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Users | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Since some locales may differentiate "Posts" generic post type name (works for both posts, pages, and custom post types) and "Posts" when speaking about blogposts, it would be nice to contextualize the use of the "Posts" string in the Users Screen.
Indeed, it only lists Posts (the post type) and not Pages or any other post type.
For example, in French, we have the following translation rules:
- "Pages" => "Pages"
- "Posts" => "Articles"
- "Posts" (generic name for posts, whatever post type it is) => "Publications"
- "Custom post type" => "Type de publication personnalisé"
My proposal would be to use the following string so it doesn't add any new string to manage for translators.
_x( 'Posts', 'post type general name' )
, which is the string used for the "Posts" post type registration.
It would be a really transparent change for everyone.
Please props @jdy68 for the initial report on the French community slack team.
Change History (7)
This ticket was mentioned in PR #2099 on WordPress/wordpress-develop by audrasjb.
17 months ago
#1
- Keywords has-patch added; needs-patch removed
#2
@
17 months ago
- Keywords 2nd-opinion added
- Milestone changed from Awaiting Review to 5.9
Since this patch is only switching an already translated string to another so it won’t introduce any new string after soft string freeze, I’m pinging @SergeyBiryukov (as I18n component maintainer and experienced committer) for 5.9 consideration.
Thanks for your 2nd opinion on this :-)
It’s perfectly ok to move this to 6.0, but it would solve an annoying bug happening on some locales (wrong Posts count because it's not ALL Posts, but only the "Posts" post type), for free 😊
@audrasjb commented on PR #2099:
6 months ago
#7
Committed in https://core.trac.wordpress.org/changeset/52426
Trac ticket: https://core.trac.wordpress.org/ticket/54712