Re: Format specification issue in the translations...

2023-05-26 Thread Ludovic Courtès
Hi, Sebastian Rasmussen skribis: > I'm involved in the translation of Shepherd to Swedish, and > poedit complains that the format specifications for the singular > and plural forms of one of the strings are not the same: >

[shepherd bug] Re: Format specification issue in the translations...

2023-05-24 Thread pelzflorian (Florian Pelz)
Sebastian Rasmussen writes: > 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? Cc to Ludo with changed subject. Regards,

Re: Format specification issue in the translations...

2023-05-23 Thread Sebastian Rasmussen
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.

Re: Format specification issue in the translations...

2023-05-23 Thread pelzflorian (Florian Pelz)
Hi Sebastian, in German I have translated in this way and it got accepted. Although, I have not actually tested if it displays correctly. I assume Guile formatting is tolerant. #: modules/shepherd/service.scm:1087 #, scheme-format msgid "Cannot unregister service ~a, which is still running"

Re: Format specification issue in the translations...

2023-05-23 Thread Julien Lepiller
Hi! I think it's indeed a bug in the Shepherd. Both forms should be identical for singular and plural. Especially, I think we should use ~{ ~a,~} in both cases since even when there's a single service, the argument is a list, so with only ~a, it wouldn't show properly. Le 23 mai 2023 01:57:05

Format specification issue in the translations...

2023-05-23 Thread Sebastian Rasmussen
Hi! I'm involved in the translation of Shepherd to Swedish, and poedit complains that the format specifications for the singular and plural forms of one of the strings are not the same: https://git.savannah.gnu.org/cgit/shepherd.git/tree/modules/shepherd/service.scm#n1107 Later on in the source