[wp-meta] [Making WordPress.org] #3601: Wrong detection of localizable method in case of class

Making WordPress.org noreply at wordpress.org
Thu Jun 7 00:52:33 UTC 2018


#3601: Wrong detection of localizable method in case of class
--------------------------------------+---------------------
 Reporter:  Mte90                     |       Owner:  (none)
     Type:  defect                    |      Status:  new
 Priority:  normal                    |   Milestone:
Component:  Translate Site & Plugins  |  Resolution:
 Keywords:  2nd-opinion close         |
--------------------------------------+---------------------
Changes (by dd32):

 * keywords:   => 2nd-opinion close


Comment:

 As our parsers are regex based (?) I don't think it's really possible for
 us to add exceptions for 'same method name, different object' right now.

 Unless the instances of `*::$translation_functions()` is high amongst
 plugins I don't think the benefit of excluding such strings outweigh the
 time involved with adding and managing exceptions to our parser rules
 right now unfortunately.

 Having an extra string or two end up in translations isn't a huge issue,
 and no matter what translators translate it to, it won't have any effect
 anyway.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3601#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list