[wp-trac] [WordPress Trac] #59948: Inconsistent translator comment for datetime strings

WordPress Trac noreply at wordpress.org
Wed Nov 22 10:29:22 UTC 2023


#59948: Inconsistent translator comment for datetime strings
-------------------------+-----------------------------
 Reporter:  NekoJonez    |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Date/Time    |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  ui, docs     |
-------------------------+-----------------------------
 If we look at the strings where translators can show a datetime:
 https://translate.wordpress.org/projects/wp/dev/nl-
 be/default/?filters%5Bterm%5D=F+j&filters%5Bterm_scope%5D=scope_originals&filters%5Bstatus%5D=current&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=translation_date_modified&sort%5Bhow%5D=desc

 and then look at the translator comment, we notice something strange.
 Only in a few, translators get the link to the manual to craft a good
 datetime: https://www.php.net/manual/datetime.format.php

 In this string: https://translate.wordpress.org/projects/wp/dev/nl-
 be/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=58765&filters%5Btranslation_id%5D=54236555
 We see almost the same issue as in #59947.

 Yet, unlike for the actual time... For the date we a lot more strings
 while it's for times more in one.

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


More information about the wp-trac mailing list