[virt-tools-list] [libosinfo v3 3/3] Steal libvirt magic for picking translation files

Christophe Fergeau cfergeau at redhat.com
Wed Oct 31 09:19:21 UTC 2012


On Tue, Oct 30, 2012 at 11:08:53PM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> This is needed since we don't want to have a static LINGUAS file.

Why don't we want that? Not that I disagree, just that you are stating
something as obvious, while it is not to me. Won't translators get confused
by the missing LINGUAS file? or will we be committing translations
ourselves anyway?

Apart from that, patch looks good to me.

Christophe

> ---
>  configure.ac | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 8741756..e3e4dd5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -21,6 +21,8 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[The name of the gette
>  AM_GNU_GETTEXT([external])
>  AM_GNU_GETTEXT_VERSION([0.17])
>  
> +ALL_LINGUAS=`cd "$srcdir/po" > /dev/null && ls *.po | sed 's+\.po$++'`
> +
>  # Autoconf 2.61a.99 and earlier don't support linking a file only
>  # in VPATH builds.  But since GNUmakefile is for maintainer use
>  # only, it does not matter if we skip the link with older autoconf.
> -- 
> 1.7.12.1
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121031/c4bff10c/attachment.sig>


More information about the virt-tools-list mailing list