From owner-freebsd-questions Fri May 18 11:47:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-64-193-218-89.telocity.com (dsl-64-193-218-89.telocity.com [64.193.218.89]) by hub.freebsd.org (Postfix) with SMTP id 1E0A837B42C for ; Fri, 18 May 2001 11:47:20 -0700 (PDT) (envelope-from lucas@slb.to) Received: (qmail 11589 invoked by uid 1000); 18 May 2001 18:47:34 -0000 Date: Fri, 18 May 2001 13:47:34 -0500 From: Lucas Bergman To: j mckitrick Cc: freebsd-questions@freebsd.org Subject: Re: OT: odd string type question Message-ID: <20010518134734.A29486@billygoat.slb.to> Reply-To: lucas@slb.to References: <20010518174841.A94130@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518174841.A94130@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Fri, May 18, 2001 at 05:48:41PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I was rooting around in some code for a gtk email client, and i > found many strings defined like this: > > _("string here") > > and then they are passed to various functions. The prototypes and > function headers say they are gchar *, but i still don't get it. > What does _() do? Those are usually gettext() calls. Check out the documentation for gettext at gnu.org. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message