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
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to