petercat-ai / petercat

A conversational Q&A agent configuration system, self-hosted deployment solutions, and a convenient all-in-one application SDK, allowing you to create intelligent Q&A bots for your GitHub repositories
https://petercat.ai
MIT License
618 stars 18 forks source link

feat: add the light theme of the LangSwitcher and add langs for components #382

Closed xingwanying closed 2 months ago

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 3:07am
petercat-assistant[bot] commented 2 months ago

Walkthrough

This pull request introduces a light theme option for the LangSwitcher component and adds language support for various components. The changes enhance the user interface by providing a new theme and improving localization.

Changes

File Summary
client/.kiwi/en/components.ts Updated translations for English language components.
client/.kiwi/ja/components.ts Updated translations for Japanese language components.
client/.kiwi/ko/components.ts Updated translations for Korean language components.
client/.kiwi/zh-CN/components.ts Updated translations for Simplified Chinese language components.
client/.kiwi/zh-TW/components.ts Updated translations for Traditional Chinese language components.
client/components/Crash.tsx Integrated internationalization (i18n) for crash messages.
client/components/LangSwitcher.tsx Added light theme support for the language switcher.
client/components/Navbar.tsx Integrated internationalization (i18n) for navbar components.
client/components/PublishBotEntity.tsx Integrated internationalization (i18n) for bot publishing components.
client/components/User.tsx Integrated internationalization (i18n) for user components.
client/kiwi-config.json Configuration changes to support new languages.
client/package.json Updated dependencies and scripts to support new features.