Branch: Tag:

2000-11-24

2000-11-24 16:50:38 by Per Hedbor <ph@opera.com>

Locale galore

Rev: server/base_server/basic_defvar.pike:1.22
Rev: server/base_server/config_userdb.pike:1.12
Rev: server/base_server/global_variables.pike:1.51
Rev: server/base_server/module_support.pike:1.83
Rev: server/base_server/roxenlib.pike:1.206
Rev: server/base_server/roxenloader.pike:1.215
Rev: server/base_server/rxml.pike:1.261
Rev: server/config_interface/standard/sites/config_left_item.pike:1.46
Rev: server/etc/include/roxen.h:1.22
Rev: server/etc/modules/Variable.pmod/module.pmod:1.37
Rev: server/modules/compat/compat.pike:1.54
Rev: server/modules/configuration/config_tags.pike:1.127
Rev: server/modules/database/SQLuserdb.pike:1.22
Rev: server/modules/database/sqldb.pike:1.11
Rev: server/modules/database/sqltag.pike:1.66
Rev: server/modules/directories/directories.pike:1.86
Rev: server/modules/directories/indexfiles.pike:1.17
Rev: server/modules/examples/auth.pike:1.3
Rev: server/modules/examples/common_api.pike:1.4
Rev: server/modules/examples/fnord.pike:1.12
Rev: server/modules/examples/newstyle_fnord.pike:1.9
Rev: server/modules/filesystems/filesystem.pike:1.90
Rev: server/modules/tags/obox.pike:1.32

1: - // $Id: module.pmod,v 1.36 2000/11/20 13:36:36 per Exp $ + // $Id: module.pmod,v 1.37 2000/11/24 16:50:35 per Exp $      #include <module.h>   #include <roxen.h>
37:       static mixed _initial; // default value    static string _path; // used for forms -  static string|object __name, __doc; +  static LocaleString __name, __doc;       void destroy()    {
157:    return invisibility_callbacks[_id];    }    -  string doc( ) +  LocaleString doc( )    //! Return the documentation for this variable (locale dependant).    //!    //! The default implementation queries the locale object in roxen
166:    return __doc || "";    }    -  string name( ) +  LocaleString name( )    //! Return the name of this variable (locale dependant).    //!    //! The default implementation queries the locale object in roxen
175:    return __name || LOCALE(326,"unnamed")+" "+_id;    }    -  string type_hint( ) +  LocaleString type_hint( )    //! Return the type hint for this variable.    //! Type hints are generic documentation for this variable type,    //! and is the same for all instances of the type.
386:    }       static void create(mixed default_value, void|int flags, -  void|string|object std_name, void|string|object std_doc) +  void|LocaleString std_name, void|LocaleString std_doc)    //! Constructor.    //! Flags is a bitwise or of one or more of    //!
783:    return res + "</select>";    }    static void create( mixed default_value, array|mapping choices, -  int _flags, string|object std_name, -  string|object std_doc ) +  int _flags, LocaleString std_name, +  LocaleString std_doc )    //! Constructor.    //!    //! Choices is the list of possible choices, can be set with
876:    return roxenp()->fonts->available_fonts();    }    static void create(mixed default_value,int flags, -  string|object std_name,string|object std_doc) +  LocaleString std_name,LocaleString std_doc)    //! Constructor.    //! Flags is a bitwise or of one or more of    //!