From: Michel Boaventura Date: Wed, 5 May 2010 16:48:03 +0000 (-0700) Subject: psppire: Translate all format type categories, not just some of them. X-Git-Tag: v0.7.5~39 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dc7abd2a759dbb1230547aa032f65a95aa767ec;p=pspp-builds.git psppire: Translate all format type categories, not just some of them. --- diff --git a/src/ui/gui/psppire-var-store.c b/src/ui/gui/psppire-var-store.c index ece72812..403eba84 100644 --- a/src/ui/gui/psppire-var-store.c +++ b/src/ui/gui/psppire-var-store.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2006, 2009 Free Software Foundation + Copyright (C) 2006, 2009, 2010 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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: