[buddypress-trac] [BuddyPress] #1004: When sending a message, the ajax status text is not translatable. (was: Sending Message text is not translatable)

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Sep 16 14:42:05 UTC 2009


#1004: When sending a message, the ajax status text is not translatable.
------------------------------------------------------------------------+---
Reporter:  slaFFik                                                      |       Owner:  slaFFik
    Type:  enhancement                                                  |      Status:  new    
Priority:  minor                                                        |   Milestone:  1.2    
Keywords:  javascript, ajax, translation, localization, need-dev-input  |  
------------------------------------------------------------------------+---
Changes (by Jason_JM):

 * cc: Jason_JM (added)
  * priority:  major => minor
  * milestone:  1.1 => 1.2
  * keywords:  translation, localization => javascript, ajax, translation,
               localization, need-dev-input
  * type:  defect => enhancement


Comment:

 Verified.

 However, this is 'hard-coded' in bp-themes/bp-sn-parent/_inc/js/ajax.js

 Proposals:
 1.) Dependent on language, load a hard-coded language dependent js file
 with $someVar="Sending message";
 2.) Dependent on language, load a generated language dependent js file
 with $someVar="Sending message" via a pot?
 3.) Code ajax.js to look for and select the first found embedded html
 generated by php:
 <div id="ajaxLang" style="display:none visible:hidden">
   <span id="ajaxLang_SendMessage" class="ajaxLang_English">Sending
 Message</span>
 </div>

 Need to talk about this item.

 Flagging this as an enhancement and milestone 1.2.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1004#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list