Merge the Sokko TCG v1 into main

Bring in the server-backed card game and its administration, disabled in
production until /etc/sokko-g/cards.env is configured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-05 19:27:05 +01:00
commit a6cddbaa6a
202 changed files with 13344 additions and 75 deletions

File diff suppressed because it is too large Load diff

View file

@ -7,18 +7,21 @@
"home": "Accueil",
"toolboxes": "Toolboxes",
"games": "Jeux",
"cards": "Sokko TCG",
"library": "Librairie",
"about": "C'est quoi Sokko G ?"
},
"sidebar": {
"badge": "Local only",
"note": "Données stockées dans ce navigateur."
"badge": "Local first",
"note": "Données stockées dans ce navigateur.",
"cardsNote": "Les toolboxes restent locales. Sokko TCG utilise un compte sécurisé."
},
"topbar": {
"dashboard": "Dashboard",
"toolbox": "Toolboxes",
"library": "Librairie",
"games": "Informations jeu",
"cards": "Sokko TCG",
"gameViewLabel": "Vue de la page jeu",
"guideView": "Guide",
"toolboxView": "Toolbox"
@ -33,6 +36,186 @@
"emptyText": "Ajoutez des entrées dans /data/games.json.",
"retryLabel": "Réessayer"
},
"cards": {
"eyebrow": "Trading Card Game",
"title": "Sokko TCG",
"description": "Ouvrez des paquets, complétez vos collections et échangez vos cartes avec d’autres explorateurs.",
"loadingTitle": "Chargement de Sokko TCG",
"loadingText": "Connexion au registre de collection…",
"disabledTitle": "Sokko TCG est fermé",
"disabled": "Le mini-jeu n’est pas activé sur ce serveur.",
"errorTitle": "Collection indisponible",
"loginDescription": "Connectez votre compte Discord pour retrouver votre collection, sécuriser vos cartes et participer aux échanges.",
"discordLogin": "Se connecter avec Discord",
"discordUnavailable": "La connexion Discord n’est pas encore disponible sur ce serveur.",
"discordErrors": {
"denied": "Connexion annulée : vous n’avez pas autorisé l’accès depuis Discord.",
"expired": "Cette tentative de connexion a expiré. Veuillez réessayer.",
"failed": "Discord n’a pas pu finaliser la connexion. Veuillez réessayer dans quelques instants."
},
"devLogin": "Version développement",
"navigation": {
"home": "Accueil",
"packs": "Paquets",
"collection": "Collection",
"shop": "Boutique",
"transfers": "Échanges et dons",
"history": "Historique",
"account": "Compte"
},
"shop": {
"packDescription": "Les cartes de toutes les collections actives et les légendaires et mythiques exclusives de cette collection.",
"packAction": "Acheter et ouvrir",
"packPending": "Terminez d’abord l’ouverture en cours."
},
"transfers": {
"eyebrow": "Entre joueurs",
"title": "Échanges et dons",
"newGift": "Faire un don",
"newTrade": "Proposer un échange",
"inboxTitle": "À traiter",
"sentTitle": "Envoyées",
"finishedTitle": "Terminées",
"empty": "Aucune proposition en cours. Donnez un doublon ou proposez un échange à un autre joueur.",
"giftFrom": "Don de",
"giftTo": "Don à",
"tradeWith": "Échange avec",
"expires": "Expire",
"youGive": "Vous donnez",
"youReceive": "Vous recevez",
"accept": "Accepter",
"decline": "Refuser",
"cancel": "Annuler",
"close": "Fermer",
"statusCompleted": "Terminé",
"statusCancelled": "Annulé",
"statusDeclined": "Refusé",
"statusExpired": "Expiré",
"acceptedNotice": "Échange terminé : les cartes sont dans vos collections.",
"declinedNotice": "Proposition refusée.",
"cancelledNotice": "Proposition annulée : votre doublon est de nouveau disponible.",
"typeLabel": "Type de proposition",
"typeTrade": "Échange",
"typeGift": "Don",
"playerLabel": "Joueur",
"playerPlaceholder": "Choisir un joueur",
"playerLoading": "Chargement des joueurs…",
"noPlayers": "Aucun autre joueur pour l’instant.",
"duplicatesShort": "doublons",
"noDuplicates": "Vous n’avez aucun doublon disponible.",
"playerNoDuplicates": "Ce joueur n’a aucun doublon disponible.",
"choosePlayerFirst": "Choisissez d’abord un joueur.",
"missingBadge": "Vous ne l’avez pas",
"giftHelp": "Le don est immédiat et définitif. Vous gardez toujours un exemplaire de chaque carte.",
"tradeHelp": "Votre doublon reste réservé 7 jours, jusqu’à la réponse du joueur. Vous pouvez annuler à tout moment.",
"sameCard": "Choisissez deux cartes différentes.",
"giveAction": "Donner",
"toPlayer": "à",
"sendTrade": "Envoyer la proposition",
"giftSentNotice": "a été donnée à",
"tradeSentNotice": "Proposition envoyée à"
},
"collection": {
"eyebrow": "Mes cartes",
"title": "Ma collection",
"resetFilters": "Réinitialiser les filtres"
},
"history": {
"pendingCards": "Cartes à révéler"
},
"account": {
"eyebrow": "Vos données",
"title": "Compte",
"description": "Retrouvez ce que Sokko TCG conserve pour votre compte et supprimez-le quand vous le souhaitez.",
"summaryTitle": "Ce qui est lié à votre compte",
"summaryName": "Pseudo Discord",
"summaryCards": "Cartes en collection",
"summaryOpenings": "Paquets ouverts",
"deleteTitle": "Supprimer mon compte",
"deleteText": "Votre identité Discord, votre collection, vos favoris, vos poussières d’étoiles et vos ouvertures sont effacés, et vos propositions d’échange en cours sont annulées. Les échanges passés restent visibles par les autres joueurs sous le nom « Joueur supprimé ». Cette action est définitive : une nouvelle connexion crée un compte neuf.",
"deleteButton": "Supprimer mon compte",
"confirmTitle": "Supprimer définitivement votre compte ?",
"confirmMessage": "Votre collection et vos ressources seront perdues. Cette action ne peut pas être annulée.",
"confirmLabel": "Supprimer définitivement",
"deleted": "Votre compte a bien été supprimé."
},
"privacy": {
"title": "Confidentialité de Sokko TCG",
"intro": "Sokko TCG est le seul espace de Sokko G à stocker des données sur le serveur. Vos toolboxes restent dans votre navigateur.",
"collectedTitle": "Données conservées",
"collected": "Votre identifiant, votre pseudo et votre avatar Discord, ainsi que votre collection, vos ouvertures, vos échanges et votre historique de jeu. La connexion Discord ne demande ni votre e-mail ni vos messages. Un cookie garde votre session ouverte et une copie de votre collection reste dans ce navigateur pour la consultation hors connexion.",
"purposeTitle": "Utilisation",
"purpose": "Ces données servent uniquement à faire fonctionner votre compte et le jeu. Votre adresse IP sert à limiter les abus ; elle n’est pas enregistrée dans la base du jeu.",
"visibilityTitle": "Visibilité",
"visibility": "Les joueurs connectés voient votre pseudo, votre avatar et vos doublons disponibles, afin de vous proposer des dons et des échanges. Le reste de votre collection n’est pas partagé.",
"retentionTitle": "Durée de conservation",
"retention": "Vos données sont conservées tant que votre compte existe. Après 24 mois sans connexion, il est anonymisé automatiquement et votre collection est effacée. Après une suppression ou une anonymisation, ces données disparaissent des sauvegardes sous 14 jours.",
"rightsTitle": "Vos droits",
"rights": "Vous pouvez supprimer votre compte depuis la section Compte, et demander l’accès à vos données ou leur correction à l’adresse ci-dessous. Vous pouvez aussi saisir la CNIL.",
"controllerLabel": "Responsable des données",
"controllerMissing": "Responsable non configuré sur ce serveur.",
"contactLabel": "Contact",
"contactMissing": "Contact non configuré sur ce serveur."
},
"recycling": {
"barLabel": "Recyclage des doublons",
"viewDuplicates": "Voir les doublons",
"viewAll": "Voir toutes les cartes",
"allButton": "Tout recycler",
"ratesLabel": "Poussière gagnée par doublon",
"pending": "Terminez d’abord l’ouverture en cours pour recycler vos doublons.",
"pendingAction": "Reprendre l’ouverture"
},
"admin": {
"backToGame": "Retour au jeu",
"restrictedTitle": "Administration inaccessible",
"restrictedText": "Cette page est réservée aux administrateurs de Sokko TCG."
},
"home": {
"eyebrow": "Tableau de bord",
"title": "Vue d’ensemble",
"available": "Ouvertures disponibles",
"next": "Prochaine ouverture",
"full": "Réserve pleine",
"rarestEyebrow": "Meilleur tirage",
"rarestTitle": "Carte la plus rare tirée",
"noPull": "Aucune carte tirée pour le moment.",
"browsePacks": "Voir les paquets",
"resume": "Une ouverture attribuée attend encore d’être révélée.",
"resumeAction": "Reprendre l’ouverture",
"cardsDiscovered": "Cartes découvertes",
"editionsDiscovered": "Éditions découvertes",
"ownedCopies": "Exemplaires possédés",
"packsOpened": "Paquets ouverts",
"stardust": "Poussière d’étoiles",
"recyclable": "Doublons à recycler"
},
"packs": {
"eyebrow": "Sélection de paquets",
"title": "Choisissez une collection",
"permanent": "Paquets permanents",
"permanentDescription": "Disponibles sans limite de durée.",
"event": "Paquets événements",
"eventDescription": "Collections disponibles pendant une période limitée.",
"open": "Ouvrir ce paquet",
"probabilities": "Probabilités",
"back": "Retour",
"shopShare": "des légendaires et mythiques tirées viennent de",
"purchasedLabel": "Ouvertures achetées",
"purchasedHelp": "Utilisées automatiquement quand votre réserve est vide.",
"empty": "Aucun paquet disponible dans cette catégorie.",
"noOpening": "La prochaine ouverture sera disponible automatiquement.",
"redeemTitle": "Utiliser un code",
"redeemHelp": "Un code reçu lors d’un événement ou d’une annonce vous offre une carte ou un paquet.",
"redeemPlaceholder": "Ex. NEBULA-2026",
"redeemButton": "Utiliser le code",
"redeemReceived": "Code utilisé, vous recevez :",
"redeemWhere": "Les cartes sont dans votre collection, les paquets dans « Paquets offerts ».",
"giftTitle": "Paquets offerts",
"giftDescription": "Ils s’ouvrent quand vous le souhaitez, sans utiliser vos ouvertures disponibles.",
"giftOpen": "Ouvrir"
}
},
"library": {
"eyebrow": "Catalogue des outils",
"title": "Librairie",
@ -1710,6 +1893,7 @@
"eyebrow": "À propos",
"title": "C'est quoi Sokko G ?",
"description": "Sokko G est un espace local pour organiser vos notes, outils et repères de jeu. Il est pensé pour rester ouvert à côté de votre partie, sans compte et sans synchronisation obligatoire.",
"cardsDescription": "Sokko G est un espace local pour organiser vos notes, outils et repères de jeu. Il est pensé pour rester ouvert à côté de votre partie : les toolboxes fonctionnent sans compte et sans synchronisation obligatoire. Seul le mini-jeu Sokko TCG utilise un compte Discord et conserve ses données sur le serveur.",
"sectionsEyebrow": "Concept",
"sectionsTitle": "Faciliter vos sessions gaming",
"sections": [

View file

@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5 12.5L10 17.5L19 7" stroke="#000000" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 219 B

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.59 5.88997C17.36 5.31997 16.05 4.89997 14.67 4.65997C14.5 4.95997 14.3 5.36997 14.17 5.69997C12.71 5.47997 11.26 5.47997 9.83001 5.69997C9.69001 5.36997 9.49001 4.95997 9.32001 4.65997C7.94001 4.89997 6.63001 5.31997 5.40001 5.88997C2.92001 9.62997 2.25001 13.28 2.58001 16.87C4.23001 18.1 5.82001 18.84 7.39001 19.33C7.78001 18.8 8.12001 18.23 8.42001 17.64C7.85001 17.43 7.31001 17.16 6.80001 16.85C6.94001 16.75 7.07001 16.64 7.20001 16.54C10.33 18 13.72 18 16.81 16.54C16.94 16.65 17.07 16.75 17.21 16.85C16.7 17.16 16.15 17.42 15.59 17.64C15.89 18.23 16.23 18.8 16.62 19.33C18.19 18.84 19.79 18.1 21.43 16.87C21.82 12.7 20.76 9.08997 18.61 5.88997H18.59ZM8.84001 14.67C7.90001 14.67 7.13001 13.8 7.13001 12.73C7.13001 11.66 7.88001 10.79 8.84001 10.79C9.80001 10.79 10.56 11.66 10.55 12.73C10.55 13.79 9.80001 14.67 8.84001 14.67ZM15.15 14.67C14.21 14.67 13.44 13.8 13.44 12.73C13.44 11.66 14.19 10.79 15.15 10.79C16.11 10.79 16.87 11.66 16.86 12.73C16.86 13.79 16.11 14.67 15.15 14.67Z" fill="#000000"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Source : SVG Repo, adapté au masque de navigation Sokko TCG. -->
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M20.466 1.967 14.78.221a5.011 5.011 0 0 0-6.224 3.24L8.368 4H5a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5h6a4.975 4.975 0 0 0 3.92-1.934 5.029 5.029 0 0 0 .689.052 4.976 4.976 0 0 0 4.775-3.563l3.416-10.4a5.021 5.021 0 0 0-3.334-6.188ZM11 22H5a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3Zm10.887-14.437-3.412 10.4a2.992 2.992 0 0 1-2.6 2.134A4.992 4.992 0 0 0 16 19V9a5.006 5.006 0 0 0-5-5h-.507a3 3 0 0 1 3.7-1.867l5.686 1.746a3.006 3.006 0 0 1 2.008 3.684ZM12 13c0 1.45-1.544 3.391-2.714 4.378a1.991 1.991 0 0 1-2.572 0C5.544 16.391 4 14.45 4 13a2 2 0 0 1 4 0 2 2 0 0 1 4 0Z"/>
</svg>

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Some files were not shown because too many files have changed in this diff Show more