[buddypress-trac] [BuddyPress Trac] #7076: I18n: make XProfile admin js text nodes translatable

buddypress-trac noreply at wordpress.org
Fri May 20 15:00:47 UTC 2016


#7076: I18n: make XProfile admin js text nodes translatable
---------------------------+-----------------------------
 Reporter:  Offereins      |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Locale - i18n  |    Version:
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 In `bp-xprofile/admin/js/admin.js` the `add_option` function creates text
 nodes with untranslated strings:

 {{{#!js
 txt1         = document.createTextNode( 'Default Value' ),
 toDeleteText = document.createTextNode( 'Delete' ),
 }}}

 Is there any reason why these are not translatable? Can we use
 `wp_localize_script()` here?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7076>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list