2000-11-20
2000-11-20 13:36:37 by Per Hedbor <ph@opera.com>
-
55a86616e554564f38ba3083b45dc6cfc84a6396
(12 lines)
(+6/-6)
[
Show
| Annotate
]
Branch: 5.2
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:
// A vitual server's main configuration
// Copyright © 1996 - 2000, Roxen IS.
- constant cvs_version = "$Id: configuration.pike,v 1.396 2000/11/16 11:51:29 per Exp $";
+ constant cvs_version = "$Id: configuration.pike,v 1.397 2000/11/20 13:36:33 per Exp $";
#include <module.h>
#include <module_constants.h>
#include <roxen.h>
17:
#define LOC_S(X,Y) _STR_LOCALE("roxen_start",X,Y)
#define LOC_C(X,Y) _STR_LOCALE("roxen_config",X,Y)
#define LOC_M(X,Y) _STR_LOCALE("roxen_message",X,Y)
- USE_DEFERRED_LOCALE;
+
#define DLOCALE(X,Y) _DEF_LOCALE("roxen_config",X,Y)
#define CALL(X,Y) _LOCALE_FUN("roxen_config",X,Y)
2234: Inside #if defined(MODULE_LEVEL_SECURITY)
{
me->defvar("_seclvl", 0, DLOCALE(18, "Security: Security level"),
TYPE_INT,
- DLOCALE(0, "The modules security level is used to determine if a "
+ DLOCALE(305, "The modules security level is used to determine if a "
" request should be handled by the module."
"\n<p><h2>Security level vs Trust level</h2>"
" Each module has a configurable <i>security level</i>."
2820:
{
name=config;
- roxen.add_permission( "Site:"+config, LOC_C(0,"Site")+": "+config );
+ roxen.add_permission( "Site:"+config, LOC_C(306,"Site")+": "+config );
// for now only theese two. In the future there might be more variables.
defvar( "data_cache_size", 2048, DLOCALE(274, "Cache:Cache size"),
3015:
defvar("404-files", ({ "404.inc" }),
- DLOCALE("", "No such file message override files"),
+ DLOCALE(307, "No such file message override files"),
TYPE_STRING_LIST|VAR_PUBLIC,
- DLOCALE("",
+ DLOCALE(308,
"If no file match a given resource all directories above the"
" wanted file is searched for one of the files in this list."
"<p>\n"