#include "services.h"
#include "language.h"
Go to the source code of this file.
Functions | |
| void | lang_init () |
| void | lang_sanitize () |
| int | strftime_lang (char *buf, int size, User *u, int format, struct tm *tm) |
| void | syntax_error (char *service, User *u, const char *command, int msgnum) |
Variables | |
| int | langlist [NUM_LANGS] |
| char * | langnames [NUM_LANGS] |
| char ** | langtexts [NUM_LANGS] |
| void lang_init | ( | void | ) |
Definition at line 180 of file language.c.
References DEF_LANGUAGE, fatal(), LANG_CAT, LANG_DE, LANG_EN_US, LANG_ES, LANG_FR, LANG_GR, LANG_HUN, LANG_IT, LANG_NL, LANG_PL, LANG_PT, LANG_RU, lang_sanitize(), LANG_TR, langlist, langnames, langtexts, NSDefLanguage, and NUM_LANGS.
Referenced by do_listchans(), do_listnicks(), and init_secondary().
| void lang_sanitize | ( | ) |
Definition at line 153 of file language.c.
References langtexts, NUM_LANGS, sstrdup(), strnrepl(), strscpy(), and UseStrictPrivMsg.
Referenced by lang_init().
| int strftime_lang | ( | char * | buf, | |
| int | size, | |||
| User * | u, | |||
| int | format, | |||
| struct tm * | tm | |||
| ) |
Definition at line 241 of file language.c.
References BUFSIZE, langtexts, nickcore_::language, user_::na, nickalias_::nc, NSDefLanguage, strnrepl(), and strscpy().
Referenced by akick_view(), akill_view(), display_news(), do_glist(), do_info(), do_memocheck(), do_modinfo(), do_stats(), list_memo(), listOut(), read_memo(), sgline_view(), sqline_view(), and szline_view().
| void syntax_error | ( | char * | service, | |
| User * | u, | |||
| const char * | command, | |||
| int | msgnum | |||
| ) |
Definition at line 296 of file language.c.
References getstring, user_::na, and notice_lang().
Referenced by do_access(), do_act(), do_admin(), do_akick(), do_akill(), do_assign(), do_badwords(), do_bot(), do_cancel(), do_chankill(), do_clear(), do_clearmodes(), do_cs_topic(), do_drop(), do_exception(), do_forbid(), do_getemail(), do_getkey(), do_getpass(), do_ghost(), do_global(), do_identify(), do_info(), do_invite(), do_jupe(), do_kickcmd(), do_levels(), do_list(), do_logout(), do_memocheck(), do_modinfo(), do_modload(), do_modunload(), do_news(), do_noop(), do_oper(), do_operoline(), do_operumodes(), do_os_kick(), do_os_mode(), do_raw(), do_read(), do_recover(), do_register(), do_release(), do_saset(), do_saset_autoop(), do_saset_hide(), do_saset_kill(), do_saset_msg(), do_saset_noexpire(), do_saset_private(), do_saset_secure(), do_say(), do_sendall(), do_sendpass(), do_session(), do_set(), do_set_autoop(), do_set_hide(), do_set_keeptopic(), do_set_kill(), do_set_language(), do_set_limit(), do_set_msg(), do_set_noexpire(), do_set_notify(), do_set_opnotice(), do_set_peace(), do_set_private(), do_set_restricted(), do_set_secure(), do_set_securefounder(), do_set_secureops(), do_set_signkick(), do_set_topiclock(), do_set_xop(), do_sgline(), do_sqline(), do_staff(), do_suspend(), do_svsnick(), do_szline(), do_unassign(), do_unban(), do_unsuspend(), do_xop(), and memo_send().
| int langlist[NUM_LANGS] |
Definition at line 27 of file language.c.
| char* langnames[NUM_LANGS] |
Definition at line 24 of file language.c.
| char** langtexts[NUM_LANGS] |
Definition at line 21 of file language.c.
1.5.1-20070107