mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
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.
18 lines
503 B
JavaScript
18 lines
503 B
JavaScript
const i18n = require('./.i18nrc');
|
|
|
|
/** @type {import('next-i18next').UserConfig} */
|
|
module.exports = {
|
|
debug: process.env.NODE_ENV === 'development',
|
|
fallbackLng: {
|
|
default: ['en'],
|
|
zh_TW: ['zh_CN'],
|
|
},
|
|
i18n: {
|
|
defaultLocale: i18n.entryLocale,
|
|
locales: [i18n.entryLocale, ...i18n.outputLocales],
|
|
},
|
|
localePath:
|
|
typeof window === 'undefined' ? require('node:path').resolve('./public/locales') : '/locales',
|
|
reloadOnPrerender: process.env.NODE_ENV === 'development',
|
|
};
|