cvs: smarty /docs/ru/programmers advanced-features.xml api-functions.xml caching.xml plugins.xml smarty-constants.xml
"Antony Dovgal" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvstony20011085778209@cvsserver> |
tony2001 Fri May 28 17:03:29 2004 EDT
Modified files:
/smarty/docs/ru/programmers advanced-features.xml api-functions.xml
caching.xml plugins.xml
smarty-constants.xml
Log:
translate another small piece and fix ws again
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/advanced-features.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/ru/programmers/advanced-features.xml
diff -u smarty/docs/ru/programmers/advanced-features.xml:1.5 smarty/docs/ru/programmers/advanced-features.xml:1.6
--- smarty/docs/ru/programmers/advanced-features.xml:1.5 Fri May 28 16:49:29 2004
+++ smarty/docs/ru/programmers/advanced-features.xml Fri May 28 17:03:29 2004
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.6 $ -->
<chapter id="advanced.features">
- <title>Advanced Features</title>
+ <title>Ðàñøèðåííûå âîçìîæíîñòè</title>
&programmers.advanced-features.advanced-features-objects;
&programmers.advanced-features.advanced-features-prefilters;
&programmers.advanced-features.advanced-features-postfilters;
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-functions.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/ru/programmers/api-functions.xml
diff -u smarty/docs/ru/programmers/api-functions.xml:1.5 smarty/docs/ru/programmers/api-functions.xml:1.6
--- smarty/docs/ru/programmers/api-functions.xml:1.5 Fri May 28 16:49:29 2004
+++ smarty/docs/ru/programmers/api-functions.xml Fri May 28 17:03:29 2004
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<chapter id="api.functions">
- <title>Methods</title>
+ <title>Ìåòîäû</title>
&programmers.api-functions.api-append;
&programmers.api-functions.api-append-by-ref;
&programmers.api-functions.api-assign;
@@ -30,7 +30,6 @@
&programmers.api-functions.api-register-prefilter;
&programmers.api-functions.api-register-resource;
&programmers.api-functions.api-trigger-error;
-
&programmers.api-functions.api-template-exists;
&programmers.api-functions.api-unregister-block;
&programmers.api-functions.api-unregister-compiler-function;
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/caching.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/ru/programmers/caching.xml
diff -u smarty/docs/ru/programmers/caching.xml:1.3 smarty/docs/ru/programmers/caching.xml:1.4
--- smarty/docs/ru/programmers/caching.xml:1.3 Fri May 28 16:49:29 2004
+++ smarty/docs/ru/programmers/caching.xml Fri May 28 17:03:29 2004
@@ -1,24 +1,27 @@
<?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<chapter id="caching">
- <title>Caching</title>
+ <title>Êýøèðîâàíèå</title>
+
<para>
- Caching is used to speed up a call to
- <link linkend="api.display">display()</link> or
- <link linkend="api.fetch">fetch()</link> by saving its output to a file.
- If a cached version of the call is available, that is displayed instead of
- regenerating the output. Caching can speed things up tremendously,
- especially templates with longer computation times. Since the output of
- display() or fetch() is cached, one cache file could conceivably be made up
- of several template files, config files, etc.
+ Êýøèðîâàíèå èñïîëüçóåòñÿ äëÿ óñêîðåíèÿ âûçîâîâ
+ <link linkend="api.display">display()</link> èëè
+ <link linkend="api.fetch">fetch()</link> ïóòåì ñîõðàíåíèÿ èõ ðåçóëüòàòîâ â
+ ôàéë. Êýøèðîâàííàÿ âåðñèÿ ôàéëà (åñëè òàêîâàÿ áóäåò íàéäåíà) îòîáðàæàåòñÿ
+ ñðàçó, áåç ïåðåãåíåðàöèè âûâîäà. Êýøèðîâàíèå ìîæåò çíà÷èòåëüíî óñêîðèòü
+ ðàáîòó, îñîáåííî åñëè èñïîëüçóþòñÿ ñëîæíûå øàáëîíû ñ áîëüøèì êîëè÷åñòâîì
+ äàííûõ. Òàê êàê êýøèðóåòñÿ âûâîä <link linkend="api.display">display()</link> è
+ <link linkend="api.fetch">fetch()</link>, îäèí ôàéë â êýøå ìîæåò
+ ïðåäñòàâëÿòü èç ñåáÿ íàáîð ðàçíûõ øàáëîíîâ, êîíôèãóðàöèîííûõ ôàéëîâ - âñåãî
+ òîãî, ÷òî èñïîëüçîâàëîñü ïðè ãåíåðàöèè ýòîãî âûâîäà.
</para>
<para>
- Since templates are dynamic, it is important to be careful what you are
- caching and for how long. For instance, if you are displaying the front page
- of your website that does not change its content very often, it might work
- well to cache this page for an hour or more. On the other hand, if you are
- displaying a page with a weather map containing new information by the
- minute, it would not make sense to cache this page.
+ Òàê êàê øàáëîíû ìîãóò ìåíÿòüñÿ ñî âðåìåíåì, î÷åíü âàæíî ñëåäèòü çà òåì ÷òî
+ âû êýøèðóåòå è íà êîòîðûé ñðîê. Íàïðèìåð, åñëè âû îòîáðàæàåòå òèòóëüíóþ
+ ñòðàíèöó âàøåãî ñàéòà, êîòîðàÿ íå ìåíÿåòñÿ ñëèøêîì ÷àñòî, òî å¸ êýøèðîâàííóþ
+ âåðñèþ ìîæíî íå îáíîâëÿòü â òå÷åíèå ÷àñà èëè áîëüøå. Ñ äðóãîé ñòîðîíû, åñëè
+ âû âûâîäèòå ñòðàíèöó ñ ïðîãíîçîì ïîãîäû, êîòîðàÿ ìîæåò ìåíÿòüñÿ ñ êàæäîé
+ ìèíóòîé, òî êýøèðîâàòü å¸ íå èìååò ñìûñëà.
</para>
&programmers.caching.caching-setting-up;
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/plugins.xml?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/ru/programmers/plugins.xml
diff -u smarty/docs/ru/programmers/plugins.xml:1.6 smarty/docs/ru/programmers/plugins.xml:1.7
--- smarty/docs/ru/programmers/plugins.xml:1.6 Fri May 28 16:49:29 2004
+++ smarty/docs/ru/programmers/plugins.xml Fri May 28 17:03:29 2004
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<chapter id="plugins">
<title>Extending Smarty With Plugins</title>
+
<para>
Version 2.0 introduced the plugin architecture that is used
for almost all the customizable functionality of Smarty. This includes:
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/smarty-constants.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/ru/programmers/smarty-constants.xml
diff -u smarty/docs/ru/programmers/smarty-constants.xml:1.2 smarty/docs/ru/programmers/smarty-constants.xml:1.3
--- smarty/docs/ru/programmers/smarty-constants.xml:1.2 Fri May 28 16:49:29 2004
+++ smarty/docs/ru/programmers/smarty-constants.xml Fri May 28 17:03:29 2004
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<chapter id="smarty.constants">
<title>Êîíñòàíòû</title>
- <para></para>
-
+
<sect1 id="constant.smarty.dir">
<title>SMARTY_DIR</title>
<para>
@@ -25,6 +24,7 @@
</programlisting>
</example>
</sect1>
+
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php