Mercurial > genshi > mirror
annotate examples/bench/clearsilver/header.cs @ 871:b6deffd8ecce trunk
Allow the use of `i18n:singular` and `i18n:plural` as directives and not just as attributes.
If `py:strip` is involved on `i18n:singular` or `i18n:plural` directives, only apply the strip directive once the singular or plural form has been chosen and translated.
Fixes #371.
author | palgarvio |
---|---|
date | Tue, 23 Feb 2010 16:03:26 +0000 |
parents | c40a5dcd2b55 |
children |
rev | line source |
---|---|
57
300b6a3b0730
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff
changeset
|
1 <div id="header"> |
300b6a3b0730
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff
changeset
|
2 <h1><?cs var:title ?></h1> |
300b6a3b0730
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff
changeset
|
3 </div> |
69 | 4 |
5 <?cs def:greeting(name) ?> | |
6 <p>Hello, <?cs var:name ?>!</p> | |
7 <?cs /def ?> |