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

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

Tue 11 Aug 2020 02:23:55 PM UTC, original submission:  


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>


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 mariobl70 (Submitted the item)
  • -email is unavailable- added by mariobl70
  • -email is unavailable- added by mariobl70

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-11 mariobl70 Carbon-Copy- => Added debian@helgefjell.de
        Carbon-Copy- => Added rafaelff@gnome.org

    Back to the top

    Powered by Savane 3.5