* The base Unicode standard is now updated to 14.0.0.
+* xgettext:
+ The xgettext option '--sorted-output' is now deprecated.
+
* Portability:
- Building on macOS 11/arm64 is now supported.
@c This file is part of the GNU gettext manual.
-@c Copyright (C) 1995-2020 Free Software Foundation, Inc.
+@c Copyright (C) 1995-2022 Free Software Foundation, Inc.
@c See the file gettext.texi for copying conditions.
@pindex xgettext
@opindex -s@r{, @code{xgettext} option}
@opindex --sort-output@r{, @code{xgettext} option}
@cindex sorting output of @code{xgettext}
-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
/* Extracts strings from C source file to Uniforum style .po file.
- Copyright (C) 1995-1998, 2000-2016, 2018-2021 Free Software Foundation, Inc.
+ Copyright (C) 1995-1998, 2000-2016, 2018-2022 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
This program is free software: you can redistribute it and/or modify
error (EXIT_FAILURE, 0, _("%s and %s are mutually exclusive"),
"--its", "--language");
+ /* Warn when deprecated options are used. */
+ if (sort_by_msgid)
+ error (EXIT_SUCCESS, 0, _("The option '%s' is deprecated."),
+ "--sort-output");
+
if (explicit_its_filename == NULL)
{
its_dirs = get_search_path ("its");
--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 (_("\