aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-10-21 04:57:51 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-10-21 04:57:51 +0800
commit752dafc3904e7cb441a1892ae20f6eb1859fe627 (patch)
tree5c53793f22764455cc43903ae865fb1f0e899fa9
parent603c0228de30416b3c530a8d1eaeb6fa03dcba55 (diff)
downloadgsoc2013-evolution-752dafc3904e7cb441a1892ae20f6eb1859fe627.tar
gsoc2013-evolution-752dafc3904e7cb441a1892ae20f6eb1859fe627.tar.gz
gsoc2013-evolution-752dafc3904e7cb441a1892ae20f6eb1859fe627.tar.bz2
gsoc2013-evolution-752dafc3904e7cb441a1892ae20f6eb1859fe627.tar.lz
gsoc2013-evolution-752dafc3904e7cb441a1892ae20f6eb1859fe627.tar.xz
gsoc2013-evolution-752dafc3904e7cb441a1892ae20f6eb1859fe627.tar.zst
gsoc2013-evolution-752dafc3904e7cb441a1892ae20f6eb1859fe627.zip
Translate the rule names. (Bug #13082)
2001-10-20 Jon Trowbridge <trow@ximian.com> * rule-editor.c (set_source): Translate the rule names. (Bug #13082) svn path=/trunk/; revision=13827
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/rule-editor.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 63685b71cb..57b20f2916 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-20 Jon Trowbridge <trow@ximian.com>
+
+ * rule-editor.c (set_source): Translate the rule names. (Bug
+ #13082)
+
2001-10-17 Ettore Perazzoli <ettore@ximian.com>
* filter-folder.c (button_clicked): Pass the toplevel to
diff --git a/filter/rule-editor.c b/filter/rule-editor.c
index 68b77ab0ae..decdee85a2 100644
--- a/filter/rule-editor.c
+++ b/filter/rule-editor.c
@@ -29,6 +29,7 @@
#include <glade/glade.h>
#include <gal/widgets/e-unicode.h>
+#include <e-util/e-unicode-i18n.h>
#include "rule-editor.h"
#include "rule-context.h"
#include "filter-rule.h"
@@ -448,7 +449,7 @@ set_source (RuleEditor *re, const char *source)
char *s;
d(printf(" hit %s(%d)\n", rule->name, source));
- s = e_utf8_to_gtk_string (GTK_WIDGET (re->list), rule->name);
+ s = e_utf8_to_gtk_string (GTK_WIDGET (re->list), U_(rule->name));
item = gtk_list_item_new_with_label (s);
g_free (s);
gtk_object_set_data (GTK_OBJECT (item), "rule", rule);