mirror of
https://github.com/zen-browser/www.git
synced 2025-07-14 04:03:55 +02:00
- 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.
6 lines
114 B
TypeScript
6 lines
114 B
TypeScript
export const I18N = {
|
|
DEFAULT_LOCALE: 'en',
|
|
LOCALES: [
|
|
{ label: 'English', value: 'en' },
|
|
],
|
|
} as const
|