Opened 15 years ago

Closed 15 years ago

#511 closed defect (fixed)

Translation missing in Contex Menu Plugin

Reported by: xinha.20.artus83@… Owned by: gogo
Priority: normal Milestone:
Component: Plugin_ContextMenu Version:
Severity: minor Keywords:


The string "Remove the $elem Element..." isn't translated in the current version of context menu.

If you add to the line:

[ HTMLArea._lc({string: "Remove the $elem Element...", replace: {elem: "<" + currentTarget.tagName + ">"}}, "ContextMenu"),

a key like this:

[ HTMLArea._lc({key: "Remove the $elem Element...", string: "Remove the $elem Element...", replace: {elem: "<" + currentTarget.tagName + ">"}}, "ContextMenu"),

it is translated correctly. But perhaps it would be better, to change th _lc function, to use the string argument, if it is given an object with no key specified.

Change History (1)

comment:1 Changed 15 years ago by niko

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

thanks for the report, this was my mistake.
fixed the _lc-function in changeset:331 (no change to plugin needed)

Note: See TracTickets for help on using tickets.