<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/01/2015 05:39 PM, Tomas Babej
wrote:<br>
</div>
<blockquote cite="mid:559409BC.4000001@redhat.com" type="cite">
<pre wrap="">Hi Thierry,
I think it would be better to use:
error=_('Entry has no \'%s\'') % attr
or even better, use named substitution:
error=_('Entry has no \'%(attribute)s\'') % dict(attribute=attr)
This way will generate a more readable strings for translators.
Tomas
</pre>
</blockquote>
<font face="Times New Roman, Times, serif">Hi Tomas, <br>
<br>
Thanks for reviewing.. you are right this is the common way of
adding values in the such error messages.<br>
I followed your recommendations<br>
<br>
thanks<br>
thierry <br>
</font>
</body>
</html>