<commit_before><?xml version="1.0" standalone="no"?>
<!DOCTYPE swatml SYSTEM "http://swat.silverorange.com/swatml1.dtd">
<swatml>
	<widget class="SwatForm" id="my_form">
		<property name="action">index.php?demo=Entry</property>

		<widget class="SwatFormField">
			<property name="title" type="string">Entry</property>
			<widget class="SwatEntry" id="entry">
				<property name="required" type="boolean">true</property>
			</widget>
		</widget>

		<widget class="SwatFormField">
			<property name="title" type="string">Email Entry</property>
			<widget class="SwatEmailEntry" id="email">
				<property name="value" type="string"><EMAIL></property>
				<property name="required" type="boolean">true</property>
			</widget>
		</widget>

		<widget class="SwatFormField">
			<property name="title">List Entry</property>
			<property name="note">Entries are delimited by commas.</property>
			<widget class="SwatListEntry" id="list">
				<property name="values[]">orange</property>
				<property name="values[]">apple</property>
				<property name="values[]">banana</property>
				<property name="values[]">grapefruit</property>
				<property name="values[]">mango</property>
				<property name="required" type="boolean">true</property>
				<property name="max_entries" type="integer">5</property>
				<property name="minlength" type="integer">5</property>
				<property name="maxlength" type="integer">10</property>
			</widget>
		</widget>
	
		<widget class="SwatFormField">
			<property name="title" type="string">Enter Search</property>
			<widget class="SwatSearchEntry" />
		</widget>
			
		<widget class="SwatFormField">
			<property name="title" type="string">Integer Entry</property>
			<widget class="SwatIntegerEntry" id="integer" />
		</widget>

		<widget class="SwatFormField">
			<property name="title" type="string">Float Entry</property>
			<widget class="SwatFloatEntry" id="float" />
		</widget>

		<widget class="swatFormField">
			<property name="title">Percentage Entry</property>
			<widget class="SwatPercentageEntry" id="percentage"/>
		</widget>

		<widget class="SwatFormField">
			<property name="title" type="string">Money Entry (Canadian Dollars)</property>
			<widget class="SwatMoneyEntry" id="money_CA">
				<property name="value" type="float">1234567.89</property>
				<property name="locale">en_CA</property>
				<property name="display_currency" type="boolean">true</property>
			</widget>
		</widget>

		<widget class="SwatFormField">
			<property name="title" type="string">Money Entry (British Pounds)</property>
			<widget class="SwatMoneyEntry" id="money_FR">
				<property name="value" type="float">1234567.89</property>
				<property name="locale">en_GB</property>
				<property name="display_currency" type="boolean">true</property>
			</widget>
		</widget>

		<widget class="SwatFooterFormField">
			<widget class="SwatButton">
				<property name="title" type="string">Validate</property>
			</widget>
		</widget>
	</widget>
</swatml>
<commit_msg>Use a simpler locale that has an ASCII representation of currency symbol for money entry demo.<commit_after><?xml version="1.0" standalone="no"?>
<!DOCTYPE swatml SYSTEM "http://swat.silverorange.com/swatml1.dtd">
<swatml>
	<widget class="SwatForm" id="my_form">
		<property name="action">index.php?demo=Entry</property>

		<widget class="SwatFormField">
			<property name="title" type="string">Entry</property>
			<widget class="SwatEntry" id="entry">
				<property name="required" type="boolean">true</property>
			</widget>
		</widget>

		<widget class="SwatFormField">
			<property name="title" type="string">Email Entry</property>
			<widget class="SwatEmailEntry" id="email">
				<property name="value" type="string"><EMAIL></property>
				<property name="required" type="boolean">true</property>
			</widget>
		</widget>

		<widget class="SwatFormField">
			<property name="title">List Entry</property>
			<property name="note">Entries are delimited by commas.</property>
			<widget class="SwatListEntry" id="list">
				<property name="values[]">orange</property>
				<property name="values[]">apple</property>
				<property name="values[]">banana</property>
				<property name="values[]">grapefruit</property>
				<property name="values[]">mango</property>
				<property name="required" type="boolean">true</property>
				<property name="max_entries" type="integer">5</property>
				<property name="minlength" type="integer">5</property>
				<property name="maxlength" type="integer">10</property>
			</widget>
		</widget>
	
		<widget class="SwatFormField">
			<property name="title" type="string">Enter Search</property>
			<widget class="SwatSearchEntry" />
		</widget>
			
		<widget class="SwatFormField">
			<property name="title" type="string">Integer Entry</property>
			<widget class="SwatIntegerEntry" id="integer" />
		</widget>

		<widget class="SwatFormField">
			<property name="title" type="string">Float Entry</property>
			<widget class="SwatFloatEntry" id="float" />
		</widget>

		<widget class="swatFormField">
			<property name="title">Percentage Entry</property>
			<widget class="SwatPercentageEntry" id="percentage"/>
		</widget>

		<widget class="SwatFormField">
			<property name="title" type="string">Money Entry (Canadian Dollars)</property>
			<widget class="SwatMoneyEntry" id="money_CA">
				<property name="value" type="float">12345.67</property>
				<property name="locale">en_CA</property>
				<property name="display_currency" type="boolean">true</property>
			</widget>
		</widget>

		<widget class="SwatFormField">
			<property name="title" type="string">Money Entry (Brazillian Reais)</property>
			<widget class="SwatMoneyEntry" id="money_BR">
				<property name="value" type="float">12345.67</property>
				<property name="locale">pt_BR</property>
				<property name="display_currency" type="boolean">true</property>
			</widget>
		</widget>

		<widget class="SwatFooterFormField">
			<widget class="SwatButton">
				<property name="title" type="string">Validate</property>
			</widget>
		</widget>
	</widget>
</swatml>

{'fraction_non_alphanumeric': 0.17759788534610937, 'fraction_numerical': 0.007599537419461424, 'mean_word_length': 5.60196292257361, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 2, '>': 209, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5803671', 'n_tokens_mistral': 2199, 'n_tokens_neox': 1849, 'n_words': 359}