From ee81d451425af654b42b57a3bc42e4f695b3033a Mon Sep 17 00:00:00 2001 From: cage Date: Sun, 1 Sep 2024 13:08:09 +0200 Subject: [PATCH] - deprecated "crypted" as valid configuration directive. --- etc/default-theme.conf | 2 +- src/software-configuration.lisp | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/etc/default-theme.conf b/etc/default-theme.conf index b79b9b2..2f91e41 100644 --- a/etc/default-theme.conf +++ b/etc/default-theme.conf @@ -41,7 +41,7 @@ main-window.foreground = white # shown when a message was transmitted in encrypted form -crypted.mark.value = " 🔏👌" +encrypted.mark.value = " 🔏👌" # the string to be drawn instead of actual character when input password diff --git a/src/software-configuration.lisp b/src/software-configuration.lisp index 24bfc5a..26e5ea9 100644 --- a/src/software-configuration.lisp +++ b/src/software-configuration.lisp @@ -566,7 +566,7 @@ new-message mark vote-vertical-bar - crypted + encrypted open-link-helper histogram error-dialog @@ -906,7 +906,7 @@ (defun encrypted-mark-value () (or (access:accesses *software-configuration* - +key-crypted+ + +key-encrypted+ +key-mark+ +key-value+) (_ "This message was encrypted"))) @@ -1768,4 +1768,6 @@ (config-server-name))) (config-gemini-proxy) (when (access:accesses *software-configuration* :post-allowed-language) - (error (_ "\"post-allowed-language = …\" has been removed as configuration directive; use: \"default.post.language = …\", instead")))) + (error (_ "\"post-allowed-language = …\" has been removed as configuration directive; use: \"default.post.language = …\", instead"))) + (when (access:accesses *software-configuration* :crypted) + (error (_ "\"crypted\" is not used anymore; use: \"encrypted\", instead"))))