1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00
This commit is contained in:
tg(x) 2012-01-17 10:53:34 +01:00
parent 382fd3c779
commit a210128091
3 changed files with 6 additions and 1 deletions

View file

@ -27,9 +27,11 @@ typedef enum PsycMethod {
PSYC_MC_NOTICE,
PSYC_MC_NOTICE_CONTEXT_ENTER,
PSYC_MC_NOTICE_CONTEXT_LEAVE,
PSYC_MC_NOTICE_LINK,
PSYC_MC_REQUEST,
PSYC_MC_REQUEST_CONTEXT_ENTER,
PSYC_MC_REQUEST_CONTEXT_LEAVE,
PSYC_MC_REQUEST_LINK,
PSYC_MC_STATUS,
PSYC_MC_STATUS_CONTEXTS_ENTERED,
PSYC_MC_STATUS_HELLO,
@ -57,9 +59,11 @@ typedef union PsycTemplates {
PsycString _notice;
PsycString _notice_context_enter;
PsycString _notice_context_leave;
PsycString _notice_link;
PsycString _request;
PsycString _request_context_enter;
PsycString _request_context_leave;
PsycString _request_link;
PsycString _status;
PsycString _status_contexts_entered;
PsycString _status_hello;

View file

@ -5,7 +5,7 @@
._echo_context_leave =
_("You leave [_nick_place]"),
._echo_hello =
_("Received hello of psyc://[_pubkey]:g/"),
_("Received hello of psyc://[_key_public]:g/"),
._notice_context_enter =
_("[_nick] enters [_nick_place]"),
._notice_context_leave =

View file

@ -62,6 +62,7 @@ const PsycDictInt psyc_methods[] = {
{ PSYC_C2STRI("_message"), PSYC_MC_MESSAGE },
{ PSYC_C2STRI("_notice_context_enter"), PSYC_MC_NOTICE_CONTEXT_ENTER },
{ PSYC_C2STRI("_notice_context_leave"), PSYC_MC_NOTICE_CONTEXT_LEAVE },
{ PSYC_C2STRI("_notice_link"), PSYC_MC_NOTICE_LINK },
{ PSYC_C2STRI("_notice"), PSYC_MC_NOTICE },
{ PSYC_C2STRI("_request_context_enter"), PSYC_MC_REQUEST_CONTEXT_ENTER },
{ PSYC_C2STRI("_request_context_leave"), PSYC_MC_REQUEST_CONTEXT_LEAVE },