Skip to content

Commit

Permalink
Add some missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
pingiun committed Jul 10, 2024
1 parent 3c783ed commit e30b823
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
Binary file modified src/home/locale/nl/LC_MESSAGES/django.mo
Binary file not shown.
8 changes: 6 additions & 2 deletions src/home/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-10 14:03+0200\n"
"POT-Creation-Date: 2024-07-10 17:40+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -30,7 +30,7 @@ msgstr "Maak een nieuwe homepagina"
msgid "This is now the current homepage."
msgstr "Dit is nu de huidige homepagina."

#: home/apps.py:8 home/apps.py:11
#: home/apps.py:8 home/apps.py:11 home/templates/home/home.html:6
msgid "Home"
msgstr "Homepagina"

Expand All @@ -53,3 +53,7 @@ msgstr "homepagina’s"
#: home/templates/admin/home/submit_line.html:5
msgid "Save and set as current"
msgstr "Opslaan en als huidige instellen"

#: home/templates/home/home.html:7
msgid "There is no homepage content."
msgstr "Er is geen inhoud voor de homepagina."
8 changes: 3 additions & 5 deletions src/home/templates/home/home.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{% extends "menupage.html" %}

{% block main %}
{% extends "menupage.html" %}{% load i18n %}{% block main %}
<div class="homepage">
{% if homepage %}
{{ homepage.content | safe }}
{% else %}
<h1>Home</h1>
<p>There is no homepage content.</p>
<h1>{% translate 'Home' %}</h1>
<p>{% translate 'There is no homepage content.' %}</p>
{% endif %}
</div
{% endblock main %}
Binary file modified src/theme/locale/nl/LC_MESSAGES/django.mo
Binary file not shown.
10 changes: 7 additions & 3 deletions src/theme/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-10 13:30+0200\n"
"POT-Creation-Date: 2024-07-10 17:40+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -22,14 +22,18 @@ msgstr ""
msgid "Theme"
msgstr "Thema"

#: theme/models.py:11
#: theme/models.py:14
msgid "name"
msgstr "naam"

#: theme/models.py:12
#: theme/models.py:15
msgid "value"
msgstr "waarde"

#: theme/models.py:22
msgid "version"
msgstr "versie"

#: theme/templates/admin/constance_theme/change_list.html:61
msgid "Save"
msgstr "Opslaan"
Expand Down

0 comments on commit e30b823

Please sign in to comment.