From c90b2af6cff6e2e06088b7815196a4213cc1bb4b Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 8 Jan 2024 22:46:19 +0100 Subject: [PATCH] Add label translation --- learning-irregular-verbs-in-English.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learning-irregular-verbs-in-English.el b/learning-irregular-verbs-in-English.el index aaf3eaa..5befffd 100644 --- a/learning-irregular-verbs-in-English.el +++ b/learning-irregular-verbs-in-English.el @@ -670,7 +670,7 @@ (setq lire--verb-to-learn-infinitive (alist-get 'infinitive verbs-random)) (setq lire--verb-to-learn-simple-past (alist-get 'simple-past verbs-random)) (setq lire--verb-to-learn-past-participle (alist-get 'past-participle verbs-random)) - (when (not (null (boundp 'learning-irregular-verbs-in-English--show-translation))) (setq lire--translation (alist-get 'learning-irregular-verbs-in-English--show-translation (alist-get 'translations verbs-random)))))) + (when (not (null (boundp learning-irregular-verbs-in-English--show-translation))) (setq lire--translation (alist-get learning-irregular-verbs-in-English--show-translation (alist-get 'translations verbs-random)))))) (defun lire--format-value-infinitive () "Format the value of the infinitive."