Commit graph

15 commits

Author SHA1 Message Date
Shintaro Jokagi
f298522121
refactor(i18n): update JSDoc comments for type definitions and return types 2025-05-29 12:13:40 +12:00
Shintaro Jokagi
707b7d2e21
refactor(i18n): remove unused variables and clean up imports in various components 2025-05-29 12:13:01 +12:00
Shintaro Jokagi
9f9872376e
feat(i18n): add japanese translation with better fallback 2025-05-29 11:53:26 +12:00
Shintaro Jokagi
a77c141d35
chore(prettier): update prettier config 2025-05-28 13:50:37 +12:00
Shintaro Jokagi
7fafa6bc69
feat(prettier): add prettier formatting 2025-05-28 13:43:44 +12:00
Shintaro Jokagi
088cc2a8f6
chore(biome): update line width biome config 2025-05-15 16:22:26 +12:00
Shintaro Jokagi
017cb2a7f5
chore(biome): update biome rules 2025-05-15 14:19:39 +12:00
Shintaro Jokagi
37ce589fa5
chore(biome): fix lint issues 2025-05-15 13:58:21 +12:00
Shintaro Jokagi
5ad1c82801
chore(i18n): add jsdoc to i18n functions for clearity 2025-05-15 13:55:16 +12:00
Shintaro Jokagi
bcb1427a79
feat(lint): add biome formatter and linter, husky and lint-staged
This commit adds the Biome formatter and linter to replace Prettier, including:

- Add biome.json config file
- Add pre-commit hook with Husky
- Configure GitHub Action to run Biome checks
- Apply Biome formatting rules to codebase
- Remove Prettier dependencies
2025-05-15 13:52:37 +12:00
Shintaro Jokagi
e068816f18
chore(prettier): format fiels with prettier 2025-05-14 09:43:02 +12:00
Shintaro Jokagi
193c159db5
feat(i18n): add i18n support and restructure pages for localization
- Configure i18n in astro.config.mjs with English as default locale
- Add translation files and i18n utilities
- Reorganize pages under [locale] subdirectory
- Update components to use translated strings
- Add language routing and fallback handling
2025-05-14 09:41:08 +12:00
mr. m
f0ecba2079
Revert "feat(i18n): implement internationalization support and refactor components for localization" 2025-05-13 19:25:58 +02:00
Shintaro Jokagi
79f2381023
chore(tsconfig): update paths to use ~ instead of @ 2025-05-12 23:43:11 +12:00
taroj1205
54dfef1eac
feat(i18n): implement internationalization support and refactor components for localization
- Added i18n configuration to `astro.config.mjs` for managing locales.
- Introduced utility functions for locale handling in `i18n.ts`.
- Updated various components (e.g., `BackButton`, `Button`, `Community`, `Footer`, `Hero`, `NavBar`, etc.) to utilize localized strings.
- Created new localized pages for `about`, `donate`, `download`, `release-notes`, and others.
- Removed outdated pages and adjusted imports to reflect new structure.
- Enhanced the `ModsList` component to support localization.
- Added English language JSON file for translations.
- Improved overall code organization and structure for better maintainability.
2025-05-09 23:49:41 +12:00