From c7b39252099542c363e7b93418800a82fe316bea Mon Sep 17 00:00:00 2001 From: Joaquim Nallar Date: Mon, 11 Mar 2024 15:52:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AB=20[FEAT]=20Change=20`geotrek.core`?= =?UTF-8?q?=20verbose=20name=20to=20"Topology"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le verbose name "Core" dans l'application n'est pas très parlant en français (Cœur). Solution le renomer en Topology ce qui donne "Topologie". --- docs/changelog.rst | 1 + geotrek/authent/tests/test_admin.py | 2 +- geotrek/core/apps.py | 2 +- geotrek/core/locale/de/LC_MESSAGES/django.po | 7 ++----- geotrek/core/locale/en/LC_MESSAGES/django.po | 7 ++----- geotrek/core/locale/es/LC_MESSAGES/django.po | 7 ++----- geotrek/core/locale/fr/LC_MESSAGES/django.po | 9 +++------ geotrek/core/locale/it/LC_MESSAGES/django.po | 7 ++----- geotrek/core/locale/nl/LC_MESSAGES/django.po | 7 ++----- 9 files changed, 16 insertions(+), 33 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index d9cbb2d97a..304c3029c0 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -10,6 +10,7 @@ CHANGELOG - Add `include_externals` filter to Cirkwi trek exports, to allow excluding treks with an external id (eid) (#3947) - Tourism : add price to TouristicEvent model - ref #3587 - Add `check_versions` command to check Geotrek, Python, Django, PostgreSQL and PostGIS versions. +- Change `geotrek.core` verbose name to "Topology" **Bug fixes** diff --git a/geotrek/authent/tests/test_admin.py b/geotrek/authent/tests/test_admin.py index f870ea1dd0..70a3cfbc5b 100644 --- a/geotrek/authent/tests/test_admin.py +++ b/geotrek/authent/tests/test_admin.py @@ -20,7 +20,7 @@ def test_path_manager_cannot_see_trekking_apps(self): response = self.client.get('/admin/trekking/') self.assertEqual(response.status_code, 404) response = self.client.get('/admin/') - self.assertContains(response, 'Core') + self.assertContains(response, 'Topology') self.assertContains(response, 'Maintenance') self.assertContains(response, 'Infrastructure') self.assertContains(response, 'Signage') diff --git a/geotrek/core/apps.py b/geotrek/core/apps.py index 19dd1c8885..b1af46ac0c 100644 --- a/geotrek/core/apps.py +++ b/geotrek/core/apps.py @@ -5,7 +5,7 @@ class CoreConfig(AppConfig): name = 'geotrek.core' - verbose_name = _("Core") + verbose_name = _("Topology") def ready(self): from .forms import PathForm, TrailForm diff --git a/geotrek/core/locale/de/LC_MESSAGES/django.po b/geotrek/core/locale/de/LC_MESSAGES/django.po index 769268cabb..da0ceb0b5d 100644 --- a/geotrek/core/locale/de/LC_MESSAGES/django.po +++ b/geotrek/core/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-04 16:25+0100\n" +"POT-Creation-Date: 2024-03-12 12:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "Core" +msgid "Topology" msgstr "" msgid "Topology is empty." @@ -180,9 +180,6 @@ msgstr "" msgid "Kind" msgstr "" -msgid "Topology" -msgstr "" - msgid "Topologies" msgstr "" diff --git a/geotrek/core/locale/en/LC_MESSAGES/django.po b/geotrek/core/locale/en/LC_MESSAGES/django.po index 769268cabb..da0ceb0b5d 100644 --- a/geotrek/core/locale/en/LC_MESSAGES/django.po +++ b/geotrek/core/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-04 16:25+0100\n" +"POT-Creation-Date: 2024-03-12 12:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "Core" +msgid "Topology" msgstr "" msgid "Topology is empty." @@ -180,9 +180,6 @@ msgstr "" msgid "Kind" msgstr "" -msgid "Topology" -msgstr "" - msgid "Topologies" msgstr "" diff --git a/geotrek/core/locale/es/LC_MESSAGES/django.po b/geotrek/core/locale/es/LC_MESSAGES/django.po index 769268cabb..da0ceb0b5d 100644 --- a/geotrek/core/locale/es/LC_MESSAGES/django.po +++ b/geotrek/core/locale/es/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-04 16:25+0100\n" +"POT-Creation-Date: 2024-03-12 12:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "Core" +msgid "Topology" msgstr "" msgid "Topology is empty." @@ -180,9 +180,6 @@ msgstr "" msgid "Kind" msgstr "" -msgid "Topology" -msgstr "" - msgid "Topologies" msgstr "" diff --git a/geotrek/core/locale/fr/LC_MESSAGES/django.po b/geotrek/core/locale/fr/LC_MESSAGES/django.po index 7317e2795b..0ffc28e59e 100644 --- a/geotrek/core/locale/fr/LC_MESSAGES/django.po +++ b/geotrek/core/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-04 16:25+0100\n" +"POT-Creation-Date: 2024-03-12 12:52+0000\n" "PO-Revision-Date: 2020-09-23 07:10+0000\n" "Last-Translator: Emmanuelle Helly \n" "Language-Team: French 1;\n" "X-Generator: Weblate 4.1.1\n" -msgid "Core" -msgstr "Cœur" +msgid "Topology" +msgstr "Topologie" msgid "Topology is empty." msgstr "La topologie est vide." @@ -183,9 +183,6 @@ msgstr "Décalage" msgid "Kind" msgstr "Type de topologie" -msgid "Topology" -msgstr "Topologie" - msgid "Topologies" msgstr "Topologies" diff --git a/geotrek/core/locale/it/LC_MESSAGES/django.po b/geotrek/core/locale/it/LC_MESSAGES/django.po index 769268cabb..da0ceb0b5d 100644 --- a/geotrek/core/locale/it/LC_MESSAGES/django.po +++ b/geotrek/core/locale/it/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-04 16:25+0100\n" +"POT-Creation-Date: 2024-03-12 12:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "Core" +msgid "Topology" msgstr "" msgid "Topology is empty." @@ -180,9 +180,6 @@ msgstr "" msgid "Kind" msgstr "" -msgid "Topology" -msgstr "" - msgid "Topologies" msgstr "" diff --git a/geotrek/core/locale/nl/LC_MESSAGES/django.po b/geotrek/core/locale/nl/LC_MESSAGES/django.po index 769268cabb..da0ceb0b5d 100644 --- a/geotrek/core/locale/nl/LC_MESSAGES/django.po +++ b/geotrek/core/locale/nl/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-04 16:25+0100\n" +"POT-Creation-Date: 2024-03-12 12:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "Core" +msgid "Topology" msgstr "" msgid "Topology is empty." @@ -180,9 +180,6 @@ msgstr "" msgid "Kind" msgstr "" -msgid "Topology" -msgstr "" - msgid "Topologies" msgstr ""