v3: fixed authorization bug with stale tokens, fixed private dump access bug, various small fixes across the app
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 20s

This commit is contained in:
khannurien
2026-06-27 10:40:07 +00:00
parent 73e0114bf7
commit 76de798faf
24 changed files with 236 additions and 194 deletions

File diff suppressed because one or more lines are too long

View File

@@ -18,8 +18,8 @@ msgid "[deleted]"
msgstr "[deleted]"
#. placeholder {0}: dump.commentCount
#: src/components/DumpCard.tsx:104
#: src/components/JournalCard.tsx:96
#: src/components/DumpCard.tsx:105
#: src/components/JournalCard.tsx:98
msgid "{0, plural, one {# comment} other {# comments}}"
msgstr "{0, plural, one {# comment} other {# comments}}"
@@ -34,22 +34,10 @@ msgstr "{0, plural, one {# dump} other {# dumps}}"
msgid "{0}{1} characters: letters, numbers, or underscores"
msgstr "{0}{1} characters: letters, numbers, or underscores"
#: src/pages/Notifications.tsx:184
msgid "{days}d ago"
msgstr "{days}d ago"
#: src/pages/Notifications.tsx:182
msgid "{hrs}h ago"
msgstr "{hrs}h ago"
#: src/pages/Search.tsx:176
msgid "{label} ({count})"
msgstr "{label} ({count})"
#: src/pages/Notifications.tsx:180
msgid "{mins}m ago"
msgstr "{mins}m ago"
#: src/components/CommentThread.tsx:453
msgid "{visibleCount, plural, one {# comment} other {# comments}}"
msgstr "{visibleCount, plural, one {# comment} other {# comments}}"
@@ -75,11 +63,6 @@ msgstr "← Back to profile"
msgid "+ Invite someone"
msgstr "+ Invite someone"
#: src/pages/UserDumps.tsx:114
#: src/pages/UserPublicProfile.tsx:1332
msgid "+ New dump"
msgstr "+ New dump"
#: src/components/PlaylistMembershipPanel.tsx:80
msgid "+ New playlist"
msgstr "+ New playlist"
@@ -159,14 +142,6 @@ msgstr "Add email…"
msgid "Add to playlist"
msgstr "Add to playlist"
#: src/pages/UserDumps.tsx:114
msgid "All {0, plural, one {# dump} other {# dumps}} loaded."
msgstr "All {0, plural, one {# dump} other {# dumps}} loaded."
#: src/pages/UserUpvoted.tsx:187
msgid "All {0, plural, one {# upvoted dump} other {# upvoted dumps}} loaded."
msgstr "All {0, plural, one {# upvoted dump} other {# upvoted dumps}} loaded."
#: src/pages/UserRegister.tsx:154
msgid "Already have an account? <0>Log in</0>"
msgstr "Already have an account? <0>Log in</0>"
@@ -200,7 +175,7 @@ msgstr "Can't connect to the live updates server. Upvotes and notifications may
#: src/components/ConfirmModal.tsx:32
#: src/components/form/FormActions.tsx:32
#: src/pages/Dump.tsx:357
#: src/pages/DumpEdit.tsx:416
#: src/pages/DumpEdit.tsx:433
#: src/pages/PlaylistDetail.tsx:908
#: src/pages/UserPublicProfile.tsx:1482
#: src/pages/UserPublicProfile.tsx:1552
@@ -258,22 +233,11 @@ msgstr "Copy"
msgid "Could not change password"
msgstr "Could not change password"
#: src/pages/ResetPassword.tsx:94
#: src/pages/UserLogin.tsx:79
msgid "Could not connect to server"
msgstr "Could not connect to server"
#: src/components/UserListPopover.tsx:141
msgid "Could not load."
msgstr "Could not load."
#: src/components/CommentThread.tsx:116
#: src/components/CommentThread.tsx:158
#: src/components/CommentThread.tsx:463
msgid "Could not reach the server. Please try again."
msgstr "Could not reach the server. Please try again."
#: src/pages/DumpEdit.tsx:330
#: src/pages/DumpEdit.tsx:334
msgid "Could not save"
msgstr "Could not save"
@@ -311,7 +275,7 @@ msgid "Delete"
msgstr "Delete"
#: src/pages/DumpEdit.tsx:242
#: src/pages/DumpEdit.tsx:412
#: src/pages/DumpEdit.tsx:429
msgid "Delete dump"
msgstr "Delete dump"
@@ -347,7 +311,7 @@ msgstr "Done"
msgid "Drop a file here"
msgstr "Drop a file here"
#: src/pages/DumpEdit.tsx:387
#: src/pages/DumpEdit.tsx:404
msgid "Drop a replacement here"
msgstr "Drop a replacement here"
@@ -419,10 +383,6 @@ msgstr "Email address"
msgid "Enter a query to search."
msgstr "Enter a query to search."
#: src/components/ChangePasswordModal.tsx:49
msgid "Failed to change password"
msgstr "Failed to change password"
#: src/components/PlaylistCreateForm.tsx:84
msgid "Failed to create playlist"
msgstr "Failed to create playlist"
@@ -578,10 +538,6 @@ msgstr "Invitees"
msgid "Journal"
msgstr "Journal"
#: src/pages/Notifications.tsx:178
msgid "just now"
msgstr "just now"
#: src/pages/UserPublicProfile.tsx:1153
msgid "Light"
msgstr "Light"
@@ -834,8 +790,8 @@ msgstr "Post reply"
msgid "Posting…"
msgstr "Posting…"
#: src/components/DumpCard.tsx:113
#: src/components/JournalCard.tsx:105
#: src/components/DumpCard.tsx:114
#: src/components/JournalCard.tsx:107
#: src/components/PlaylistCard.tsx:73
#: src/components/PlaylistMembershipPanel.tsx:55
#: src/pages/Dump.tsx:416
@@ -899,7 +855,7 @@ msgstr "Remove like"
msgid "Remove vote"
msgstr "Remove vote"
#: src/pages/DumpEdit.tsx:386
#: src/pages/DumpEdit.tsx:403
msgid "Replace file"
msgstr "Replace file"
@@ -915,7 +871,8 @@ msgstr "Request failed"
msgid "Reset failed"
msgstr "Reset failed"
#: src/pages/DumpEdit.tsx:350
#: src/pages/DumpEdit.tsx:354
#: src/pages/DumpEdit.tsx:372
msgid "Reset to default"
msgstr "Reset to default"
@@ -926,7 +883,7 @@ msgstr "Retry"
#: src/components/CommentThread.tsx:326
#: src/pages/Dump.tsx:349
#: src/pages/DumpEdit.tsx:419
#: src/pages/DumpEdit.tsx:436
#: src/pages/PlaylistDetail.tsx:915
#: src/pages/UserPublicProfile.tsx:1474
#: src/pages/UserPublicProfile.tsx:1544
@@ -1010,13 +967,13 @@ msgstr "This page does not exist."
msgid "This reset link is missing or malformed."
msgstr "This reset link is missing or malformed."
#: src/pages/DumpEdit.tsx:334
#: src/pages/DumpEdit.tsx:338
msgid "Thumbnail"
msgstr "Thumbnail"
#: src/components/DumpCreateModal.tsx:386
#: src/components/PlaylistCreateForm.tsx:70
#: src/pages/DumpEdit.tsx:358
#: src/pages/DumpEdit.tsx:362
msgid "Title"
msgstr "Title"
@@ -1040,11 +997,6 @@ msgstr "Unfollow {targetUsername}"
msgid "Unfollow playlist"
msgstr "Unfollow playlist"
#: src/components/ChangePasswordModal.tsx:44
#: src/pages/ResetPassword.tsx:90
msgid "Unknown error"
msgstr "Unknown error"
#: src/pages/UserPublicProfile.tsx:671
msgid "Upload failed"
msgstr "Upload failed"
@@ -1068,7 +1020,7 @@ msgid "Upvoted ({0}{1})"
msgstr "Upvoted ({0}{1})"
#: src/components/DumpCreateModal.tsx:335
#: src/pages/DumpEdit.tsx:368
#: src/pages/DumpEdit.tsx:385
msgid "URL"
msgstr "URL"
@@ -1102,7 +1054,7 @@ msgid "View dump →"
msgstr "View dump →"
#: src/components/DumpCreateModal.tsx:431
#: src/pages/DumpEdit.tsx:398
#: src/pages/DumpEdit.tsx:415
msgid "What makes it worth it?"
msgstr "What makes it worth it?"
@@ -1112,7 +1064,7 @@ msgid "Who am I?"
msgstr "Who am I?"
#: src/components/DumpCreateModal.tsx:430
#: src/pages/DumpEdit.tsx:397
#: src/pages/DumpEdit.tsx:414
msgid "Why?"
msgstr "Why?"

File diff suppressed because one or more lines are too long

View File

@@ -18,8 +18,8 @@ msgid "[deleted]"
msgstr "[supprimé]"
#. placeholder {0}: dump.commentCount
#: src/components/DumpCard.tsx:104
#: src/components/JournalCard.tsx:96
#: src/components/DumpCard.tsx:105
#: src/components/JournalCard.tsx:98
msgid "{0, plural, one {# comment} other {# comments}}"
msgstr "{0, plural, one {# commentaire} other {# commentaires}}"
@@ -34,22 +34,10 @@ msgstr "{0, plural, one {# reco} other {# recos}}"
msgid "{0}{1} characters: letters, numbers, or underscores"
msgstr "{0}{1} caractères : lettres, chiffres ou tirets bas"
#: src/pages/Notifications.tsx:184
msgid "{days}d ago"
msgstr "il y a {days}j"
#: src/pages/Notifications.tsx:182
msgid "{hrs}h ago"
msgstr "il y a {hrs}h"
#: src/pages/Search.tsx:176
msgid "{label} ({count})"
msgstr "{label} ({count})"
#: src/pages/Notifications.tsx:180
msgid "{mins}m ago"
msgstr "il y a {mins}min"
#: src/components/CommentThread.tsx:453
msgid "{visibleCount, plural, one {# comment} other {# comments}}"
msgstr "{visibleCount, plural, one {# commentaire} other {# commentaires}}"
@@ -75,11 +63,6 @@ msgstr "← Retour au profil"
msgid "+ Invite someone"
msgstr "+ Inviter quelqu'un"
#: src/pages/UserDumps.tsx:114
#: src/pages/UserPublicProfile.tsx:1332
msgid "+ New dump"
msgstr "+ Nouvelle reco"
#: src/components/PlaylistMembershipPanel.tsx:80
msgid "+ New playlist"
msgstr "+ Nouvelle collection"
@@ -159,14 +142,6 @@ msgstr "Ajouter un e-mail…"
msgid "Add to playlist"
msgstr "Ajouter à la collection"
#: src/pages/UserDumps.tsx:114
msgid "All {0, plural, one {# dump} other {# dumps}} loaded."
msgstr "Toutes les {0, plural, one {# reco} other {# recos}} chargées."
#: src/pages/UserUpvoted.tsx:187
msgid "All {0, plural, one {# upvoted dump} other {# upvoted dumps}} loaded."
msgstr "Toutes les {0, plural, one {# reco votée} other {# recos votées}} chargées."
#: src/pages/UserRegister.tsx:154
msgid "Already have an account? <0>Log in</0>"
msgstr "Vous avez déjà un compte ? <0>Se connecter</0>"
@@ -200,7 +175,7 @@ msgstr "Impossible de se connecter au serveur de mises à jour en direct. Les vo
#: src/components/ConfirmModal.tsx:32
#: src/components/form/FormActions.tsx:32
#: src/pages/Dump.tsx:357
#: src/pages/DumpEdit.tsx:416
#: src/pages/DumpEdit.tsx:433
#: src/pages/PlaylistDetail.tsx:908
#: src/pages/UserPublicProfile.tsx:1482
#: src/pages/UserPublicProfile.tsx:1552
@@ -258,22 +233,11 @@ msgstr "Copier"
msgid "Could not change password"
msgstr "Impossible de changer le mot de passe"
#: src/pages/ResetPassword.tsx:94
#: src/pages/UserLogin.tsx:79
msgid "Could not connect to server"
msgstr "Impossible de contacter le serveur"
#: src/components/UserListPopover.tsx:141
msgid "Could not load."
msgstr "Impossible de charger."
#: src/components/CommentThread.tsx:116
#: src/components/CommentThread.tsx:158
#: src/components/CommentThread.tsx:463
msgid "Could not reach the server. Please try again."
msgstr "Impossible de contacter le serveur. Veuillez réessayer."
#: src/pages/DumpEdit.tsx:330
#: src/pages/DumpEdit.tsx:334
msgid "Could not save"
msgstr "Sauvegarde impossible"
@@ -311,7 +275,7 @@ msgid "Delete"
msgstr "Supprimer"
#: src/pages/DumpEdit.tsx:242
#: src/pages/DumpEdit.tsx:412
#: src/pages/DumpEdit.tsx:429
msgid "Delete dump"
msgstr "Supprimer la reco"
@@ -347,7 +311,7 @@ msgstr "Terminé"
msgid "Drop a file here"
msgstr "Déposez un fichier ici"
#: src/pages/DumpEdit.tsx:387
#: src/pages/DumpEdit.tsx:404
msgid "Drop a replacement here"
msgstr "Déposez un fichier de remplacement ici"
@@ -419,10 +383,6 @@ msgstr "Adresse e-mail"
msgid "Enter a query to search."
msgstr "Saisissez une recherche."
#: src/components/ChangePasswordModal.tsx:49
msgid "Failed to change password"
msgstr "Impossible de changer le mot de passe"
#: src/components/PlaylistCreateForm.tsx:84
msgid "Failed to create playlist"
msgstr "Impossible de créer la collection"
@@ -578,10 +538,6 @@ msgstr "Invités"
msgid "Journal"
msgstr "Journal"
#: src/pages/Notifications.tsx:178
msgid "just now"
msgstr "à l'instant"
#: src/pages/UserPublicProfile.tsx:1153
msgid "Light"
msgstr "Clair"
@@ -834,8 +790,8 @@ msgstr "Publier la réponse"
msgid "Posting…"
msgstr "Publication…"
#: src/components/DumpCard.tsx:113
#: src/components/JournalCard.tsx:105
#: src/components/DumpCard.tsx:114
#: src/components/JournalCard.tsx:107
#: src/components/PlaylistCard.tsx:73
#: src/components/PlaylistMembershipPanel.tsx:55
#: src/pages/Dump.tsx:416
@@ -899,7 +855,7 @@ msgstr "Retirer le j'aime"
msgid "Remove vote"
msgstr "Retirer le vote"
#: src/pages/DumpEdit.tsx:386
#: src/pages/DumpEdit.tsx:403
msgid "Replace file"
msgstr "Remplacer le fichier"
@@ -915,7 +871,8 @@ msgstr "Échec de la demande"
msgid "Reset failed"
msgstr "Échec de la réinitialisation"
#: src/pages/DumpEdit.tsx:350
#: src/pages/DumpEdit.tsx:354
#: src/pages/DumpEdit.tsx:372
msgid "Reset to default"
msgstr "Réinitialiser par défaut"
@@ -926,7 +883,7 @@ msgstr "Réessayer"
#: src/components/CommentThread.tsx:326
#: src/pages/Dump.tsx:349
#: src/pages/DumpEdit.tsx:419
#: src/pages/DumpEdit.tsx:436
#: src/pages/PlaylistDetail.tsx:915
#: src/pages/UserPublicProfile.tsx:1474
#: src/pages/UserPublicProfile.tsx:1544
@@ -1010,13 +967,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:334
#: src/pages/DumpEdit.tsx:338
msgid "Thumbnail"
msgstr "Miniature"
#: src/components/DumpCreateModal.tsx:386
#: src/components/PlaylistCreateForm.tsx:70
#: src/pages/DumpEdit.tsx:358
#: src/pages/DumpEdit.tsx:362
msgid "Title"
msgstr "Titre"
@@ -1040,11 +997,6 @@ msgstr "Ne plus suivre {targetUsername}"
msgid "Unfollow playlist"
msgstr "Ne plus suivre la collection"
#: src/components/ChangePasswordModal.tsx:44
#: src/pages/ResetPassword.tsx:90
msgid "Unknown error"
msgstr "Erreur inconnue"
#: src/pages/UserPublicProfile.tsx:671
msgid "Upload failed"
msgstr "Envoi échoué"
@@ -1068,7 +1020,7 @@ msgid "Upvoted ({0}{1})"
msgstr "Votés ({0}{1})"
#: src/components/DumpCreateModal.tsx:335
#: src/pages/DumpEdit.tsx:368
#: src/pages/DumpEdit.tsx:385
msgid "URL"
msgstr "URL"
@@ -1102,7 +1054,7 @@ msgid "View dump →"
msgstr "Voir la reco →"
#: src/components/DumpCreateModal.tsx:431
#: src/pages/DumpEdit.tsx:398
#: src/pages/DumpEdit.tsx:415
msgid "What makes it worth it?"
msgstr "Pourquoi on en voudrait ?"
@@ -1112,7 +1064,7 @@ msgid "Who am I?"
msgstr "Qui suis-je ?"
#: src/components/DumpCreateModal.tsx:430
#: src/pages/DumpEdit.tsx:397
#: src/pages/DumpEdit.tsx:414
msgid "Why?"
msgstr "Pourquoi ?"