public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug translation/94698] New: Improper French translation for "override"
@ 2020-04-21 15:38 hermitte at free dot fr
  2020-04-21 15:52 ` [Bug translation/94698] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hermitte at free dot fr @ 2020-04-21 15:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94698
           Summary: Improper French translation for "override"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: translation
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hermitte at free dot fr
  Target Milestone: ---

In several places in fr.po for gcc/g++, the French translation for "overload"
is used instead of the "override" one.

verb: to overload == surcharger
noum: overload    == surcharge
verb: to override == redéfinir (other verbs like "supplanter" would be perfect,
but not widespread)
noum: override    == redéfinition

As these two notions means two completely different and precise things in C++
and in other OO languages, it would be best to keep the distinction in French.


I see the mistake in:

#: cp/class.c:2479
#, gcc-internal-format
msgid "no unique final overrider for %qD in %qT"
msgstr "pas de surcharge finale unique pour %qD dans %qT"

#: cp/class.c:2479
#, gcc-internal-format
msgid "no unique final overrider for %qD in %qT"
msgstr "pas de surcharge finale unique pour %qD dans %qT"


// In this case, I suspect the English error message is incorrect
// and should have used overload
#: cp/class.c:3841
#, gcc-internal-format
msgid "  but does not override %<%T(const %T&)%>"
msgstr "  mais il ne surcharge pas %<%T(const %T&)%>"


// Not sure what this message is about
#: cp/class.c:5039
#, gcc-internal-format
msgid "method overrides both %<transaction_pure%> and %qE methods"
msgstr "la méthode surcharge à la fois les méthodes %<transaction_pure%> et
%qE"

#: cp/class.c:5060
#, gcc-internal-format
msgid "method declared %qE overriding %qE method"
msgstr "la méthode déclarée %qE surcharge la méthode %qE"

#: cp/error.c:4357
#, gcc-internal-format
msgid "override controls (override/final) only available with %<-std=c++11%> or
%<-std=gnu++11%>"
msgstr "le contrôle de la surcharge (override/final) est uniquement disponible
avec %<-std=c++11%> ou %<-std=gnu++11%>"

#: cp/search.c:1890
#, gcc-internal-format
msgid "looser exception specification on overriding virtual function %q+#F"
msgstr "spécification d'exception plus lâche sur la fonction virtuelle
surchargeante %q+#F"

#: cp/search.c:1893
#, gcc-internal-format
msgid "overridden function is %q#F"
msgstr "la fonction surchargée est %q#F"

#: cp/search.c:1964 cp/search.c:1980 cp/search.c:1987 cp/search.c:2005
#, gcc-internal-format
msgid "overridden function is %q#D"
msgstr "la fonction surchargée est %q#D"

#: cp/search.c:2023
#, gcc-internal-format
msgid "overriding %qD declared %<transaction_safe%>"
msgstr "dans la surcharge de %qD déclaré %<transaction_safe%>"

#: cp/search.c:2031
#, gcc-internal-format
msgid "deleted function %q+D overriding non-deleted function"
msgstr "la fonction supprimée %q+D surcharge une fonction non supprimée"

#: cp/search.c:2034 cp/search.c:2043 cp/search.c:2052
#, gcc-internal-format
msgid "overridden function is %qD"
msgstr "la fonction surchargée est %qD"

#: cp/search.c:2040
#, gcc-internal-format
msgid "non-deleted function %q+D overriding deleted function"
msgstr "la fonction non supprimée %q+D surcharge la fonction supprimée"

#: cp/search.c:2050
#, gcc-internal-format
msgid "virtual function %q+D overriding final function"
msgstr "la fonction virtuelle %q+D surcharge une fonction finale"

# ce message est la suite du précédent
#~ msgid "  overriding %q#D"
#~ msgstr "  dans la surcharge de %q#D"

#~ msgid "  overriding %q+#D"
#~ msgstr "  dans la surcharge de %q+#D"

#~ msgid "  overriding %q+#F"
#~ msgstr "  dans la surcharge de %q+#F"

#~ msgid "overriding final function %q+D"
#~ msgstr "surcharge la fonction virtuelle %q+D"



I've found other uses of "surcharge" for "override" in Fortran messages, but I
don't know whether it makes sense in the context of that language.

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

* [Bug translation/94698] Improper French translation for "override"
  2020-04-21 15:38 [Bug translation/94698] New: Improper French translation for "override" hermitte at free dot fr
@ 2020-04-21 15:52 ` redi at gcc dot gnu.org
  2020-04-22 17:03 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2020-04-21 15:52 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-04-21

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Luc Hermitte from comment #0)
> // In this case, I suspect the English error message is incorrect
> // and should have used overload
> #: cp/class.c:3841
> #, gcc-internal-format
> msgid "  but does not override %<%T(const %T&)%>"
> msgstr "  mais il ne surcharge pas %<%T(const %T&)%>"

Agreed, override is wrong here. I think it should be "define".


> // Not sure what this message is about
> #: cp/class.c:5039
> #, gcc-internal-format
> msgid "method overrides both %<transaction_pure%> and %qE methods"
> msgstr "la méthode surcharge à la fois les méthodes %<transaction_pure%> et
> %qE"

Transactional memory. I think "override" is correct here.

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

* [Bug translation/94698] Improper French translation for "override"
  2020-04-21 15:38 [Bug translation/94698] New: Improper French translation for "override" hermitte at free dot fr
  2020-04-21 15:52 ` [Bug translation/94698] " redi at gcc dot gnu.org
@ 2020-04-22 17:03 ` cvs-commit at gcc dot gnu.org
  2020-04-22 22:20 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-22 17:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:c95d1dd7f5ec48e4c6d622b57843aaa25528170b

commit r10-7887-gc95d1dd7f5ec48e4c6d622b57843aaa25528170b
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Apr 22 18:02:38 2020 +0100

    c++: Fix misuse of "override" in -Weffc++ warnings (PR 94698)

    These warnings have nothing to do with virtual functions, so "override"
    is inappropriate. The warnings are just talking about defining special
    members, so let's say that.

            PR translation/94698
            * class.c (check_field_decls): Change "override" to "define" in
            -Weffc++ diagnostics.

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

* [Bug translation/94698] Improper French translation for "override"
  2020-04-21 15:38 [Bug translation/94698] New: Improper French translation for "override" hermitte at free dot fr
  2020-04-21 15:52 ` [Bug translation/94698] " redi at gcc dot gnu.org
  2020-04-22 17:03 ` cvs-commit at gcc dot gnu.org
@ 2020-04-22 22:20 ` cvs-commit at gcc dot gnu.org
  2020-04-25 21:17 ` fmarchal at perso dot be
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-22 22:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:cf88e25a2274f929d4789ca498fa3834836629c9

commit r10-7904-gcf88e25a2274f929d4789ca498fa3834836629c9
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Apr 22 23:18:06 2020 +0100

    c++: Change -Weffc++ diagnostic to use "declare" (PR 94698)

    Change the wording again, for the reasons given by Jason in
    https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544362.html

            PR translation/94698
            * class.c (check_field_decls): Change "define" to "declare" in
            -Weffc++ diagnostics.

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

* [Bug translation/94698] Improper French translation for "override"
  2020-04-21 15:38 [Bug translation/94698] New: Improper French translation for "override" hermitte at free dot fr
                   ` (2 preceding siblings ...)
  2020-04-22 22:20 ` cvs-commit at gcc dot gnu.org
@ 2020-04-25 21:17 ` fmarchal at perso dot be
  2021-10-28  2:33 ` egallager at gcc dot gnu.org
  2022-03-08 13:37 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: fmarchal at perso dot be @ 2020-04-25 21:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Frederic Marchal <fmarchal at perso dot be> ---
French translation has been updated and submitted to the Translation Project.

Thanks for the report.

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

* [Bug translation/94698] Improper French translation for "override"
  2020-04-21 15:38 [Bug translation/94698] New: Improper French translation for "override" hermitte at free dot fr
                   ` (3 preceding siblings ...)
  2020-04-25 21:17 ` fmarchal at perso dot be
@ 2021-10-28  2:33 ` egallager at gcc dot gnu.org
  2022-03-08 13:37 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: egallager at gcc dot gnu.org @ 2021-10-28  2:33 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |trivial
                 CC|                            |egallager at gcc dot gnu.org
           Keywords|                            |diagnostic, easyhack
             Blocks|                            |40883, 81930

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Frederic Marchal from comment #4)
> French translation has been updated and submitted to the Translation Project.
> 
> Thanks for the report.

...so can this be closed now?


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883
[Bug 40883] [meta-bug] Translation breakage with trivial fixes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81930
[Bug 81930] [meta-bug] Issues with -Weffc++

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

* [Bug translation/94698] Improper French translation for "override"
  2020-04-21 15:38 [Bug translation/94698] New: Improper French translation for "override" hermitte at free dot fr
                   ` (4 preceding siblings ...)
  2021-10-28  2:33 ` egallager at gcc dot gnu.org
@ 2022-03-08 13:37 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2022-03-08 13:37 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, I think they were all updated. Luc, please reopen if you see unfixed
examples. Thanks for the report.

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

end of thread, other threads:[~2022-03-08 13:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 15:38 [Bug translation/94698] New: Improper French translation for "override" hermitte at free dot fr
2020-04-21 15:52 ` [Bug translation/94698] " redi at gcc dot gnu.org
2020-04-22 17:03 ` cvs-commit at gcc dot gnu.org
2020-04-22 22:20 ` cvs-commit at gcc dot gnu.org
2020-04-25 21:17 ` fmarchal at perso dot be
2021-10-28  2:33 ` egallager at gcc dot gnu.org
2022-03-08 13:37 ` 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).