summaryrefslogtreecommitdiff
path: root/docs/programmers/api-variables/variable-compile-id.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/programmers/api-variables/variable-compile-id.md')
-rw-r--r--docs/programmers/api-variables/variable-compile-id.md4
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.