Ticket #511 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Translation missing in Contex Menu Plugin

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

Description

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

Changed 8 years ago by niko

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

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.