diff options
Diffstat (limited to '')
-rw-r--r-- | handle.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/handle.c b/handle.c index ed053b2..c511912 100644 --- a/handle.c +++ b/handle.c @@ -1036,7 +1036,7 @@ static void handleReplyWhoisUser(struct Message *msg) { completeTouch(Network, msg->params[1], hash(msg->params[2])); uiFormat( Network, Warm, tagTime(msg), - "jan \3%02d%s\3\tli lon jan %s!%s@%s (%s\17)", + "jan \3%02d%s\3\tli jan %s!%s@%s (%s\17)", hash(msg->params[2]), msg->params[1], msg->params[1], msg->params[2], msg->params[3], msg->params[5] ); @@ -1047,22 +1047,22 @@ static void handleReplyWhoisServer(struct Message *msg) { require(msg, false, 4); uiFormat( Network, Warm, tagTime(msg), - "jan \3%02d%s\3\tli %s linja e kulupu %s (%s)", + "jan \3%02d%s\3\tli linja %s tawa kulupu %s (%s)", completeColor(Network, msg->params[1]), msg->params[1], - (replies[ReplyWhowas] ? "lon ala" : "lon"), msg->params[2], msg->params[3] + (replies[ReplyWhowas] ? "ala" : ""), msg->params[2], msg->params[3] ); } static void handleReplyWhoisIdle(struct Message *msg) { require(msg, false, 3); unsigned long idle = strtoul(msg->params[2], NULL, 10); - const char *unit = "second"; + const char *unit = "ilo lili"; if (idle / 60) { - idle /= 60; unit = "minute"; + idle /= 60; unit = "ilo"; if (idle / 60) { - idle /= 60; unit = "hour"; + idle /= 60; unit = "ilo suli"; if (idle / 24) { - idle /= 24; unit = "day"; + idle /= 24; unit = "suno"; } } } @@ -1071,9 +1071,9 @@ static void handleReplyWhoisIdle(struct Message *msg) { strftime(signon, sizeof(signon), "%F %T", localtime(&time)); uiFormat( Network, Warm, tagTime(msg), - "jan \3%02d%s\3\tli weka la ni li awen tenpo %lu %s%s%s%s", + "jan \3%02d%s\3\tli awen lape lon tenpo %s %lu%s%s", completeColor(Network, msg->params[1]), msg->params[1], - idle, unit, (idle != 1 ? "s" : ""), + unit, idle, (msg->params[3] ? ", tan tenpo " : ""), (msg->params[3] ? signon : "") ); } |