summaryrefslogtreecommitdiff
path: root/lib/ChangeLog
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-12-16 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-12-16 10:01:52 +0000
commitb20fb89782650c437b97b52a5ade8f93573d5c3c (patch)
tree849389144933cd1bdfa811e020e58621b9a23b95 /lib/ChangeLog
parent0a5defb64e94ecb2847b98b2c29155131edeaf97 (diff)
downloadelfutils-b20fb89782650c437b97b52a5ade8f93573d5c3c.tar.gz
lib: consistently use _(Str) instead of gettext(Str)
eu-config.h defines _(Str) to dgettext ("elfutils", Str) instead of a simple gettext (Str) for a reason: the library might be indirectly used by clients that called bindtextdomain with a domain different from "elfutils". The change was made automatically using the following command: $ git grep -l '\<gettext *(' lib |xargs sed -i 's/\<gettext *(/_(/g' Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 48b496ce..3b603bd0 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,10 @@
2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+ * color.c (parse_opt): Replace gettext(...) and
+ dgettext("elfutils, ...) with _(...).
+ * printversion.c (print_version): Replace gettext(...) with _(...).
+ * system.h (sgettext): Likewise.
+
* eu-config.h (_): New macro.
* xmalloc.c (_): Remove.