Skip to content

Commit

Permalink
Modify text/translations for flatpages:
Browse files Browse the repository at this point in the history
* Modify text for 'add image gallery' button
* Add new translations
* Fix existing translations
  • Loading branch information
justinefricou committed Oct 18, 2024
1 parent 7d721f0 commit 44b467b
Show file tree
Hide file tree
Showing 8 changed files with 93 additions and 16 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
CHANGELOG
=========

**Improvements**

- Vocabulary adjustment for the 'add image gallery' button for flatpages
- Improve translations for flatpages

**Bug fixes**

- Fix `loadinfrastructure` condition when adding to infra without `eid-field` option (#4328)
Expand Down
16 changes: 14 additions & 2 deletions geotrek/flatpages/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-08-07 07:56+0000\n"
"POT-Creation-Date: 2024-10-17 14:26+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 @@ -105,13 +105,25 @@ msgstr ""
msgid "ID list (separated by comma)"
msgstr ""

msgid "Trek"
msgstr ""

msgid "Touristic content"
msgstr ""

msgid "Touristic event"
msgstr ""

msgid "Outdoor Site"
msgstr ""

msgid "Submit"
msgstr ""

msgid "Manage the Image Gallery"
msgstr ""

msgid "Add gallery images"
msgid "Image gallery"
msgstr ""

msgid "Add an image"
Expand Down
16 changes: 14 additions & 2 deletions geotrek/flatpages/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-08-07 07:56+0000\n"
"POT-Creation-Date: 2024-10-17 14:26+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 @@ -105,13 +105,25 @@ msgstr ""
msgid "ID list (separated by comma)"
msgstr ""

msgid "Trek"
msgstr ""

msgid "Touristic content"
msgstr ""

msgid "Touristic event"
msgstr ""

msgid "Outdoor Site"
msgstr ""

msgid "Submit"
msgstr ""

msgid "Manage the Image Gallery"
msgstr ""

msgid "Add gallery images"
msgid "Image gallery"
msgstr ""

msgid "Add an image"
Expand Down
16 changes: 14 additions & 2 deletions geotrek/flatpages/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-08-07 07:56+0000\n"
"POT-Creation-Date: 2024-10-17 14:26+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 @@ -105,13 +105,25 @@ msgstr ""
msgid "ID list (separated by comma)"
msgstr ""

msgid "Trek"
msgstr ""

msgid "Touristic content"
msgstr ""

msgid "Touristic event"
msgstr ""

msgid "Outdoor Site"
msgstr ""

msgid "Submit"
msgstr ""

msgid "Manage the Image Gallery"
msgstr ""

msgid "Add gallery images"
msgid "Image gallery"
msgstr ""

msgid "Add an image"
Expand Down
22 changes: 17 additions & 5 deletions geotrek/flatpages/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-08-07 07:56+0000\n"
"POT-Creation-Date: 2024-10-17 14:26+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 @@ -93,7 +93,7 @@ msgid "Open in a new tab"
msgstr "Ouvrir le lien dans un nouvel onglet"

msgid "Cancel"
msgstr "AnnulerFlatpage"
msgstr "Annuler Flatpage"

msgid "Suggestions"
msgstr "Suggestions"
Expand All @@ -104,14 +104,26 @@ msgstr "Intitulé de l'encart"
msgid "ID list (separated by comma)"
msgstr "Liste d'ID (séparés par des virgules)"

msgid "Trek"
msgstr "Itinéraire"

msgid "Touristic content"
msgstr "Contenu touristique"

msgid "Touristic event"
msgstr "Evènement touristique"

msgid "Outdoor Site"
msgstr "Site Outdoor"

msgid "Submit"
msgstr "Enregistrer"

msgid "Manage the Image Gallery"
msgstr "Gérer la galerie d'image"
msgstr "Gérer la galerie d'images"

msgid "Add gallery images"
msgstr "Ajouter une galerie d'image"
msgid "Image gallery"
msgstr "Galerie d'images"

msgid "Add an image"
msgstr "Ajouter une image"
Expand Down
16 changes: 14 additions & 2 deletions geotrek/flatpages/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-08-07 07:56+0000\n"
"POT-Creation-Date: 2024-10-17 14:26+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 @@ -105,13 +105,25 @@ msgstr ""
msgid "ID list (separated by comma)"
msgstr ""

msgid "Trek"
msgstr ""

msgid "Touristic content"
msgstr ""

msgid "Touristic event"
msgstr ""

msgid "Outdoor Site"
msgstr ""

msgid "Submit"
msgstr ""

msgid "Manage the Image Gallery"
msgstr ""

msgid "Add gallery images"
msgid "Image gallery"
msgstr ""

msgid "Add an image"
Expand Down
16 changes: 14 additions & 2 deletions geotrek/flatpages/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-08-07 07:56+0000\n"
"POT-Creation-Date: 2024-10-17 14:26+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 @@ -105,13 +105,25 @@ msgstr ""
msgid "ID list (separated by comma)"
msgstr ""

msgid "Trek"
msgstr ""

msgid "Touristic content"
msgstr ""

msgid "Touristic event"
msgstr ""

msgid "Outdoor Site"
msgstr ""

msgid "Submit"
msgstr ""

msgid "Manage the Image Gallery"
msgstr ""

msgid "Add gallery images"
msgid "Image gallery"
msgstr ""

msgid "Add an image"
Expand Down
2 changes: 1 addition & 1 deletion geotrek/flatpages/templates/flatpages/translations_js.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
tinymce_Suggestions_Outdoor_Site: "{% trans "Outdoor Site" %}",
tinymce_Submit: "{% trans "Submit" %}",
tinymce_Gallery_title: "{% trans "Manage the Image Gallery" %}",
tinymce_Gallery_add: "{% trans "Add gallery images" %}",
tinymce_Gallery_add: "{% trans "Image gallery" %}",
tinymce_Gallery_image_add: "{% trans "Add an image" %}",
tinymce_Gallery_image_remove: "{% trans "Remove" %}",
}
Expand Down

0 comments on commit 44b467b

Please sign in to comment.