[MonoDevelop] Missing translation strings

Chris Howie cdhowie at gmail.com
Wed Feb 25 16:03:24 EST 2009


On Wed, Feb 25, 2009 at 3:59 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> Hmm, fixing this one will cause some headaches, since all the propgrid
> info is provided via attributes, which can't be translated using
> gettext -- attribute values must be static.
>
> A hacky way to fix it would be to add dummy strings somewhere, for the
> catalog, then make gettext calls on the code that uses the attribute
> values, but I'd prefer a neater solution.

That's not a completely bad idea, if you use something like
"{type.FullName}::{member.Name}" as the key.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Monodevelop-list mailing list