Ticket #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: | |
| 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
Note: See
TracTickets for help on using
tickets.
