Skip to content

Commit

Permalink
Fix translation for 'Favorites' playlist name
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienCozeDev committed Jul 10, 2023
1 parent a3a797f commit 75ada32
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 96 deletions.
Binary file modified pod/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
83 changes: 41 additions & 42 deletions pod/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Pod\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-07 10:18+0000\n"
"POT-Creation-Date: 2023-07-10 14:35+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: obado <[email protected]>\n"
"Language-Team: Pod Team [email protected]\n"
Expand Down Expand Up @@ -2412,7 +2412,7 @@ msgstr ""

#: pod/import_video/templates/import_video/list.html pod/main/forms.py
#: pod/meeting/forms.py pod/meeting/templates/meeting/internal_recordings.html
#: pod/playlist/forms.py pod/playlist/models.py
#: pod/playlist/models.py
#: pod/playlist/templates/playlist/playlist_sort_select.html
#: pod/podfile/models.py pod/podfile/templates/podfile/home_content.html
#: pod/video_encode_transcript/models.py
Expand Down Expand Up @@ -2865,8 +2865,8 @@ msgstr ""
"principal / le contexte de ce contenu. (taille maximale : 250 caractères)"

#: pod/live/models.py pod/main/forms.py pod/main/models.py
#: pod/playlist/forms.py pod/playlist/models.py pod/video/forms.py
#: pod/video/models.py pod/video/templates/channel/list_theme.html
#: pod/playlist/models.py pod/video/forms.py pod/video/models.py
#: pod/video/templates/channel/list_theme.html
msgid "Description"
msgstr "Description"

Expand Down Expand Up @@ -5440,45 +5440,10 @@ msgstr "Listes de lecture"
msgid "Your favorites videos."
msgstr "Vos vidéos favorites."

#: pod/playlist/forms.py pod/playlist/models.py
msgid "Please choose a name between 1 and 250 characters."
msgstr "Veuillez entrer un nom entre 2 et 200 caractères."

#: pod/playlist/forms.py pod/playlist/models.py
msgid "Please choose a description. This description is empty by default."
msgstr "Veuillez choisir une description. Celle-ci est vide par défaut."

#: pod/playlist/forms.py pod/playlist/models.py
#: pod/playlist/templates/playlist/filter_aside.html
#: pod/playlist/templates/playlist/playlist-informations-card.html
msgid "Visibility"
msgstr "Visibilité"

#: pod/playlist/forms.py pod/playlist/models.py
msgid ""
"\n"
" Please chosse an visibility among 'public', 'protected', "
"'private'.\n"
" "
msgstr ""
"\n"
" Veuillez choisir une visibilité entre 'publique', 'protégée', "
"'privée'.\n"
" "

#: pod/playlist/forms.py pod/playlist/models.py
msgid "Please choose a password if this playlist is protected."
msgstr "Veuillez choisir un mot de passe si cette playlist est protégée."

#: pod/playlist/forms.py pod/playlist/models.py
#: pod/video/templates/videos/video-info.html
msgid "Autoplay"
msgstr "Lecture automatique"

#: pod/playlist/forms.py pod/playlist/models.py
msgid "Please choose if this playlist is an autoplay playlist or not."
msgstr "Veuillez choisir si cette playlist est en lecture automatique ou non."

#: pod/playlist/forms.py
msgid "general informations"
msgstr "Informations générales"
Expand Down Expand Up @@ -5517,6 +5482,39 @@ msgstr "Privée"
msgid "Playlist"
msgstr "Liste de lecture"

#: pod/playlist/models.py
msgid "Please choose a name between 1 and 250 characters."
msgstr "Veuillez entrer un nom entre 2 et 200 caractères."

#: pod/playlist/models.py
msgid "Please choose a description. This description is empty by default."
msgstr "Veuillez choisir une description. Celle-ci est vide par défaut."

#: pod/playlist/models.py pod/playlist/templates/playlist/filter_aside.html
#: pod/playlist/templates/playlist/playlist-informations-card.html
msgid "Visibility"
msgstr "Visibilité"

#: pod/playlist/models.py
msgid ""
"\n"
" Please chosse an visibility among 'public', 'protected', "
"'private'.\n"
" "
msgstr ""
"\n"
" Veuillez choisir une visibilité entre 'publique', 'protégée', "
"'privée'.\n"
" "

#: pod/playlist/models.py pod/video/templates/videos/video-info.html
msgid "Autoplay"
msgstr "Lecture automatique"

#: pod/playlist/models.py
msgid "Please choose if this playlist is an autoplay playlist or not."
msgstr "Veuillez choisir si cette playlist est en lecture automatique ou non."

#: pod/playlist/models.py
msgid "Editable"
msgstr "Éditable"
Expand Down Expand Up @@ -5783,6 +5781,10 @@ msgstr "Si vous n’avez pas le mot de passe pour ce contenu, veuillez"
msgid "contact its owner"
msgstr "contacter son propriétaire"

#: pod/playlist/templatetags/favorites_playlist.py
msgid "Favorites"
msgstr "Favoris"

#: pod/playlist/tests/test_forms.py
#, fuzzy
#| msgid "Title field is required"
Expand Down Expand Up @@ -8252,9 +8254,6 @@ msgstr "Résultats de la recherche"
msgid "Esup-Pod xAPI"
msgstr "xAPI Esup-Pod"

#~ msgid "Favorites"
#~ msgstr "Favoris"

#~ msgid "Favorite video"
#~ msgstr "Vidéo favorite"

Expand Down
8 changes: 4 additions & 4 deletions pod/locale/fr/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Esup-Pod\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-07 10:18+0000\n"
"POT-Creation-Date: 2023-07-10 14:35+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: obado <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -467,16 +467,16 @@ msgstr ""
"Cette extension de fichier n’est pas présente dans les extensions "
"autorisées :"

#: pod/playlist/static/js/filter-aside-playlist-list-refresh.js
#: pod/playlist/static/playlist/js/filter-aside-playlist-list-refresh.js
#: pod/video/static/js/filter_aside_video_list_refresh.js
msgid "An Error occurred while processing."
msgstr "Une erreur est survenue durant l’exécution du processus."

#: pod/playlist/static/js/playlist-reorganize.js
#: pod/playlist/static/playlist/js/playlist-reorganize.js
msgid "Save your reorganization"
msgstr "Sauvegarder votre réorganisation"

#: pod/playlist/static/js/playlist-reorganize.js
#: pod/playlist/static/playlist/js/playlist-reorganize.js
msgid "Save"
msgstr "Sauvegarder"

Expand Down
72 changes: 37 additions & 35 deletions pod/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Pod\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-07 10:18+0000\n"
"POT-Creation-Date: 2023-07-10 14:35+0000\n"
"PO-Revision-Date: 2023-06-08 14:37+0200\n"
"Last-Translator: obado <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -2262,7 +2262,7 @@ msgstr ""

#: pod/import_video/templates/import_video/list.html pod/main/forms.py
#: pod/meeting/forms.py pod/meeting/templates/meeting/internal_recordings.html
#: pod/playlist/forms.py pod/playlist/models.py
#: pod/playlist/models.py
#: pod/playlist/templates/playlist/playlist_sort_select.html
#: pod/podfile/models.py pod/podfile/templates/podfile/home_content.html
#: pod/video_encode_transcript/models.py
Expand Down Expand Up @@ -2675,8 +2675,8 @@ msgid ""
msgstr ""

#: pod/live/models.py pod/main/forms.py pod/main/models.py
#: pod/playlist/forms.py pod/playlist/models.py pod/video/forms.py
#: pod/video/models.py pod/video/templates/channel/list_theme.html
#: pod/playlist/models.py pod/video/forms.py pod/video/models.py
#: pod/video/templates/channel/list_theme.html
msgid "Description"
msgstr ""

Expand Down Expand Up @@ -5133,41 +5133,10 @@ msgstr ""
msgid "Your favorites videos."
msgstr ""

#: pod/playlist/forms.py pod/playlist/models.py
msgid "Please choose a name between 1 and 250 characters."
msgstr ""

#: pod/playlist/forms.py pod/playlist/models.py
msgid "Please choose a description. This description is empty by default."
msgstr ""

#: pod/playlist/forms.py pod/playlist/models.py
#: pod/playlist/templates/playlist/filter_aside.html
#: pod/playlist/templates/playlist/playlist-informations-card.html
msgid "Visibility"
msgstr ""

#: pod/playlist/forms.py pod/playlist/models.py
msgid ""
"\n"
" Please chosse an visibility among 'public', 'protected', "
"'private'.\n"
" "
msgstr ""

#: pod/playlist/forms.py pod/playlist/models.py
msgid "Please choose a password if this playlist is protected."
msgstr ""

#: pod/playlist/forms.py pod/playlist/models.py
#: pod/video/templates/videos/video-info.html
msgid "Autoplay"
msgstr ""

#: pod/playlist/forms.py pod/playlist/models.py
msgid "Please choose if this playlist is an autoplay playlist or not."
msgstr ""

#: pod/playlist/forms.py
msgid "general informations"
msgstr ""
Expand Down Expand Up @@ -5205,6 +5174,35 @@ msgstr ""
msgid "Playlist"
msgstr ""

#: pod/playlist/models.py
msgid "Please choose a name between 1 and 250 characters."
msgstr ""

#: pod/playlist/models.py
msgid "Please choose a description. This description is empty by default."
msgstr ""

#: pod/playlist/models.py pod/playlist/templates/playlist/filter_aside.html
#: pod/playlist/templates/playlist/playlist-informations-card.html
msgid "Visibility"
msgstr ""

#: pod/playlist/models.py
msgid ""
"\n"
" Please chosse an visibility among 'public', 'protected', "
"'private'.\n"
" "
msgstr ""

#: pod/playlist/models.py pod/video/templates/videos/video-info.html
msgid "Autoplay"
msgstr ""

#: pod/playlist/models.py
msgid "Please choose if this playlist is an autoplay playlist or not."
msgstr ""

#: pod/playlist/models.py
msgid "Editable"
msgstr ""
Expand Down Expand Up @@ -5458,6 +5456,10 @@ msgstr ""
msgid "contact its owner"
msgstr ""

#: pod/playlist/templatetags/favorites_playlist.py
msgid "Favorites"
msgstr ""

#: pod/playlist/tests/test_forms.py
#, fuzzy
#| msgid "Title field is required"
Expand Down
27 changes: 13 additions & 14 deletions pod/locale/nl/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Esup-Pod\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-06 10:53+0000\n"
"POT-Creation-Date: 2023-07-10 14:35+0000\n"
"PO-Revision-Date: 2023-02-08 15:22+0100\n"
"Last-Translator: obado <[email protected]>\n"
"Language-Team: \n"
Expand All @@ -20,11 +20,6 @@ msgstr ""
msgid "Get time from the player"
msgstr ""

#: pod/chapter/static/js/chapters.js pod/enrichment/static/js/enrichment.js
#: pod/main/static/js/main.js pod/video/static/js/comment-script.js
msgid "Close"
msgstr ""

#: pod/chapter/static/js/chapters.js pod/completion/static/js/completion.js
#: pod/enrichment/static/js/enrichment.js
msgid "Error getting form."
Expand Down Expand Up @@ -262,6 +257,11 @@ msgstr ""
msgid "Iframe and Script tags are not allowed."
msgstr ""

#: pod/enrichment/static/js/enrichment.js pod/main/static/js/main.js
#: pod/video/static/js/comment-script.js
msgid "Close"
msgstr ""

#: pod/enrichment/static/js/enrichment.js
msgid "Please enter a correct start from 0 to "
msgstr ""
Expand Down Expand Up @@ -444,24 +444,19 @@ msgstr ""
msgid "The file extension not in the allowed extension:"
msgstr ""

#: pod/playlist/static/js/filter-aside-playlist-list-refresh.js
#: pod/playlist/static/playlist/js/filter-aside-playlist-list-refresh.js
#: pod/video/static/js/filter_aside_video_list_refresh.js
msgid "An Error occurred while processing."
msgstr ""

#: pod/playlist/static/js/playlist-reorganize.js
#: pod/playlist/static/playlist/js/playlist-reorganize.js
msgid "Save your reorganization"
msgstr ""

#: pod/playlist/static/js/playlist-reorganize.js
#: pod/playlist/static/playlist/js/playlist-reorganize.js
msgid "Save"
msgstr ""

#: pod/podfile/static/podfile/js/filewidget.js
#: pod/video/static/js/change_video_owner.js
msgid "Loading…"
msgstr ""

#: pod/podfile/static/podfile/js/filewidget.js
msgid "Change image"
msgstr ""
Expand Down Expand Up @@ -510,6 +505,10 @@ msgstr ""
msgid "No element found"
msgstr ""

#: pod/video/static/js/change_video_owner.js
msgid "Loading…"
msgstr ""

#: pod/video/static/js/change_video_owner.js
msgid "An error occurred during the change of owner"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion pod/playlist/templatetags/favorites_playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ def get_playlist_name(playlist: Playlist) -> str:
str: The favorites playlist name
"""
if playlist.name == FAVORITE_PLAYLIST_NAME:
return _(FAVORITE_PLAYLIST_NAME)
return _("Favorites")
else:
return playlist.name

0 comments on commit 75ada32

Please sign in to comment.