Skip to content
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

Merged
4 commits merged into from
Mar 21, 2024
Merged

I18n - Translate to English #193

4 commits merged into from
Mar 21, 2024

Conversation

noams24
Copy link
Contributor

@noams24 noams24 commented Mar 17, 2024

Todo:

  • MetaData
  • BeOurFriends component
  • Paths component
  • FaqsSection component
  • Projects page

Copy link

vercel bot commented Mar 17, 2024

@noams24 is attempting to deploy a commit to a Personal Account owned by @Maakaf on Vercel.

@Maakaf first needs to authorize it.

const t = useTranslations('components.home');

// const BeOurFriendsCards = [
// {
Copy link
Contributor

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 dont 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();
Copy link
Contributor

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[];
}
Copy link
Contributor

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');

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this commnet

@noams24
Copy link
Contributor Author

noams24 commented Mar 18, 2024

@Tamir198 Thanks for the review, I fixed what you said (there is still work to be done).

@Darkmift
Copy link
Collaborator

Good work!
let me know when the cleanup is done per @Tamir198 review

@Darkmift Darkmift closed this pull request by merging all changes into Maakaf:main in 8456dad Mar 21, 2024
@noams24 noams24 deleted the i18n branch March 25, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants