From 33503c57ef369f07dd6a3a33ecf5cdd3fbbd0a6b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 1 Nov 2013 21:29:39 -0400 Subject: [1.6.x] Fixed spelling ("dependant" -> "dependent") Dependent means reliant on. A dependant is a person like a child or spouse. Thanks Andrew Wilcox for the report. Backport of 090315f5df from master --- docs/ref/templates/builtins.txt | 2 +- docs/topics/i18n/translation.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index c579cb489a..6a3a6bd58b 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2015,7 +2015,7 @@ Formats a time according to the given format. Given format can be the predefined one :setting:`TIME_FORMAT`, or a custom format, same as the :tfilter:`date` filter. Note that the predefined format -is locale-dependant. +is locale-dependent. The time filter will only accept parameters in the format string that relate to the time of day, not the date (for obvious reasons). If you need to diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 041d627bad..77a02988b1 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -991,8 +991,8 @@ for a given version of a site — it's a good candidate for caching. Server-side caching will reduce CPU load. It's easily implemented with the :func:`~django.views.decorators.cache.cache_page` decorator. To trigger cache -invalidation when your translations change, provide a version-dependant key -prefix, as shown in the example below, or map the view at a version-dependant +invalidation when your translations change, provide a version-dependent key +prefix, as shown in the example below, or map the view at a version-dependent URL. .. code-block:: python -- cgit v1.3