public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: location@lists.ipfire.org
Subject: Re: [PATCH v2] po: Update translations
Date: Wed, 14 Apr 2021 16:20:22 +0100	[thread overview]
Message-ID: <6607D0DB-1954-458B-AF57-4E276A092D99@ipfire.org> (raw)
In-Reply-To: <20210414120234.2761-1-valter.jansons@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2000 bytes --]

Hello Valters,

We have a command that automatically generates this file which would not respect this change:

  make update-po

Do you have a way to modify the find/grep construction so that it won’t include any files when a “.in” file is available. Maybe .gitignore is useful here, too?

-Michael

> On 14 Apr 2021, at 13:02, Valters Jansons <valter.jansons(a)gmail.com> wrote:
> 
> The POTFILES.in is regenerated based on a fresh checkout of the
> repository. As the src/python/__init__.py file is not present in
> the tree, it's being removed from POTFILES.in.
> 
> Signed-off-by: Valters Jansons <valter.jansons(a)gmail.com>
> ---
> po/POTFILES.in | 3 +--
> po/de.po       | 5 ++---
> 2 files changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/po/POTFILES.in b/po/POTFILES.in
> index 9088986..5d2cc46 100644
> --- a/po/POTFILES.in
> +++ b/po/POTFILES.in
> @@ -1,11 +1,10 @@
> 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 c35f348..7083958 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: 2020-08-04 15:44+0000\n"
> +"POT-Creation-Date: 2021-04-14 12:00+0000\n"
> "PO-Revision-Date: 2018-02-01 14:05+0000\n"
> "Last-Translator: Michael Tremer <michael.tremer(a)ipfire.org>\n"
> "Language-Team: German\n"
> @@ -217,8 +217,7 @@ msgstr ""
> msgid "AS%(asn)s belongs to %(name)s"
> msgstr ""
> 
> -#, python-format
> -msgid "The datase has recently be updated recently (%s)"
> +msgid "The database has been updated recently"
> msgstr ""
> 
> msgid "You must at least pass one flag"
> -- 
> 2.31.1
> 


  reply	other threads:[~2021-04-14 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14 12:02 Valters Jansons
2021-04-14 15:20 ` Michael Tremer [this message]
2021-04-14 15:51   ` Valters Jansons
2021-04-15 10:58     ` Michael Tremer
2021-04-15 11:52       ` Valters Jansons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6607D0DB-1954-458B-AF57-4E276A092D99@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=location@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox