[wp-trac] [WordPress Trac] #37624: Strings should not have different translators comments?

WordPress Trac noreply at wordpress.org
Wed Aug 10 16:18:58 UTC 2016


#37624: Strings should not have different translators comments?
-------------------------+------------------------------
 Reporter:  pavelevap    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by SergeyBiryukov):

 It looks like this in the `.pot` file:
 {{{
 #. translators: %s: attachment title
 #. translators: %s: post title
 #. translators: %s: taxonomy term name
 #. translators: %s: post title
 }}}

 We could probably check if every line starts with `translators:` and parse
 it as a list in that case, removing duplicates in the process and
 displaying with proper formatting in GlotPress. This would be a custom
 plugin for translate.w.org.

 P.S. I think questions in ticket summaries are perfectly fine :) Slack or
 not, they help brainstorming.

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


More information about the wp-trac mailing list