Skip to content

Commit

Permalink
💫 [IMPR] Change header in Admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Chatewgne committed Jan 30, 2025
1 parent 0aa5d80 commit 1ca3e10
Show file tree
Hide file tree
Showing 57 changed files with 78 additions and 217 deletions.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ https://geotrek.readthedocs.io/en/latest/install/upgrade.html#from-geotrek-admin
- Optimize routing: computation is now done in the backend using the A* algorithm (#4070)
- Prevent from placing route markers outside of paths or on unreachable paths (#4070)
- Fix clickable labels in admin site for Difficulty Levels and Touristic Content Categories
- Change Admin site header to "Geotrek configuration"

**Bug fixes**

Expand Down
5 changes: 1 addition & 4 deletions geotrek/common/locale/de/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: 2025-01-07 14:35+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -563,9 +563,6 @@ msgstr ""
msgid "Annotate"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Date"
msgstr ""

Expand Down
5 changes: 1 addition & 4 deletions geotrek/common/locale/en/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: 2025-01-07 14:35+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -563,9 +563,6 @@ msgstr ""
msgid "Annotate"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Date"
msgstr ""

Expand Down
5 changes: 1 addition & 4 deletions geotrek/common/locale/es/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: 2025-01-07 14:35+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Olivia Duval <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -563,9 +563,6 @@ msgstr ""
msgid "Annotate"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Date"
msgstr ""

Expand Down
5 changes: 1 addition & 4 deletions geotrek/common/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-07 14:35+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: 2020-09-23 07:10+0000\n"
"Last-Translator: Emmanuelle Helly <[email protected]>\n"
"Language-Team: French <https://weblate.makina-corpus.net/projects/geotrek-"
Expand Down Expand Up @@ -590,9 +590,6 @@ msgstr "Historique"
msgid "Annotate"
msgstr "Annoter"

msgid "Attributes"
msgstr "Attributs"

msgid "Date"
msgstr "Date"

Expand Down
5 changes: 1 addition & 4 deletions geotrek/common/locale/it/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-07 14:35+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: 2013-01-25 15:02+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -563,9 +563,6 @@ msgstr ""
msgid "Annotate"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Date"
msgstr ""

Expand Down
5 changes: 1 addition & 4 deletions geotrek/common/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: 2025-01-07 14:35+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -563,9 +563,6 @@ msgstr ""
msgid "Annotate"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Date"
msgstr ""

Expand Down
4 changes: 4 additions & 0 deletions geotrek/core/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.contrib import admin
from django.utils.translation import gettext_lazy as _

from geotrek.core.models import (
PathSource, Stake, Usage, Network, Comfort, TrailCategory,
Expand Down Expand Up @@ -69,3 +70,6 @@ class CertificationStatusAdmin(MergeActionMixin, admin.ModelAdmin):
search_fields = ('label', 'structure')
list_filter = ('structure',)
merge_field = "label"


admin.site.site_header = _('Geotrek configuration')
8 changes: 4 additions & 4 deletions geotrek/core/locale/de/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-05-28 14:23+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -18,6 +18,9 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Geotrek configuration"
msgstr ""

msgid "Core"
msgstr ""

Expand Down Expand Up @@ -287,9 +290,6 @@ msgstr ""
msgid "Not validated"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Draft mode"
msgstr ""

Expand Down
8 changes: 4 additions & 4 deletions geotrek/core/locale/en/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-05-28 14:23+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -18,6 +18,9 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Geotrek configuration"
msgstr ""

msgid "Core"
msgstr ""

Expand Down Expand Up @@ -287,9 +290,6 @@ msgstr ""
msgid "Not validated"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Draft mode"
msgstr ""

Expand Down
8 changes: 4 additions & 4 deletions geotrek/core/locale/es/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-05-28 14:23+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -18,6 +18,9 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Geotrek configuration"
msgstr ""

msgid "Core"
msgstr ""

Expand Down Expand Up @@ -287,9 +290,6 @@ msgstr ""
msgid "Not validated"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Draft mode"
msgstr ""

Expand Down
8 changes: 4 additions & 4 deletions geotrek/core/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-28 14:23+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: 2020-09-23 07:10+0000\n"
"Last-Translator: Emmanuelle Helly <[email protected]>\n"
"Language-Team: French <https://weblate.makina-corpus.net/projects/geotrek-"
Expand All @@ -19,6 +19,9 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.1.1\n"

msgid "Geotrek configuration"
msgstr "Configuration de Geotrek"

msgid "Core"
msgstr "Cœur"

Expand Down Expand Up @@ -292,9 +295,6 @@ msgstr "KML"
msgid "Not validated"
msgstr "Non validé"

msgid "Attributes"
msgstr "Informations"

msgid "Draft mode"
msgstr "Mode brouillon"

Expand Down
8 changes: 4 additions & 4 deletions geotrek/core/locale/it/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-05-28 14:23+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -18,6 +18,9 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Geotrek configuration"
msgstr ""

msgid "Core"
msgstr ""

Expand Down Expand Up @@ -287,9 +290,6 @@ msgstr ""
msgid "Not validated"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Draft mode"
msgstr ""

Expand Down
8 changes: 4 additions & 4 deletions geotrek/core/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-05-28 14:23+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -18,6 +18,9 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Geotrek configuration"
msgstr ""

msgid "Core"
msgstr ""

Expand Down Expand Up @@ -287,9 +290,6 @@ msgstr ""
msgid "Not validated"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Draft mode"
msgstr ""

Expand Down
5 changes: 1 addition & 4 deletions geotrek/diving/locale/de/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-04-03 15:39+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -166,9 +166,6 @@ msgstr ""
msgid "Published touristic events"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Thumbnail"
msgstr ""

Expand Down
5 changes: 1 addition & 4 deletions geotrek/diving/locale/en/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-04-03 15:39+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -166,9 +166,6 @@ msgstr ""
msgid "Published touristic events"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Thumbnail"
msgstr ""

Expand Down
5 changes: 1 addition & 4 deletions geotrek/diving/locale/es/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-04-03 15:39+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -166,9 +166,6 @@ msgstr ""
msgid "Published touristic events"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "Thumbnail"
msgstr ""

Expand Down
5 changes: 1 addition & 4 deletions geotrek/diving/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-03 15:39+0000\n"
"POT-Creation-Date: 2025-01-30 13:53+0000\n"
"PO-Revision-Date: 2020-04-22 06:45+0000\n"
"Last-Translator: Emmanuelle Helly <[email protected]>\n"
"Language-Team: French <https://weblate.makina-corpus.net/projects/geotrek-"
Expand Down Expand Up @@ -167,9 +167,6 @@ msgstr "Événements touristiques"
msgid "Published touristic events"
msgstr "Événements touristiques publiés"

msgid "Attributes"
msgstr "Informations"

msgid "Thumbnail"
msgstr "Miniature"

Expand Down
Loading

0 comments on commit 1ca3e10

Please sign in to comment.