Ticket #197 (closed defect: fixed)
"Select Color" dialog not translated (with fix)
| Reported by: | Paul Baranowski <paul@…> | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Xinha Core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
The "Select Color" popup is not translated (the only string in this popup is the title). Below is the fix for the Init() function (basically just added the dlg_translate('HTMLArea') line). Another string must be added to all of the translation files: "Select Color".
File: /popups/select_color.html
// Run on page load. function Init() {
// Translate the text in this dialog. dlg_translate('HTMLArea'); // This can be found in popup.js. dlg_init(); document.body.onkeypress = _CloseOnEsc;
var color = window.dialogArguments;
color = ValidateColor?(color)
'000000'; // Set the default color. View(color); }
Change History
Note: See TracTickets for help on using tickets.Download in other formats:
