class FwdPlugin extends ActionPlugin {
function FwdPlugin() { $this->ActionPlugin(); }
function rtti() { return 1; }
- function name() { return "Forward To"; }
+ function name() { return _i18n('1_fwd_to'); }
function to_js() {
$res = "function(Node, data) {\n"
. " var select = document.createElement('select');\n"
. " select.setAttribute('name', Node.name+'[1]');\n"
. "\n"
- . " Node.appendChild(document.createTextNode(' email : '));\n"
+ . " Node.appendChild(document.createTextNode('"._i18n('1_email')."'));\n"
// OG: must insert select node before creating options because of IE5 bug
. " Node.appendChild(select);\n"
. "\n"