bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mario Blättermann
Subject: [bug #58936] Strange prefix of a message in grub-mknetdir.c
Date: Tue, 11 Aug 2020 10:23:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?58936>

                 Summary: Strange prefix of a message in grub-mknetdir.c
                 Project: GNU GRUB
            Submitted by: 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: 
        Originator Email: 
             Open/Closed: Open
                 Release: 
                 Release: Git master
         Discussion Lock: Any
         Reproducibility: None
         Planned Release: None

    _______________________________________________________

Details:

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





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58936>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]