GNU bug report logs - #49184
[PATCH]: Strings in (guix diagnostics) are not translated

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Wed, 23 Jun 2021 10:26:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49184: closed ([PATCH]: Strings in (guix diagnostics) are not
 translated)
Date: Wed, 23 Jun 2021 21:06:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 23 Jun 2021 23:04:55 +0200
with message-id <877dikwavc.fsf <at> gnu.org>
and subject line Re: bug#49184: [PATCH]: Strings in (guix diagnostics) are not translated
has caused the debbugs.gnu.org bug report #49184,
regarding [PATCH]: Strings in (guix diagnostics) are not translated
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49184: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49184
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxime Devos <maximedevos <at> telenet.be>
To: guix-patches <at> gnu.org
Subject: [PATCH]: Strings in (guix diagnostics) are not translated
Date: Wed, 23 Jun 2021 12:25:27 +0200
[Message part 3 (text/plain, inline)]
Hi Guix,

(guix diagnostics) has some translatable strings.
See e.g. the following code:

(define-diagnostic warning (G_ "warning: ") %warning-color) ;emit a warning
(define-diagnostic info (G_ "") %info-color)
(define-diagnostic report-error (G_ "error: ") %error-color)

These are currently not translated and don't appear on translate.fedoraproject.org.
The issue appears to be that guix/diagnostics.scm does not appear in
guix/POTFILES.in.

A patch that should fix this is attached.

Greetings,
Maxime.
[0001-po-Add-guix-diagnostics-to-the-list-of-files-with-I1.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]
[Message part 6 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 49184-done <at> debbugs.gnu.org
Subject: Re: bug#49184: [PATCH]: Strings in (guix diagnostics) are not
 translated
Date: Wed, 23 Jun 2021 23:04:55 +0200
Hi,

Maxime Devos <maximedevos <at> telenet.be> skribis:

> These are currently not translated and don't appear on translate.fedoraproject.org.
> The issue appears to be that guix/diagnostics.scm does not appear in
> guix/POTFILES.in.

I did that not long ago (after the release, unfortunately) in
fed83e52fed3808b437361d84c29c2870cab5458.

The relevant strings are commented out in .po files though, so we’ll
need a PO update to get them.

Thanks,
Ludo’.


This bug report was last modified 4 years and 29 days ago.

Previous Next


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