Skip to content

Commit 5d77e9d

Browse files
author
Alexander Smishlajev
committed
more strings translated
1 parent 7ea0379 commit 5d77e9d

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

templates/classic/html/issue.item.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,11 @@
107107
</table>
108108
</tal:block>
109109

110-
<p tal:condition="context/id" tal:content="structure string:Created on
111-
<b>${context/creation}</b> by <b>${context/creator}</b>, last
112-
changed <b>${context/activity}</b> by <b>${context/actor}</b>.">activity info
110+
<p tal:condition="context/id" i18n:translate="">
111+
Created on <b><tal:x replace="context/creation" i18n:name="creation" /></b>
112+
by <b><tal:x replace="context/creator" i18n:name="creator" /></b>,
113+
last changed <b><tal:x replace="context/activity" i18n:name="activity" /></b>
114+
by <b><tal:x replace="context/actor" i18n:name="actor" /></b>.
113115
</p>
114116

115117
<table class="files" tal:condition="context/files">
@@ -139,7 +141,7 @@
139141
tal:attributes="action string:issue${context/id}">
140142
<input type="hidden" name="@remove@files" tal:attributes="value file/id">
141143
<input type="hidden" name="@action" value="edit">
142-
<input type="submit" value="remove">
144+
<input type="submit" value="remove" i18n:attributes="value">
143145
</form>
144146
</td>
145147
</tr>
@@ -150,15 +152,17 @@
150152
<tal:block tal:repeat="msg context/messages/reverse">
151153
<tr>
152154
<th><a tal:attributes="href string:msg${msg/id}"
153-
tal:content="string:msg${msg/id} (view)"></a></th>
154-
<th tal:content="string:Author: ${msg/author}">author</th>
155-
<th tal:content="string:Date: ${msg/date}">date</th>
155+
i18n:translate="">msg<tal:x replace="msg/id" i18n:name="id" /> (view)</a></th>
156+
<th i18n:translate="">Author: <tal:x replace="msg/author"
157+
i18n:name="author" /></th>
158+
<th i18n:translate="">Date: <tal:x replace="msg/date"
159+
i18n:name="date" /></th>
156160
<th>
157161
<form style="padding:0" tal:condition="context/is_edit_ok"
158162
tal:attributes="action string:issue${context/id}">
159163
<input type="hidden" name="@remove@messages" tal:attributes="value msg/id">
160164
<input type="hidden" name="@action" value="edit">
161-
<input type="submit" value="remove">
165+
<input type="submit" value="remove" i18n:attributes="value">
162166
</form>
163167
</th>
164168
</tr>

0 commit comments

Comments
 (0)