* Programming languages support:
- Glade: xgettext has improved support for GtkBuilder 4.
+* msgmerge:
+ - The msgmerge option '--sorted-output' is now deprecated.
+
Version 0.22 - June 2023
* PO file format:
@c This file is part of the GNU gettext manual.
-@c Copyright (C) 1995-2019 Free Software Foundation, Inc.
+@c Copyright (C) 1995-2023 Free Software Foundation, Inc.
@c See the file gettext.texi for copying conditions.
@pindex msgmerge
@opindex -s@r{, @code{msgmerge} option}
@opindex --sort-output@r{, @code{msgmerge} option}
@cindex sorting @code{msgmerge} output
-Generate sorted output. Note that using this option makes it much harder
-for the translator to understand each message's context.
+Generate sorted output (deprecated). Note that using this option makes it
+much harder for the translator to understand each message's context.
@item -F
@itemx --sort-by-file
error (EXIT_FAILURE, 0, _("%s and %s are mutually exclusive"),
"--sort-output", "--sort-by-file");
+ /* Warn when deprecated options are used. */
+ if (sort_by_msgid)
+ error (EXIT_SUCCESS, 0, _("The option '%s' is deprecated."),
+ "--sort-output");
+
/* In update mode, --properties-input implies --properties-output. */
if (update_mode && input_syntax == &input_format_properties)
output_syntax = &output_format_properties;
--no-wrap do not break long message lines, longer than\n\
the output page width, into several lines\n"));
printf (_("\
- -s, --sort-output generate sorted output\n"));
+ -s, --sort-output generate sorted output (deprecated)\n"));
printf (_("\
-F, --sort-by-file sort output by file location\n"));
printf ("\n");