civodul pushed a commit to branch master
in repository shepherd.

commit 5591dfb9145e7365f196583a40e2749a80c64fbd
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sun Apr 16 21:14:16 2023 +0200

    Add missing 'l10n' calls.
    
    * modules/shepherd.scm (main): Add missing 'l10n' to 'process-args'
    argument.
    * modules/shepherd/scripts/halt.scm (main): Likewise.
    * modules/shepherd/scripts/reboot.scm (main): Likewise.
---
 modules/shepherd.scm                | 2 +-
 modules/shepherd/scripts/halt.scm   | 2 +-
 modules/shepherd/scripts/reboot.scm | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/shepherd.scm b/modules/shepherd.scm
index 5b7318f..24f1783 100644
--- a/modules/shepherd.scm
+++ b/modules/shepherd.scm
@@ -289,7 +289,7 @@ fork in the child process."
     ;; Process command line arguments.
     (process-args (program-name) args
                  ""
-                 "This is a service manager for Unix and GNU."
+                 (l10n "This is a service manager for Unix and GNU.")
                  not ;; Fail on unknown args.
                  (option
                    #:long-name "quiet"
diff --git a/modules/shepherd/scripts/halt.scm 
b/modules/shepherd/scripts/halt.scm
index f83b8e9..2367d18 100644
--- a/modules/shepherd/scripts/halt.scm
+++ b/modules/shepherd/scripts/halt.scm
@@ -35,7 +35,7 @@
           (command-args '()))
       (process-args (program-name) args
                     ""
-                    "Halt or power off the system."
+                    (l10n "Halt or power off the system.")
                     not ;; Fail on unknown args.
                     (option
                       #:long-name "socket" #:short-name #\s
diff --git a/modules/shepherd/scripts/reboot.scm 
b/modules/shepherd/scripts/reboot.scm
index 90a2050..6be5414 100644
--- a/modules/shepherd/scripts/reboot.scm
+++ b/modules/shepherd/scripts/reboot.scm
@@ -35,7 +35,7 @@
           (command-args '()))
       (process-args (program-name) args
                     ""
-                    "Reboot the system."
+                    (l10n "Reboot the system.")
                     not ;; Fail on unknown args.
                     (option
                       #:long-name "socket" #:short-name #\s

Reply via email to