public inbox for gcc-rust@gcc.gnu.org
 help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-rust@gcc.gnu.org
Subject: [Bug translation/108890] Translation mistakes 2023
Date: Thu, 23 Feb 2023 22:27:21 +0000	[thread overview]
Message-ID: <bug-108890-35322-eczvbWXgmY@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-108890-35322@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108890

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:7423f5b56ad436f51ac1b9defb954e2bdc5b06ab

commit r13-6307-g7423f5b56ad436f51ac1b9defb954e2bdc5b06ab
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Feb 23 23:26:43 2023 +0100

    xtensa: Fix up fatal_error message strings in xtensa-dynconfig.c [PR108890]

    The translation PR complains that these 4 messages from xtensa-dynconfig.c
    are marked in po/gcc.pot as c-format (which doesn't allow %qs) while they
    should be gcc-internal-format.

    The problem is in the manual translation of the strings with _(),
    that should be both unnecessary because fatal_error invokes _() on its
    argument already, but also incorrect for the above reason, for
    gcc-internal-format strings one should use G_("...") instead if really
    needed.

    The following patch drops those _("..."), tested by regenerating po/gcc.pot
    to see they are now gcc-internal-format, but not really tested on xtensa
    target.

    2023-02-23  Jakub Jelinek  <jakub@redhat.com>

            PR translation/108890
            * config/xtensa/xtensa-dynconfig.c (xtensa_load_config): Drop _()s
            around fatal_error format strings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-02-23 22:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-108890-35322@http.gcc.gnu.org/bugzilla/>
2023-02-23  9:05 ` tschwinge at gcc dot gnu.org
2023-02-23  9:24 ` jakub at gcc dot gnu.org
2023-02-23 10:36 ` jakub at gcc dot gnu.org
2023-02-23 14:28 ` cvs-commit at gcc dot gnu.org
2023-02-23 22:27 ` cvs-commit at gcc dot gnu.org [this message]
2024-01-16 17:39 ` cvs-commit at gcc dot gnu.org

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=bug-108890-35322-eczvbWXgmY@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-rust@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).