aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-label.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-18 02:31:19 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-18 02:31:19 +0800
commit6485e5fcf75cd73418204e444418925134e3bdab (patch)
tree7aef4e71a0877b6dc015803b89fa92932a6ff6be /filter/filter-label.c
parent7a069d4e58343122fad8dbe7d0474595a7e91fd1 (diff)
downloadgsoc2013-evolution-6485e5fcf75cd73418204e444418925134e3bdab.tar.gz
gsoc2013-evolution-6485e5fcf75cd73418204e444418925134e3bdab.tar.zst
gsoc2013-evolution-6485e5fcf75cd73418204e444418925134e3bdab.zip
Use the U_() macro to get the UTF-8 translation.
2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * filter-label.c (xml_create): Use the U_() macro to get the UTF-8 translation. svn path=/trunk/; revision=17495
Diffstat (limited to 'filter/filter-label.c')
-rw-r--r--filter/filter-label.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/filter/filter-label.c b/filter/filter-label.c
index f7534a08b1..c7c44fbb0f 100644
--- a/filter/filter-label.c
+++ b/filter/filter-label.c
@@ -36,6 +36,7 @@
#include <libgnomeui/gnome-dialog-util.h>
#include <libgnomeui/gnome-file-entry.h>
#include <gal/widgets/e-unicode.h>
+#include <gal/util/e-unicode-i18n.h>
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-generic-factory.h>
@@ -183,14 +184,15 @@ xml_create (FilterElement *fe, xmlNodePtr node)
CORBA_exception_free (&ev);
for (i=0;i<sizeof(labels)/sizeof(labels[0]);i++) {
- char *title, *btitle;
+ const char *title;
+ char *btitle;
if (db == CORBA_OBJECT_NIL
|| (title = btitle = bonobo_config_get_string(db, labels[i].path, NULL)) == NULL) {
btitle = NULL;
- title = labels[i].title;
+ title = U_(labels[i].title);
}
-
+
filter_option_add(fo, labels[i].value, title, NULL);
g_free(btitle);
}