Fix spelling typo.

Reformat messages to ease translation into other languages.
This commit is contained in:
Nick Clifton 2002-01-02 15:55:48 +00:00
parent 5eefb65fea
commit af6dfb5b79
3 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
* 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 <nickc@cambridge.redhat.com>
* configure.in (ALL_LINGUAS): Add sv.

View File

@ -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"));

View File

@ -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;
}
}