On Sun, 2009-06-21 at 23:39 -0500, David Siegel wrote:
> We should add an extension method on string:
> 
> public static string Localize (this string self)
> {
>     return AddinManager.CurrentLocalizer.GetString (self);
> }
> 
> So addin strings can be localized like:
> 
> "Hello, World!".Localize ()
> 
> instead.
> 
> Or maybe call it "_" if we can:
> 
> "Hello, World!"._ ()
> 
> David

That's an excellent idea.  The only potential problem here is that I'm
not sure how well gettext will handle extracting those strings into the
pot; I'll give it a whirl and see.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to