diff templates/minimal/html/_generic.item.html @ 2430:e323c2d54a17

i18n markup
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Wed, 09 Jun 2004 09:55:34 +0000
parents 3a4abf6d48c2
children 56fa27e99620
line wrap: on
line diff
--- a/templates/minimal/html/_generic.item.html	Wed Jun 09 09:49:27 2004 +0000
+++ b/templates/minimal/html/_generic.item.html	Wed Jun 09 09:55:34 2004 +0000
@@ -5,9 +5,9 @@
       tal:content="python:context._classname.capitalize()+' editing'"></span>
 <td class="content" metal:fill-slot="content">
 
-<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
-You are not allowed to view this page.
-</span>
+<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())"
+ tal:omit-tag="python:1" i18n:translate=""
+>You are not allowed to view this page.</span>
 
 <form method="POST" onSubmit="return submit_once()"
       enctype="multipart/form-data" tal:condition="context/is_edit_ok">

Roundup Issue Tracker: http://roundup-tracker.org/