diff options
| author | Andrew Dawes <andrewsdawes@gmail.com> | 2022-10-22 22:08:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-22 22:08:38 +0200 |
| commit | f81720941c07c76ad5ee25d0d69682463acb504b (patch) | |
| tree | 6cdefcf17249942ab008e78ac50ae125e345bd25 /docs/programmers/api-variables/variable-compile-id.md | |
| parent | 1ff79c6c38a73253304f761a8b387598d084f11c (diff) | |
| download | smarty-f81720941c07c76ad5ee25d0d69682463acb504b.tar.gz smarty-f81720941c07c76ad5ee25d0d69682463acb504b.tar.bz2 smarty-f81720941c07c76ad5ee25d0d69682463acb504b.zip | |
Fixed several typos and grammar errors (#821)
Diffstat (limited to 'docs/programmers/api-variables/variable-compile-id.md')
| -rw-r--r-- | docs/programmers/api-variables/variable-compile-id.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/programmers/api-variables/variable-compile-id.md b/docs/programmers/api-variables/variable-compile-id.md index c63f75ab..ca2b08fb 100644 --- a/docs/programmers/api-variables/variable-compile-id.md +++ b/docs/programmers/api-variables/variable-compile-id.md @@ -1,7 +1,7 @@ \$compile\_id {#variable.compile.id} ============= -Persistant compile identifier. As an alternative to passing the same +Persistent compile identifier. As an alternative to passing the same `$compile_id` to each and every function call, you can set this `$compile_id` and it will be used implicitly thereafter. @@ -10,7 +10,7 @@ post-filters](#plugins.prefilters.postfilters) you must use a unique `$compile_id` to keep the compiled template files separated. For example a [prefilter](#plugins.prefilters.postfilters) that -localizes your templates (that is: translates language dependend parts) +localizes your templates (that is: translates language dependent parts) at compile time, then you could use the current language as `$compile_id` and you will get a set of compiled templates for each language you use. |
