[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] remove textdomain()

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2005-07-24 08:04:58 CEST

Hi,

In <42E0EF04.1020004@btopenworld.com>
  "Re: [PATCH] remove textdomain()" on Fri, 22 Jul 2005 14:05:08 +0100,
  Julian Foad <julianfoad@btopenworld.com> wrote:

> > We can remove textdomain(PACKAGE_NAME) by replacing all
> > gettext(x) with dgettext(PACKAGE_NAME, x).
> >
> > textdomain(PACKAGE_NAME) sets PACKAGE_NAME to the current
> > message domain. This is not good thing for svn library
> > users. Some users who assume that their current message
> > domain is MY_PACKAGE_NAME may get some troubles.
> >
> > And gettext(x) call may cause some troubles when svn library
> > user changes the current message domain to MY_PACKAGE_NAME.
>
> I don't know much about "gettext" but this sounds like a good idea.

Thank you.

> > [[[
> > Remove textdomain(), gettext() and dgettext(). Use _()
> > instead of gettext() and dgettext().
>
> Please state the purpose of the change first, before (or instead of) giving
> these implementation details.

What about the following new description?:

  Give svn libraries independence from the current message
  domain. Specify the message domain each time.

Cheers,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 24 08:07:00 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.