--- Begin Message ---
Subject: |
[PATCH]: Strings in (guix diagnostics) are not translated |
Date: |
Wed, 23 Jun 2021 12:25:27 +0200 |
User-agent: |
Evolution 3.34.2 |
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
Description: Text Data
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#49184: [PATCH]: Strings in (guix diagnostics) are not translated |
Date: |
Wed, 23 Jun 2021 23:04:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Maxime Devos <maximedevos@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’.
--- End Message ---