Skip to content

Commit

Permalink
✨ [FEAT] Implement pagination and updates only in CirkwiParser (refs #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Chatewgne committed Nov 20, 2024
1 parent 308d049 commit 180ca07
Show file tree
Hide file tree
Showing 16 changed files with 1,425 additions and 9 deletions.
4 changes: 4 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ CHANGELOG
2.110.0+dev (XXXX-XX-XX)
----------------------------

**Features**

- Add `CirkwiParser` to retrieve Treks and Touristic Contents from Cirkwi (refs #3947)

**Bug fixes**

- Fix missing Dockerfile path on make build scripts
Expand Down
31 changes: 30 additions & 1 deletion geotrek/cirkwi/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: 2024-11-20 12:48+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 @@ -44,3 +44,32 @@ msgstr ""

msgid "Cirkwi POI categories"
msgstr ""

#, python-brace-format
msgid "Failed to download {url}. HTTP status code {status_code}"
msgstr ""

#, python-brace-format
msgid ""
"{model} '{val}' did not exist in Geotrek-Admin and was automatically created"
msgstr ""

#, python-brace-format
msgid "{model} '{val}' does not exists in Geotrek-Admin. Please add it"
msgstr ""

#, python-brace-format
msgid ""
"No Practice matching Cirkwi Locomotion '{type}' (id: '{id}') was found. "
"Please add it"
msgstr ""

msgid "Difficulty Level with Cirkwi Level"
msgstr ""

msgid "Address"
msgstr ""

#, python-brace-format
msgid "Type 1 '{type}' does not exist for category '{cat}'. Please add it"
msgstr ""
31 changes: 30 additions & 1 deletion geotrek/cirkwi/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: 2024-11-20 12:48+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 @@ -44,3 +44,32 @@ msgstr ""

msgid "Cirkwi POI categories"
msgstr ""

#, python-brace-format
msgid "Failed to download {url}. HTTP status code {status_code}"
msgstr ""

#, python-brace-format
msgid ""
"{model} '{val}' did not exist in Geotrek-Admin and was automatically created"
msgstr ""

#, python-brace-format
msgid "{model} '{val}' does not exists in Geotrek-Admin. Please add it"
msgstr ""

#, python-brace-format
msgid ""
"No Practice matching Cirkwi Locomotion '{type}' (id: '{id}') was found. "
"Please add it"
msgstr ""

msgid "Difficulty Level with Cirkwi Level"
msgstr ""

msgid "Address"
msgstr ""

#, python-brace-format
msgid "Type 1 '{type}' does not exist for category '{cat}'. Please add it"
msgstr ""
31 changes: 30 additions & 1 deletion geotrek/cirkwi/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: 2024-11-20 12:48+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 @@ -44,3 +44,32 @@ msgstr ""

msgid "Cirkwi POI categories"
msgstr ""

#, python-brace-format
msgid "Failed to download {url}. HTTP status code {status_code}"
msgstr ""

#, python-brace-format
msgid ""
"{model} '{val}' did not exist in Geotrek-Admin and was automatically created"
msgstr ""

#, python-brace-format
msgid "{model} '{val}' does not exists in Geotrek-Admin. Please add it"
msgstr ""

#, python-brace-format
msgid ""
"No Practice matching Cirkwi Locomotion '{type}' (id: '{id}') was found. "
"Please add it"
msgstr ""

msgid "Difficulty Level with Cirkwi Level"
msgstr ""

msgid "Address"
msgstr ""

#, python-brace-format
msgid "Type 1 '{type}' does not exist for category '{cat}'. Please add it"
msgstr ""
37 changes: 36 additions & 1 deletion geotrek/cirkwi/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: 2024-11-20 12:30+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 @@ -43,3 +43,38 @@ msgstr "Catégorie de POI Cirkwi"

msgid "Cirkwi POI categories"
msgstr "Catégories de POI Cirkwi"

#, python-brace-format
msgid "Failed to download {url}. HTTP status code {status_code}"
msgstr "Téléchargement impossible de {url}. Code d'erreur HTTP {status_code}"

#, python-brace-format
msgid ""
"{model} '{val}' did not exist in Geotrek-Admin and was automatically created"
msgstr ""
"{model} '{val}' n'existait pas dans Geotrek-Admin. Il a été créé "
"automatiquement"

#, python-brace-format
msgid "{model} '{val}' does not exists in Geotrek-Admin. Please add it"
msgstr "{model} '{val}' n'existe pas dans Geotrek-Admin. Merci de l'ajouter"

#, python-brace-format
msgid ""
"No Practice matching Cirkwi Locomotion '{type}' (id: '{id}') was found. "
"Please add it"
msgstr ""
"Aucune Pratique ne correspond à la Locomotion Cirkwi '{type}' (id: '{id}'). "
"Merci de l'ajouter"

msgid "Difficulty Level with Cirkwi Level"
msgstr "Niveau de Difficulté ayant le niveau Cirkwi"

msgid "Address"
msgstr "Adresse"

#, python-brace-format
msgid "Type 1 '{type}' does not exist for category '{cat}'. Please add it"
msgstr ""
"Le type 1 \"{type}\" n'existe pas pour la catégorie \"{cat}\". Vous devez "
"l'ajouter."
31 changes: 30 additions & 1 deletion geotrek/cirkwi/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-04-03 15:39+0000\n"
"POT-Creation-Date: 2024-11-20 12:48+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 @@ -44,3 +44,32 @@ msgstr ""

msgid "Cirkwi POI categories"
msgstr ""

#, python-brace-format
msgid "Failed to download {url}. HTTP status code {status_code}"
msgstr ""

#, python-brace-format
msgid ""
"{model} '{val}' did not exist in Geotrek-Admin and was automatically created"
msgstr ""

#, python-brace-format
msgid "{model} '{val}' does not exists in Geotrek-Admin. Please add it"
msgstr ""

#, python-brace-format
msgid ""
"No Practice matching Cirkwi Locomotion '{type}' (id: '{id}') was found. "
"Please add it"
msgstr ""

msgid "Difficulty Level with Cirkwi Level"
msgstr ""

msgid "Address"
msgstr ""

#, python-brace-format
msgid "Type 1 '{type}' does not exist for category '{cat}'. Please add it"
msgstr ""
31 changes: 30 additions & 1 deletion geotrek/cirkwi/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-04-03 15:39+0000\n"
"POT-Creation-Date: 2024-11-20 12:48+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 @@ -44,3 +44,32 @@ msgstr ""

msgid "Cirkwi POI categories"
msgstr ""

#, python-brace-format
msgid "Failed to download {url}. HTTP status code {status_code}"
msgstr ""

#, python-brace-format
msgid ""
"{model} '{val}' did not exist in Geotrek-Admin and was automatically created"
msgstr ""

#, python-brace-format
msgid "{model} '{val}' does not exists in Geotrek-Admin. Please add it"
msgstr ""

#, python-brace-format
msgid ""
"No Practice matching Cirkwi Locomotion '{type}' (id: '{id}') was found. "
"Please add it"
msgstr ""

msgid "Difficulty Level with Cirkwi Level"
msgstr ""

msgid "Address"
msgstr ""

#, python-brace-format
msgid "Type 1 '{type}' does not exist for category '{cat}'. Please add it"
msgstr ""
Loading

0 comments on commit 180ca07

Please sign in to comment.