[PATCH] po: Update POTFILES.in.

  • Done
  • quality assurance status badge
Details
2 participants
  • Julien Lepiller
  • Ludovic Courtès
Owner
unassigned
Submitted by
Julien Lepiller
Severity
normal
J
J
Julien Lepiller wrote on 1 Oct 2021 00:11
(address . guix-patches@gnu.org)
20211001001100.470a6334@tachikoma.lepiller.eu
Hi Guix!

With the recent addition of guix home, I noticed the new strings didn't
appear in the translation. This is because the new files were not added
to po/guix/POTFILES.in, so gettext didn't know it had to look into them.

In addition, I found more files that used G_ or N_ and were not already
in this file, so I added them as well in the attached patch.
From a5596492b896a323a943ebf174c91c004bedf96b Mon Sep 17 00:00:00 2001
From: Julien Lepiller <julien@lepiller.eu>
Date: Fri, 1 Oct 2021 00:04:46 +0200
Subject: [PATCH] po: Update POTFILES.in.

* po/guix/POTFILES.in: Add missing files that contain messages to be
translated.
---
po/guix/POTFILES.in | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (62 lines)
diff --git a/po/guix/POTFILES.in b/po/guix/POTFILES.in
index f5b76bf582..5e77b3c230 100644
--- a/po/guix/POTFILES.in
+++ b/po/guix/POTFILES.in
@@ -5,10 +5,23 @@ gnu/packages.scm
gnu/services.scm
gnu/system.scm
gnu/services/shepherd.scm
+gnu/system/file-systems.scm
+gnu/system/image.scm
+gnu/system/linux-container.scm
gnu/system/mapped-devices.scm
gnu/system/shadow.scm
guix/import/egg.scm
+guix/import/cpan.scm
+guix/import/cran.scm
+guix/import/elpa.scm
+guix/import/github.scm
+guix/import/git.scm
+guix/import/gnu.scm
+guix/import/go.scm
+guix/import/minetest.scm
guix/import/opam.scm
+guix/import/pypi.scm
+guix/import/texlive.scm
gnu/installer.scm
gnu/installer/connman.scm
gnu/installer/hostname.scm
@@ -47,6 +60,10 @@ guix/scripts.scm
guix/scripts/build.scm
guix/diagnostics.scm
guix/discovery.scm
+guix/ci.scm
+guix/cve.scm
+guix/git-authenticate.scm
+guix/gnupg.scm
guix/lint.scm
guix/scripts/download.scm
guix/scripts/package.scm
@@ -92,13 +109,20 @@ guix/http-client.scm
guix/nar.scm
guix/narinfo.scm
guix/channels.scm
+guix/packages.scm
guix/profiles.scm
+guix/remote.scm
+guix/ssh.scm
guix/git.scm
+guix/substitutes.scm
guix/deprecation.scm
guix/derivations.scm
guix/scripts/archive.scm
guix/scripts/build.scm
+guix/scripts/discover.scm
guix/scripts/environment.scm
+guix/scripts/home/import.scm
+guix/scripts/home.scm
guix/scripts/time-machine.scm
guix/scripts/import/cpan.scm
guix/scripts/import/crate.scm
--
2.33.0
L
L
Ludovic Courtès wrote on 1 Oct 2021 15:07
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 50925@debbugs.gnu.org)
87y27czyeg.fsf@gnu.org
Hi,

Julien Lepiller <julien@lepiller.eu> skribis:

Toggle quote (8 lines)
>>From a5596492b896a323a943ebf174c91c004bedf96b Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien@lepiller.eu>
> Date: Fri, 1 Oct 2021 00:04:46 +0200
> Subject: [PATCH] po: Update POTFILES.in.
>
> * po/guix/POTFILES.in: Add missing files that contain messages to be
> translated.

LGTM, thanks for catching all these!

Ludo’.
J
J
Julien Lepiller wrote on 8 Oct 2021 14:59
Re: [PATCH] po: Update POTFILES.in
(address . 50925-done@debbugs.gnu.org)
A8F598DD-6899-4459-BF3F-672970D49C6F@lepiller.eu
I pushed it last week and forgot to close the bug. Thanks :)
Closed
?