- Remove debugging and fallback language settings from `next-i18next.config.js`
- Conditionally set `localePath` based on the environment
- Simplify `index.page.tsx` by removing unused imports and consolidating code
- Update `getStaticProps` to pass translation props to the page component
These changes were made to improve code readability and remove unnecessary configuration settings related to internationalization.
The code changes involve updating configurations, removing unused files, and making adjustments to components and selectors. These changes are done to improve the overall structure and organization of the project.
The changes include importing new components, modifying existing styles, and introducing new components. The code snippets provided show changes made to various files in a chat application, including changes to ActionIcon components, header components, session item components, and the structure and styling of the chat session list component. The code changes also involve the addition of new files for CSS overrides and global styles, as well as modifications to index pages and chat session selectors.
The purpose of these changes is to enhance the functionality and user experience of the chat application by introducing new features and improving the overall styling.
This commit updates the "locales" property in the "i18n" object of
"next-i18next.config.js". It now includes the "entryLocale" and all
the "outputLocales" using the spread operator. Additionally, the
"localePath" property is set based on whether the code is running in
a browser or not.
The changes improve the i18n configuration by making it more flexible
and dynamic.
The import statement for "@lobehub/i18n-cli" is added in ".i18nrc.js" to enable its usage. Additionally, the module.exports is updated to use the defineConfig function for better configuration management.
feat: Add new peerDependencies and publishConfig fields in package.json
New peerDependencies and publishConfig fields are added in "package.json" to specify the required dependencies and publishing configuration respectively. This ensures proper functioning and compatibility of the project.
This commit introduces new configuration files for internationalization,
deletes one file, modifies existing files, and adds new files. The changes
also involve importing dependencies and updating app and document pages.
Additional libraries and modules are used in a React application. The Header
component is modified, the index page is updated for server-side translations,
and the tsconfig.json file is modified.
Description:
- Added configuration files for internationalization
- Deleted one file
- Modified existing files
- Added new files
- Imported dependencies
- Updated app and document pages
- Used additional libraries and modules in a React application
- Modified the Header component
- Updated the index page for server-side translations
- Modified the tsconfig.json file.
This commit introduces new components, modules, and features related to chat, sessions, and settings. It includes modifications to configuration files, updates to dependencies, adjustments to styles and layouts, and additions of new components and modules. The changes also involve updates to functions, interfaces, selectors, actions, and reducers. Additionally, there are modifications to TypeScript interfaces and types, as well as changes to parameters and functions in certain files.
This commit adds three templates for issue creation, specifically for bug reports, feature requests, and help wanted. The templates contain fields for the user to fill out relevant information such as system environment, browser, bug description, expected behavior, recurrence steps, proposed solution, and additional information. These templates aim to provide a standardized way of submitting issues and help ensure that necessary information is included in the issue report.