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

WordPress Trac noreply at wordpress.org
Sun Sep 1 17:12:53 UTC 2019


#44360: Missing translators comment need to be added
--------------------------------------+-------------------------------
 Reporter:  jrf                       |       Owner:  SergeyBiryukov
     Type:  task (blessed)            |      Status:  closed
 Priority:  normal                    |   Milestone:  5.3
Component:  I18N                      |     Version:  5.1
 Severity:  minor                     |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  coding-standards
--------------------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45926" 45926]:
 {{{
 #!CommitTicketReference repository="" revision="45926"
 I18N: Improve translator comments.

 * Add missing translator comments.
 * Fix placement of some translator comments. Translator 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 translator comments.

 Includes minor code layout fixes.

 Polyglots, rejoice! All WordPress core files now have translator comments
 for all strings with placeholders!

 Props jrf, subrataemfluence, GaryJ, webdados, Dency, swissspidy,
 alvarogois, marcomartins, mihaiiceyro, vladwtz, niq1982, flipkeijzer,
 michielatyoast, chandrapatel, thrijith, joshuanoyce, FesoVik, tessak22,
 bhaktirajdev, cleancoded, dhavalkasvala, garrett-eclipse, bibliofille,
 socalchristina, priyankkpatel, 5hel2l2y, adamsilverstein, JeffPaul,
 pierlo, SergeyBiryukov.
 Fixes #44360.
 }}}

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


More information about the wp-trac mailing list