pspp-dev
[Top][All Lists]
Advanced

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

Re: Some strings are not being translated


From: John Darrington
Subject: Re: Some strings are not being translated
Date: Wed, 5 May 2010 18:40:15 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

Yes.  That patch looks correct.  

Feel free to push it to git.

J'


On Wed, May 05, 2010 at 04:50:27AM -0300, Michel Boaventura wrote:
> While trying to fix the problem with non-ascii chars,
> I've found that some strings are not beint translated. I think
> this patch should fix it. What you think?
>
> index ece7281..3826a21 100644
> --- a/src/ui/gui/psppire-var-store.c
> +++ b/src/ui/gui/psppire-var-store.c
> @@ -667,10 +667,10 @@ text_for_column (PsppireVarStore *vs,
>           case FMT_DTIME:
>           case FMT_WKDAY:
>           case FMT_MONTH:
> -           return g_locale_to_utf8 (type_label[VT_DATE], -1, 0, 0, err);
> +           return g_locale_to_utf8 (gettext (type_label[VT_DATE]), -1,  
> 0, 0, err);
>             break;
>           case FMT_DOLLAR:
> -           return g_locale_to_utf8 (type_label[VT_DOLLAR], -1, 0, 0, err);
> +           return g_locale_to_utf8 (gettext (type_label[VT_DOLLAR]),  
> -1, 0, 0, err);
>             break;
>           case FMT_CCA:
>           case FMT_CCB:
>
>
> Michel
>
>
> _______________________________________________
> pspp-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/pspp-dev

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]