[wp-trac] [WordPress Trac] #44360: Missing translators comment need to be added

WordPress Trac noreply at wordpress.org
Thu Aug 30 12:13:56 UTC 2018


#44360: Missing translators comment need to be added
----------------------------------------+-------------------------------
 Reporter:  jrf                         |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  5.0
Component:  General                     |     Version:  trunk
 Severity:  minor                       |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  coding-standards
----------------------------------------+-------------------------------

Comment (by jrf):

 In [changeset:"43595" 43595]:
 {{{
 #!CommitTicketReference repository="" revision="43595"
 I18n: Improve translators comments [1].

 * Add missing translators comments.
 * Fix placement of some translators comments.
   Translators comments should be on the line directly above the line
 containing the translation function call for optimal compatibility with
 various `.pot` file generation tools.
   The CS auto-fixing, which changed some inconsistent function calls to
 multi-line function calls, is part of the reason why this was no longer
 the case for a select group of translators comments.

 Patch `44360-src.2.diff` of the series.

 Props garyj, alvarogois, michielatyoast
 See #44360
 }}}

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


More information about the wp-trac mailing list