imlementacao traducao
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import { translate } from "../../services/localizedMessages";
|
||||
|
||||
function obterDificuldade(dadosFase) {
|
||||
// Usa a dificuldade da fase, se existir, senão calcula pelo número
|
||||
@@ -40,7 +41,7 @@ function GameFaseInfo({ phaseData = {}, phaseNumber }) {
|
||||
{/* Título/Subtítulo */}
|
||||
<div className="flex-1 min-w-0 px-3 lg:px-5">
|
||||
<h3 className="text-base lg:text-2xl font-semibold text-gray-800 truncate">
|
||||
{phaseData.nome}
|
||||
{translate(phaseData.nome)}
|
||||
</h3>
|
||||
{phaseData.descricao && (
|
||||
<p className="text-base lg:text-lg text-gray-600 leading-tight whitespace-pre-wrap mt-1 pr-12 lg:pr-0">
|
||||
|
||||
Reference in New Issue
Block a user