Implement missing & remaining pieces propagation + cleaner forms
All checks were successful
CI / scan_ruby (push) Successful in 18s
CI / scan_js (push) Successful in 14s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 34s

This commit is contained in:
sto
2025-11-10 12:26:48 +01:00
parent 6549124c08
commit f4136ea58a
15 changed files with 175 additions and 38 deletions

View File

@@ -43,13 +43,14 @@ en:
new: New category
name: Category
completion:
completed: Puzzle completed
contestant: Participant
display_time: Time
display_time_from_start: Time since start
display_relative_time: Time for this puzzle
puzzle: Puzzle
remaining_pieces: Remaining pieces
remaining_pieces_description: When this field is filled, the above time will not be taken into account
missing_pieces: Missing pieces
remaining_pieces: Remaining pieces (not completed puzzle)
contest:
lang: Language for the public scoreboard
name: Name
@@ -77,6 +78,7 @@ en:
text: Content
time: Time
offline:
completed: Puzzle completed
name: Your name
missing_pieces: Missing pieces
remaining_pieces: Remaining pieces
@@ -105,6 +107,7 @@ en:
puzzle_id:
taken: "This contestant has already completed this puzzle"
remaining_pieces:
blank: This is required
not_an_integer: This is not an integer
not_a_number: This is not an integer
contest:
@@ -131,6 +134,7 @@ en:
name:
blank: Please enter a name for your participation
remaining_pieces:
blank: You need to provide the number of remaining pieces to assemble
not_an_integer: This is not an integer
not_a_number: This is not an integer
start_image:
@@ -200,6 +204,7 @@ en:
destroy:
notice: Participant deleted
edit:
completions_note: The time doesn't automatically account penalties for missing pieces. The ability to specify time penalties will be added later on, stay tuned!
end_image: End image
notice: Participant updated
not_finished: Not yet finished
@@ -268,10 +273,10 @@ en:
already_submitted: You have already completed the puzzle
completed_message: Thanks for your participation!
end_image_select: Take a photo of your completed puzzle, or on the state it is if you decide to give up
missing_pieces: If completed, indicate the number of missing pieces, if any
remaining_pieces: If your puzzle isn't complete, indicate here the number of remaining pieces to assemble
missing_pieces: Indicate the number of missing pieces, if any
remaining_pieces: Indicate the number of remaining pieces to assemble
start_image_select: Take a photo of the puzzle with the provided code written on a paper before starting it
start_message: Let's go!
start_message: Let's go %{name}!
puzzles:
destroy:
notice: Puzzle deleted

View File

@@ -14,13 +14,14 @@ fr:
new: Nouvelle catégorie
name: Catégorie
completion:
completed: Puzzle terminé
contestant_id: Participant.e
display_time: Temps
display_time_from_start: Temps depuis le début
display_relative_time: Temps pour ce puzzle
puzzle: Puzzle
remaining_pieces: Nombre de pièces restantes
remaining_pieces_description: Si ce champ est rempli, le temps ci-dessus ne sera pas pris en compte
missing_pieces: Pièces manquantes
remaining_pieces: Pièces restantes (puzzle non fini)
contest:
lang: Langue pour le classement public
name: Nom
@@ -48,6 +49,7 @@ fr:
text: Contenu
time: Temps
offline:
completed: Puzzle terminé
name: Ton nom ou pseudo
missing_pieces: Pièces manquantes
remaining_pieces: Pièces restantes
@@ -76,6 +78,7 @@ fr:
puzzle_id:
taken: "Ce.tte participant.e a déjà complété ce puzzle"
remaining_pieces:
blank: Ce champ est obligatoire
not_an_integer: Ce n'est pas un nombre entier
not_a_number: Ce n'est pas un nombre entier
contest:
@@ -95,13 +98,14 @@ fr:
offline:
attributes:
end_image:
blank: Tu dois inclure cette image pour pouvoir valider ton puzzle complété
blank: Tu dois inclure cette image pour pouvoir valider ta participation
missing_pieces:
not_an_integer: Ce n'est pas un entier
not_a_number: Ce n'est pas un entier
name:
blank: Tu dois entrer un nom pour pouvoir participer
remaining_pieces:
blank: Tu dois renseigner le nombre de pièces restantes à assembler
not_an_integer: Ce n'est pas un entier
not_a_number: Ce n'est pas un entier
start_image:
@@ -171,6 +175,7 @@ fr:
destroy:
notice: Participant.e supprimé.e
edit:
completions_note: Le temps n'inclut actuellement pas de pénalité pour les pièces manquantes. La possibilité de spécifier des pénalités en temps sera ajouté plus tard à l'interface !
end_image: Image de fin
notice: Participant.e modifié.e
not_finished: Non terminé
@@ -239,10 +244,10 @@ fr:
already_submitted: Tu as déjà complété ton puzzle
completed_message: Merci pour ta participation !
end_image_select: Prends une photo du puzzle une fois complété, ou de l'état actuel si tu choisis de t'arrêter là
missing_pieces: Si complété, indique le nombre de pièces manquantes s'il y en a
remaining_pieces: Si tu as choisis de t'arrêter avant la fin du puzzle, indique ici le nombre de pièces restantes à assembler
missing_pieces: Indique le nombre de pièces manquantes s'il y en a
remaining_pieces: Indique ici le nombre de pièces restantes à assembler
start_image_select: Prends une photo du puzzle avant de le commencer, avec le code donné par l'organisateur.ice écrit sur du papier
start_message: C'est parti !
start_message: C'est parti %{name} !
puzzles:
destroy:
notice: Puzzle supprimé