pspp-dev
[Top][All Lists]
Advanced

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

Some strings are not being translated


From: Michel Boaventura
Subject: Some strings are not being translated
Date: Wed, 05 May 2010 04:50:27 -0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

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




reply via email to

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