From a2ff92996480c90a71e7278b12ac24c721e0be69 Mon Sep 17 00:00:00 2001 From: Mark Walker Date: Fri, 25 Oct 2024 17:16:28 +0100 Subject: [PATCH] [foundation] Marked all user-facing strings for translation Refs #1648 --- .../foundation/coreawardcohort_list.html | 18 +++++---- .../templates/foundation/meeting_archive.html | 9 +++-- .../foundation/meeting_archive_day.html | 9 +++-- .../foundation/meeting_archive_month.html | 7 ++-- .../foundation/meeting_archive_year.html | 7 ++-- .../templates/foundation/meeting_detail.html | 37 +++++++++++-------- foundation/admin.py | 3 +- foundation/feeds.py | 7 ++-- foundation/models.py | 21 ++++++----- 9 files changed, 67 insertions(+), 51 deletions(-) diff --git a/djangoproject/templates/foundation/coreawardcohort_list.html b/djangoproject/templates/foundation/coreawardcohort_list.html index af2b9ed01..66979a888 100644 --- a/djangoproject/templates/foundation/coreawardcohort_list.html +++ b/djangoproject/templates/foundation/coreawardcohort_list.html @@ -1,17 +1,19 @@ {% extends "base_foundation.html" %} +{% load i18n %} -{% block og_title %}Django Core Developers{% endblock %} -{% block og_description %}Former Django Core Team dissolved on March 12, 2020.{% endblock %} +{% block og_title %}{% translate "Django Core Developers" %}{% endblock %} +{% block og_description %}{% translate "Former Django Core Team dissolved on March 12, 2020." %}{% endblock %} {% block content %} -

Django Core Developers

+

{% translate "Django Core Developers" %}

- The title “Django Core Developer” is awarded to individuals - who have made significant contributions, over an extended period of time, - to Django or to major parts of its ecosystem. The title is awarded by the - Board of Directors of the Django Software Foundation. - A list of recipients is below. + {% blocktranslate trimmed %} + The title “Django Core Developer” is awarded to individuals + who have made significant contributions, over an extended period of time, + to Django or to major parts of its ecosystem. The title is awarded by the + Board of Directors of the Django Software Foundation. + A list of recipients is below.{% endblocktranslate %}

{% for cohort in object_list %}

{{ cohort }}

diff --git a/djangoproject/templates/foundation/meeting_archive.html b/djangoproject/templates/foundation/meeting_archive.html index 367842b21..ef724d229 100644 --- a/djangoproject/templates/foundation/meeting_archive.html +++ b/djangoproject/templates/foundation/meeting_archive.html @@ -1,16 +1,17 @@ {% extends "base_foundation.html" %} +{% load i18n %} -{% block og_title %}Meeting minutes archive{% endblock %} -{% block og_description %}View meeting minutes{% endblock %} +{% block og_title %}{% translate "Meeting minutes archive" %}{% endblock %} +{% block og_description %}{% translate "View meeting minutes" %}{% endblock %} {% block head_extra %} {% endblock %} {% block content %} -

Meeting minutes archive

+

{% translate "Meeting minutes archive" %}

-

Select a year to view meeting minutes:

+

{% translate "Select a year to view meeting minutes:" %}