[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.")))
- [shepherd] branch master updated (f260b2f -> 6bb5bdf), Ludovic Courtès, 2019/04/18
- [shepherd] 05/07: support: Update copyright year in '--version' output., Ludovic Courtès, 2019/04/18
- [shepherd] 01/07: herd: Add comment about confusing message., Ludovic Courtès, 2019/04/18
- [shepherd] 07/07: Ignore tests/*.log and tests/*.trs., Ludovic Courtès, 2019/04/18
- [shepherd] 02/07: 'report-error' now translates messages., Ludovic Courtès, 2019/04/18
- [shepherd] 03/07: shepherd: Don't fail if the socket file has already been removed., Ludovic Courtès, 2019/04/18
- [shepherd] 04/07: service: Add one-shot services., Ludovic Courtès, 2019/04/18
- [shepherd] 06/07: support: Improve i18n for the '--version' output.,
Ludovic Courtès <=