From: Nick Clifton Date: Wed, 2 Jan 2002 15:55:48 +0000 (+0000) Subject: Fix spelling typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af6dfb5b796c2e987b120550971b12efea54e16b;p=binutils-gdb.git Fix spelling typo. Reformat messages to ease translation into other languages. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 264dd2d35e2..81b072dc70b 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,10 @@ +2002-01-02 Nick Clifton + + * cg_print.c (print_header): Fix spelling typo. + + * gmon_io.c (gmon_out_read): Fix formatting of text messages to + allow easier translation into other languages. + 2001-12-21 Nick Clifton * configure.in (ALL_LINGUAS): Add sv. diff --git a/gprof/cg_print.c b/gprof/cg_print.c index 0a80cca85b7..696a07354f9 100644 --- a/gprof/cg_print.c +++ b/gprof/cg_print.c @@ -1,6 +1,6 @@ /* cg_print.c - Print routines for displaying call graphs. - Copyright 2000, 2001 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -75,7 +75,7 @@ DEFUN_VOID (print_header) printf ("%6.6s %5.5s %7.7s %11.11s %7.7s/%-7.7s %-8.8s\n", "", "", "", "", _("called"), _("total"), _("parents")); printf ("%-6.6s %5.5s %7.7s %11.11s %7.7s+%-7.7s %-8.8s\t%5.5s\n", - _("index"), _("%time"), _("self"), _("descendents"), + _("index"), _("%time"), _("self"), _("descendants"), _("called"), _("self"), _("name"), _("index")); printf ("%6.6s %5.5s %7.7s %11.11s %7.7s/%-7.7s %-8.8s\n", "", "", "", "", _("called"), _("total"), _("children")); diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c index cff132cb5aa..207e3d0aca2 100644 --- a/gprof/gmon_io.c +++ b/gprof/gmon_io.c @@ -447,12 +447,12 @@ DEFUN (gmon_out_read, (filename), const char *filename) { printf (_("File `%s' (version %d) contains:\n"), filename, gmon_file_version); - printf (_("\t%d histogram record%s\n"), - nhist, nhist == 1 ? "" : "s"); - printf (_("\t%d call-graph record%s\n"), - narcs, narcs == 1 ? "" : "s"); - printf (_("\t%d basic-block count record%s\n"), - nbbs, nbbs == 1 ? "" : "s"); + printf (ngettext ("\t%d histogram record\n", + "\t%d histogram records\n", nhist), nhist); + printf (ngettext ("\t%d call-graph record\n", + "\t%d call-graph records\n", narcs), narcs); + printf (ngettext ("\t%d basic-block count record\n", + "\t%d basic-block count records\n", nbbs), nbbs); first_output = FALSE; } }