Re: [evolution-patches] i18n for eplugins



On Fri, 2005-05-06 at 11:25 +0530, Not Zed wrote:
> 
> 
> Hi guys,
> 
> I've worked out a sane method for i18n for eplugins using similar
> mechanisms to other xml data.  Including fixing the error stuff not to
> need e-error-tool anymore.
> 
> Attached is a patch which should fix it all up for
> mailing-list-actions and the plugin-manager plugins.
> 
> Several major changes:
> 
> eplugin files should be stored in cvs to end in '.eplug.xml'  rather
> than '.eplug.in'.  This is so the i18n extractor knows it is an xml
> file.  I could have chosen '.eplug.xml.in' which also works, but that
> seems to add unecessary mess.

Could we just add:

INTLTOOL_EPLUGIN_RULE='%.eplug:      %.eplug.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 

to either acinclude.m4 or upstream it?  That way we don't get the ugly
extra extension and we can handle the the same as .server files.

> I _presume_ this will make make dist work ... :)

There are a few other issues (not related to e-error), but this
definitely helps.

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]