[wp-trac] [WordPress Trac] #37290: Shiny Updates: Different strings for plugins and themes?

WordPress Trac noreply at wordpress.org
Fri Jul 8 19:36:47 UTC 2016

#37290: Shiny Updates: Different strings for plugins and themes?
 Reporter:  pavelevap        |       Owner:  swissspidy
     Type:  defect (bug)     |      Status:  assigned
 Priority:  high             |   Milestone:  4.6
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:

Comment (by swissspidy):

 Replying to [comment:4 SergeyBiryukov]:
 > `%s was successfully deleted` needs a context as well. In Russian,
 Czech, and other Slavic languages, "plugin" is masculine and "theme" is
 > P.S. If the string is only used for plugins, the translator comment
 should be updated. Currently it says "%s: Plugin or Theme name".

 Good point. The string is part of the `tmpl-item-deleted-row` JS template
 in `wp_print_update_row_templates()`, which is used for the plugins list
 table and the network themes list table. This means we need to split the
 template up into 2 separate ones.

 In the future, with i18n via JS, this won't be needed anymore.

Ticket URL: <https://core.trac.wordpress.org/ticket/37290#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list