aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-15 04:25:34 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-15 04:25:34 +0800
commitdd2e6e5c226269bc6c717124739521a5a19e3697 (patch)
treebce6591a7abc8bb973916bd2fe35cebac4270ce2 /filter
parentded0112f6183e85d4b677d9371dddfc136c03ca7 (diff)
downloadgsoc2013-evolution-dd2e6e5c226269bc6c717124739521a5a19e3697.tar
gsoc2013-evolution-dd2e6e5c226269bc6c717124739521a5a19e3697.tar.gz
gsoc2013-evolution-dd2e6e5c226269bc6c717124739521a5a19e3697.tar.bz2
gsoc2013-evolution-dd2e6e5c226269bc6c717124739521a5a19e3697.tar.lz
gsoc2013-evolution-dd2e6e5c226269bc6c717124739521a5a19e3697.tar.xz
gsoc2013-evolution-dd2e6e5c226269bc6c717124739521a5a19e3697.tar.zst
gsoc2013-evolution-dd2e6e5c226269bc6c717124739521a5a19e3697.zip
in default_user:
2001-08-14 Peter Williams <peterw@ximian.com> * searches.xml: Rename <title> to <_title> so that these fields can be translated. in filter: 2001-08-14 Peter Williams <peterw@ximian.com> * filter-rule.c (xml_decode): Match either "title" or "_title" to allow for translations of the title (provided in the default files) svn path=/trunk/; revision=12034
Diffstat (limited to 'filter')
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-rule.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 02ef3cb122..7770246fe9 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-14 Peter Williams <peterw@ximian.com>
+
+ * filter-rule.c (xml_decode): Match either "title" or "_title" to allow
+ for translations of the title (provided in the default files)
+
2001-08-13 Peter Williams <peterw@ximian.com>
* filter-datespec.c (make_span_editor): Add a gettext around our static
diff --git a/filter/filter-rule.c b/filter/filter-rule.c
index 9bcbc1c459..aff01a0f25 100644
--- a/filter/filter-rule.c
+++ b/filter/filter-rule.c
@@ -324,7 +324,7 @@ xml_decode (FilterRule *fr, xmlNodePtr node, RuleContext *f)
while (work) {
if (!strcmp (work->name, "partset")) {
load_set (work, fr, f);
- } else if (!strcmp (work->name, "title")) {
+ } else if (!strcmp (work->name, "title") || !strcmp (work->name, "_title")) {
if (!fr->name) {
gchar *str, *decstr;
str = xmlNodeGetContent (work);