-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I18n - Translate to English #193
Conversation
@noams24 is attempting to deploy a commit to a Personal Account owned by @Maakaf on Vercel. @Maakaf first needs to authorize it. |
app/[locale]/page.tsx
Outdated
const t = useTranslations('components.home'); | ||
|
||
// const BeOurFriendsCards = [ | ||
// { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you dont use a code don
t put it in a comment.
Delete it, you can always go back and check what this was before with git
} | ||
|
||
const HeaderItems = ({headerText}: any) => { | ||
const pathname = usePathname(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't use any
for the type.
Also, you can use restructuring for the component props
|
||
interface HeaderItemsProps { | ||
headerText: string[]; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not used, was your intention to replace the any (check below comment) type with HeaderItemsProps
?
@@ -1,5 +1,8 @@ | |||
import { LINKS } from '@/config/consts'; | |||
import Faqs from '../Common/Faqs'; | |||
import { useTranslations } from 'next-intl'; | |||
|
|||
// const t = useTranslations('maintainers'); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this commnet
@Tamir198 Thanks for the review, I fixed what you said (there is still work to be done). |
Good work! |
Todo: