Attempt to fix comment form
- Author
- Maarten Vangeneugden
- Date
- April 9, 2018, 7:43 p.m.
- Hash
- 49d0aeaffe4cf708a597a2408cfe94e2de26ad54
- Parent
- ce775c486d88b3dc9babe1b24b00b5437333dd51
- Modified files
- TODO.org
- locale/de/LC_MESSAGES/django.po
- locale/es/LC_MESSAGES/django.po
- locale/fr/LC_MESSAGES/django.po
- locale/nl/LC_MESSAGES/django.po
- migrations/0003_comment.py
- templates/blog/locale/de/LC_MESSAGES/django.po
- templates/blog/locale/es/LC_MESSAGES/django.po
- templates/blog/locale/fr/LC_MESSAGES/django.po
- templates/blog/locale/nl/LC_MESSAGES/django.po
- templates/blog/post.html
TODO.org ¶
4 additions and 0 deletions.
locale/de/LC_MESSAGES/django.po ¶
5 additions and 5 deletions.
View changes Hide changes
1 |
1 |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 |
2 |
# This file is distributed under the same license as the PACKAGE package. |
3 |
3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 |
4 |
# |
5 |
5 |
#, fuzzy |
6 |
6 |
msgid "" |
7 |
7 |
msgstr "" |
8 |
8 |
"Project-Id-Version: PACKAGE VERSION\n" |
9 |
9 |
"Report-Msgid-Bugs-To: \n" |
10 |
10 |
"POT-Creation-Date: 2018-01-27 05:02+0100\n" |
11 |
- | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
+ |
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 |
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 |
13 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
14 |
14 |
"Language: \n" |
15 |
15 |
"MIME-Version: 1.0\n" |
16 |
16 |
"Content-Type: text/plain; charset=UTF-8\n" |
17 |
17 |
"Content-Transfer-Encoding: 8bit\n" |
18 |
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 |
19 |
|
20 |
20 |
#: views.py:22 |
21 |
- | msgid "Blog main page" |
+ |
21 |
msgid "Blog main page" |
22 |
22 |
msgstr "" |
23 |
23 |
|
24 |
24 |
#: views.py:23 |
25 |
- | msgid "Contact" |
+ |
25 |
msgid "Contact" |
26 |
26 |
msgstr "" |
27 |
27 |
|
28 |
28 |
#: views.py:25 |
29 |
- | msgid "Maarten's personal blog, with sprinkles and a dollop of healthy bugs." |
+ |
29 |
msgid "Maarten's personal blog, with sprinkles and a dollop of healthy bugs." |
30 |
30 |
msgstr "" |
31 |
31 |
|
32 |
32 |
#: views.py:105 |
33 |
- | msgid "Notepad from a student" |
+ |
33 |
msgid "Notepad from a student" |
34 |
34 |
msgstr "" |
35 |
35 |
locale/es/LC_MESSAGES/django.po ¶
5 additions and 5 deletions.
View changes Hide changes
1 |
1 |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 |
2 |
# This file is distributed under the same license as the PACKAGE package. |
3 |
3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 |
4 |
# |
5 |
5 |
#, fuzzy |
6 |
6 |
msgid "" |
7 |
7 |
msgstr "" |
8 |
8 |
"Project-Id-Version: PACKAGE VERSION\n" |
9 |
9 |
"Report-Msgid-Bugs-To: \n" |
10 |
10 |
"POT-Creation-Date: 2018-01-27 05:02+0100\n" |
11 |
- | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
+ |
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 |
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 |
13 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
14 |
14 |
"Language: \n" |
15 |
15 |
"MIME-Version: 1.0\n" |
16 |
16 |
"Content-Type: text/plain; charset=UTF-8\n" |
17 |
17 |
"Content-Transfer-Encoding: 8bit\n" |
18 |
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 |
19 |
|
20 |
20 |
#: views.py:22 |
21 |
- | msgid "Blog main page" |
+ |
21 |
msgid "Blog main page" |
22 |
22 |
msgstr "" |
23 |
23 |
|
24 |
24 |
#: views.py:23 |
25 |
- | msgid "Contact" |
+ |
25 |
msgid "Contact" |
26 |
26 |
msgstr "" |
27 |
27 |
|
28 |
28 |
#: views.py:25 |
29 |
- | msgid "Maarten's personal blog, with sprinkles and a dollop of healthy bugs." |
+ |
29 |
msgid "Maarten's personal blog, with sprinkles and a dollop of healthy bugs." |
30 |
30 |
msgstr "" |
31 |
31 |
|
32 |
32 |
#: views.py:105 |
33 |
- | msgid "Notepad from a student" |
+ |
33 |
msgid "Notepad from a student" |
34 |
34 |
msgstr "" |
35 |
35 |
locale/fr/LC_MESSAGES/django.po ¶
5 additions and 5 deletions.
View changes Hide changes
1 |
1 |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 |
2 |
# This file is distributed under the same license as the PACKAGE package. |
3 |
3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 |
4 |
# |
5 |
5 |
#, fuzzy |
6 |
6 |
msgid "" |
7 |
7 |
msgstr "" |
8 |
8 |
"Project-Id-Version: PACKAGE VERSION\n" |
9 |
9 |
"Report-Msgid-Bugs-To: \n" |
10 |
10 |
"POT-Creation-Date: 2018-01-27 05:02+0100\n" |
11 |
- | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
+ |
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 |
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 |
13 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
14 |
14 |
"Language: \n" |
15 |
15 |
"MIME-Version: 1.0\n" |
16 |
16 |
"Content-Type: text/plain; charset=UTF-8\n" |
17 |
17 |
"Content-Transfer-Encoding: 8bit\n" |
18 |
18 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
19 |
19 |
|
20 |
20 |
#: views.py:22 |
21 |
- | msgid "Blog main page" |
+ |
21 |
msgid "Blog main page" |
22 |
22 |
msgstr "Blog // Page principal" |
23 |
23 |
|
24 |
24 |
#: views.py:23 |
25 |
- | msgid "Contact" |
+ |
25 |
msgid "Contact" |
26 |
26 |
msgstr "Contact" |
27 |
27 |
|
28 |
28 |
#: views.py:25 |
29 |
- | msgid "Maarten's personal blog, with sprinkles and a dollop of healthy bugs." |
+ |
29 |
msgid "Maarten's personal blog, with sprinkles and a dollop of healthy bugs." |
30 |
30 |
msgstr "" |
31 |
31 |
"Blog personnel de Maarten, avec des sprinkles et un cuillerée des bogues " |
32 |
32 |
"sains." |
33 |
33 |
|
34 |
34 |
#: views.py:105 |
35 |
- | msgid "Notepad from a student" |
+ |
35 |
msgid "Notepad from a student" |
36 |
36 |
msgstr "Bloc-notes d'un étudiant" |
37 |
37 |
locale/nl/LC_MESSAGES/django.po ¶
5 additions and 5 deletions.
View changes Hide changes
1 |
1 |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 |
2 |
# This file is distributed under the same license as the PACKAGE package. |
3 |
3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 |
4 |
# |
5 |
5 |
#, fuzzy |
6 |
6 |
msgid "" |
7 |
7 |
msgstr "" |
8 |
8 |
"Project-Id-Version: PACKAGE VERSION\n" |
9 |
9 |
"Report-Msgid-Bugs-To: \n" |
10 |
10 |
"POT-Creation-Date: 2018-01-27 05:02+0100\n" |
11 |
- | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
+ |
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 |
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 |
13 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
14 |
14 |
"Language: \n" |
15 |
15 |
"MIME-Version: 1.0\n" |
16 |
16 |
"Content-Type: text/plain; charset=UTF-8\n" |
17 |
17 |
"Content-Transfer-Encoding: 8bit\n" |
18 |
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 |
19 |
|
20 |
20 |
#: views.py:22 |
21 |
- | msgid "Blog main page" |
+ |
21 |
msgid "Blog main page" |
22 |
22 |
msgstr "Blog // Hoofdpagina" |
23 |
23 |
|
24 |
24 |
#: views.py:23 |
25 |
- | msgid "Contact" |
+ |
25 |
msgid "Contact" |
26 |
26 |
msgstr "" |
27 |
27 |
|
28 |
28 |
#: views.py:25 |
29 |
- | msgid "Maarten's personal blog, with sprinkles and a dollop of healthy bugs." |
+ |
29 |
msgid "Maarten's personal blog, with sprinkles and a dollop of healthy bugs." |
30 |
30 |
msgstr "" |
31 |
31 |
"Maartens persoonlijke blog, met sprinkeltjes en een doperwtje aan gezonde " |
32 |
32 |
"bugs." |
33 |
33 |
|
34 |
34 |
#: views.py:105 |
35 |
- | msgid "Notepad from a student" |
+ |
35 |
msgid "Notepad from a student" |
36 |
36 |
msgstr "Studentikoos kladblok" |
37 |
37 |
migrations/0003_comment.py ¶
26 additions and 0 deletions.
View changes Hide changes
+ |
1 |
# Generated by Django 1.11.10 on 2018-04-09 15:45 |
+ |
2 |
from __future__ import unicode_literals |
+ |
3 |
|
+ |
4 |
from django.db import migrations, models |
+ |
5 |
import django.db.models.deletion |
+ |
6 |
|
+ |
7 |
|
+ |
8 |
class Migration(migrations.Migration): |
+ |
9 |
|
+ |
10 |
dependencies = [ |
+ |
11 |
('blog', '0002_auto_20170710_1739'), |
+ |
12 |
] |
+ |
13 |
|
+ |
14 |
operations = [ |
+ |
15 |
migrations.CreateModel( |
+ |
16 |
name='Comment', |
+ |
17 |
fields=[ |
+ |
18 |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
+ |
19 |
('date', models.DateTimeField(auto_now_add=True)), |
+ |
20 |
('name', models.CharField(max_length=64)), |
+ |
21 |
('text', models.TextField(max_length=1000)), |
+ |
22 |
('post', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='blog.Post')), |
+ |
23 |
], |
+ |
24 |
), |
+ |
25 |
] |
+ |
26 |
templates/blog/locale/de/LC_MESSAGES/django.po ¶
11 additions and 3 deletions.
View changes Hide changes
1 |
1 |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 |
2 |
# This file is distributed under the same license as the PACKAGE package. |
3 |
3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 |
4 |
# |
5 |
5 |
#, fuzzy |
6 |
6 |
msgid "" |
7 |
7 |
msgstr "" |
8 |
8 |
"Project-Id-Version: PACKAGE VERSION\n" |
9 |
9 |
"Report-Msgid-Bugs-To: \n" |
10 |
10 |
"POT-Creation-Date: 2018-01-27 05:02+0100\n" |
11 |
- | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
+ |
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 |
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 |
13 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
14 |
14 |
"Language: \n" |
15 |
15 |
"MIME-Version: 1.0\n" |
16 |
16 |
"Content-Type: text/plain; charset=UTF-8\n" |
17 |
17 |
"Content-Transfer-Encoding: 8bit\n" |
18 |
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 |
19 |
|
20 |
20 |
#: templates/blog/index.html:10 |
21 |
21 |
msgid "Maarten's blog" |
22 |
22 |
msgstr "" |
23 |
23 |
|
24 |
24 |
#: templates/blog/index.html:12 |
25 |
25 |
msgid "" |
26 |
26 |
"The always coherently put together, yet\n" |
27 |
27 |
"fuzzy blog of whatever sprouts in my mind." |
28 |
28 |
msgstr "" |
29 |
29 |
|
30 |
30 |
#: templates/blog/index.html:21 |
31 |
31 |
msgid "Blog" |
32 |
32 |
msgstr "" |
33 |
33 |
|
34 |
34 |
#: templates/blog/index.html:23 |
35 |
35 |
msgid "" |
36 |
36 |
"Welcome to my blog. Here, I write\n" |
37 |
37 |
" about things that interest me. Politics, coding,\n" |
38 |
38 |
" studying, life, or anything else I fancy rambling\n" |
39 |
39 |
" about. If you're in luck, I may've written it in a\n" |
40 |
40 |
" language that you understand better than English.\n" |
41 |
41 |
" " |
42 |
42 |
msgstr "" |
43 |
43 |
|
44 |
44 |
#: templates/blog/index.html:45 templates/blog/post.html:71 |
45 |
- | msgid "Read on" |
+ |
45 |
msgid "Read on" |
46 |
46 |
msgstr "" |
47 |
47 |
|
48 |
48 |
#: templates/blog/post.html:23 |
49 |
- | msgid "This article in other languages" |
+ |
49 |
msgid "This article in other languages" |
50 |
50 |
msgstr "Dieser Artikel in anderen Sprachen" |
51 |
51 |
|
+ |
52 |
#: templates/blog/post.html:60 |
+ |
53 |
msgid "Comments" |
+ |
54 |
msgstr "" |
+ |
55 |
|
+ |
56 |
#: templates/blog/post.html:71 |
+ |
57 |
msgid "Submit" |
+ |
58 |
msgstr "" |
+ |
59 |
templates/blog/locale/es/LC_MESSAGES/django.po ¶
11 additions and 3 deletions.
View changes Hide changes
1 |
1 |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 |
2 |
# This file is distributed under the same license as the PACKAGE package. |
3 |
3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 |
4 |
# |
5 |
5 |
#, fuzzy |
6 |
6 |
msgid "" |
7 |
7 |
msgstr "" |
8 |
8 |
"Project-Id-Version: PACKAGE VERSION\n" |
9 |
9 |
"Report-Msgid-Bugs-To: \n" |
10 |
10 |
"POT-Creation-Date: 2018-01-27 05:02+0100\n" |
11 |
- | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
+ |
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 |
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 |
13 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
14 |
14 |
"Language: \n" |
15 |
15 |
"MIME-Version: 1.0\n" |
16 |
16 |
"Content-Type: text/plain; charset=UTF-8\n" |
17 |
17 |
"Content-Transfer-Encoding: 8bit\n" |
18 |
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 |
19 |
|
20 |
20 |
#: templates/blog/index.html:10 |
21 |
21 |
msgid "Maarten's blog" |
22 |
22 |
msgstr "" |
23 |
23 |
|
24 |
24 |
#: templates/blog/index.html:12 |
25 |
25 |
msgid "" |
26 |
26 |
"The always coherently put together, yet\n" |
27 |
27 |
"fuzzy blog of whatever sprouts in my mind." |
28 |
28 |
msgstr "" |
29 |
29 |
|
30 |
30 |
#: templates/blog/index.html:21 |
31 |
31 |
msgid "Blog" |
32 |
32 |
msgstr "" |
33 |
33 |
|
34 |
34 |
#: templates/blog/index.html:23 |
35 |
35 |
msgid "" |
36 |
36 |
"Welcome to my blog. Here, I write\n" |
37 |
37 |
" about things that interest me. Politics, coding,\n" |
38 |
38 |
" studying, life, or anything else I fancy rambling\n" |
39 |
39 |
" about. If you're in luck, I may've written it in a\n" |
40 |
40 |
" language that you understand better than English.\n" |
41 |
41 |
" " |
42 |
42 |
msgstr "" |
43 |
43 |
|
44 |
44 |
#: templates/blog/index.html:45 templates/blog/post.html:71 |
45 |
- | msgid "Read on" |
+ |
45 |
msgid "Read on" |
46 |
46 |
msgstr "" |
47 |
47 |
|
48 |
48 |
#: templates/blog/post.html:23 |
49 |
- | msgid "This article in other languages" |
+ |
49 |
msgid "This article in other languages" |
50 |
50 |
msgstr "" |
51 |
51 |
|
+ |
52 |
#: templates/blog/post.html:60 |
+ |
53 |
msgid "Comments" |
+ |
54 |
msgstr "" |
+ |
55 |
|
+ |
56 |
#: templates/blog/post.html:71 |
+ |
57 |
msgid "Submit" |
+ |
58 |
msgstr "" |
+ |
59 |
templates/blog/locale/fr/LC_MESSAGES/django.po ¶
11 additions and 3 deletions.
View changes Hide changes
1 |
1 |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 |
2 |
# This file is distributed under the same license as the PACKAGE package. |
3 |
3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 |
4 |
# |
5 |
5 |
#, fuzzy |
6 |
6 |
msgid "" |
7 |
7 |
msgstr "" |
8 |
8 |
"Project-Id-Version: PACKAGE VERSION\n" |
9 |
9 |
"Report-Msgid-Bugs-To: \n" |
10 |
10 |
"POT-Creation-Date: 2018-01-27 05:02+0100\n" |
11 |
- | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
+ |
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 |
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 |
13 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
14 |
14 |
"Language: \n" |
15 |
15 |
"MIME-Version: 1.0\n" |
16 |
16 |
"Content-Type: text/plain; charset=UTF-8\n" |
17 |
17 |
"Content-Transfer-Encoding: 8bit\n" |
18 |
18 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
19 |
19 |
|
20 |
20 |
#: templates/blog/index.html:10 |
21 |
21 |
msgid "Maarten's blog" |
22 |
22 |
msgstr "Blog de Maarten" |
23 |
23 |
|
24 |
24 |
#: templates/blog/index.html:12 |
25 |
25 |
msgid "" |
26 |
26 |
"The always coherently put together, yet\n" |
27 |
27 |
"fuzzy blog of whatever sprouts in my mind." |
28 |
28 |
msgstr "" |
29 |
29 |
"Le toujours mis de façon cohérente ensemble, mais floue de ce que les germes " |
30 |
30 |
"dans mon esprit." |
31 |
31 |
|
32 |
32 |
#: templates/blog/index.html:21 |
33 |
33 |
msgid "Blog" |
34 |
34 |
msgstr "Blog" |
35 |
35 |
|
36 |
36 |
#: templates/blog/index.html:23 |
37 |
37 |
msgid "" |
38 |
38 |
"Welcome to my blog. Here, I write\n" |
39 |
39 |
" about things that interest me. Politics, coding,\n" |
40 |
40 |
" studying, life, or anything else I fancy rambling\n" |
41 |
41 |
" about. If you're in luck, I may've written it in a\n" |
42 |
42 |
" language that you understand better than English.\n" |
43 |
43 |
" " |
44 |
44 |
msgstr "" |
45 |
45 |
|
46 |
46 |
#: templates/blog/index.html:45 templates/blog/post.html:71 |
47 |
- | msgid "Read on" |
+ |
47 |
msgid "Read on" |
48 |
48 |
msgstr "Lire plus" |
49 |
49 |
|
50 |
50 |
#: templates/blog/post.html:23 |
51 |
- | msgid "This article in other languages" |
+ |
51 |
msgid "This article in other languages" |
52 |
52 |
msgstr "Cet article en autres langues" |
53 |
53 |
|
+ |
54 |
#: templates/blog/post.html:60 |
+ |
55 |
msgid "Comments" |
+ |
56 |
msgstr "" |
+ |
57 |
|
+ |
58 |
#: templates/blog/post.html:71 |
+ |
59 |
msgid "Submit" |
+ |
60 |
msgstr "" |
+ |
61 |
templates/blog/locale/nl/LC_MESSAGES/django.po ¶
11 additions and 3 deletions.
View changes Hide changes
1 |
1 |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 |
2 |
# This file is distributed under the same license as the PACKAGE package. |
3 |
3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
4 |
4 |
# |
5 |
5 |
#, fuzzy |
6 |
6 |
msgid "" |
7 |
7 |
msgstr "" |
8 |
8 |
"Project-Id-Version: PACKAGE VERSION\n" |
9 |
9 |
"Report-Msgid-Bugs-To: \n" |
10 |
10 |
"POT-Creation-Date: 2018-01-27 05:02+0100\n" |
11 |
- | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
+ |
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 |
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 |
13 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
14 |
14 |
"Language: \n" |
15 |
15 |
"MIME-Version: 1.0\n" |
16 |
16 |
"Content-Type: text/plain; charset=UTF-8\n" |
17 |
17 |
"Content-Transfer-Encoding: 8bit\n" |
18 |
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 |
19 |
|
20 |
20 |
#: templates/blog/index.html:10 |
21 |
21 |
msgid "Maarten's blog" |
22 |
22 |
msgstr "Maartens blog" |
23 |
23 |
|
24 |
24 |
#: templates/blog/index.html:12 |
25 |
25 |
msgid "" |
26 |
26 |
"The always coherently put together, yet\n" |
27 |
27 |
"fuzzy blog of whatever sprouts in my mind." |
28 |
28 |
msgstr "" |
29 |
29 |
"Een zeer weloverwogen geschreven, en toch warrige blog over vanalles wat in " |
30 |
30 |
"mij opkomt." |
31 |
31 |
|
32 |
32 |
#: templates/blog/index.html:21 |
33 |
33 |
msgid "Blog" |
34 |
34 |
msgstr "Blog" |
35 |
35 |
|
36 |
36 |
#: templates/blog/index.html:23 |
37 |
37 |
msgid "" |
38 |
38 |
"Welcome to my blog. Here, I write\n" |
39 |
39 |
" about things that interest me. Politics, coding,\n" |
40 |
40 |
" studying, life, or anything else I fancy rambling\n" |
41 |
41 |
" about. If you're in luck, I may've written it in a\n" |
42 |
42 |
" language that you understand better than English.\n" |
43 |
43 |
" " |
44 |
44 |
msgstr "" |
45 |
45 |
"Welkom op mijn blog. Hier schrijf ik over onderwerpen die mij interesseren. " |
46 |
46 |
"Politiek, programmeren, studeren en het leven, plus alles waar ik goesting " |
47 |
47 |
"in heb om over te schrijven." |
48 |
48 |
|
49 |
49 |
#: templates/blog/index.html:45 templates/blog/post.html:71 |
50 |
- | msgid "Read on" |
+ |
50 |
msgid "Read on" |
51 |
51 |
msgstr "Verder lezen" |
52 |
52 |
|
53 |
53 |
#: templates/blog/post.html:23 |
54 |
- | msgid "This article in other languages" |
+ |
54 |
msgid "This article in other languages" |
55 |
55 |
msgstr "Dit artikel in andere talen" |
56 |
56 |
|
+ |
57 |
#: templates/blog/post.html:60 |
+ |
58 |
msgid "Comments" |
+ |
59 |
msgstr "" |
+ |
60 |
|
+ |
61 |
#: templates/blog/post.html:71 |
+ |
62 |
msgid "Submit" |
+ |
63 |
msgstr "" |
+ |
64 |
templates/blog/post.html ¶
5 additions and 1 deletion.
View changes Hide changes
1 |
1 |
{% load humanize %} |
2 |
2 |
{% load i18n %} |
3 |
3 |
{% load static %} |
4 |
4 |
|
5 |
5 |
{% block stylesheets %} |
6 |
6 |
{{ block.super }} |
7 |
7 |
<link href="{% static "blog/stylesheet.css" %}" rel="stylesheet" media="screen, projection" /> |
8 |
8 |
{% endblock %} |
9 |
9 |
|
10 |
10 |
{% block description %} |
11 |
11 |
{{ article|safe|truncatewords_html:20 }} |
12 |
12 |
{% endblock description %} |
13 |
13 |
{% block title %}📚 {{ navbar_title }}{% endblock title %} |
14 |
14 |
|
15 |
15 |
|
16 |
16 |
{% block main %} |
17 |
17 |
{% with color="brown" accent_color="yellow" %} |
18 |
18 |
<div class="section {{ color }} lighten-1 z-depth-3"> |
19 |
19 |
<div class="container"> |
20 |
20 |
<article style="font-family:serif;"> |
21 |
21 |
{{ article|safe }} |
22 |
22 |
</article> |
23 |
23 |
|
24 |
24 |
|
25 |
25 |
<h5 class="white-text">{% trans "This article in other languages" %}</h5> |
26 |
26 |
|
27 |
27 |
{% get_language_info for 'nl' as LANG %} |
28 |
28 |
<a {% if dutch_link %} href="{{dutch_link}}" {% endif %} |
29 |
29 |
class="btn {{accent_color}} accent-4 black-text waves-effect |
30 |
30 |
{% if not dutch_link %}disabled{% endif %}"> |
31 |
31 |
🇧🇪 {{ LANG.name_translated}} 🇳🇱 |
32 |
32 |
</a> |
33 |
33 |
{% get_current_language as lang %} |
34 |
34 |
{% get_language_info for 'fr' as LANG %} |
35 |
35 |
<a {% if french_link %} href="{{french_link}}" {% endif %} |
36 |
36 |
class="btn {{accent_color}} accent-4 black-text waves-effect |
37 |
37 |
{% if not french_link %}disabled{% endif %}"> |
38 |
38 |
🇧🇪 {{ LANG.name_translated}} 🇫🇷 |
39 |
39 |
</a> |
40 |
40 |
{% get_language_info for 'en' as LANG %} |
41 |
41 |
<a {% if english_link %} href="{{english_link}}" {% endif %} |
42 |
42 |
class="btn {{accent_color}} accent-4 black-text waves-effect |
43 |
43 |
{% if not english_link %}disabled{% endif %}"> |
44 |
44 |
🇬🇧 {{ LANG.name_translated}} 🇺🇸 |
45 |
45 |
</a> |
46 |
46 |
{% get_language_info for 'de' as LANG %} |
47 |
47 |
<a {% if german_link %} href="{{german_link}}" {% endif %} |
48 |
48 |
class="btn {{accent_color}} accent-4 black-text waves-effect |
49 |
49 |
{% if not german_link %}disabled{% endif %}"> |
50 |
50 |
🇧🇪 {{ LANG.name_translated}} 🇩🇪 |
51 |
51 |
</a> |
52 |
52 |
{% get_language_info for 'es' as LANG %} |
53 |
53 |
<a {% if spanish_link %} href="{{spanish_link}}" {% endif %} |
54 |
54 |
class="btn {{accent_color}} accent-4 black-text waves-effect |
55 |
55 |
{% if not spanish_link %}disabled{% endif %}"> |
56 |
56 |
🇪🇸 {{ LANG.name_translated}} 🇲🇽 |
57 |
57 |
</a> |
58 |
58 |
|
59 |
59 |
<h5 class="white-text">{% trans "Comments" %}</h5> |
60 |
60 |
{% for comment in comments %} {# Whoops =P #} |
61 |
61 |
<span class="white-text">{{ comment.name|title }} | </span> |
62 |
62 |
<time class="grey-text" datetime="{{ comment.date|date:'c' }}">{{ comment.date|naturaltime }}</time> |
63 |
63 |
<br /> |
64 |
64 |
<p class="white-text">{{ comment.text|urlize }}</p> |
65 |
65 |
<hr /> |
66 |
66 |
{% endfor %} |
67 |
67 |
{# Form for new comment #} |
68 |
68 |
<form action="" method="POST"> |
69 |
69 |
{{ form }} |
70 |
- | <input type="submit" value="{% trans "Submit" %}" /> |
+ |
70 |
{{ form.name.label_tag }} |
+ |
71 |
<input class="white-text browser-default" type="text" id="id_name" name="name" maxlength="64" required /> |
+ |
72 |
{{ form.text.label_tag }} |
+ |
73 |
<textarea id="id_text" class="white-text" name="text" maxlength="1000" required></textarea> |
+ |
74 |
<input type="submit" value="{% trans "Submit" %}" /> |
71 |
75 |
</form> |
72 |
76 |
|
73 |
77 |
|
74 |
78 |
{% comment %} |
75 |
79 |
<a href="{% url 'blog-post' post_slug %}" class="btn {{accent_color}} accent-4 black-text tooltipped" data-position="bottom" data-delay="50" data-tooltip="{% trans "Multilingual link. Links to the version in the viewer's preferred language." %}">🏳️🌈 {% trans "All available languages" %}</a> |
76 |
80 |
{# TODO: Change to rainbow flag when possible #} |
77 |
81 |
{% endcomment %} |
78 |
82 |
</div> |
79 |
83 |
|
80 |
84 |
</div> |
81 |
85 |
<div class="container"> |
82 |
86 |
{% for title, date, description, link in post_links %} |
83 |
87 |
<h2 class="{{ color}}-text">{{ title }}</h2> |
84 |
88 |
{# FIXME: Date is in all languages of the same format. Fix for each language #} |
85 |
89 |
<span class="grey-text">{{ date|date:"l j F Y" }}</span> |
86 |
90 |
{#<p class="hide-on-small-only">{{ description }}</p>#} |
87 |
91 |
<p class="hide-on-small-only">{% lorem %}</p> |
88 |
92 |
<a class="btn {{accent_color}} accent-3" href="{{link}}"> |
89 |
93 |
{% trans "Read on"%} |
90 |
94 |
</a> |
91 |
95 |
<hr /> |
92 |
96 |
{% endfor %} |
93 |
97 |
</div> |
94 |
98 |
{% endwith %} |
95 |
99 |
{% endblock main %} |
96 |
100 |