1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Removed double spaces after periods and within phrases.

This commit is contained in:
Sarah Boyce
2025-07-18 15:37:14 +02:00
committed by nessita
parent 1909108f9f
commit 1ecf6889ca
109 changed files with 215 additions and 216 deletions

View File

@@ -575,7 +575,7 @@ class TranslationBlockTranslateTagTests(SimpleTestCase):
rendered = t.render(Context())
self.assertEqual(rendered, "May")
# Existing context... using a literal
# Existing context... using a literal
t = self.get_template(
"{% load i18n %}"
'{% blocktranslate context "month name" %}May{% endblocktranslate %}'

View File

@@ -142,7 +142,7 @@ class CallableVariablesTests(TestCase):
c = Context({"my_doodad": my_doodad})
# Since ``my_doodad.do_not_call_in_templates`` is True, the template
# system will not try to call our doodad. We can access its attributes
# system will not try to call our doodad. We can access its attributes
# as normal, and we don't have access to the dict that it returns when
# called.
t = self.engine.from_string("{{ my_doodad.value }}")