[wp-trac] [WordPress Trac] #54712: Users: Use the "Posts" post type general name contextualized string in user’s posts count column label

WordPress Trac noreply at wordpress.org
Thu Dec 30 22:38:29 UTC 2021


#54712: Users: Use the "Posts" post type general name contextualized string in
user’s posts count column label
--------------------------+-----------------------------
 Reporter:  audrasjb      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54712>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list