commit e7a6ead

grunfink  ·  2026-09-11 04:23:09 +0000 UTC
parent 0807056
Changed cool button labels.
1 files changed,  +5, -5
M html.c
M html.c
+5, -5
 1@@ -4072,12 +4072,12 @@ xs_html *html_people_list(snac *user, xs_list *list, const char *header, const c
 2 
 3             if (cool(user, actor_id, OP_CHECK))
 4                 xs_html_add(form,
 5-                    html_button("uncool", L("Not cool"),
 6+                    html_button("uncool", L("Unmark as cool"),
 7                         L("No longer notify me whenever this user posts")));
 8             else
 9                 xs_html_add(form,
10-                     html_button("cool", L("Cool"),
11-                             L("Notify me whenever this users posts")));
12+                     html_button("cool", L("Mark as cool"),
13+                             L("Notify me whenever this user posts")));
14 
15             if (pending_check(user, actor_id)) {
16                 xs_html_add(form,
17@@ -5914,11 +5914,11 @@ int html_post_handler(const xs_dict *req, const char *q_path,
18             unlimit(&snac, actor);
19         }
20         else
21-        if (strcmp(action, L("Cool")) == 0) { /** **/
22+        if (strcmp(action, L("Mark as cool")) == 0) { /** **/
23             cool(&snac, actor, OP_ADD);
24         }
25         else
26-        if (strcmp(action, L("Not cool")) == 0) { /** **/
27+        if (strcmp(action, L("Unmark as cool")) == 0) { /** **/
28             cool(&snac, actor, OP_DEL);
29         }
30         else