public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/104809] New: Explain ELRoND to translators
@ 2022-03-06 21:11 roland.illig at gmx dot de
  2022-03-07  1:21 ` [Bug c++/104809] " pinskia at gcc dot gnu.org
  2022-03-07 10:55 ` redi at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: roland.illig at gmx dot de @ 2022-03-06 21:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104809
           Summary: Explain ELRoND to translators
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

>From cp/module.cc:
> not Encapsulated Lazy Records of Named Declarations

Is this message trying to be funny? As the German translator, I got the
abbreviation, but according to a Google search the GCC source code is the only
place where it is used.

I don't think that elves and dwarfs only live in Middle Earth, and that the
diagnostic thus discriminates elves living in other parts of the world of the
universe, whichever is more inclusive.

Please add a /* TRANSLATORS */ comment above this message, detailing how close
to the words I should translate this message or whether a simple "There are no
elfs in this forest" is enough.  No, I don't have humor.  This is GCC, not an
RPG, so I strongly prefer clear, actionable diagnostics.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/104809] Explain ELRoND to translators
  2022-03-06 21:11 [Bug c++/104809] New: Explain ELRoND to translators roland.illig at gmx dot de
@ 2022-03-07  1:21 ` pinskia at gcc dot gnu.org
  2022-03-07 10:55 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-03-07  1:21 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-03-07
     Ever confirmed|0                           |1
           Severity|normal                      |trivial

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>      error_at (loc, "not Encapsulated Lazy Records of Named Declarations");

Maybe it should be:
      error_at (loc, "encapsulated file in the wrong format, not an ELF
file.");

All of the error messages in elf_in::begin in cp/modules.cc should definitely
be improved, though I don't think they will show up that often.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/104809] Explain ELRoND to translators
  2022-03-06 21:11 [Bug c++/104809] New: Explain ELRoND to translators roland.illig at gmx dot de
  2022-03-07  1:21 ` [Bug c++/104809] " pinskia at gcc dot gnu.org
@ 2022-03-07 10:55 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2022-03-07 10:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Roland Illig from comment #0)
> From cp/module.cc:
> > not Encapsulated Lazy Records of Named Declarations
> 
> Is this message trying to be funny?

Yes. The ELROND format is a pun related to the ELF and DWARF formats.

> As the German translator, I got the
> abbreviation, but according to a Google search the GCC source code is the
> only place where it is used.

It's a GCC-specific format for the C++ modules implementation.

> I don't think that elves and dwarfs only live in Middle Earth, and that the
> diagnostic thus discriminates elves living in other parts of the world of
> the universe, whichever is more inclusive.

:-)

> 
> Please add a /* TRANSLATORS */ comment above this message, detailing how
> close to the words I should translate this message or whether a simple
> "There are no elfs in this forest" is enough.  No, I don't have humor.  This
> is GCC, not an RPG, so I strongly prefer clear, actionable diagnostics.

I like Andrew's suggestion. I agree with him that those errors will be rarely
seen by users. The files are generated and consumed by GCC, it's unlikely
anybody will feed invalid files to GCC and see that error.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-07 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-06 21:11 [Bug c++/104809] New: Explain ELRoND to translators roland.illig at gmx dot de
2022-03-07  1:21 ` [Bug c++/104809] " pinskia at gcc dot gnu.org
2022-03-07 10:55 ` redi at gcc dot gnu.org

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).