[PATCH] dive.c: set some of units for localization

Lubomir I. Ivanov neolit123 at gmail.com
Wed Oct 17 14:56:43 PDT 2012


On 18 October 2012 00:16, Dirk Hohndel <dirk at hohndel.org> wrote:
> Ok, I pushed this. You consistently used the wrong macro (I took the
> liberty to fix that).
>
> N_("...") only marks a string as something that needs to be translated
> without any runtime effect. Use that for initializations of arrays where
> C requires you to have a constant expression.
>
> _("...") is the one that you usually want to use to localize random text
> inside the program code. It both marks the text for translations and has
> the runtime effect of looking up that translation.
>

sorry, i'm quite new to gettext().

lubomir
--


More information about the subsurface mailing list