[Yum-devel] [PATCH] Run msgfmt using the python-format annotations

Seth Vidal skvidal at fedoraproject.org
Mon Jul 27 12:45:53 UTC 2009



On Sun, 26 Jul 2009, James Antill wrote:

> From: Mads Kiilerich <mads at kiilerich.com>
>
> This patch detects errors like "Memory %s" => "Hukommelse %a"
> ---
> po/Makefile |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/po/Makefile b/po/Makefile
> index 31257c4..aad596a 100644
> --- a/po/Makefile
> +++ b/po/Makefile
> @@ -69,4 +69,4 @@ install:	all
> 	done
>
> %.mo: %.po
> -	msgfmt -o $@ $<
> +	msgfmt -o $@ $< -c
> --

I saw that one last night too. I didn't know the -c option existed but it 
would have saved us from at least 3 bugs that I know of, so definitely 
commit it.

thanks,
-sv



More information about the Yum-devel mailing list