Branch: Tag:

2000-07-15

2000-07-15 01:06:48 by Andreas Lange <andreas@lange.cx>

Locale API change and updates

Rev: server/base_server/configuration.pike:1.322
Rev: server/base_server/global_variables.pike:1.36
Rev: server/base_server/module_support.pike:1.73
Rev: server/base_server/roxen.pike:1.508
Rev: server/config_interface/standard/cv_startpage_tabs.pike:1.14
Rev: server/config_interface/standard/event_log/log.pike:1.7
Rev: server/config_interface/standard/logutil.pike:1.9
Rev: server/config_interface/standard/sites/config_left_item.pike:1.30
Rev: server/config_interface/standard/sites/site_content.pike:1.69
Rev: server/config_interface/standard/template:1.64
Rev: server/config_interface/standard/topmenu.pike:1.7
Rev: server/etc/include/roxen.h:1.13
Rev: server/etc/modules/OldVariable.pmod:1.14
Rev: server/etc/modules/RoxenLocale.pmod/module.pmod:1.12
Rev: server/modules/configuration/config_filesystem.pike:1.38
Rev: server/modules/configuration/config_tags.pike:1.94
Rev: server/modules/configuration/config_userdb.pike:1.43
Rev: server/modules/tags/translation_mod.pike:1.3
Rev: server/translations/configs/base_server.xml:1.2(DEAD)
Rev: server/translations/configs/config_interface.xml:1.1

1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: global_variables.pike,v 1.35 2000/07/14 20:03:02 lange Exp $ + // $Id: global_variables.pike,v 1.36 2000/07/15 01:05:42 lange Exp $      /*   #pragma strict_types
16:   #include <version.h>      //<locale-token project="config_interface">LOCALE</locale-token> - static inline object GETLOCOBJ() { -  return roxenp()->locale->get()->config_interface; + static inline string GETLOCLANG() { +  return roxenp()->locale->get();   } - #define LOCALE(X,Y) _DEF_LOCALE(X,Y) + #define LOCALE(X,Y) _DEF_LOCALE("config_interface",X,Y)      mixed save()   {
251:    TYPE_FLAG,    LOCALE("ak", "If set to Yes, caching will be enabled."));    -  defvar("garb_min_garb", 1, LOCALE("am", "Cache: Proxy Disk Cache Clean size"), +  defvar("garb_min_garb", 1, +  LOCALE("am", "Cache: Proxy Disk Cache Clean size"),    TYPE_INT,    LOCALE("an", "Minimum number of Megabytes removed when a garbage collect is done."),    0, cache_disabled_p);