literales y unificación de resultados en los dos modos de juego
This commit is contained in:
@@ -384,6 +384,7 @@ class _TarjetaProgresoGamificacion extends StatelessWidget {
|
||||
final nuevas = progreso.nuevasMedallas;
|
||||
final antes = progreso.antes.fuego.clamp(0, 100);
|
||||
final despues = progreso.despues.fuego.clamp(0, 100);
|
||||
final l10n = AppLocalizations.of(context)!;
|
||||
|
||||
return _PanelRecompensa(
|
||||
child: Column(
|
||||
@@ -420,7 +421,7 @@ class _TarjetaProgresoGamificacion extends StatelessWidget {
|
||||
const SizedBox(width: 14),
|
||||
Expanded(
|
||||
child: Text(
|
||||
'RECOMPENSAS DE PARTIDA',
|
||||
l10n.matchRewards.toUpperCase(),
|
||||
style: Theme.of(context).textTheme.titleMedium?.copyWith(
|
||||
color: TemaApp.colorDorado,
|
||||
fontSize: 20,
|
||||
@@ -438,7 +439,7 @@ class _TarjetaProgresoGamificacion extends StatelessWidget {
|
||||
const SizedBox(height: 20),
|
||||
if (nuevas.isEmpty)
|
||||
Text(
|
||||
'Sin medallas nuevas esta vez. Seguí acumulando fuego.',
|
||||
l10n.noNewMedalsKeepFire,
|
||||
style: Theme.of(context).textTheme.titleMedium?.copyWith(
|
||||
color: TemaApp.colorTextoSecundario,
|
||||
height: 1.35,
|
||||
@@ -446,7 +447,7 @@ class _TarjetaProgresoGamificacion extends StatelessWidget {
|
||||
)
|
||||
else ...[
|
||||
Text(
|
||||
'NUEVAS MEDALLAS',
|
||||
l10n.newMedals.toUpperCase(),
|
||||
style: Theme.of(context).textTheme.labelLarge?.copyWith(
|
||||
color: TemaApp.colorDorado,
|
||||
fontWeight: FontWeight.w800,
|
||||
@@ -486,7 +487,7 @@ class _TarjetaRecompensaCargando extends StatelessWidget {
|
||||
const SizedBox(width: 12),
|
||||
Expanded(
|
||||
child: Text(
|
||||
'Calculando recompensas...',
|
||||
AppLocalizations.of(context)!.calculatingRewards,
|
||||
style: Theme.of(context).textTheme.titleMedium?.copyWith(
|
||||
color: TemaApp.colorDorado,
|
||||
),
|
||||
@@ -617,7 +618,7 @@ class _BarraFuegoPremium extends StatelessWidget {
|
||||
Row(
|
||||
children: [
|
||||
Text(
|
||||
'Fuego',
|
||||
AppLocalizations.of(context)!.fireLabel,
|
||||
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user