Ticket #1004 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

popupwin.js localization error: can't translate ok and cancel buttons

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

When I use one of properties dialogs in TableOperations (table, table row or table cell) with german localization, the ok and cancel buttons don't appear. I found that it belongs to wrong name space in popupwin.js, line 121:

  button.innerHTML = HTMLArea._lc(btn, 'HTMLArea');

This should be

   button.innerHTML = HTMLArea._lc(btn, 'Xinha');

Otherwise Xinha._loadlang (inside XinhaCore?) searches for 'HTMLArea' as a Plugin(!), 'cause the given context is != 'Xinha'.

Greetings, Volker

Change History

Changed 5 years ago by guest

P.S.: Actually any occurence of 'HTMLArea' in popupwin.js should be changed to 'Xinha' ...

Changed 5 years ago by ray

  • status changed from new to closed
  • resolution set to fixed

rev [812]: changed the namespace, because it was due anyway. But I'm puzzled by your problem, as I'm seeing translated buttons in the TableOperations dialogs.

Note: See TracTickets for help on using tickets.