Roxen.git / server / modules / tags / translation_mod.pike

version» Context lines:

Roxen.git/server/modules/tags/translation_mod.pike:4:   #include <module.h>   inherit "module";         // ---------------- Module registration stuff ----------------      constant module_type = MODULE_TAG;   constant module_name = "Translation module";   constant module_doc = "This module provides an RXML API to the Pike localization system.";   constant thread_safe = 1; - constant cvs_version = "$Id: translation_mod.pike,v 1.7 2000/09/10 16:35:08 nilsson Exp $"; + constant cvs_version = "$Id: translation_mod.pike,v 1.8 2000/11/02 13:01:02 kuntri Exp $";               // ------------------------ The tags -------------------------      class TagTranslationRegistration {    inherit RXML.Tag;    constant name = "trans-reg";    constant flags = RXML.FLAG_EMPTY_ELEMENT;
Roxen.git/server/modules/tags/translation_mod.pike:75:    if(args->variable) {    RXML.user_set_var(args->variable, trans, args->scope);    return 0;    }       result = trans;    return 0;    }    }   } +  + TAGDOCUMENTATION; + #ifdef manual + constant tagdoc=([ +  + "trans-reg":#"<desc tag><p><short> +  +  </short> +  + </p></desc> +  + <attr name='project' value='string'> +  + </attr> +  + <attr name='path' value='URL'> +  + </attr>", +  +  +  + "translate":#"<desc tag><p><short> +  +  </short> +  + </p></desc> +  + <attr name='id' value=''> +  + </attr> +  + <attr name='project' value=''> +  + </attr> +  + <attr name='variable' value=''> +  + </attr> +  + <attr name='scope' value=''> +  + </attr>", +  +  +  ]); + #endif