Skip to content

Commit

Permalink
🔧 chore: Update i18n config
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Sep 21, 2023
1 parent a44f82a commit d4e2485
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 35 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ next-env.d.ts
.next
.env
public/*.js
bun.lockb
2 changes: 1 addition & 1 deletion .i18nrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = defineConfig({
entry: 'locales/zh_CN',
entryLocale: 'zh_CN',
output: 'locales',
outputLocales: ['en_US', 'ru_RU'],
outputLocales: ['zh_TW', 'en_US', 'ru_RU'],
splitToken: 2500,
temperature: 0,
modelName: 'gpt-3.5-turbo',
Expand Down
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,14 @@ LobeChat is a open-source, extensible ([Function Calling][fc-link]), high-perfor
#### TOC

- [👋🏻 Getting Started & Join Our Community](#-getting-started--join-our-community)

- [✨ Features](#-features)

- [📸 Snapshot](#-snapshot)

- [🛳 Self Hosting](#-self-hosting)

- [Keep Updated](#keep-updated)

- [📦 Ecosystem](#-ecosystem)

- [🧩 Plugins](#-plugins)

- [⌨️ Local Development](#️-local-development)

- [🤝 Contributing](#-contributing)

- [🔗 More Products](#-more-products)

####
Expand Down
9 changes: 0 additions & 9 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,14 @@ LobeChat 是一个开源的、可扩展的([Function Calling][fc-link])高
#### TOC

- [👋🏻 开始使用 & 交流](#-开始使用--交流)

- [✨ 功能特性](#-功能特性)

- [📸 快照预览](#-快照预览)

- [🛳 开箱即用](#-开箱即用)

- [保持更新](#保持更新)

- [📦 生态系统](#-生态系统)

- [🧩 插件体系](#-插件体系)

- [⌨️ 本地开发](#️-本地开发)

- [🤝 参与贡献](#-参与贡献)

- [🔗 更多工具](#-更多工具)

####
Expand Down
7 changes: 0 additions & 7 deletions docs/Plugin-Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,17 @@
#### TOC

- [Plugin Composition](#plugin-composition)

- [Custom Plugin Workflow](#custom-plugin-workflow)

- [**`1`** Create and Start a Plugin Project](#1-create-and-start-a-plugin-project)
- [**`2`** Add the Local Plugin in LobeChat Role Settings](#2-add-the-local-plugin-in-lobechat-role-settings)
- [**`3`** Test the Plugin Functionality in a Session](#3-test-the-plugin-functionality-in-a-session)

- [Local Plugin Development](#local-plugin-development)

- [Manifest](#manifest)
- [Project Structure](#project-structure)
- [Server-side](#server-side)
- [Plugin UI Interface](#plugin-ui-interface)

- [Plugin Deployment and Publication](#plugin-deployment-and-publication)

- [Plugin Shield](#plugin-shield)

- [Link](#link)

## Plugin Composition
Expand Down
7 changes: 0 additions & 7 deletions docs/Plugin-Development.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,17 @@
#### TOC

- [插件构成](#插件构成)

- [自定义插件流程](#自定义插件流程)

- [**`1`** 创建并启动插件项目](#1-创建并启动插件项目)
- [**`2`** 在 LobeChat 角色设置中添加本地插件](#2-在-lobechat-角色设置中添加本地插件)
- [**`3`** 会话测试插件功能](#3-会话测试插件功能)

- [本地插件开发](#本地插件开发)

- [manifest](#manifest)
- [项目结构](#项目结构)
- [服务端](#服务端)
- [插件 UI 界面](#插件-ui-界面)

- [插件部署与发布](#插件部署与发布)

- [插件 Shield](#插件-shield)

- [链接](#链接)

## 插件构成
Expand Down
4 changes: 2 additions & 2 deletions locales/zh_CN/market.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"submitAgent": "提交助手",
"title": {
"recentSubmits": "最近新增",
"allAgents": "全部助手"
"allAgents": "全部助手",
"recentSubmits": "最近新增"
}
}
4 changes: 4 additions & 0 deletions src/locales/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export const localeOptions: LocaleOptions = [
label: '简体中文',
value: 'zh-CN',
},
{
label: '繁體中文',
value: 'zh-TW',
},
{
label: 'English',
value: 'en-US',
Expand Down

0 comments on commit d4e2485

Please sign in to comment.