This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/79922] New: i18n: unnecessary plural form translation in "passing argument %d"


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

            Bug ID: 79922
           Summary: i18n: unnecessary plural form translation in "passing
                    argument %d"
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

from c-family/c-warn.c:

  warning_at_rich_loc_n (&richloc, OPT_Wrestrict, arg_positions.length (),
                         "passing argument %i to restrict-qualified parameter"
                         " aliases with argument %Z",
                         "passing argument %i to restrict-qualified parameter"
                         " aliases with arguments %Z",
                         param_pos + 1, arg_positions.address (),
                         arg_positions.length ());

Translating plural forms is only necessary when the sentence contains "%i
argument(s)", but not when it contains "argument %i".

There are several other places where "argument %d" appears in the i18n
messages, apparently without any complaints by translators.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]