<commit_before>foo={$foo|usertext}<br />
time={$now}<br />
viewer=<span class="user">{if $viewer}{$viewer->getDisplayName()}{else}null{/if}</span><br />
<hr />

{button_link class="reload" label="reload()" icon="reload"}
{button_link class="popout" label="popOut()"}
{button_link class="popin" label="popIn()"}
{button_link class="load" label="load()"}
{button_link class="load_callback" label="load()+callback"}
{button_link class="remove" label="remove()"}
<hr />

{button_link class="rpc" label="rpc: time()"}
{button_link class="call" label="ajax: test()"}
<hr />

{button_link class="error_500_text_callback" label="err: 500+text+callback"}
{button_link class="error_599_text" label="err: 599+text"}
{button_link class="error_CM_Exception_public_callback" label="err: CM_Exception+public+callback"}
{button_link class="error_CM_Exception_public" label="err: CM_Exception+public"}
{button_link class="error_CM_Exception" label="err: CM_Exception"}
{button_link class="error_CM_Exception_AuthRequired_public_callback" label="err: CM_Exception_AuthRequired+public+callback"}
{button_link class="error_CM_Exception_AuthRequired_public" label="err: CM_Exception_AuthRequired+public"}
{button_link class="error_CM_Exception_AuthRequired" label="err: CM_Exception_AuthRequired"}
<hr />

{form name="CM_Form_Example" viewer=$viewer}
	{formField name='text' label='Text'}
	{formField name='int' label='Integer'}
	{formField name='location' label='Location'}
	{formField name='locationSlider' label='Radius'}
	{formField name='image' label='Upload 0-2 Photos'}
	{formField name='color' label='Color'}
	{formAction action='go' label='Go'}
{/form}

<div class="stream">
	<div class="output"></div>
	{button_link class="ping" label="ajax: ping()"}
</div><commit_msg>Translate CM templates; Translate example template<commit_after><h2>{translate 'This is an example'}</h2>
{if $viewer}{translate 'Hello {$user->getDisplayName()}!' user=$viewer}{/if}<br />
foo={$foo|usertext}<br />
time={$now}<br />
<hr />

{button_link class="reload" label="reload()" icon="reload"}
{button_link class="popout" label="popOut()"}
{button_link class="popin" label="popIn()"}
{button_link class="load" label="load()"}
{button_link class="load_callback" label="load()+callback"}
{button_link class="remove" label="remove()"}
<hr />

{button_link class="rpc" label="rpc: time()"}
{button_link class="call" label="ajax: test()"}
<hr />

{button_link class="error_500_text_callback" label="err: 500+text+callback"}
{button_link class="error_599_text" label="err: 599+text"}
{button_link class="error_CM_Exception_public_callback" label="err: CM_Exception+public+callback"}
{button_link class="error_CM_Exception_public" label="err: CM_Exception+public"}
{button_link class="error_CM_Exception" label="err: CM_Exception"}
{button_link class="error_CM_Exception_AuthRequired_public_callback" label="err: CM_Exception_AuthRequired+public+callback"}
{button_link class="error_CM_Exception_AuthRequired_public" label="err: CM_Exception_AuthRequired+public"}
{button_link class="error_CM_Exception_AuthRequired" label="err: CM_Exception_AuthRequired"}
<hr />

{form name="CM_Form_Example" viewer=$viewer}
	{formField name='text' label="{translate 'Text'}"}
	{formField name='int' label="{translate 'Integer'}"}
	{formField name='location' label="{translate 'Location'}"}
	{formField name='locationSlider' label="{translate 'Radius'}"}
	{formField name='image' label="{translate 'Upload {$count} Photos' count='0-2'}"}
	{formField name='color' label="{translate 'Color'}"}
	{formAction action='go' label="{translate 'Go'}"}
{/form}

<div class="stream">
	<div class="output"></div>
	{button_link class="ping" label="ajax: ping()"}
</div>
{'fraction_non_alphanumeric': 0.18275209516085428, 'fraction_numerical': 0.008110300081103, 'mean_word_length': 11.457912457912458, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3015458', 'n_tokens_mistral': 1248, 'n_tokens_neox': 1202, 'n_words': 227}