Opened 12 years ago

Closed 12 years ago

#1004 closed defect (fixed)

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 (2)

comment:1 Changed 12 years ago by guest

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

comment:2 Changed 12 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

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.