Branch: Tag:

2000-07-15

2000-07-15 02:27:43 by Andreas Lange <andreas@lange.cx>

Locale API change and updates

Rev: server/base_server/configuration.pike:1.323
Rev: server/base_server/roxen.pike:1.509
Rev: server/config_interface/standard/actions/list_actions.pike:1.3
Rev: server/config_interface/standard/logutil.pike:1.10
Rev: server/config_interface/standard/sites/drop_site.pike:1.4
Rev: server/config_interface/standard/sites/drop_site_warning.txt:1.2
Rev: server/etc/include/roxen.h:1.14
Rev: server/etc/modules/RoxenLocale.pmod/module.pmod:1.13
Rev: server/translations/configs/config_interface.xml:1.2

3:   //   // German translation by Kai Voigt    - constant cvs_version = "$Id: configuration.pike,v 1.322 2000/07/15 01:05:42 lange Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.323 2000/07/15 02:27:41 lange Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>
26:   #define LOCALE(X,Y) _STR_LOCALE("config_interface",X,Y)   USE_DEFERRED_LOCALE;   #define DLOCALE(X,Y) _DEF_LOCALE("config_interface",X,Y) + #define CALL(X,Y) _LOCALE_FUN("config_interface",X,Y)      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG
739:    res += "<b>"+LOCALE("t", "FTP statistics") + ":</b><br />\n"    "<ul><table>\n";    foreach(sort(indices(extra_statistics->ftp->commands)), string cmd) { -  res += roxen.locale->get()-> -  config_interface("ftp_stat_line", -  upper_case(cmd), -  extra_statistics->ftp->commands[cmd]); +  res += CALL("ftp_stat_line", "eng") +  (upper_case(cmd), extra_statistics->ftp->commands[cmd]);    }    res += "</table></ul>\n";    }