Hi Florian!

> in German I have translated in this way and it got
> accepted.

Yes, my fellow Swedish translator pointed that out to me! :)
I will contribute a similar translation in Swedish, but I also
want the bug in the original code fixed.

I have attached my attempt at a patch to this mail.
Maybe someone can review it and help push it to git HEAD?

> Although, I have not actually tested if it displays
> correctly.  I assume Guile formatting is tolerant.

I have no means to easily test this either.

 / Sebastian

On Tue, May 23, 2023 at 12:44 PM pelzflorian (Florian Pelz)
<pelzflor...@pelzflorian.de> wrote:
>
>
> #: modules/shepherd/service.scm:1087
> #, scheme-format
> msgid "Cannot unregister service ~a, which is still running"
> msgid_plural "Cannot unregister services~{ ~a,~} which are still running"
> msgstr[0] "Der Dienst~{ ~a,~} bleibt registriert, weil er noch läuft"
> msgstr[1] "Die Dienste~{ ~a,~} bleiben registriert, weil sie noch laufen"
>
> Regards,
> Florian
From a7964514651c4f7852d930e6c0e38d06583fcd15 Mon Sep 17 00:00:00 2001
From: Sebastian Rasmussen <seb...@gmail.com>
Date: Tue, 23 May 2023 12:52:36 +0200
Subject: [PATCH] service: Fix localization string formatting.

 * modules/shepherd/service.scm: Change the singular/plural formatting
   to be the same in order to avoid translation tool warnings.
---
 modules/shepherd/service.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm
index e3ca910..c501a68 100644
--- a/modules/shepherd/service.scm
+++ b/modules/shepherd/service.scm
@@ -1104,8 +1104,8 @@ requests arriving on @var{channel}."
           (loop (unregister services)))
          (lst                                     ;
           (local-output
-           (l10n "Cannot unregister service ~a, which is still running"
-                 "Cannot unregister services~{ ~a,~} which are still running"
+           (l10n "Cannot unregister service ~{ ~a,~} which is still running"
+                 "Cannot unregister services ~{ ~a,~} which are still running"
                  (length lst))
            (map service-canonical-name lst))
           (loop registered))))
-- 
2.39.2

Reply via email to