guix-commits
[Top][All Lists]
Advanced

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

[shepherd] 01/01: Adjust strings for Translation Project submission.


From: Ludovic Courtès
Subject: [shepherd] 01/01: Adjust strings for Translation Project submission.
Date: Thu, 1 Mar 2018 08:12:10 -0500 (EST)

civodul pushed a commit to branch master
in repository shepherd.

commit 89f3c124ea502f341936795b7bc5e0a90198c9c5
Author: Ludovic Courtès <address@hidden>
Date:   Thu Mar 1 14:11:12 2018 +0100

    Adjust strings for Translation Project submission.
    
    Suggested by Benno Schulenberg <address@hidden>.
    
    * modules/shepherd.scm (main): Add missing comma.
    * modules/shepherd/comm.scm (report-command-error): Add "TRANSLATORS"
    comment.
---
 modules/shepherd.scm      | 2 +-
 modules/shepherd/comm.scm | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/modules/shepherd.scm b/modules/shepherd.scm
index 650ba63..02b27f6 100644
--- a/modules/shepherd.scm
+++ b/modules/shepherd.scm
@@ -104,7 +104,7 @@
                    #:long "pid"
                    #:takes-arg? #t #:optional-arg? #t
                     #:arg-name (l10n "FILE")
-                   #:description (l10n "when ready write PID to FILE or 
stdout")
+                   #:description (l10n "when ready, write PID to FILE or 
stdout")
                    #:action (lambda (file)
                               (set! pid-file (or file #t))))
                  (make <option>
diff --git a/modules/shepherd/comm.scm b/modules/shepherd/comm.scm
index 0228f63..cdeed4c 100644
--- a/modules/shepherd/comm.scm
+++ b/modules/shepherd/comm.scm
@@ -1,5 +1,5 @@
 ;; comm.scm -- Communication between processes and general output.
-;; Copyright (C) 2013, 2014, 2016 Ludovic Courtès <address@hidden>
+;; Copyright (C) 2013, 2014, 2016, 2018 Ludovic Courtès <address@hidden>
 ;; Copyright (C) 2002, 2003 Wolfgang Jährling <address@hidden>
 ;;
 ;; This file is part of the GNU Shepherd.
@@ -166,6 +166,12 @@ wrong---premature end-of-file, invalid sexp, etc."
 command object."
   (match error
     (('error ('version 0 _ ...) 'service-not-found service)
+     ;; TRANSLATORS: Strings occasionally contain escape sequences starting
+     ;; with '~' (tilde).  For example, '~a' corresponds to '%s' in C printf
+     ;; syntax and '~%' corresponds to '\n'.  These must be preserved as is.
+     ;; See
+     ;; 
<https://www.gnu.org/software/guile/manual/html_node/Formatted-Output.html>
+     ;; for more info.
      (report-error (l10n "service '~a' could not be found")
                    service))
     (('error ('version 0 _ ...) 'action-not-found action service)



reply via email to

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