forked from EsupPortail/Esup-Pod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DONE] Pampletousse/feature download qrcode (EsupPortail#1015)
* Add download button for qr code + fix border red too big * Mutualize qrcode generation and display between video and live(event) * Add same template modification to live event * Try to mutualize qr code generation between video and event * Add event slug to downloaded file name * éAdd alternative text to parameters * PEP8 conformity * Fix PEP8 E303 blank line * Fix PEP8 F811 * Uniformize QR code designation * Generate translations for QR Code managment * éAdd types into functions and doc + normalize id in template * Fix translations * Fix translation video into event in event-info template * Delete fuzzy translations * Add return types on functions in register tags (video and event) * Add quotes for alt in qr code img tag --------- Co-authored-by: pampletousse <[email protected]>
- Loading branch information
1 parent
0da5a2a
commit 9a492e4
Showing
13 changed files
with
197 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pod\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-01-19 09:07+0100\n" | ||
"POT-Creation-Date: 2024-01-24 12:51+0100\n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: obado <[email protected]>\n" | ||
"Language-Team: Pod Team [email protected]\n" | ||
|
@@ -3016,8 +3016,8 @@ msgid "QR code to record immediately an event" | |
msgstr "QR code pour la programmation d’un évènement immédiat" | ||
|
||
#: pod/live/admin.py | ||
msgid "QR Code" | ||
msgstr "QR Code" | ||
msgid "QR code" | ||
msgstr "QR code" | ||
|
||
#: pod/live/admin.py pod/live/models.py pod/recorder/models.py | ||
#: pod/video/models.py | ||
|
@@ -3642,9 +3642,8 @@ msgid "Share the link" | |
msgstr "Partager le lien" | ||
|
||
#: pod/live/templates/live/event-info.html | ||
#: pod/video/templates/videos/video-info.html | ||
msgid "Use this link to share the video:" | ||
msgstr "Utiliser ce lien pour partager la vidéo :" | ||
msgid "Use this link to share the event:" | ||
msgstr "Utiliser ce lien pour partager l'évènement :" | ||
|
||
#: pod/live/templates/live/event-info.html | ||
#: pod/video/templates/videos/video-info.html | ||
|
@@ -3653,8 +3652,14 @@ msgstr "QR code pour le lien :" | |
|
||
#: pod/live/templates/live/event-info.html | ||
#: pod/video/templates/videos/video-info.html | ||
msgid "Warning, it use google API" | ||
msgstr "Attention, utilise une API Google" | ||
msgid "Download this QR code" | ||
msgstr "Télécharger ce QR code" | ||
|
||
#: pod/live/templates/live/event-info.html | ||
#: pod/podfile/templates/podfile/list_folder_files.html | ||
#: pod/video/templates/videos/video-info.html | ||
msgid "Download" | ||
msgstr "Télécharger" | ||
|
||
#: pod/live/templates/live/event-script.html | ||
msgid "Recording not done: " | ||
|
@@ -3929,6 +3934,10 @@ msgstr "Évènements à venir" | |
msgid "Past events" | ||
msgstr "Évènements passés" | ||
|
||
#: pod/live/templatetags/event_tags.py | ||
msgid "QR code event's link:" | ||
msgstr "QR code pour le lien de l'évènement :" | ||
|
||
#: pod/live/utils.py | ||
#, python-format | ||
msgid "Registration of event #%(content_id)s" | ||
|
@@ -4804,7 +4813,7 @@ msgstr "" | |
"droite, mode sombre ou dyslexie etc.), gérer la session (authentification) " | ||
"et analyser le trafic du site (pour certaines instances)." | ||
|
||
#: pod/main/templates/base.html | ||
#: pod/main/templates/base.html pod/video/templates/videos/add_video.html | ||
msgid "Learn more" | ||
msgstr "En savoir plus" | ||
|
||
|
@@ -6549,10 +6558,6 @@ msgstr "Partager le dossier « %(folder_name)s » avec un autre utilisateur" | |
msgid "Upload Files" | ||
msgstr "Téléverser des fichiers" | ||
|
||
#: pod/podfile/templates/podfile/list_folder_files.html | ||
msgid "Download" | ||
msgstr "Télécharger" | ||
|
||
#: pod/podfile/templates/podfile/list_folder_files.html | ||
msgid "Delete file" | ||
msgstr "Supprimer le fichier" | ||
|
@@ -8387,8 +8392,8 @@ msgstr "" | |
"interactive H5P :" | ||
|
||
#: pod/video/templates/videos/video-info.html | ||
msgid "QR code" | ||
msgstr "QR code" | ||
msgid "Use this link to share the video:" | ||
msgstr "Utiliser ce lien pour partager la vidéo :" | ||
|
||
#: pod/video/templates/videos/video_collaborate.html | ||
msgid "Collaborate" | ||
|
@@ -8582,6 +8587,10 @@ msgstr "Afficher les statistiques de visualisation de toutes les vidéos" | |
msgid ": " | ||
msgstr " : " | ||
|
||
#: pod/video/templatetags/video_tags.py | ||
msgid "QR code video's link:" | ||
msgstr "QR code pour le lien de la vidéo :" | ||
|
||
#: pod/video/templatetags/video_tags.py | ||
msgid "This content is not password protected." | ||
msgstr "Ce contenu n'est pas protégé par un mot de passe." | ||
|
@@ -9064,4 +9073,3 @@ msgstr "Résultats de la recherche" | |
#: pod/xapi/apps.py | ||
msgid "Esup-Pod xAPI" | ||
msgstr "xAPI Esup-Pod" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Esup-Pod\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-01-19 09:07+0100\n" | ||
"POT-Creation-Date: 2024-01-24 12:51+0100\n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: obado <[email protected]>\n" | ||
"Language-Team: \n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pod\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-01-19 09:07+0100\n" | ||
"POT-Creation-Date: 2024-01-24 12:51+0100\n" | ||
"PO-Revision-Date: 2023-06-08 14:37+0200\n" | ||
"Last-Translator: obado <[email protected]>\n" | ||
"Language-Team: \n" | ||
|
@@ -2824,7 +2824,7 @@ msgid "QR code to record immediately an event" | |
msgstr "" | ||
|
||
#: pod/live/admin.py | ||
msgid "QR Code" | ||
msgid "QR code" | ||
msgstr "" | ||
|
||
#: pod/live/admin.py pod/live/models.py pod/recorder/models.py | ||
|
@@ -3409,8 +3409,7 @@ msgid "Share the link" | |
msgstr "" | ||
|
||
#: pod/live/templates/live/event-info.html | ||
#: pod/video/templates/videos/video-info.html | ||
msgid "Use this link to share the video:" | ||
msgid "Use this link to share the event:" | ||
msgstr "" | ||
|
||
#: pod/live/templates/live/event-info.html | ||
|
@@ -3420,7 +3419,13 @@ msgstr "" | |
|
||
#: pod/live/templates/live/event-info.html | ||
#: pod/video/templates/videos/video-info.html | ||
msgid "Warning, it use google API" | ||
msgid "Download this QR code" | ||
msgstr "" | ||
|
||
#: pod/live/templates/live/event-info.html | ||
#: pod/podfile/templates/podfile/list_folder_files.html | ||
#: pod/video/templates/videos/video-info.html | ||
msgid "Download" | ||
msgstr "" | ||
|
||
#: pod/live/templates/live/event-script.html | ||
|
@@ -3683,6 +3688,10 @@ msgstr "" | |
msgid "Past events" | ||
msgstr "" | ||
|
||
#: pod/live/templatetags/event_tags.py | ||
msgid "QR code event's link" | ||
msgstr "" | ||
|
||
#: pod/live/utils.py | ||
#, python-format | ||
msgid "Registration of event #%(content_id)s" | ||
|
@@ -4548,7 +4557,7 @@ msgid "" | |
"analyze site traffic." | ||
msgstr "" | ||
|
||
#: pod/main/templates/base.html | ||
#: pod/main/templates/base.html pod/video/templates/videos/add_video.html | ||
msgid "Learn more" | ||
msgstr "" | ||
|
||
|
@@ -6186,10 +6195,6 @@ msgstr "" | |
msgid "Upload Files" | ||
msgstr "" | ||
|
||
#: pod/podfile/templates/podfile/list_folder_files.html | ||
msgid "Download" | ||
msgstr "" | ||
|
||
#: pod/podfile/templates/podfile/list_folder_files.html | ||
msgid "Delete file" | ||
msgstr "" | ||
|
@@ -7873,7 +7878,7 @@ msgid "" | |
msgstr "" | ||
|
||
#: pod/video/templates/videos/video-info.html | ||
msgid "QR code" | ||
msgid "Use this link to share the video:" | ||
msgstr "" | ||
|
||
#: pod/video/templates/videos/video_collaborate.html | ||
|
@@ -7912,6 +7917,25 @@ msgstr "" | |
msgid "Add a new video" | ||
msgstr "" | ||
|
||
#: pod/video/templates/videos/video_edit.html | ||
#, python-format | ||
msgid "" | ||
"\n" | ||
" By default, the deletion date of your video is set to " | ||
"%(counter)s year, in accordance with your profile. As a teacher, you can " | ||
"modify this date. If you are a student and wish to extend this period, add a " | ||
"teacher as an additional video owner\n" | ||
" " | ||
msgid_plural "" | ||
"\n" | ||
" By default, the deletion date of your video is set to " | ||
"%(counter)s years, in accordance with your profile. As a teacher, you can " | ||
"modify this date. If you are a student and wish to extend this period, add a " | ||
"teacher as an additional video owner\n" | ||
" " | ||
msgstr[0] "" | ||
msgstr[1] "" | ||
|
||
#: pod/video/templates/videos/video_edit.html | ||
#: pod/video/templates/videos/video_page_content.html | ||
msgid "The video is currently waiting for encoding." | ||
|
@@ -8062,6 +8086,10 @@ msgstr "" | |
msgid ": " | ||
msgstr "" | ||
|
||
#: pod/video/templatetags/video_tags.py | ||
msgid "QR code video's link" | ||
msgstr "" | ||
|
||
#: pod/video/templatetags/video_tags.py | ||
msgid "This content is not password protected." | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Esup-Pod\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-01-19 09:07+0100\n" | ||
"POT-Creation-Date: 2024-01-24 12:51+0100\n" | ||
"PO-Revision-Date: 2023-02-08 15:22+0100\n" | ||
"Last-Translator: obado <[email protected]>\n" | ||
"Language-Team: \n" | ||
|
Oops, something went wrong.