aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
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);