guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] 02/06: timer: Out-of-range error message is localized.


From: Ludovic Courtès
Subject: [shepherd] 02/06: timer: Out-of-range error message is localized.
Date: Wed, 8 May 2024 19:34:38 -0400 (EDT)

civodul pushed a commit to branch devel
in repository shepherd.

commit 8f934cfad49a50d67cd51f0982592446167b86f2
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed May 8 15:56:36 2024 +0200

    timer: Out-of-range error message is localized.
    
    * modules/shepherd/service/timer.scm (validate-range): Use ‘l10n’.
---
 modules/shepherd/service/timer.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/shepherd/service/timer.scm 
b/modules/shepherd/service/timer.scm
index f978002..e6837fe 100644
--- a/modules/shepherd/service/timer.scm
+++ b/modules/shepherd/service/timer.scm
@@ -124,8 +124,8 @@ names to indexes, and @var{index->symbol} that does the 
opposite."
                  (unless (and (>= value min) (<= value max))
                    (raise (condition
                            (&message
-                            (message (format #f "calendar-event: ~a: \
-~a: value out of range (~a-~a)"
+                            (message (format #f (l10n "calendar-event: ~a: \
+~a: value out of range (~a-~a)")
                                              'lst value min max)))))))
                lst))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]