Re: GIMP menu items



Hi,

Karl Eichwalder <keichwa@gmx.net> writes:

>    Now all the strings are different and if now instead of `gettext'
> the following little wrapper function is used, everything works just
> fine:
> 
>        char *
>        sgettext (const char *msgid)
>        {
>          char *msgval = gettext (msgid);
>          if (msgval == msgid)
>            msgval = strrchr (msgid, '|') + 1;
>          return msgval;
>        }

this looks reasonable and should be easy to integrate in the menu
translation code. I will look into doing this as soon as possible.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]