[et-mgmt-tools] [PATCH 1/2] Build and install locale files if present.

Cole Robinson crobinso at redhat.com
Mon Jul 2 20:26:37 UTC 2007

This patch contains the necessary changes to the build/install process 
to accommodate locale files. The main changes are in the setup.py script 
where several operations were overloaded to

	1) Build any .po files it finds in the po directory to .mo
	2) Place these files in INSTALLROOT/share/locale as appropriate
	3) Do appropriate locale path replacement in __init__.py so
		virtinst knows where to find the locale files.

I'm not sure if their is a better place for the gettext includes than 
__init__.py, but it seems to work for the library and the scripts that 
use it (virt-install and virt-clone).


Cole Robinson
crobinso at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtinst-i18n-install.patch
Type: text/x-patch
Size: 24668 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070702/d54ace33/attachment.bin>

More information about the et-mgmt-tools mailing list