rules.pl: rename trust decision in UI Before: ✓ Trust-2 👍 ✗ Trust-2 👎 After: ✓ Trusted 👍 ✗ Untrusted 👎 Change-Id: I2773cd3e8a4abfd108b8beec33eaa0aa6dd22442 Reviewed-on: https://go-review.googlesource.com/c/All-Projects/+/255025 Reviewed-by: Andrew Bonventre <andybons@google.com>
diff --git a/rules.pl b/rules.pl index 4247e63..dc39c0f 100644 --- a/rules.pl +++ b/rules.pl
@@ -58,8 +58,8 @@ % Check for two trusted author/reviewers, unless Self-Review-OK label set by project. trust_filter(Gobot, In, Out) :- has_label('Self-Review-OK', In), !, Out = In. -trust_filter(Gobot, In, Out) :- trust2, !, Out = [label('Trust-2', ok(Gobot)) | In]. -trust_filter(Gobot, In, Out) :- Out = [label('Trust-2', reject(Gobot)) | In]. +trust_filter(Gobot, In, Out) :- trust2, !, Out = [label('Trusted', ok(Gobot)) | In]. +trust_filter(Gobot, In, Out) :- Out = [label('Untrusted', reject(Gobot)) | In]. trust2 :- trust(U1), trust(U2), U1 \= U2.