[wp-trac] [WordPress Trac] #45161: Set translations for Gutenberg scripts.

WordPress Trac noreply at wordpress.org
Wed Nov 7 22:20:16 UTC 2018


#45161: Set translations for Gutenberg scripts.
------------------------------+-------------------------
 Reporter:  herregroen        |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  I18N              |     Version:  5.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------
Changes (by ocean90):

 * keywords:   => has-patch commit


Comment:

 [attachment:"45161.diff"] is working for me with the
 [https://api.wordpress.org/translations/core/1.0/?version=5.0-beta3
 current available language packs for 5.0-beta3]. Make sure to deactivate
 the Gutenberg plugin.

 I'd only replace `array_key_exists()` with `isset()` which should be good
 enough here.

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


More information about the wp-trac mailing list