Branch: Tag:

2000-11-20

2000-11-20 13:36:37 by Per Hedbor <ph@opera.com>

Misc locale fixes

Rev: server/base_server/basic_defvar.pike:1.21
Rev: server/base_server/config_userdb.pike:1.10
Rev: server/base_server/configuration.pike:1.397
Rev: server/base_server/global_variables.pike:1.50
Rev: server/base_server/module.pike:1.101
Rev: server/base_server/module_support.pike:1.80
Rev: server/base_server/roxen.pike:1.576
Rev: server/config_interface/standard/sites/drop_site.pike:1.12
Rev: server/config_interface/standard/sites/site_content.pike:1.102
Rev: server/etc/include/module.h:1.44
Rev: server/etc/include/roxen.h:1.19
Rev: server/etc/modules/Variable.pmod/Date.pike:1.3
Rev: server/etc/modules/Variable.pmod/Email.pike:1.7
Rev: server/etc/modules/Variable.pmod/Image.pike:1.3
Rev: server/etc/modules/Variable.pmod/Upload.pike:1.3
Rev: server/etc/modules/Variable.pmod/VerifiedString.pike:1.4
Rev: server/etc/modules/Variable.pmod/module.pmod:1.36
Rev: server/modules/configuration/config_filesystem.pike:1.64
Rev: server/modules/configuration/config_userdb.pike:1.58
Rev: server/modules/configuration/update.pike:1.26
Rev: server/modules/tags/obox.pike:1.31
Rev: server/protocols/prot_hilfe.pike:2.2

1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: module.pike,v 1.100 2000/11/02 08:48:45 per Exp $ + // $Id: module.pike,v 1.101 2000/11/20 13:36:33 per Exp $      #include <module_constants.h>   #include <module.h>
46:    if (sscanf (cname, "Configuration(%s", cname) == 1 &&    sizeof (cname) && cname[-1] == ')')    cname = cname[..sizeof (cname) - 2]; -  _module_identifier = sprintf ("%s,%s", name || module_name, cname); +  _module_identifier = sprintf ("%s,%s", +  name +  || this_object()->module_name_locale +  || module_name, cname);    }    return _module_identifier;   }
61:   {    return ({    module_type, -  module_name, -  module_doc, +  this_object()->module_name_locale || module_name, +  this_object()->module_doc_locale || module_doc,    0,    module_unique,    });