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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69995 in the body.
You can then email your comments to 69995 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#69995; Package coreutils. (Mon, 25 Mar 2024 16:16:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Göran Uddeborg <goeran <at> uddeborg.se>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 25 Mar 2024 16:16:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Mon, 25 Mar 2024 16:25:02 GMT) Full text and rfc822 format available.

Notification sent to Göran Uddeborg <goeran <at> uddeborg.se>:
bug acknowledged by developer. (Mon, 25 Mar 2024 16:25:03 GMT) Full text and rfc822 format available.

Message #10 received at 69995-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 23 Apr 2024 11:25:44 GMT) Full text and rfc822 format available.

This bug report was last modified 9 days ago.

Previous Next


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