[wp-trac] [WordPress Trac] #46683: Site Health: audit the translation functions

WordPress Trac noreply at wordpress.org
Mon Apr 15 14:26:30 UTC 2019


#46683: Site Health: audit the translation functions
-----------------------------------+-------------------------------
 Reporter:  afercia                |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  5.2
Component:  Administration         |     Version:  trunk
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  site-health has-patch  |     Focuses:  coding-standards
-----------------------------------+-------------------------------

Comment (by afercia):

 PHPCS isn't happy because of missing translators comments:

 {{{
 FILE: src/wp-admin/site-health.php
 -------------------------------------------------------------------------------------------------------------------------
 FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
 -------------------------------------------------------------------------------------------------------------------------
   94 | WARNING | A gettext call containing placeholders was found, but was
 not accompanied by a "translators:" comment ...
  102 | WARNING | A gettext call containing placeholders was found, but was
 not accompanied by a "translators:" comment ...
  118 | WARNING | A gettext call containing placeholders was found, but was
 not accompanied by a "translators:" comment ...
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46683#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list