Replace or with if

This commit is contained in:
Marcus Kammer 2024-02-27 18:03:24 +01:00
parent 69453d6f9b
commit f0b0443243

View file

@ -79,5 +79,7 @@
(let ((entry (cadr (assoc key dict :test #'string=))))
(if entry
(let ((term (cadr (member lang entry :test #'string=))))
(or term "Translation not found"))
(if term
term
"Translation not found"))
"Key not found")))