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

Re: [dpkg] 16/30: src: Use DEBEXT instead of hard-coding ".deb"



Hi!

On Wed, 2023-10-18 at 18:02:07 +0200, Sven Joachim wrote:
> On 2023-10-18 01:21 +0200, Guillem Jover wrote:
> 
> > diff --git a/src/split/main.c b/src/split/main.c
> > index eba2333c3..c6ae37402 100644
> > --- a/src/split/main.c
> > +++ b/src/split/main.c
> > @@ -87,7 +87,7 @@ usage(const char *const *argv)
> >  "      --root <directory>           Use <directory> instead of %s.\n"
> >  "  -S, --partsize <size>            In KiB, for -s (default is 450).\n"
> >  "  -o, --output <file>              Filename, for -j (default is\n"
> > -"                                     <package>_<version>_<arch>.deb).\n"
> > +"                                     <package>_<version>_<arch>" DEBEXT ").\n"
> >  "  -Q, --npquiet                    Be quiet when -a is not a part.\n"
> >  "      --msdos                      Generate 8.3 filenames.\n"
> >  "\n"), ADMINDIR, PARTSDIR, ADMINDIR, "/");
> 
> Unfortunately this breaks translations.  On my system xgettext failed to
> expand the DEBEXT macro and cut off everything after it from the msgid
> in dpkg.pot.  This is how it looks like:

Err, right, xgettext does not handle anything but literal strings, for
some reason missed that here. I've reverted this part and pushed, thanks!

Thanks,
Guillem


Reply to: