1
1
{% extends "base_community.html" %}
2
+ {% load i18n %}
2
3
3
4
{% block layout_class %}column-container sidebar-right{% endblock %}
4
5
5
6
{% block content %}
6
7
7
- < h2 class ="community-title "> Get Help</ h2 >
8
+ < h2 class ="community-title "> {% translate " Get Help" %} </ h2 >
8
9
< div class ="community-cta-wrapper ">
9
10
< a href ="https://forum.djangoproject.com/ " class ="community-cta-a ">
10
11
< div class ="community-cta ">
11
12
< div >
12
13
{% include "svg_logos/forum.html" %}
13
14
</ div >
14
- < h3 > Forum - Post a question</ h3 >
15
+ < h3 > {% translate " Forum - Post a question" %} </ h3 >
15
16
</ div >
16
17
</ a >
17
18
< a href ="https://discord.gg/xcRH6mN4fa " class ="community-cta-a ">
18
19
< div class ="community-cta ">
19
20
< div >
20
21
{% include "svg_logos/discord.html" %}
21
22
</ div >
22
- < h3 > Discord - Chat with us</ h3 >
23
+ < h3 > {% translate " Discord - Chat with us" %} </ h3 >
23
24
</ div >
24
25
</ a >
25
26
</ div >
26
27
27
- < h2 class ="community-title "> Get Involved</ h2 >
28
+ < h2 class ="community-title "> {% translate " Get Involved" %} </ h2 >
28
29
< div class ="community-cta-wrapper ">
29
30
< a href ="https://docs.djangoproject.com/en/dev/internals/contributing/bugs-and-features/#reporting-bugs " class ="community-cta-a ">
30
31
< div class ="community-cta ">
31
32
< div >
32
33
{% include "svg_logos/bug.html" %}
33
34
</ div >
34
- < h3 > Report an issue</ h3 >
35
+ < h3 > {% translate " Report an issue" %} </ h3 >
35
36
</ div >
36
37
</ a >
37
38
< a href ="https://docs.djangoproject.com/en/dev/internals/contributing/ " class ="community-cta-a ">
38
39
< div class ="community-cta ">
39
40
< div >
40
41
{% include "svg_logos/notepad.html" %}
41
42
</ div >
42
- < h3 > Contribute to Django</ h3 >
43
+ < h3 > {% translate " Contribute to Django" %} </ h3 >
43
44
</ div >
44
45
</ a >
45
46
< a href ="/community/local/ " class ="community-cta-a ">
46
47
< div class ="community-cta ">
47
48
< div >
48
49
{% include "svg_logos/world.html" %}
49
50
</ div >
50
- < h3 > Local Django Community</ h3 >
51
+ < h3 > {% translate " Local Django Community" %} </ h3 >
51
52
</ div >
52
53
</ a >
53
54
</ div >
54
55
55
- < h2 > Django RSS feeds</ h2 >
56
+ < h2 > {% translate " Django RSS feeds" %} </ h2 >
56
57
< ul class ="list-collapsing ">
57
58
{% for feedtype, latest_feeds in feedtype_list %}
58
59
< li id ="{{ feedtype.slug }} ">
@@ -61,26 +62,30 @@ <h2 class="bullet-icon"><i class="icon icon-rss blue"></i> {{ feedtype.name }}</
61
62
< dl class ="list-links ">
62
63
{% for item in latest_feeds %}
63
64
< dt > < a href ="{{ item.link }} "> {{ item.title }}</ a > </ dt >
64
- < dd > {{ item.date_modified|date:"N jS, Y \a\t P" }} by < a href ="{{ item.feed.public_url }} "> {{ item.feed.title }}</ a > </ dd >
65
+ < dd >
66
+ {% blocktranslate trimmed with modified_date=item.date_modified|date:"DATETIME_FORMAT" public_url=item.feed.public_url title=item.feed.title %}
67
+ {{ modified_date }} by < a href ="{{ public_url }} "> {{ title }}</ a >
68
+ {% endblocktranslate %}
69
+ </ dd >
65
70
{% endfor %}
66
71
</ dl >
67
72
< p class ="meta ">
68
73
{% if latest_feeds %}
69
- < a href ="{% url 'community-feed-list' feedtype.slug %} "> View more</ a >
74
+ < a href ="{% url 'community-feed-list' feedtype.slug %} "> {% translate " View more" %} </ a >
70
75
{% endif %}
71
76
{% if latest_feeds and feedtype.can_self_add %}
72
- or
77
+ {% translate "or" context "view more OR add your feed" %}
73
78
{% endif %}
74
79
{% if feedtype.can_self_add %}
75
- < a href ="{% url 'community-add-feed' feedtype.slug %} "> Add your feed</ a >
80
+ < a href ="{% url 'community-add-feed' feedtype.slug %} "> {% translate " Add your feed" %} </ a >
76
81
{% endif %}
77
82
</ p >
78
83
</ div >
79
84
</ li >
80
85
{% endfor %}
81
86
</ ul >
82
87
83
- < h2 > Mailing Lists</ h2 >
88
+ < h2 > {% translate " Mailing Lists" %} </ h2 >
84
89
{% include "includes/mailing_lists.html" %}
85
90
86
91
{% endblock %}
0 commit comments