From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: location@lists.ipfire.org Subject: Re: [PATCH v2] po: Update translations Date: Thu, 15 Apr 2021 11:58:50 +0100 Message-ID: <78FE3E0F-3583-4F44-9ACC-03C9371A4923@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6250623125295988044==" List-Id: --===============6250623125295988044== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 14 Apr 2021, at 16:51, Valters Jansons wrot= e: >=20 > On Wed, Apr 14, 2021 at 6:20 PM Michael Tremer > wrote: >> We have a command that automatically generates this file which would not r= espect this change: >>=20 >> make update-po >=20 > $ git clone git://git.ipfire.org/location/libloc.git > $ cd libloc > $ autoreconf --install --symlink > $ intltoolize --force --automake > $ ./configure --prefix=3D/usr --sysconfdir=3D/etc --libdir=3D/lib > $ rm po/POTFILES.in && make po/POTFILES.in > $ make update-po >=20 > For me this appears to produce the exact diff that has been provided > in the v2 patch. After running those commands I see the following diff which almost entirely r= everts all changes in your patch: root(a)michael:/build/libloc# git diff diff --git a/po/POTFILES.in b/po/POTFILES.in index 5d2cc46..9088986 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,10 +1,11 @@ src/libloc.pc.in -src/python/__init__.py.in src/python/database.py src/python/downloader.py src/python/export.py src/python/i18n.py src/python/importer.py +src/python/__init__.py +src/python/__init__.py.in src/python/location-importer.in src/python/location.in src/python/logger.py diff --git a/po/de.po b/po/de.po index 7083958..042e52a 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: libloc 0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-14 12:00+0000\n" +"POT-Creation-Date: 2021-04-14 10:04+0000\n" "PO-Revision-Date: 2018-02-01 14:05+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: German\n" >> Do you have a way to modify the find/grep construction so that it won=E2= =80=99t include any files when a =E2=80=9C.in=E2=80=9D file is available. May= be .gitignore is useful here, too? >=20 > Which target in which Makefile do you believe needs further modifications? >=20 > I really feel like I am missing something here. What we would need is to have the command that generates POTFILES.in a mechan= ism that reads .gitignore and filters out what we do not want (in this case _= _init__.py). Does that sound like it makes sense? https://git.ipfire.org/?p=3Dlocation/libloc.git;a=3Dblob;f=3DMakefile.am;h= =3De8ee791d57366088e9bcf9919e5eb8db4980f39d;hb=3DHEAD#l81 -Michael >=20 > --Valters --===============6250623125295988044==--