i18n
[old-projects.git] / philter / philter / include / plugin_forward.inc.php
index 2b0617a..a0b5c83 100644 (file)
@@ -10,7 +10,7 @@
 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"
@@ -19,7 +19,7 @@ class FwdPlugin extends ActionPlugin {
             .   "    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"