From 5c4c87e55c096f093a2323bf05b57cc06d93a257 Mon Sep 17 00:00:00 2001 From: Sebastian Sangervasi Date: Wed, 21 Feb 2018 09:30:56 -0500 Subject: Changed "language-code" to the more commonly used "language code". --- docs/topics/i18n/translation.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 6f890dbbaa..31ee71a05e 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -1410,8 +1410,8 @@ function will return the URL in the active language. Example:: .. warning:: - In most cases, it's best to use translated URLs only within a - language-code-prefixed block of patterns (using + In most cases, it's best to use translated URLs only within a language code + prefixed block of patterns (using :func:`~django.conf.urls.i18n.i18n_patterns`), to avoid the possibility that a carelessly translated URL causes a collision with a non-translated URL pattern. -- cgit v1.3