<h1 tal:replace="structure here/manage_page_header">Header</h1>
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing;
                dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;; charset=%s' % here.getEncoding())"
    tal:replace="structure here/manage_tabs">Tabs</h2>
<tal:block i18n:domain="PlacelessTranslationService">

<h1 i18n:translate="">Test <tal:block content="here/Title" i18n:name="title">this message catalog</tal:block></h1>

<div tal:condition="request/msgid | nothing">

<h3 i18n:translate="">Test results:</h3>
<table cellspacing="2" border="1"
       tal:define="msgid request/msgid;
                   marker python: ();
                   msgstr python: here.queryMessage(msgid, marker);
		   found python: msgstr is not marker">
<tr>
	<th align="left" valign="top" class="form-label">msgid</th>
	<td bgcolor="#cccccc" tal:content="msgid">msgid</td>
</tr>
<tr tal:condition="found">
	<th align="left" valign="top" class="form-label">msgstr</th>
	<td bgcolor="#ffd493" tal:content="msgstr">msgid</td>
</tr>
<tr tal:condition="not:found">
	<td colspan="2" bgcolor="#fe5e5e" i18n:translate="">Translation not found</td>
</tr>
</table>

<hr align="center" with="75%" />

<h3 i18n:translate="">New test:</h3>
</div>

<form action="zmi_test">
<textarea name="msgid" wrap="off" style="width: 100%;" rows="5"
   tal:attributes="cols request/form/dtpref_cols | request/dtpref_cols | default;
                   rows request/form/dtpref_rows | request/dtpref_rows | default"
   tal:content = "request/msgid | nothing">Text</textarea>
<br />
<input type="submit" value="Translate this phrase" i18n:attributes="value" />
</form>

</tal:block>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>
