about summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2021-11-17 14:37:23 -0500
committerKylie McClain <kylie@somas.is>2022-01-27 14:53:22 -0500
commite4c83a02aac0752ec9c703c11dfce18e89e67fd1 (patch)
tree492787094f2952bfc0a10889e76d16360e626604 /command.c
parentSupport custom pkg-config executable names (diff)
downloadcatgirl-e4c83a02aac0752ec9c703c11dfce18e89e67fd1.tar.gz
catgirl-e4c83a02aac0752ec9c703c11dfce18e89e67fd1.zip
mi pana e toki pona tawa ilo Meli Soweli!
Diffstat (limited to 'command.c')
-rw-r--r--command.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/command.c b/command.c
index 335c396..6b875b5 100644
--- a/command.c
+++ b/command.c
@@ -440,16 +440,16 @@ static void commandFilter(enum Heat heat, uint id, char *params) {
 	if (params) {
 		struct Filter filter = filterAdd(heat, params);
 		uiFormat(
-			id, Cold, NULL, "%sing \3%02d%s %s %s %s",
-			(heat == Hot ? "Highlight" : "Ignor"), Brown, filter.mask,
+			id, Cold, NULL, "%s \3%02d%s %s %s %s",
+			(heat == Hot ? "wile" : "wile ala"), Brown, filter.mask,
 			(filter.cmd ?: ""), (filter.chan ?: ""), (filter.mesg ?: "")
 		);
 	} else {
 		for (size_t i = 0; i < FilterCap && filters[i].mask; ++i) {
 			if (filters[i].heat != heat) continue;
 			uiFormat(
-				Network, Warm, NULL, "%sing \3%02d%s %s %s %s",
-				(heat == Hot ? "Highlight" : "Ignor"), Brown, filters[i].mask,
+				Network, Warm, NULL, "%s \3%02d%s %s %s %s",
+				(heat == Hot ? "wile" : "wile ala"), Brown, filters[i].mask,
 				(filters[i].cmd ?: ""), (filters[i].chan ?: ""),
 				(filters[i].mesg ?: "")
 			);
@@ -462,8 +462,8 @@ static void commandUnfilter(enum Heat heat, uint id, char *params) {
 	struct Filter filter = filterParse(heat, params);
 	bool found = filterRemove(filter);
 	uiFormat(
-		id, Cold, NULL, "%s %sing \3%02d%s %s %s %s",
-		(found ? "No longer" : "Not"), (heat == Hot ? "highlight" : "ignor"),
+		id, Cold, NULL, "%s %s \3%02d%s %s %s %s",
+		(found ? "pini" : "sina lon ala"), (heat == Hot ? "lukin" : "lukin ala"),
 		Brown, filter.mask, (filter.cmd ?: ""), (filter.chan ?: ""),
 		(filter.mesg ?: "")
 	);
@@ -509,7 +509,7 @@ static void commandHelp(uint id, char *params) {
 		return;
 	}
 	if (self.restricted) {
-		uiFormat(id, Warm, NULL, "See catgirl(1) or /help index");
+		uiFormat(id, Warm, NULL, "o lukin e lipu catgirl(1) anu o toki e ni: /help index");
 		return;
 	}
 
@@ -664,7 +664,7 @@ void command(uint id, char *input) {
 		cmd, Commands, ARRAY_LEN(Commands), sizeof(*handler), compar
 	);
 	if (!handler) {
-		uiFormat(id, Warm, NULL, "No such command %s", cmd);
+		uiFormat(id, Warm, NULL, "toki '%s' li lon ala", cmd);
 		return;
 	}
 	if (