[PATCH] Additional translations for scramble 0.2.0

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Sep 20 15:31:27 CEST 2005


Edscott Wilson Garcia wrote:
> Huh? You mean: 
> 
> #ifdef ENABLE_NLS
> #define M_(Format1,Format2,N) ngettext(Format1,Format2,N)
> #else
> #define M_(Format1,Format2,N) Format1
> #endif
> 
> I currently have no idea under what circumstances dngettext and
> dcngettext should be used in lieu of ngettext. 

ngettext() shouldn't be used as that will always use the default domain 
rather than what is specified in GETTEXT_PACKAGE, which is not suitable 
for plugins, libraries, etc.

Benedikt



More information about the Xfce4-dev mailing list