From dd2e6e5c226269bc6c717124739521a5a19e3697 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 14 Aug 2001 20:25:34 +0000 Subject: in default_user: 2001-08-14 Peter Williams * searches.xml: Rename 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 --- filter/ChangeLog | 5 +++++ filter/filter-rule.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'filter') 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); -- cgit v1.2.3