From 866d12b2914c0e1d8247f1d38d1e6a5a3016f7ff Mon Sep 17 00:00:00 2001 From: Jesiel Viana Date: Sat, 26 Oct 2024 17:45:53 -0300 Subject: [PATCH] add metatag description na index --- public/locales/en/common.json | 10 +++++++++- public/locales/pt-BR/common.json | 10 +++++++++- src/pages/index.tsx | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 0d98bb0..9066712 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -170,5 +170,13 @@ "Export processing. The download link will be sent to the e-mail address provided when the file is ready.": "Export processing. The download link will be sent to the e-mail address provided when the file is ready.", "Academic and/or research institutions": "Academic and/or research institutions", "Active postgraduate programs evaluated by CAPES": "Active postgraduate programs evaluated by CAPES.", - "Export failed, try again later": "Export failed, try again later." + "Export failed, try again later": "Export failed, try again later.", + "Information about data sources": "Information about data sources", + "Current": "Current", + "Egress": "Egress", + "Search in the Brazilian Scientific Research Information Ecosystem": "Search in the Brazilian Scientific Research Information Ecosystem", + "BrCris Partners": "BrCris Partners", + "Select an entity": "Select an entity", + "records": "records", + "The Brazilian Scientific Research Information Ecosystem, BrCris, is an aggregator platform that allows retrieving, certifying and visualizing data and information related to the various actors who work in scientific research in the Brazilian context.": "The Brazilian Scientific Research Information Ecosystem, BrCris, is an aggregator platform that allows retrieving, certifying and visualizing data and information related to the various actors who work in scientific research in the Brazilian context." } diff --git a/public/locales/pt-BR/common.json b/public/locales/pt-BR/common.json index 148353e..3bbe424 100644 --- a/public/locales/pt-BR/common.json +++ b/public/locales/pt-BR/common.json @@ -170,5 +170,13 @@ "Export processing. The download link will be sent to the e-mail address provided when the file is ready.": "Exportação em processamento. O link para download será enviado para o e-mail informado quando o arquivo estiver pronto.", "Academic and/or research institutions": "Instituições acadêmicas e/ou de pesquisa", "Active postgraduate programs evaluated by CAPES": "Programas de pós-graduação ativos avaliados pela CAPES", - "Export failed, try again later": "Falha na exportação, tente novamente mais tarde." + "Export failed, try again later": "Falha na exportação, tente novamente mais tarde.", + "Information about data sources": "Informações sobre as fonte de dados", + "Current": "Atuais", + "Egress": "Egressos", + "Search in the Brazilian Scientific Research Information Ecosystem": "Pesquise no Ecossistema de Informação da Pesquisa Científica Brasileira", + "BrCris Partners": "Parceiros do BrCris", + "Select an entity": "Selecione uma entidade", + "records": "registros", + "The Brazilian Scientific Research Information Ecosystem, BrCris, is an aggregator platform that allows retrieving, certifying and visualizing data and information related to the various actors who work in scientific research in the Brazilian context.": "O Ecossistema de Informação da Pesquisa Científica Brasileira, BrCris, é uma plataforma agregadora que permite recuperar, certificar e visualizar dados e informações relativas aos diversos atores que atuam na pesquisa científica do contexto brasileiro." } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index b4bf256..e3b7fe9 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -20,7 +20,7 @@ export const getStaticProps: GetStaticProps = async ({ locale }) => ({ export default function App() { // const [config, setConfig] = useState(configDefault) const router = useRouter(); - const { t } = useTranslation('common'); + const { t } = useTranslation(['common']); const indexes = [ { text: 'Publications', page: 'publications', name: process.env.INDEX_PUBLICATION || '' }, @@ -85,6 +85,14 @@ export default function App() { <> {`BrCris - ${t('Home')}`} +