[ovirt-devel] new UI i18n mechanism

Einav Cohen ecohen at redhat.com
Tue Dec 15 15:33:20 UTC 2015


[changed thread title since it's a new subject]

> Hmmm, I think we should do something similar in UI's i18n mechanism.

can you please explain/elaborate?

----- Original Message -----
> From: "Vojtech Szocs" <vszocs at redhat.com>
> To: "Allon Mureinik" <amureini at redhat.com>
> Cc: "devel" <devel at ovirt.org>
> Sent: Tuesday, December 15, 2015 10:28:27 AM
> Subject: Re: [ovirt-devel] AppErrors cleanup
> 
> Hmmm, I think we should do something similar in UI's i18n mechanism.
> 
> Vojtech
> 
> 
> ----- Original Message -----
> > From: "Allon Mureinik" <amureini at redhat.com>
> > To: "devel" <devel at ovirt.org>
> > Sent: Sunday, December 13, 2015 1:46:01 PM
> > Subject: Re: [ovirt-devel] AppErrors cleanup
> > 
> > Same has been done for AuditLogMessages.properties (vs. the AuditLogType
> > enum).
> > 
> > On Wed, Jul 29, 2015 at 3:51 PM, Allon Mureinik < amureini at redhat.com >
> > wrote:
> > 
> > 
> > Hi all,
> > 
> > A recent bug [1] reported as part of the translation effort alerted me to
> > the
> > fact that we have a lot (and I mean a LOT - over 100 per file) of
> > deprecated, unused keys in the various AppErrors files that serve no
> > purpose
> > and just take up space and waste translators time when they examine them.
> > 
> > To make a long story short - I've just merged a patch to remove all these
> > useless messages, and enforce via unit tests that EVERY key there should
> > have a corresponding constant in the EngineMessage or EngineError enums.
> > 
> > Many thanks to my reviewers!
> > I know this was an tedious patch that couldn't have been too fun to review.
> > 
> > 
> > -Allon
> > 
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1244766
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 



More information about the Devel mailing list