aboutsummaryrefslogtreecommitdiff
path: root/tests/test-chime-validate-configuration.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-11 04:37:13 -0500
committerCraig Jennings <c@cjennings.net>2026-05-11 04:37:13 -0500
commita11f554fd533f2139cf6b9e592388a5385d4462b (patch)
tree155e50377d1fc6cf7069417ee154e0ff7a05d5e6 /tests/test-chime-validate-configuration.el
parent675fb681a2ed63d6630696755d40be895fd17743 (diff)
downloadchime-a11f554fd533f2139cf6b9e592388a5385d4462b.tar.gz
chime-a11f554fd533f2139cf6b9e592388a5385d4462b.zip
feat: make modeline status-message strings customizable
The validation banner, retry-attempt message, async-failure tooltip, and the initial loading tooltip were hardcoded English literals. I added defcustoms for them so the wording can be localized or adjusted. The format-string ones keep their %d/%s directives, with the order spelled out in each docstring. I also dropped the dead :info severity from chime-validate-configuration's docstring. The function only ever emitted :ok, :warning, and :error.
Diffstat (limited to 'tests/test-chime-validate-configuration.el')
-rw-r--r--tests/test-chime-validate-configuration.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-chime-validate-configuration.el b/tests/test-chime-validate-configuration.el
index c971632..680808c 100644
--- a/tests/test-chime-validate-configuration.el
+++ b/tests/test-chime-validate-configuration.el
@@ -49,7 +49,7 @@
(cl-some (lambda (issue) (eq (car issue) :warning)) issues))
(defun test-chime-validate-configuration--count-issues (issues severity)
- "Count number of ISSUES with given SEVERITY (:error, :warning, or :info)."
+ "Count number of ISSUES with given SEVERITY (:error or :warning)."
(length (cl-remove-if-not (lambda (i) (eq (car i) severity)) issues)))
;;; Normal Cases - Valid Configurations