Replace or with if
This commit is contained in:
parent
69453d6f9b
commit
f0b0443243
1 changed files with 3 additions and 1 deletions
|
@ -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")))
|
||||
|
|
Loading…
Add table
Reference in a new issue