bugGNU gettext - Bugs: bug #50451, gcc-internal-format: don't...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #50451: gcc-internal-format: don't complain when msgid and msgstr differ in count of %< and %>

Submitter:  Roland Illig <rillig>
Submitted:  Fri 03 Mar 2017 10:05:08 PM UTC
Votes: 1
 
Category:  Translator tools Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Wed 18 Jun 2025 05:30:24 AM UTC, comment #4: 

Thanks for looking into this. I tried to reproduce the behavior I originally reported but failed to do so with either gettext-tools 0.22.5 or gettext-tools 0.18.3.1, so I'm unsure what I was looking at back then.

Roland Illig <rillig>
Wed 18 Jun 2025 05:28:23 AM UTC, comment #3: 

Thanks for looking into this. I can neither reproduce the original behavior with gettext-tools 0.22.5 nor with gettext-tools 0.18.3.1, so I'm unsure what I was looking at back then.

Roland Illig <rillig>
Tue 17 Jun 2025 09:56:11 PM UTC, comment #2: 


> xgettext complains about the above translation


Uh? xgettext is not supposed to be used for validating translations; that's the job of "msgfmt -c".

In any case, I cannot reproduce a diagnostic from either xgettext or 'msgfmt -c' here.

Bruno Haible <haible>
Group administrator
Sat 07 Aug 2021 05:58:13 PM UTC, comment #1: 

original submission:

> #, gcc-internal-format
> msgid "Syntax error in OpenMP DEPEND SINK list at %C"
> msgstr "Syntaxfehler in OpenMP-%<DEPEND SINK%>-Liste bei %C"
>
> xgettext complains about the above translation, but since the %< and %> specifiers don't consume any arguments, everything is fine here. Therefore xgettext should not complain.


Remind me if there's a GCC Bugzilla entry about this?

Eric Gallager <egallager>
Fri 03 Mar 2017 10:05:08 PM UTC, original submission:  

#, gcc-internal-format
msgid "Syntax error in OpenMP DEPEND SINK list at %C"
msgstr "Syntaxfehler in OpenMP-%<DEPEND SINK%>-Liste bei %C"

xgettext complains about the above translation, but since the %< and %> specifiers don't consume any arguments, everything is fine here. Therefore xgettext should not complain.

Roland Illig <rillig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by egallager (Posted a comment)
  • -email is unavailable- added by egallager (Voted in favor of this item)
  • -email is unavailable- added by rillig (Submitted the item)
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-06-17 haible StatusNone Works For Me
        Assigned toNone haible
        Open/ClosedOpen Closed
    2021-08-07 egallager Carbon-Copy- Added egallager

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code