GNU bug report logs - #69995
Untranslatable string

Previous Next

Package: coreutils;

Reported by: Göran Uddeborg <goeran <at> uddeborg.se>

Date: Mon, 25 Mar 2024 16:16:03 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Göran Uddeborg <goeran <at> uddeborg.se>
Subject: bug#69995: closed (Re: bug#69995: Untranslatable string)
Date: Mon, 25 Mar 2024 16:25:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#69995: Untranslatable string

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 69995 <at> debbugs.gnu.org.

-- 
69995: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69995
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Göran Uddeborg <goeran <at> uddeborg.se>,
 69995-done <at> debbugs.gnu.org
Subject: Re: bug#69995: Untranslatable string
Date: Mon, 25 Mar 2024 16:24:28 +0000
On 25/03/2024 14:02, Göran Uddeborg wrote:
> While translating the new version of coreutils to Swedish, I came
> across this code from the end of chown-core.h:
> 
>    printf (_("\
>        --from=CURRENT_OWNER:CURRENT_GROUP\n\
>                           change the %sgroup of each file only if\n\
>                           its current owner and/or group match those specified\n\
>                           here.  Either may be omitted, in which case a match\n\
>                           is not required for the omitted attribute\n\
> "), user ? "owner and/or " : "");
> 
> As this stands, the part "owner and/or " will not be translated.
> 
> Simply marking that part too for translation is not a good solution, even
> if it would happen to work for Swedish. See
> https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/gettext.html#Entire-sentences

Fixed with:
https://github.com/coreutils/coreutils/commit/26fd96a96

thanks,
Pádraig

[Message part 3 (message/rfc822, inline)]
From: Göran Uddeborg <goeran <at> uddeborg.se>
To: bug-coreutils <at> gnu.org
Subject: Untranslatable string
Date: Mon, 25 Mar 2024 15:02:37 +0100
While translating the new version of coreutils to Swedish, I came
across this code from the end of chown-core.h:

  printf (_("\
      --from=CURRENT_OWNER:CURRENT_GROUP\n\
                         change the %sgroup of each file only if\n\
                         its current owner and/or group match those specified\n\
                         here.  Either may be omitted, in which case a match\n\
                         is not required for the omitted attribute\n\
"), user ? "owner and/or " : "");

As this stands, the part "owner and/or " will not be translated.

Simply marking that part too for translation is not a good solution, even
if it would happen to work for Swedish. See
https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/gettext.html#Entire-sentences



This bug report was last modified 1 year and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.