v3: allow users to edit dump thumbnail, fixed some linter errors in the frontend
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 41s

This commit is contained in:
khannurien
2026-06-21 15:41:40 +00:00
parent 57cf55cc48
commit cf988ae608
27 changed files with 431 additions and 121 deletions

View File

@@ -18,7 +18,7 @@ msgid "[deleted]"
msgstr "[supprimé]"
#. placeholder {0}: dump.commentCount
#: src/components/DumpCard.tsx:95
#: src/components/DumpCard.tsx:104
#: src/components/JournalCard.tsx:96
msgid "{0, plural, one {# comment} other {# comments}}"
msgstr "{0, plural, one {# commentaire} other {# commentaires}}"
@@ -60,8 +60,8 @@ msgid "← Back"
msgstr "← Retour"
#: src/pages/Dump.tsx:224
#: src/pages/Dump.tsx:427
#: src/pages/DumpEdit.tsx:177
#: src/pages/Dump.tsx:434
#: src/pages/DumpEdit.tsx:215
msgid "← Back to all dumps"
msgstr "← Retour à toutes les recos"
@@ -203,7 +203,7 @@ msgstr "Impossible de se connecter au serveur de mises à jour en direct. Les vo
#: src/components/DumpCreateModal.tsx:461
#: src/components/PlaylistCreateForm.tsx:112
#: src/pages/Dump.tsx:330
#: src/pages/DumpEdit.tsx:320
#: src/pages/DumpEdit.tsx:392
#: src/pages/PlaylistDetail.tsx:680
#: src/pages/UserPublicProfile.tsx:842
#: src/pages/UserPublicProfile.tsx:924
@@ -266,7 +266,7 @@ msgstr "Impossible de changer le mot de passe"
msgid "Could not connect to server"
msgstr "Impossible de contacter le serveur"
#: src/components/UserListPopover.tsx:100
#: src/components/UserListPopover.tsx:141
msgid "Could not load."
msgstr "Impossible de charger."
@@ -309,8 +309,8 @@ msgstr "Sombre"
msgid "Delete"
msgstr "Supprimer"
#: src/pages/DumpEdit.tsx:316
#: src/pages/DumpEdit.tsx:338
#: src/pages/DumpEdit.tsx:388
#: src/pages/DumpEdit.tsx:410
msgid "Delete dump"
msgstr "Supprimer la reco"
@@ -324,7 +324,7 @@ msgstr "Supprimer la collection"
msgid "Delete this comment?"
msgstr "Supprimer ce commentaire ?"
#: src/pages/DumpEdit.tsx:337
#: src/pages/DumpEdit.tsx:409
msgid "Delete this dump? This cannot be undone."
msgstr "Supprimer cette reco ? Cette action est irréversible."
@@ -346,7 +346,7 @@ msgstr "Terminé"
msgid "Drop a file here"
msgstr "Déposez un fichier ici"
#: src/pages/DumpEdit.tsx:273
#: src/pages/DumpEdit.tsx:345
msgid "Drop a replacement here"
msgstr "Déposez un fichier de remplacement ici"
@@ -379,7 +379,7 @@ msgid "Earlier"
msgstr "Plus tôt"
#: src/components/CommentThread.tsx:323
#: src/pages/Dump.tsx:423
#: src/pages/Dump.tsx:430
#: src/pages/PlaylistDetail.tsx:706
msgid "Edit"
msgstr "Modifier"
@@ -406,7 +406,7 @@ msgstr "modifié {0}"
msgid "Edited {0}"
msgstr "Modifié le {0}"
#: src/pages/DumpEdit.tsx:192
#: src/pages/DumpEdit.tsx:240
msgid "Editing"
msgstr "Modification"
@@ -600,13 +600,13 @@ msgstr "Les mises à jour en direct sont temporairement interrompues. Tentative
msgid "Live updates unavailable."
msgstr "Mises à jour en direct indisponibles."
#: src/components/UserListPopover.tsx:188
#: src/components/UserListPopover.tsx:231
#: src/pages/Notifications.tsx:440
msgid "Load more"
msgstr "Charger plus"
#: src/pages/Dump.tsx:200
#: src/pages/DumpEdit.tsx:153
#: src/pages/DumpEdit.tsx:191
msgid "Loading dump…"
msgstr "Chargement de la reco…"
@@ -632,8 +632,8 @@ msgstr "Chargement du profil…"
#: src/components/PlaylistMembershipPanel.tsx:28
#: src/components/TextEditor.tsx:289
#: src/components/UserListPopover.tsx:149
#: src/components/UserListPopover.tsx:187
#: src/components/UserListPopover.tsx:192
#: src/components/UserListPopover.tsx:230
#: src/pages/index/FollowedFeed.tsx:77
#: src/pages/index/HotFeed.tsx:32
#: src/pages/index/JournalFeed.tsx:44
@@ -731,7 +731,7 @@ msgstr "Pas encore de collections suivies."
msgid "No invitees yet."
msgstr "Aucun invité pour le moment."
#: src/components/UserListPopover.tsx:157
#: src/components/UserListPopover.tsx:200
msgid "No one yet."
msgstr "Personne pour le moment."
@@ -832,7 +832,7 @@ msgstr "Publier la réponse"
msgid "Posting…"
msgstr "Publication…"
#: src/components/DumpCard.tsx:104
#: src/components/DumpCard.tsx:113
#: src/components/JournalCard.tsx:105
#: src/components/PlaylistCard.tsx:73
#: src/components/PlaylistMembershipPanel.tsx:55
@@ -843,7 +843,7 @@ msgstr "privé"
#: src/components/DumpCreateModal.tsx:450
#: src/components/PlaylistCreateForm.tsx:99
#: src/pages/DumpEdit.tsx:306
#: src/pages/DumpEdit.tsx:378
#: src/pages/PlaylistDetail.tsx:746
msgid "Private"
msgstr "Privé"
@@ -855,16 +855,16 @@ msgstr "public"
#: src/components/DumpCreateModal.tsx:442
#: src/components/PlaylistCreateForm.tsx:92
#: src/pages/DumpEdit.tsx:299
#: src/pages/DumpEdit.tsx:371
#: src/pages/PlaylistDetail.tsx:739
msgid "Public"
msgstr "Public"
#: src/pages/DumpEdit.tsx:221
#: src/pages/DumpEdit.tsx:269
msgid "Refresh metadata"
msgstr "Actualiser les métadonnées"
#: src/pages/DumpEdit.tsx:220
#: src/pages/DumpEdit.tsx:268
msgid "Refreshing…"
msgstr "Actualisation…"
@@ -897,7 +897,7 @@ msgstr "Retirer le j'aime"
msgid "Remove vote"
msgstr "Retirer le vote"
#: src/pages/DumpEdit.tsx:272
#: src/pages/DumpEdit.tsx:344
msgid "Replace file"
msgstr "Remplacer le fichier"
@@ -913,14 +913,18 @@ msgstr "Échec de la demande"
msgid "Reset failed"
msgstr "Échec de la réinitialisation"
#: src/pages/DumpEdit.tsx:299
msgid "Reset to default"
msgstr "Réinitialiser par défaut"
#: src/pages/Dump.tsx:217
#: src/pages/DumpEdit.tsx:170
#: src/pages/DumpEdit.tsx:208
msgid "Retry"
msgstr "Réessayer"
#: src/components/CommentThread.tsx:275
#: src/pages/Dump.tsx:322
#: src/pages/DumpEdit.tsx:329
#: src/pages/DumpEdit.tsx:401
#: src/pages/PlaylistDetail.tsx:673
#: src/pages/UserPublicProfile.tsx:834
#: src/pages/UserPublicProfile.tsx:916
@@ -1003,9 +1007,13 @@ msgstr "Rien à voir, circulez."
msgid "This reset link is missing or malformed."
msgstr "Ce lien de réinitialisation est absent ou malformé."
#: src/pages/DumpEdit.tsx:283
msgid "Thumbnail"
msgstr "Miniature"
#: src/components/DumpCreateModal.tsx:384
#: src/components/PlaylistCreateForm.tsx:72
#: src/pages/DumpEdit.tsx:235
#: src/pages/DumpEdit.tsx:307
msgid "Title"
msgstr "Titre"
@@ -1053,7 +1061,7 @@ msgid "Upvoted ({0}{1})"
msgstr "Votés ({0}{1})"
#: src/components/DumpCreateModal.tsx:335
#: src/pages/DumpEdit.tsx:251
#: src/pages/DumpEdit.tsx:323
msgid "URL"
msgstr "URL"
@@ -1087,7 +1095,7 @@ msgid "View dump →"
msgstr "Voir la reco →"
#: src/components/DumpCreateModal.tsx:429
#: src/pages/DumpEdit.tsx:287
#: src/pages/DumpEdit.tsx:359
msgid "What makes it worth it?"
msgstr "Pourquoi on en voudrait ?"
@@ -1097,7 +1105,7 @@ msgid "Who am I?"
msgstr "Qui suis-je ?"
#: src/components/DumpCreateModal.tsx:422
#: src/pages/DumpEdit.tsx:281
#: src/pages/DumpEdit.tsx:353
msgid "Why?"
msgstr "Pourquoi ?"