Files
evolution/default_user/searches.xml
Peter Williams dd2e6e5c22 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
2001-08-14 20:25:34 +00:00

86 lines
2.3 KiB
XML

<?xml version="1.0"?>
<filteroptions>
<ruleset>
<rule grouping="any" source="demand">
<_title>Sender contains</_title>
<partset>
<part name="sender">
<value name="sender-type" type="option" value="contains"/>
<value name="sender" type="string"/>
</part>
</partset>
<sources/>
</rule>
<rule grouping="any" source="demand">
<_title>Body or subject contains</_title>
<partset>
<part name="subject">
<value name="subject-type" type="option" value="contains"/>
<value name="subject" type="string"/>
</part>
<part name="body">
<value name="body-type" type="option" value="contains"/>
<value name="word" type="string"/>
</part>
</partset>
<sources/>
</rule>
<rule grouping="any" source="demand">
<_title>Body contains</_title>
<partset>
<part name="body">
<value name="body-type" type="option" value="contains"/>
<value name="word" type="string"/>
</part>
</partset>
<sources/>
</rule>
<rule grouping="any" source="demand">
<_title>Subject contains</_title>
<partset>
<part name="subject">
<value name="subject-type" type="option" value="contains"/>
<value name="subject" type="string"/>
</part>
</partset>
<sources/>
</rule>
<rule grouping="any" source="demand">
<_title>Body does not contain</_title>
<partset>
<part name="body">
<value name="body-type" type="option" value="not contains"/>
<value name="word" type="string"/>
</part>
</partset>
<sources/>
</rule>
<rule grouping="any" source="demand">
<_title>Subject does not contain</_title>
<partset>
<part name="subject">
<value name="subject-type" type="option" value="not contains"/>
<value name="subject" type="string"/>
</part>
</partset>
<sources/>
</rule>
<rule grouping="any" source="demand">
<_title>Recipients contain</_title>
<partset>
<part name="to">
<value name="recipient-type" type="option" value="contains"/>
<value name="recipient" type="address"/>
</part>
</partset>
<sources/>
</rule>
</ruleset>
</filteroptions>