sync with EN

This commit is contained in:
yannick
2006-05-22 08:46:06 +00:00
parent 5518944ab9
commit 2cc677bfbc
6 changed files with 28 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
<sect1 id="language.syntax.variables">
<title>Variables</title>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready -->
<sect1 id="language.function.html.checkboxes">
<title>{html_checkboxes}</title>
@@ -76,6 +76,13 @@
<entry><emphasis>empty</emphasis></entry>
<entry>cha<EFBFBD>ne de caract<63>re pour s<>parer chaque case
<20> cocher</entry>
</row>
<row>
<entry>assign</entry>
<entry>cha<EFBFBD>ne de caract<63>res</entry>
<entry>Non</entry>
<entry><emphasis>empty</emphasis></entry>
<entry>Assigne les balises d'un checkbox <20> un tableau plut<75>t que de les afficher</entry>
</row>
<row>
<entry>labels</entry>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready -->
<sect1 id="language.function.html.radios">
<title>{html_radios}</title>
@@ -74,6 +74,13 @@
<entry><emphasis>empty</emphasis></entry>
<entry>cha<EFBFBD>ne de s<>paration <20> placer entre les
boutons radio</entry>
</row>
<row>
<entry>assign</entry>
<entry>cha<EFBFBD>ne de caract<63>res</entry>
<entry>Non</entry>
<entry><emphasis>empty</emphasis></entry>
<entry>Assigne les balises des boutons radio <20> un tableau plut<75>t que de les afficher</entry>
</row>
</tbody>
</tgroup>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready -->
<sect1 id="language.modifier.escape">
<title>escape</title>

View File

@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.3 Maintainer: didou Status: ready -->
<!-- EN-Revision: 1.4 Maintainer: didou Status: ready -->
<sect1 id="variable.cache.lifetime">
<title>$cache_lifetime</title>
<para>
Il s'agit de la dur<75>e en secondes pendant laquelle un cache de template
est valide. Une fois cette dur<75>e d<>pass<73>e, le cache est reg<65>n<EFBFBD>r<EFBFBD>.
$caching doit <20>tre a "true" pour que $cache_lifetime ait une
$caching doit <20>tre activ<EFBFBD> (soit 1 ou 2) pour que $cache_lifetime ait une
quelconque utilit<69>. Avec une valeur de -1, le cache n'expire jamais.
Avec une valeur de 0, le cache est toujours reg<65>n<EFBFBD>r<EFBFBD> (utile
a des fins de tests seulement. Une meilleure fa<66>on de d<>sactiver
le cache est de mettre <link
linkend="variable.caching">$caching</link> a "false").
linkend="variable.caching">$caching</link> = 0).
</para>
<para>
Si <link linkend="variable.force.compile">$force_compile</link> est

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready -->
<sect1 id="caching.setting.up">
<title>Param<EFBFBD>trer le cache</title>
@@ -17,7 +17,7 @@
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->caching = true;
$smarty->caching = 1;
$smarty->display('index.tpl');
?>
@@ -37,7 +37,7 @@ $smarty->display('index.tpl');
<para>
Les fichiers situ<74>s dans <link linkend="variable.cache.dir">$cache_dir</link>
sont nomm<6D>s de la m<>me fa<66>on que les templates.
Bien qu'ils aient une extension ".php", ils ne sont pas vraiment ex<65>cutable.
Bien qu'ils aient une extension ".php", ils ne sont pas vraiment directement ex<EFBFBD>cutable.
N'<27>ditez surtout pas ces fichiers !
</para>
</note>
@@ -97,7 +97,7 @@ $smarty->display('home.tpl');
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->caching = true;
$smarty->caching = 1;
$smarty->compile_check = true;
$smarty->display('index.tpl');
@@ -111,7 +111,7 @@ $smarty->display('index.tpl');
d<>sactiver le cache. <link linkend="variable.force.compile">$force_compile</link>
est utilis<69> <20> des fins de <link linkend="chapter.debugging.console">d<EFBFBD>bogage</link>,
un moyen plus efficace de d<>sactiver le cache est de r<>gler
<link linkend="variable.caching">$caching</link> = false (ou 0).
<link linkend="variable.caching">$caching</link> = 0.
</para>
<para>
La fonction <link linkend="api.is.cached">is_cached()</link> permet
@@ -128,7 +128,7 @@ $smarty->display('index.tpl');
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->caching = true;
$smarty->caching = 1;
if(!$smarty->is_cached('index.tpl')) {
// pas de cache disponible, on assigne
@@ -167,7 +167,7 @@ $smarty->display('index.tpl');
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->caching = true;
$smarty->caching = 1;
// efface tous les fichiers du cache
$smarty->clear_all_cache();