diff options
author | Tom Tromey <tromey@redhat.com> | 1998-04-22 07:33:42 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1998-04-22 07:33:42 +0000 |
commit | 16a02269fc8d2cf0f25b40d16a70087bb315a653 (patch) | |
tree | ec21066ad4af150303e3fe7bbbd4b32399449c96 /gprof/source.c | |
parent | 1a9136e2253b2464a36cb9deabfc5da70900f036 (diff) | |
download | gdb-16a02269fc8d2cf0f25b40d16a70087bb315a653.zip gdb-16a02269fc8d2cf0f25b40d16a70087bb315a653.tar.gz gdb-16a02269fc8d2cf0f25b40d16a70087bb315a653.tar.bz2 |
* gprof.h: Added includes and defines for gettext.
* configure.in (ALL_LINGUAS): New macro.
Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* gprof.c (main): Call setlocale, bindtextdomain, textdomain.
* Makefile.am (SUBDIRS): New macro.
(INCLUDES): Look in intl dirs for headers. Define LOCALEDIR.
(gprof_DEPENDENCIES): Added INTLDEPS.
(gprof_LDADD): Added INTLLLIBS.
(POTFILES): New macro.
(po/POTFILES.in): New target.
* Many files: Wrap user-visible strings with gettext invocation.
Diffstat (limited to 'gprof/source.c')
-rw-r--r-- | gprof/source.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/source.c b/gprof/source.c index 4421e3f..4901a04 100644 --- a/gprof/source.c +++ b/gprof/source.c @@ -137,7 +137,7 @@ DEFUN (annotate_source, (sf, max_width, annote, arg), { if (errno == ENOENT) { - fprintf (stderr, "%s: could not locate `%s'\n", + fprintf (stderr, _("%s: could not locate `%s'\n"), whoami, sf->name); } else @@ -197,7 +197,7 @@ DEFUN (annotate_source, (sf, max_width, annote, arg), { fprintf (ofp, "\f\n"); } - fprintf (ofp, "*** File %s:\n", sf->name); + fprintf (ofp, _("*** File %s:\n"), sf->name); } annotation = xmalloc (max_width + 1); |