Opened 17 years ago
Closed 17 years ago
#1004 closed enhancement (no action required)
When sending a message, the ajax status text is not translatable.
| Reported by: | slaFFik | Owned by: | slaFFik |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2 |
| Component: | Version: | ||
| Severity: | Keywords: | javascript, ajax, translation, localization, need-dev-input | |
| Cc: | Jason_JM |
Description
Didn't find an existent ticket, so created a new one with thus problem.
When a person is answering on smbd's message (hi/she has opened it and typed a text in a form) and clicking Send Reply -> - the ajax blue box is opened with the text "Sending Message...". I didn't find this text anywhere in bp-messages folder or pot file.
It's somewhere in javascript? Could it be checked and made translatable?
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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">
</div>
Need to talk about this item.
Flagging this as an enhancement and milestone 1.2.