[wp-trac] [WordPress Trac] #41305: Add lazily evaluated translations

WordPress Trac noreply at wordpress.org
Fri Oct 12 01:33:04 UTC 2018


#41305: Add lazily evaluated translations
-------------------------------------------------+-------------------------
 Reporter:  schlessera                           |       Owner:  jnylen0
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.0
Component:  I18N                                 |     Version:  4.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch early dev-feedback needs-  |     Focuses:  rest-api,
  testing                                        |  performance
-------------------------------------------------+-------------------------

Comment (by TimothyBlynJacobs):

 These tests might also be failing


 {{{
 Failed asserting that WP_Translation_Proxy Object
 &000000006ab8b8c3000000002771c2ce (
     'text' => 'Username contains invalid characters.'
     'domain' => 'default'
     'result' => null
 ) is of type "string".
 tests/phpunit/tests/rest-api/rest-users-controller.php:1143


 Failed asserting that WP_Translation_Proxy Object
 &000000006ab8b633000000002771c2ce (
     'text' => 'Sorry, that username is not allowed.'
     'domain' => 'default'
     'result' => null
 ) is of type "string".
  /tests/phpunit/tests/rest-api/rest-users-controller.php:1183
 }}}

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


More information about the wp-trac mailing list