diff --git a/src/app/learning/openings/[openingId]/page.tsx b/src/app/learning/openings/[openingId]/page.tsx index d8a37b8..f699c7f 100644 --- a/src/app/learning/openings/[openingId]/page.tsx +++ b/src/app/learning/openings/[openingId]/page.tsx @@ -78,7 +78,7 @@ export default function OpeningTrainingPage() {
Loading opening training session...
+{t.learning.openingTrainer.loadingSession}
- The requested opening could not be found. + {t.learning.openingTrainer.openingNotFoundDescription}
- You've studied {movesCompleted} move - {movesCompleted !== 1 ? 's' : ''} of the{' '} + {t.learning.openingTrainer.deviationMessage} {movesCompleted}{' '} + {movesCompleted !== 1 ? t.learning.openingTrainer.moves : t.learning.openingTrainer.move} of the{' '} {openingName}.
@@ -40,7 +46,7 @@ export default function DeviationDialog({ className="w-full px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 font-medium transition-colors flex items-center justify-center gap-2" > ♟️ - Continue Playing (Start Game) + {t.learning.openingTrainer.continuePlayingButton} {/* Secondary action: Undo */} @@ -49,7 +55,7 @@ export default function DeviationDialog({ className="w-full px-6 py-3 bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-300 dark:hover:bg-gray-600 font-medium transition-colors flex items-center justify-center gap-2" > ↩️ - Undo & Return to Opening + {t.learning.openingTrainer.undoReturnButton} {/* Optional: Continue exploring */} @@ -59,13 +65,13 @@ export default function DeviationDialog({ className="w-full px-6 py-3 bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 font-medium transition-colors border border-gray-300 dark:border-gray-600 flex items-center justify-center gap-2" > 🔍 - Explore This Variation + {t.learning.openingTrainer.exploreVariationButton} )}
- Tip: You can always navigate back using the move history + {t.learning.openingTrainer.deviationTip}
Loading opening background...
+{t.learning.openingTrainer.loadingBackground}
- No background information available for this opening. + {t.learning.openingTrainer.noBackgroundInfo}
{summary.extract}
- Source: Wikipedia (cached {new Date(summary.fetchedAt).toLocaleDateString()}) + {t.learning.openingTrainer.wikipediaSource} {new Date(summary.fetchedAt).toLocaleDateString()})