[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))))
- [shepherd] branch devel updated (e6e9fdf -> c6f97c6), Ludovic Courtès, 2024/05/08
- [shepherd] 01/06: timer: #:days-of-week is now a symbol., Ludovic Courtès, 2024/05/08
- [shepherd] 03/06: herd: Add ‘--log-history’ option., Ludovic Courtès, 2024/05/08
- [shepherd] 02/06: timer: Out-of-range error message is localized.,
Ludovic Courtès <=
- [shepherd] 06/06: service: ‘stop-service’ raises ‘&action-runtime-error’., Ludovic Courtès, 2024/05/08
- [shepherd] 05/06: shepherd: Better report key&args exceptions from config file loading., Ludovic Courtès, 2024/05/08
- [shepherd] 04/06: shepherd: Remove extra newline in error message., Ludovic Courtès, 2024/05/08