Skip to content

Commit

Permalink
fix translation
Browse files Browse the repository at this point in the history
  • Loading branch information
danicuki committed Jun 6, 2024
1 parent e542e96 commit 7efbd4b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
16 changes: 9 additions & 7 deletions components/Card/ComingSoon/index.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
import React from 'react'
import { useTranslation } from 'react-i18next'

export default function ComingSoonCard() {
const { t } = useTranslation()
return (
<>
<div className="rounded-lg bg-white-100 shadow-xl dark:bg-black-200 min-w-full">
<div className="flex min-w-full">
<div className="px-6 py-5 min-w-full items-center flex justify-between">
<div className='flex-col'>
<div className="min-w-full rounded-lg bg-white-100 shadow-xl dark:bg-black-200">
<div className="flex min-w-full">
<div className="flex min-w-full items-center justify-between px-6 py-5">
<div className="flex-col">
<p className="text-base font-medium leading-none text-black-200 dark:text-gray-100">
&#x1F98F; Está chegando a hora!
&#x1F98F; {t('comming_soon.timeHasCome')}
</p>
<p className="pt-2 text-xs leading-5 text-gray-500 dark:text-gray-400">
Estamos finalizando os últimos preparativos para o evento. Volte para conferir em breve!
{t('comming_soon.preparingEvent')}
</p>
</div>
</div>
</div>
</div>
</div>
</>
)
}
4 changes: 4 additions & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
"Find a job in cool web3 projects"
]
},
"comming_soon": {
"timeHasCome": "The time has come!",
"preparingEvent": "We are finalizing the last preparations for the event. Check back soon!"
},
"validation": {
"required": "This field is required",
"email": {
Expand Down
4 changes: 4 additions & 0 deletions public/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
"Trabalhe como dev em projetos web3"
]
},
"comming_soon": {
"timeHasCome": "Está chegando a hora!",
"preparingEvent": "Estamos finalizando os últimos preparativos para o evento. Volte para conferir em breve!"
},

"validation": {
"required": "Este campo é obrigatório",
Expand Down

0 comments on commit 7efbd4b

Please sign in to comment.