bugGNU gettext - Bugs: bug #64334, "fi.po:3435: 'msgstr' is not...

 
 

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

bug #64334: "fi.po:3435: 'msgstr' is not a valid C format string, unlike 'msgid'." when building motion

Submitter:  Sam James <thesamesam>
Submitted:  Wed 21 Jun 2023 08:25:42 PM UTC
   
 
Category:  Programmer tools Severity:  3 - Normal
Item Group:  None Status:  Answer Provided
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Wed 21 Jun 2023 09:05:42 PM UTC, comment #2: 

Until the translator has fixed this, possible workarounds are:
- Mark the relevant message in fi.po with '#, fuzzy', or
- Remove 'fi' from the LINGUAS file.

Bruno Haible <haible>
Group administrator
Wed 21 Jun 2023 08:44:10 PM UTC, comment #1: 

The relevant lines of the fi.po file are:

#, c-format
msgid "Could not allocate %llu bytes of memory!"
msgstr "%Llu-tavua muistia ei voitu varata!"


A directive %Llu is invalid, according to the references of https://www.gnu.org/software/gettext/manual/html_node/c_002dformat.html .

This needs to be fixed by the translator.

Older versions of msgfmt were more sloppy, thus allowing such mistakes to cause bugs at runtime.

Bruno Haible <haible>
Group administrator
Wed 21 Jun 2023 08:25:42 PM UTC, original submission:  

When building motion with gettext-0.22, I get the following failure:
```
rm -f fi.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o fi.gmo fi.po
fi.po:3435: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the character 'l' is not a valid conversion specifier.
/usr/bin/gmsgfmt: found 1 fatal error
fi.po: 989 translated messages.
make[3]: * [Makefile:209: fi.gmo] Error 1
```

I've attached fi.po.

Originally reported downstrea min Gentoo at https://bugs.gentoo.org/908965.

Sam James <thesamesam>

 

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

Attached Files
file #54856:  fi.po added by thesamesam (106KiB - application/octet-stream)

 

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 thesamesam (Submitted the item)
  •  

    There are 0 votes 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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-21 haible CategoryEnd-user / runtime Programmer tools
        StatusNone Answer Provided
        Assigned toNone haible
        Open/ClosedOpen Closed
    2023-06-21 thesamesam Attached File- Added fi.po, #54856

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code