/usr/share/pyshared/zope/app/i18n/browser/synchronize.pt is in python-zope.app.i18n 3.6.4-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | <html metal:use-macro="context/@@standard_macros/view"
i18n:domain="zope">
<head>
<title metal:fill-slot="title" i18n:translate="">
Translation Domain - Synchronize
</title>
<style metal:fill-slot="style_slot" type="text/css">
<!--
.state0 {color: green;}
.state1 {color: yellow;}
.state2 {color: yellow;}
.state3 {color: red;}
.state4 {color: red;}
-->
</style>
</head>
<body>
<div metal:fill-slot="body">
<table cols="3" width="100%" border="0" cellspacing="0">
<form action="./" method="post">
<tr>
<td width="40%">
<div class="form-label" i18n:translate="">Server URL</div>
<div>
<input type="text" size="40" name="sync_url" value=""
tal:attributes="value view/sync_url" />
</div>
<div i18n:translate="">Username</div>
<div>
<input type="text" size="40" name="sync_username" value=""
tal:attributes="value view/sync_username" />
</div>
<div i18n:translate="">Password</div>
<div>
<input type="password" size="40" name="sync_password" value=""
tal:attributes="value view/sync_password" />
</div>
</td>
<td width="30%">
<div i18n:translate="">Select Languages:</div>
<div>
<select name="sync_languages:list" size="6" style="width: 80%"
multiple="multiple">
<tal:block repeat="language view/getAllLanguages">
<option value=""
tal:attributes="value language"
tal:content="language"
tal:condition="python: language not in
view.sync_languages" ></option>
<option value="" selected="1"
tal:attributes="value language"
tal:content="language"
tal:condition="python: language in
view.sync_languages" ></option>
</tal:block>
</select>
</div>
</td>
<td width="30%">
<div align="center">
<div>
<input type="submit" name="saveSettings.html:method"
value="Save Settings"
i18n:attributes="value save-settings-button" />
</div><br />
<div>
<input type="submit" name="synchronize.html:method"
value="Synchronize"
i18n:attributes="value synchronize-button"/>
</div>
</div>
</td>
</tr>
</form>
</table>
<br />
<form action="./"
tal:condition="view/canConnect">
<table cols="5" width="95%" border="0" cellpadding="2" cellspacing="0"
class="listing">
<tr>
<th width="16"> </th>
<th width="55%" i18n:translate="">Message Id</th>
<th width="15%" i18n:translate="">Language</th>
<th width="20%" i18n:translate="">Status</th>
</tr>
<tal:block repeat="message python: view.queryMessageItems()">
<tr tal:define="number repeat/message/number;
oddrow repeat/message/odd"
tal:attributes="class python: oddrow and 'odd' or 'even'">
<td width="16">
<input type="hidden"
tal:attributes="name python: 'update-msgid-%i' %number;
value python: message[0][0]" />
<input type="hidden"
tal:attributes="name python: 'update-language-%i' %number;
value python: message[0][1]" />
<input type="checkbox" name="message_ids:list"
tal:attributes="value python: number" />
</td>
<td tal:content="python: message[0][0]">Hello World!</td>
<td tal:content="python: message[0][1]">en</td>
<td>
<b tal:content="python: view.getStatus(*message[1])"
tal:attributes="class python:'state%i' %
view.getStatus(message[1][0], message[1][1], 0)"
>status</b>
</td>
</tr>
</tal:block>
</table>
<div>
<input type="submit" name="@@synchronizeMessages.html:method"
value="Update" i18n:attributes="value update-button"/>
</div>
</form>
<p tal:condition="python: not view.canConnect()" i18n:translate="">
No connection could be made to remote data source.
</p>
</div>
</body>
</html>
|