Disregard what was in Re: May be we need ggettext
- From: "Sergey I. Panov" <sipan mit edu>
- To: gnome-devel-list gnome org
- Cc: gnome-list gnome org
- Subject: Disregard what was in Re: May be we need ggettext
- Date: Thu, 11 Feb 1999 19:34:35 -0500 (EST)
>
> I found yet another bug translation releated bug. The menu hints do
> not get translated. While it is easy ( amounts to adding 6 characters
> in gnome-app-helper.c) to fix for the application generated hints, it
> is not easy to get hins of the gnome "configurable" menu items
> translated. The fix I see is ugly.
>
> If dgettext(PACKAGE, ... ) was acting as gettext if it failed to find
> translation in the PACKAGE domain, there would have been no problem
> whatsoever. What you think about adding to GNOME ggettext function --
> one that would search in the specified domain and then in the default
> domain? It can easily be implemented using dgettext and strcmp .
Duh! Stupid me ! It is a s simple as:
i8l_hint = gettext (uiinfo->hint);
if (i8l_hint == uiinfo->hint)
i8l_hint = dgettext (PACKAGE, uiinfo->hint);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]