guix-commits
[Top][All Lists]
Advanced

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

[shepherd] 06/07: support: Improve i18n for the '--version' output.


From: Ludovic Courtès
Subject: [shepherd] 06/07: support: Improve i18n for the '--version' output.
Date: Thu, 18 Apr 2019 06:25:28 -0400 (EDT)

civodul pushed a commit to branch master
in repository shepherd.

commit 8bd1ae06465ebb0705237548a67ba2eb9cca6a04
Author: Ludovic Courtès <address@hidden>
Date:   Thu Apr 18 12:21:59 2019 +0200

    support: Improve i18n for the '--version' output.
    
    * modules/shepherd/support.scm (display-version): Split output in two
    strings, and make the year an parameter.
---
 modules/shepherd/support.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/shepherd/support.scm b/modules/shepherd/support.scm
index c435508..91fde73 100644
--- a/modules/shepherd/support.scm
+++ b/modules/shepherd/support.scm
@@ -238,7 +238,9 @@ output port, and PROC's result is returned."
 
 (define* (display-version #:optional (program-name (program-name)))
   (local-output "~a (~a) ~a" program-name package-name Version)
-  (local-output (l10n "Copyright (C) 2019 the Shepherd authors
+  ;; TRANSLATORS: '~a' is a placeholder for the copyright year.
+  (local-output (l10n "Copyright (C) ~a the Shepherd authors") 2019)
+  (local-output (l10n "\
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.")))



reply via email to

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