mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
* 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.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1983 Regents of the University of California.
|
||||
* Copyright (c) 1983, 1998 Regents of the University of California.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
@ -90,7 +90,7 @@ DEFUN (print_name, (self), Sym * self)
|
||||
|
||||
if (self->cg.cyc.num != 0)
|
||||
{
|
||||
printf (" <cycle %d>", self->cg.cyc.num);
|
||||
printf (_(" <cycle %d>"), self->cg.cyc.num);
|
||||
}
|
||||
if (self->cg.index != 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user