bugGNU GRUB - Bugs: bug #58936, Strange prefix of a message in...

 
 

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

bug #58936: Strange prefix of a message in grub-mknetdir.c

Submitter:  Mario Blättermann <mariobl70>
Submitted:  Tue 11 Aug 2020 02:23:55 PM UTC
Votes: 1
 
Category:  Documentation Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  None
Planned Release:  None

Sat 29 Jan 2022 10:42:14 AM UTC, comment #1: 

It would be kind if you could fix this, as this breaks the entire po4a workflow and needs special casing to avoid this.

Helge Kreutzmann <kreutzm>
Tue 11 Aug 2020 02:23:55 PM UTC, original submission:  

Hello,

I'm translating the Grub man pages into German [1]. Using po4a [2] for creating gettext catalogs, the following part of grub-mknetdir.c produces an error message saying that \v shouldn't be part of a translatable string:


struct argp argp = {
  options, argp_parser, NULL,
  "\v"N_("Prepares GRUB network boot images at net_directory/subdir "
         "assuming net_directory being TFTP root."),
  NULL, grub_install_help_filter, NULL


The »\v« goes literally into the gettext message. But obviously it doesn't have any purpose. It is neither visible in the output of »man grub-mknetdir« nor in the output with --help (which is actually the source of the man page because you use help2man), it is shown as a non-printable character when I view the unpacked Groff source in a text editor, and the HTML output shows a question mark [3][4].

[1] https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/tree/master
[2] https://po4a.org/index.php
[3] https://jlk.fjfi.cvut.cz/arch/manpages/man/core/grub/grub-mknetdir.1.en
[4] https://manpages.debian.org/unstable/grub-common/grub-mknetdir.1.en.html

Mario Blättermann <mariobl70>

 

(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 kreutzm (Posted a comment)
  • -email is unavailable- added by kreutzm (Voted in favor of this item)
  • -email is unavailable- added by mariobl70 (Submitted the item)
  • -email is unavailable- added by mariobl70
  • -email is unavailable- added by mariobl70
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-29 kreutzm Carbon-Copy- Added kreutzm
    2020-08-11 mariobl70 Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code