summaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
authorMark Walker <mark@marksweb.co.uk>2024-11-17 20:38:30 +0000
committerGitHub <noreply@github.com>2024-11-17 21:38:30 +0100
commit910e7c862c4e3863024b94d6746b3ce4e0a47050 (patch)
treea5cb7b67a70e7f40154080b3fd886b84845b8a4d /blog
parent2495507fd80a9e175f698c0f3521a0c81a324036 (diff)
[blog] Marked all user-facing strings for translation
Refs #1648
Diffstat (limited to 'blog')
-rw-r--r--blog/feeds.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/blog/feeds.py b/blog/feeds.py
index accf0449..ae7d522c 100644
--- a/blog/feeds.py
+++ b/blog/feeds.py
@@ -1,12 +1,13 @@
from django.contrib.syndication.views import Feed
+from django.utils.translation import gettext_lazy as _
from .models import Entry
class WeblogEntryFeed(Feed):
- title = "The Django weblog"
+ title = _("The Django weblog")
link = "https://www.djangoproject.com/weblog/"
- description = "Latest news about Django, the Python web framework."
+ description = _("Latest news about Django, the Python web framework.")
def items(self):
return Entry.objects.published()[:10]