Reformat messages to ease translation into other languages.
+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.
/* 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.
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"));
{
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;
}
}