@lobehub/chat 0.118.7 → 0.118.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.i18nrc.js +1 -0
- package/CHANGELOG.md +50 -0
- package/docs/Add-New-Locale.md +54 -0
- package/docs/Add-New-Locale.zh-CN.md +54 -0
- package/docs/Home.md +10 -8
- package/docs/_Sidebar.md +21 -19
- package/locales/de-DE/tool.json +1 -0
- package/locales/en-US/tool.json +1 -0
- package/locales/es-ES/tool.json +1 -0
- package/locales/fr-FR/tool.json +1 -0
- package/locales/it-IT/tool.json +1 -0
- package/locales/ja-JP/tool.json +1 -0
- package/locales/ko-KR/tool.json +1 -0
- package/locales/nl-NL/tool.json +1 -0
- package/locales/pl-PL/tool.json +1 -0
- package/locales/pt-BR/tool.json +1 -0
- package/locales/ru-RU/tool.json +1 -0
- package/locales/tr-TR/tool.json +1 -0
- package/locales/vi-VN/chat.json +77 -0
- package/locales/vi-VN/common.json +113 -0
- package/locales/vi-VN/empty.json +6 -0
- package/locales/vi-VN/error.json +53 -0
- package/locales/vi-VN/market.json +30 -0
- package/locales/vi-VN/migration.json +45 -0
- package/locales/vi-VN/plugin.json +166 -0
- package/locales/vi-VN/setting.json +306 -0
- package/locales/vi-VN/tool.json +9 -0
- package/locales/vi-VN/welcome.json +14 -0
- package/locales/zh-CN/tool.json +1 -0
- package/locales/zh-TW/tool.json +1 -0
- package/package.json +2 -1
- package/src/app/chat/(desktop)/features/ChatInput/index.tsx +18 -1
- package/src/locales/resources.ts +5 -0
- package/src/store/chat/slices/message/action.test.ts +71 -0
- package/src/store/chat/slices/message/action.ts +11 -0
package/.i18nrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.118.9](https://github.com/lobehub/lobe-chat/compare/v0.118.8...v0.118.9)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-01-03**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Add leaving protect alert.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Add leaving protect alert, closes [#927](https://github.com/lobehub/lobe-chat/issues/927) ([ea1d0c0](https://github.com/lobehub/lobe-chat/commit/ea1d0c0))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 0.118.8](https://github.com/lobehub/lobe-chat/compare/v0.118.7...v0.118.8)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-01-03**</sup>
|
|
33
|
+
|
|
34
|
+
#### 💄 Styles
|
|
35
|
+
|
|
36
|
+
- **misc**: Add Vietnamese files and add the vi-VN option in the General Settings.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### Styles
|
|
44
|
+
|
|
45
|
+
- **misc**: Add Vietnamese files and add the vi-VN option in the General Settings, closes [#860](https://github.com/lobehub/lobe-chat/issues/860) ([c2e5606](https://github.com/lobehub/lobe-chat/commit/c2e5606))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
### [Version 0.118.7](https://github.com/lobehub/lobe-chat/compare/v0.118.6...v0.118.7)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2024-01-03**</sup>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# LobeChat New Locale Guide
|
|
2
|
+
|
|
3
|
+
LobeChat uses [lobe-i18n](https://github.com/lobehub/lobe-cli-toolbox/tree/master/packages/lobe-i18n) as the i18n solution, which allows for quick addition of new language support in the application.
|
|
4
|
+
|
|
5
|
+
## Adding New Language Support
|
|
6
|
+
|
|
7
|
+
To add new language internationalization support in LobeChat (for example, adding Vietnamese `vi-VN`), please follow the steps below:
|
|
8
|
+
|
|
9
|
+
### Step 1: Update the Internationalization Configuration File
|
|
10
|
+
|
|
11
|
+
1. Open the `.i18nrc.js` file. You can find this file in the project's root directory.
|
|
12
|
+
2. Add the new language code to the configuration file. For example, to add Vietnamese, you need to add `'vi-VN'` to the configuration file.
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
module.exports = {
|
|
16
|
+
// ... Other configurations
|
|
17
|
+
|
|
18
|
+
outputLocales: [
|
|
19
|
+
'zh-TW',
|
|
20
|
+
'en-US',
|
|
21
|
+
'ru-RU',
|
|
22
|
+
'ja-JP',
|
|
23
|
+
// ...Other languages
|
|
24
|
+
|
|
25
|
+
'vi-VN', // Add 'vi-VN' to the array
|
|
26
|
+
],
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Step 2: Automatically Translate Language Files
|
|
31
|
+
|
|
32
|
+
LobeChat uses the `lobe-i18n` tool to automatically translate language files, so manual updating of i18n files is not required.
|
|
33
|
+
|
|
34
|
+
Run the following command to automatically translate and generate the Vietnamese language files:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm run i18n
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
This will utilize the `lobe-i18n` tool to process the language files.
|
|
41
|
+
|
|
42
|
+
### Step 3: Submit and Review Your Changes
|
|
43
|
+
|
|
44
|
+
Once you have completed the above steps, you need to submit your changes and create a Pull Request.
|
|
45
|
+
|
|
46
|
+
Ensure that you follow LobeChat's contribution guidelines and provide a necessary description to explain your changes. For example, refer to a similar previous Pull Request [#759](https://github.com/lobehub/lobe-chat/pull/759).
|
|
47
|
+
|
|
48
|
+
### Additional Information
|
|
49
|
+
|
|
50
|
+
- After submitting your Pull Request, please patiently wait for the project maintainers to review it.
|
|
51
|
+
- If you encounter any issues, you can reach out to the LobeChat community for assistance.
|
|
52
|
+
- For more accurate results, ensure that your Pull Request is based on the latest main branch and stays in sync with the main branch.
|
|
53
|
+
|
|
54
|
+
By following the above steps, you can successfully add new language support to LobeChat and ensure that the application provides a localized experience for more users.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# LobeChat 新语种添加指南
|
|
2
|
+
|
|
3
|
+
LobeChat 使用 [lobe-i18n](https://github.com/lobehub/lobe-cli-toolbox/tree/master/packages/lobe-i18n) 作为 i18n 解决方案,可以在应用中快速添加新的语言支持。
|
|
4
|
+
|
|
5
|
+
## 添加新的语言支持
|
|
6
|
+
|
|
7
|
+
为了在 LobeChat 中添加新的语言国际化支持,(例如添加越南语 `vi-VN`),请按照以下步骤操作:
|
|
8
|
+
|
|
9
|
+
### 步骤 1: 更新国际化配置文件
|
|
10
|
+
|
|
11
|
+
1. 打开 `.i18nrc.js` 文件。你可以在项目的根目录中找到此文件。
|
|
12
|
+
2. 将新的语言代码添加到配置文件中。例如,为了添加越南语,你需要在配置文件中添加 `'vi-VN'`。
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
module.exports = {
|
|
16
|
+
// ... 其他配置
|
|
17
|
+
|
|
18
|
+
outputLocales: [
|
|
19
|
+
'zh-TW',
|
|
20
|
+
'en-US',
|
|
21
|
+
'ru-RU',
|
|
22
|
+
'ja-JP',
|
|
23
|
+
// ...其他语言
|
|
24
|
+
|
|
25
|
+
'vi-VN', // 在数组中添加 'vi-VN'
|
|
26
|
+
],
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### 步骤 2: 自动翻译语言文件
|
|
31
|
+
|
|
32
|
+
LobeChat 使用 `lobe-i18n` 工具来自动翻译语言文件,因此不需要手动更新 i18n 文件。
|
|
33
|
+
|
|
34
|
+
运行以下命令来自动翻译并生成越南语的语言文件:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm run i18n
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
这将会利用 `lobe-i18n` 工具来处理语言文件。
|
|
41
|
+
|
|
42
|
+
### 步骤 3: 提交和审查你的更改
|
|
43
|
+
|
|
44
|
+
一旦你完成了上述步骤,你需要提交你的更改并创建一个 Pull Request。
|
|
45
|
+
|
|
46
|
+
请确保你遵循了 LobeChat 的贡献指南,并提供必要的描述来说明你的更改。例如,参考之前的类似 Pull Request [#759](https://github.com/lobehub/lobe-chat/pull/759)。
|
|
47
|
+
|
|
48
|
+
### 附加信息
|
|
49
|
+
|
|
50
|
+
- 提交你的 Pull Request 后,请耐心等待项目维护人员的审查。
|
|
51
|
+
- 如果遇到任何问题,可以联系 LobeChat 社区寻求帮助。
|
|
52
|
+
- 为了更精确的结果,确保你的 Pull Request 是基于最新的主分支,并且与主分支保持同步。
|
|
53
|
+
|
|
54
|
+
通过遵循上述步骤,你可以成功为 LobeChat 添加新的语言支持,并且确保应用能够为更多用户提供本地化的体验。
|
package/docs/Home.md
CHANGED
|
@@ -12,6 +12,8 @@ LobeChat is a open-source, extensible ([Function Calling][fc-url]), high-perform
|
|
|
12
12
|
|
|
13
13
|

|
|
14
14
|
|
|
15
|
+
[New Locale Guide](https://github.com/lobehub/lobe-chat/wiki/Add-New-Locale) | [新语种添加指南](https://github.com/lobehub/lobe-chat/wiki/Add-New-Locale.zh-CN)
|
|
16
|
+
|
|
15
17
|
<!-- DOCS LIST -->
|
|
16
18
|
|
|
17
19
|
### 🤯 Usage
|
|
@@ -23,31 +25,31 @@ LobeChat is a open-source, extensible ([Function Calling][fc-url]), high-perform
|
|
|
23
25
|
|
|
24
26
|
### 🛳 Self-Hosting
|
|
25
27
|
|
|
26
|
-
- [Data Statistics](https://github.com/lobehub/lobe-chat/wiki/Analytics) | [数据统计](https://github.com/lobehub/lobe-chat/wiki/Analytics.zh-CN)
|
|
27
|
-
- [Deploying with Azure OpenAI](https://github.com/lobehub/lobe-chat/wiki/Deploy-with-Azure-OpenAI) | [使用 Azure OpenAI 部署](https://github.com/lobehub/lobe-chat/wiki/Deploy-with-Azure-OpenAI.zh-CN)
|
|
28
|
-
- [Docker Deployment Guide](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment) | [Docker 部署指引](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment.zh-CN)
|
|
29
28
|
- [Environment Variables](https://github.com/lobehub/lobe-chat/wiki/Environment-Variable) | [环境变量](https://github.com/lobehub/lobe-chat/wiki/Environment-Variable.zh-CN)
|
|
29
|
+
- [Docker Deployment Guide](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment) | [Docker 部署指引](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment.zh-CN)
|
|
30
|
+
- [Deploying with Azure OpenAI](https://github.com/lobehub/lobe-chat/wiki/Deploy-with-Azure-OpenAI) | [使用 Azure OpenAI 部署](https://github.com/lobehub/lobe-chat/wiki/Deploy-with-Azure-OpenAI.zh-CN)
|
|
30
31
|
- [Upstream Sync](https://github.com/lobehub/lobe-chat/wiki/Upstream-Sync) | [自部署保持更新](https://github.com/lobehub/lobe-chat/wiki/Upstream-Sync.zh-CN)
|
|
32
|
+
- [Data Statistics](https://github.com/lobehub/lobe-chat/wiki/Analytics) | [数据统计](https://github.com/lobehub/lobe-chat/wiki/Analytics.zh-CN)
|
|
31
33
|
|
|
32
34
|
<br/>
|
|
33
35
|
|
|
34
36
|
### ⌨️ Development
|
|
35
37
|
|
|
36
38
|
- [Technical Development Getting Started Guide](https://github.com/lobehub/lobe-chat/wiki/index) | [技术开发上手指南](https://github.com/lobehub/lobe-chat/wiki/index.zh-CN)
|
|
39
|
+
- [Environment Setup Guide](https://github.com/lobehub/lobe-chat/wiki/Steup-Development) | [开发环境设置](https://github.com/lobehub/lobe-chat/wiki/Steup-Development.zh-CN)
|
|
37
40
|
- [Architecture Design](https://github.com/lobehub/lobe-chat/wiki/Architecture) | [架构设计](https://github.com/lobehub/lobe-chat/wiki/Architecture.zh-CN)
|
|
38
|
-
- [Conversation API Implementation Logic](https://github.com/lobehub/lobe-chat/wiki/Chat-API) | [会话 API 实现逻辑](https://github.com/lobehub/lobe-chat/wiki/Chat-API.zh-CN)
|
|
39
|
-
- [Data Store Selector](https://github.com/lobehub/lobe-chat/wiki/Data-Store-Selectors) | [数据存储取数模块](https://github.com/lobehub/lobe-chat/wiki/Data-Store-Selectors.zh-CN)
|
|
40
41
|
- [Directory Structure](https://github.com/lobehub/lobe-chat/wiki/Folder-Structure) | [目录架构](https://github.com/lobehub/lobe-chat/wiki/Folder-Structure.zh-CN)
|
|
41
|
-
- [
|
|
42
|
+
- [Data Store Selector](https://github.com/lobehub/lobe-chat/wiki/Data-Store-Selectors) | [数据存储取数模块](https://github.com/lobehub/lobe-chat/wiki/Data-Store-Selectors.zh-CN)
|
|
43
|
+
- [Conversation API Implementation Logic](https://github.com/lobehub/lobe-chat/wiki/Chat-API) | [会话 API 实现逻辑](https://github.com/lobehub/lobe-chat/wiki/Chat-API.zh-CN)
|
|
42
44
|
- [How to Develop a New Feature](https://github.com/lobehub/lobe-chat/wiki/Feature-Development) | [如何开发一个新功能](https://github.com/lobehub/lobe-chat/wiki/Feature-Development.zh-CN)
|
|
43
|
-
- [Resources and References](https://github.com/lobehub/lobe-chat/wiki/Resources) | [资源与参考](https://github.com/lobehub/lobe-chat/wiki/Resources.zh-CN)
|
|
44
45
|
- [Testing Guide](https://github.com/lobehub/lobe-chat/wiki/Test) | [测试指南](https://github.com/lobehub/lobe-chat/wiki/Test.zh-CN)
|
|
46
|
+
- [Resources and References](https://github.com/lobehub/lobe-chat/wiki/Resources) | [资源与参考](https://github.com/lobehub/lobe-chat/wiki/Resources.zh-CN)
|
|
45
47
|
|
|
46
48
|
<br/>
|
|
47
49
|
|
|
48
50
|
### 🤖 Agents
|
|
49
51
|
|
|
50
|
-
- [Agent Index and Submit](https://github.com/lobehub/lobe-chat-agents) | [
|
|
52
|
+
- [Agent Index and Submit](https://github.com/lobehub/lobe-chat-agents) | [助手市场与提交](https://github.com/lobehub/lobe-chat-agents/blob/main/README.zh-CN.md)
|
|
51
53
|
|
|
52
54
|
<br/>
|
|
53
55
|
|
package/docs/_Sidebar.md
CHANGED
|
@@ -6,44 +6,46 @@
|
|
|
6
6
|
|
|
7
7
|
<!-- DOCS LIST -->
|
|
8
8
|
|
|
9
|
+
[New Locale Guide](https://github.com/lobehub/lobe-chat/wiki/Add-New-Locale) | [新语种添加指南](https://github.com/lobehub/lobe-chat/wiki/Add-New-Locale.zh-CN)
|
|
10
|
+
|
|
9
11
|
#### 🤯 Usage
|
|
10
12
|
|
|
11
|
-
- [Custom Agents Guide](https://github.com/lobehub/lobe-chat/wiki/Usage-Agents) | [
|
|
12
|
-
- [Topic Guide](https://github.com/lobehub/lobe-chat/wiki/Usage-Topics) | [
|
|
13
|
+
- [Custom Agents Guide](https://github.com/lobehub/lobe-chat/wiki/Usage-Agents) | [自定义助手指南](https://github.com/lobehub/lobe-chat/wiki/Usage-Agents.zh-CN)
|
|
14
|
+
- [Topic Guide](https://github.com/lobehub/lobe-chat/wiki/Usage-Topics) | [话题指南](https://github.com/lobehub/lobe-chat/wiki/Usage-Topics.zh-CN)
|
|
13
15
|
|
|
14
16
|
#### 🛳 Self-Hosting
|
|
15
17
|
|
|
16
|
-
- [Data Statistics](https://github.com/lobehub/lobe-chat/wiki/Analytics) | [中文](https://github.com/lobehub/lobe-chat/wiki/Analytics.zh-CN)
|
|
17
|
-
- [Deploying with Azure OpenAI](https://github.com/lobehub/lobe-chat/wiki/Deploy-with-Azure-OpenAI) | [中文](https://github.com/lobehub/lobe-chat/wiki/Deploy-with-Azure-OpenAI.zh-CN)
|
|
18
|
-
- [Docker Deployment Guide](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment) | [中文](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment.zh-CN)
|
|
19
18
|
- [Environment Variables](https://github.com/lobehub/lobe-chat/wiki/Environment-Variable) | [中文](https://github.com/lobehub/lobe-chat/wiki/Environment-Variable.zh-CN)
|
|
20
|
-
- [
|
|
19
|
+
- [Docker Deployment Guide](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment) | [Docker 部署指引](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment.zh-CN)
|
|
20
|
+
- [Deploying with Azure OpenAI](https://github.com/lobehub/lobe-chat/wiki/Deploy-with-Azure-OpenAI) | [使用 Azure OpenAI 部署](https://github.com/lobehub/lobe-chat/wiki/Deploy-with-Azure-OpenAI.zh-CN)
|
|
21
|
+
- [Upstream Sync](https://github.com/lobehub/lobe-chat/wiki/Upstream-Sync) | [自部署保持更新](https://github.com/lobehub/lobe-chat/wiki/Upstream-Sync.zh-CN)
|
|
22
|
+
- [Data Statistics](https://github.com/lobehub/lobe-chat/wiki/Analytics) | [数据统计](https://github.com/lobehub/lobe-chat/wiki/Analytics.zh-CN)
|
|
21
23
|
|
|
22
24
|
#### ⌨️ Development
|
|
23
25
|
|
|
24
|
-
- [Technical Development Getting Started Guide](https://github.com/lobehub/lobe-chat/wiki/index) | [
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
27
|
-
- [
|
|
28
|
-
- [
|
|
29
|
-
- [
|
|
30
|
-
- [How to Develop a New Feature](https://github.com/lobehub/lobe-chat/wiki/Feature-Development) | [
|
|
31
|
-
- [Resources and References](https://github.com/lobehub/lobe-chat/wiki/Resources) | [中文](https://github.com/lobehub/lobe-chat/wiki/Resources.zh-CN)
|
|
26
|
+
- [Technical Development Getting Started Guide](https://github.com/lobehub/lobe-chat/wiki/index) | [技术开发上手指南](https://github.com/lobehub/lobe-chat/wiki/index.zh-CN)
|
|
27
|
+
- [Environment Setup Guide](https://github.com/lobehub/lobe-chat/wiki/Steup-Development) | [开发环境设置](https://github.com/lobehub/lobe-chat/wiki/Steup-Development.zh-CN)
|
|
28
|
+
- [Architecture Design](https://github.com/lobehub/lobe-chat/wiki/Architecture) | [架构设计](https://github.com/lobehub/lobe-chat/wiki/Architecture.zh-CN)
|
|
29
|
+
- [Directory Structure](https://github.com/lobehub/lobe-chat/wiki/Folder-Structure) | [目录架构](https://github.com/lobehub/lobe-chat/wiki/Folder-Structure.zh-CN)
|
|
30
|
+
- [Data Store Selector](https://github.com/lobehub/lobe-chat/wiki/Data-Store-Selectors) | [数据存储取数模块](https://github.com/lobehub/lobe-chat/wiki/Data-Store-Selectors.zh-CN)
|
|
31
|
+
- [Conversation API Implementation Logic](https://github.com/lobehub/lobe-chat/wiki/Chat-API) | [会话 API 实现逻辑](https://github.com/lobehub/lobe-chat/wiki/Chat-API.zh-CN)
|
|
32
|
+
- [How to Develop a New Feature](https://github.com/lobehub/lobe-chat/wiki/Feature-Development) | [如何开发一个新功能](https://github.com/lobehub/lobe-chat/wiki/Feature-Development.zh-CN)
|
|
32
33
|
- [Testing Guide](https://github.com/lobehub/lobe-chat/wiki/Test) | [中文](https://github.com/lobehub/lobe-chat/wiki/Test.zh-CN)
|
|
34
|
+
- [Resources and References](https://github.com/lobehub/lobe-chat/wiki/Resources) | [资源与参考](https://github.com/lobehub/lobe-chat/wiki/Resources.zh-CN)
|
|
33
35
|
|
|
34
36
|
#### 🤖 Agents
|
|
35
37
|
|
|
36
|
-
- [Agent Index and Submit](https://github.com/lobehub/lobe-chat-agents) | [
|
|
38
|
+
- [Agent Index and Submit](https://github.com/lobehub/lobe-chat-agents) | [助手市场与提交](https://github.com/lobehub/lobe-chat-agents/blob/main/README.zh-CN.md)
|
|
37
39
|
|
|
38
40
|
#### 🧩 Plugins
|
|
39
41
|
|
|
40
|
-
- [Plugin Development Guide](https://github.com/lobehub/lobe-chat/wiki/Plugin-Development) | [
|
|
41
|
-
- [Plugin Index and Submit](https://github.com/lobehub/lobe-chat-plugins) | [
|
|
42
|
-
- [Plugin SDK Docs](https://chat-plugin-sdk.lobehub.com) | [
|
|
42
|
+
- [Plugin Development Guide](https://github.com/lobehub/lobe-chat/wiki/Plugin-Development) | [插件开发指南](https://github.com/lobehub/lobe-chat/wiki/Plugin-Development.zh-CN)
|
|
43
|
+
- [Plugin Index and Submit](https://github.com/lobehub/lobe-chat-plugins) | [插件索引与提交](https://github.com/lobehub/lobe-chat-plugins/blob/main/README.zh-CN.md)
|
|
44
|
+
- [Plugin SDK Docs](https://chat-plugin-sdk.lobehub.com) | [插件 SDK 文档](https://chat-plugin-sdk.lobehub.com)
|
|
43
45
|
|
|
44
46
|
#### 📊 Others
|
|
45
47
|
|
|
46
|
-
- [Lighthouse Reports](https://github.com/lobehub/lobe-chat/wiki/Lighthouse) | [
|
|
48
|
+
- [Lighthouse Reports](https://github.com/lobehub/lobe-chat/wiki/Lighthouse) | [Lighthouse 测试报告](https://github.com/lobehub/lobe-chat/wiki/Lighthouse.zh-CN)
|
|
47
49
|
|
|
48
50
|
<!-- DOCS LIST -->
|
|
49
51
|
|
package/locales/de-DE/tool.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dalle": {
|
|
3
3
|
"autoGenerate": "Automatisch generieren",
|
|
4
|
+
"downloading": "Die von DallE3 generierten Bildlinks sind nur 1 Stunde lang gültig. Das Bild wird lokal zwischengespeichert...",
|
|
4
5
|
"generate": "Generieren",
|
|
5
6
|
"generating": "Generiert",
|
|
6
7
|
"images": "Bilder:"
|
package/locales/en-US/tool.json
CHANGED
package/locales/es-ES/tool.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dalle": {
|
|
3
3
|
"autoGenerate": "Auto-generar",
|
|
4
|
+
"downloading": "El enlace de la imagen generada por DALL·E 3 solo es válido durante 1 hora, descargando la imagen al dispositivo local...",
|
|
4
5
|
"generate": "Generar",
|
|
5
6
|
"generating": "Generando...",
|
|
6
7
|
"images": "Imágenes:"
|
package/locales/fr-FR/tool.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dalle": {
|
|
3
3
|
"autoGenerate": "Auto-générer",
|
|
4
|
+
"downloading": "Les liens d'image générés par DallE3 ne sont valides que pendant 1 heure. Le téléchargement de l'image est en cours...",
|
|
4
5
|
"generate": "Générer",
|
|
5
6
|
"generating": "En cours de génération...",
|
|
6
7
|
"images": "Images :"
|
package/locales/it-IT/tool.json
CHANGED
package/locales/ja-JP/tool.json
CHANGED
package/locales/ko-KR/tool.json
CHANGED
package/locales/nl-NL/tool.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dalle": {
|
|
3
3
|
"autoGenerate": "Automatisch genereren",
|
|
4
|
+
"downloading": "De link naar de afbeelding gegenereerd door DallE3 is slechts 1 uur geldig. De afbeelding wordt lokaal in de cache opgeslagen...",
|
|
4
5
|
"generate": "Genereren",
|
|
5
6
|
"generating": "Bezig met genereren...",
|
|
6
7
|
"images": "Afbeeldingen:"
|
package/locales/pl-PL/tool.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dalle": {
|
|
3
3
|
"autoGenerate": "Automatyczne generowanie",
|
|
4
|
+
"downloading": "Linki do obrazów wygenerowanych przez DallE3 są ważne tylko przez 1 godzinę. Trwa pobieranie obrazów do lokalnego bufora...",
|
|
4
5
|
"generate": "Generuj",
|
|
5
6
|
"generating": "Generowanie...",
|
|
6
7
|
"images": "Obrazy:"
|
package/locales/pt-BR/tool.json
CHANGED
package/locales/ru-RU/tool.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dalle": {
|
|
3
3
|
"autoGenerate": "Автогенерация",
|
|
4
|
+
"downloading": "Ссылка на изображение, созданное DALL·E3, действительна только в течение 1 часа. Идет кэширование изображения локально...",
|
|
4
5
|
"generate": "Создать",
|
|
5
6
|
"generating": "Создание...",
|
|
6
7
|
"images": "Изображения:"
|
package/locales/tr-TR/tool.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dalle": {
|
|
3
3
|
"autoGenerate": "Otomatik Oluştur",
|
|
4
|
+
"downloading": "DallE3 tarafından oluşturulan resim bağlantıları sadece 1 saat geçerlidir, resim yerel olarak önbelleğe alınıyor...",
|
|
4
5
|
"generate": "Oluştur",
|
|
5
6
|
"generating": "Oluşturuluyor...",
|
|
6
7
|
"images": "Görseller:"
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"agentDefaultMessage": "Xin chào, tôi là **{{name}}**, bạn có thể bắt đầu trò chuyện với tôi ngay lập tức, hoặc đến [Cài đặt trợ lý](/chat/settings#session={{id}}) để hoàn thiện thông tin của tôi.",
|
|
3
|
+
"agentDefaultMessageWithSystemRole": "Xin chào, tôi là **{{name}}**, {{systemRole}}. Hãy bắt đầu trò chuyện ngay!",
|
|
4
|
+
"backToBottom": "Quay về dưới cùng",
|
|
5
|
+
"clearCurrentMessages": "Xóa tin nhắn hiện tại",
|
|
6
|
+
"confirmClearCurrentMessages": "Bạn sắp xóa tin nhắn hiện tại. Hành động này không thể hoàn tác, vui lòng xác nhận.",
|
|
7
|
+
"confirmRemoveSessionItemAlert": "Bạn sắp xóa trợ lý này. Hành động này không thể hoàn tác, vui lòng xác nhận.",
|
|
8
|
+
"defaultAgent": "Trợ lý mặc định",
|
|
9
|
+
"defaultSession": "Trợ lý mặc định",
|
|
10
|
+
"historyRange": "Phạm vi lịch sử",
|
|
11
|
+
"inbox": {
|
|
12
|
+
"defaultMessage": "Xin chào, tôi là trợ lý thông minh của bạn, bạn có thể hỏi tôi bất kỳ câu hỏi nào và tôi sẽ cố gắng trả lời. Nếu bạn cần một trợ lý chuyên nghiệp hoặc tùy chỉnh hơn, hãy nhấn `+` để tạo trợ lý tùy chỉnh.",
|
|
13
|
+
"desc": "Kích hoạt cụm não, khơi dậy tia lửa tư duy. Trợ lý thông minh của bạn, ở đây để trò chuyện với bạn về mọi thứ.",
|
|
14
|
+
"title": "Chuyện phiếm"
|
|
15
|
+
},
|
|
16
|
+
"newAgent": "Tạo trợ lý mới",
|
|
17
|
+
"noDescription": "Chưa có mô tả",
|
|
18
|
+
"pin": "Ghim",
|
|
19
|
+
"pinOff": "Bỏ ghim",
|
|
20
|
+
"regenerate": "Tạo lại",
|
|
21
|
+
"roleAndArchive": "Vai trò và lưu trữ",
|
|
22
|
+
"searchAgentPlaceholder": "Tìm kiếm trợ lý và cuộc trò chuyện...",
|
|
23
|
+
"send": "Gửi",
|
|
24
|
+
"sendPlaceholder": "Nhập nội dung trò chuyện...",
|
|
25
|
+
"sessionList": "Danh sách trợ lý",
|
|
26
|
+
"shareModal": {
|
|
27
|
+
"download": "Tải xuống ảnh chụp màn hình",
|
|
28
|
+
"imageType": "Định dạng ảnh",
|
|
29
|
+
"screenshot": "Ảnh chụp màn hình",
|
|
30
|
+
"settings": "Cài đặt xuất",
|
|
31
|
+
"shareToShareGPT": "Tạo liên kết chia sẻ ShareGPT",
|
|
32
|
+
"withBackground": "Bao gồm hình nền",
|
|
33
|
+
"withFooter": "Bao gồm chân trang",
|
|
34
|
+
"withPluginInfo": "Bao gồm thông tin plugin",
|
|
35
|
+
"withSystemRole": "Bao gồm thiết lập vai trò trợ lý"
|
|
36
|
+
},
|
|
37
|
+
"stop": "Dừng",
|
|
38
|
+
"stt": {
|
|
39
|
+
"action": "Nhập bằng giọng nói",
|
|
40
|
+
"loading": "Đang nhận dạng...",
|
|
41
|
+
"prettifying": "Đang tinh chỉnh..."
|
|
42
|
+
},
|
|
43
|
+
"temp": "Tạm thời",
|
|
44
|
+
"tokenDetail": "Thiết lập vai trò: {{systemRoleToken}} · Tin nhắn cuộc trò chuyện: {{chatsToken}} · Thiết lập công cụ: {{toolsToken}}",
|
|
45
|
+
"tokenTag": {
|
|
46
|
+
"overload": "Vượt quá giới hạn",
|
|
47
|
+
"remained": "Còn lại",
|
|
48
|
+
"used": "Đã sử dụng"
|
|
49
|
+
},
|
|
50
|
+
"topic": {
|
|
51
|
+
"confirmRemoveAll": "Bạn sắp xóa tất cả chủ đề. Hành động này không thể hoàn tác, vui lòng xác nhận.",
|
|
52
|
+
"confirmRemoveTopic": "Bạn sắp xóa chủ đề này. Hành động này không thể hoàn tác, vui lòng xác nhận.",
|
|
53
|
+
"confirmRemoveUnstarred": "Bạn sắp xóa các chủ đề chưa được đánh dấu. Hành động này không thể hoàn tác, vui lòng xác nhận.",
|
|
54
|
+
"defaultTitle": "Chủ đề mặc định",
|
|
55
|
+
"openNewTopic": "Mở chủ đề mới",
|
|
56
|
+
"removeAll": "Xóa tất cả chủ đề",
|
|
57
|
+
"removeUnstarred": "Xóa chủ đề chưa được đánh dấu",
|
|
58
|
+
"saveCurrentMessages": "Lưu cuộc trò chuyện hiện tại thành chủ đề",
|
|
59
|
+
"searchPlaceholder": "Tìm kiếm chủ đề...",
|
|
60
|
+
"title": "Danh sách chủ đề"
|
|
61
|
+
},
|
|
62
|
+
"translate": {
|
|
63
|
+
"action": "Dịch",
|
|
64
|
+
"clear": "Xóa dịch"
|
|
65
|
+
},
|
|
66
|
+
"tts": {
|
|
67
|
+
"action": "Đọc bằng giọng nói",
|
|
68
|
+
"clear": "Xóa giọng nói"
|
|
69
|
+
},
|
|
70
|
+
"updateAgent": "Cập nhật thông tin trợ lý",
|
|
71
|
+
"upload": {
|
|
72
|
+
"actionTooltip": "Tải lên hình ảnh",
|
|
73
|
+
"dragDesc": "Kéo và thả tệp vào đây, hỗ trợ tải lên nhiều hình ảnh. Giữ phím Shift để gửi hình ảnh trực tiếp",
|
|
74
|
+
"dragTitle": "Tải lên hình ảnh"
|
|
75
|
+
},
|
|
76
|
+
"warp": "Xuống dòng"
|
|
77
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "Giới thiệu",
|
|
3
|
+
"advanceSettings": "Cài đặt nâng cao",
|
|
4
|
+
"agentMaxToken": "Số ký tự tối đa của phiên",
|
|
5
|
+
"agentModel": "Mô hình",
|
|
6
|
+
"agentProfile": "Hồ sơ trợ lý",
|
|
7
|
+
"appInitializing": "LobeChat đang khởi động, vui lòng chờ...",
|
|
8
|
+
"archive": "Lưu trữ",
|
|
9
|
+
"autoGenerate": "Tự động tạo",
|
|
10
|
+
"autoGenerateTooltip": "Tự động hoàn thành mô tả trợ lý dựa trên từ gợi ý",
|
|
11
|
+
"cancel": "Hủy",
|
|
12
|
+
"changelog": "Nhật ký cập nhật",
|
|
13
|
+
"close": "Đóng",
|
|
14
|
+
"confirmRemoveSessionItemAlert": "Bạn sắp xóa trợ lý này. Sau khi xóa, bạn sẽ không thể khôi phục. Vui lòng xác nhận hành động của bạn",
|
|
15
|
+
"copy": "Sao chép",
|
|
16
|
+
"copySuccess": "Sao chép thành công",
|
|
17
|
+
"defaultAgent": "Trợ lý mặc định",
|
|
18
|
+
"defaultSession": "Phiên mặc định",
|
|
19
|
+
"delete": "Xóa",
|
|
20
|
+
"edit": "Chỉnh sửa",
|
|
21
|
+
"export": "Xuất cấu hình",
|
|
22
|
+
"exportType": {
|
|
23
|
+
"agent": "Xuất cấu hình trợ lý",
|
|
24
|
+
"agentWithMessage": "Xuất trợ lý và tin nhắn",
|
|
25
|
+
"all": "Xuất cài đặt toàn cầu và tất cả dữ liệu trợ lý",
|
|
26
|
+
"allAgent": "Xuất tất cả cấu hình trợ lý",
|
|
27
|
+
"allAgentWithMessage": "Xuất tất cả trợ lý và tin nhắn",
|
|
28
|
+
"globalSetting": "Xuất cài đặt toàn cầu"
|
|
29
|
+
},
|
|
30
|
+
"feedback": "Phản hồi và đề xuất",
|
|
31
|
+
"historyRange": "Phạm vi lịch sử",
|
|
32
|
+
"import": "Nhập cấu hình",
|
|
33
|
+
"importModal": {
|
|
34
|
+
"finish": {
|
|
35
|
+
"onlySettings": "Nhập cài đặt hệ thống thành công",
|
|
36
|
+
"start": "Bắt đầu sử dụng",
|
|
37
|
+
"subTitle": "Dữ liệu đã được nhập thành công, mất {{duration}} giây. Chi tiết nhập như sau:",
|
|
38
|
+
"title": "Hoàn tất nhập dữ liệu"
|
|
39
|
+
},
|
|
40
|
+
"loading": "Đang nhập dữ liệu, vui lòng chờ...",
|
|
41
|
+
"result": {
|
|
42
|
+
"added": "Nhập thành công",
|
|
43
|
+
"errors": "Lỗi nhập",
|
|
44
|
+
"messages": "Tin nhắn",
|
|
45
|
+
"sessions": "Trợ lý",
|
|
46
|
+
"skips": "Bỏ qua trùng lặp",
|
|
47
|
+
"topics": "Chủ đề",
|
|
48
|
+
"type": "Loại dữ liệu"
|
|
49
|
+
},
|
|
50
|
+
"title": "Nhập dữ liệu"
|
|
51
|
+
},
|
|
52
|
+
"lang": {
|
|
53
|
+
"bn": "Tiếng Bengal",
|
|
54
|
+
"cs-CZ": "Tiếng Séc",
|
|
55
|
+
"da-DK": "Tiếng Đan Mạch",
|
|
56
|
+
"de-DE": "Tiếng Đức",
|
|
57
|
+
"el-GR": "Tiếng Hy Lạp",
|
|
58
|
+
"en": "Tiếng Anh",
|
|
59
|
+
"en-US": "Tiếng Anh (Mỹ)",
|
|
60
|
+
"es-ES": "Tiếng Tây Ban Nha",
|
|
61
|
+
"fi-FI": "Tiếng Phần Lan",
|
|
62
|
+
"fr-FR": "Tiếng Pháp",
|
|
63
|
+
"hi-IN": "Tiếng Hin-ddi",
|
|
64
|
+
"hu-HU": "Tiếng Hungary",
|
|
65
|
+
"id-ID": "Tiếng Indonesia",
|
|
66
|
+
"it-IT": "Tiếng Ý",
|
|
67
|
+
"ja-JP": "Tiếng Nhật",
|
|
68
|
+
"ko-KR": "Tiếng Hàn",
|
|
69
|
+
"nl-NL": "Tiếng Hà Lan",
|
|
70
|
+
"no-NO": "Tiếng Na Uy",
|
|
71
|
+
"pl-PL": "Tiếng Ba Lan",
|
|
72
|
+
"pt-BR": "Tiếng Bồ Đào Nha (Braxin)",
|
|
73
|
+
"pt-PT": "Tiếng Bồ Đào Nha (Bồ Đào Nha)",
|
|
74
|
+
"ro-RO": "Tiếng Romania",
|
|
75
|
+
"ru-RU": "Tiếng Nga",
|
|
76
|
+
"sk-SK": "Tiếng Slovak",
|
|
77
|
+
"sr-RS": "Tiếng Serbia",
|
|
78
|
+
"sv-SE": "Tiếng Thụy Điển",
|
|
79
|
+
"th-TH": "Tiếng Thái",
|
|
80
|
+
"tr-TR": "Tiếng Thổ Nhĩ Kỳ",
|
|
81
|
+
"uk-UA": "Tiếng Ukraina",
|
|
82
|
+
"vi-VN": "Tiếng Việt",
|
|
83
|
+
"zh": "Tiếng Trung",
|
|
84
|
+
"zh-CN": "Tiếng Trung (giản thể)",
|
|
85
|
+
"zh-TW": "Tiếng Trung (phồn thể)"
|
|
86
|
+
},
|
|
87
|
+
"layoutInitializing": "Đang tải bố cục...",
|
|
88
|
+
"noDescription": "Chưa có mô tả",
|
|
89
|
+
"ok": "Đồng ý",
|
|
90
|
+
"password": "Mật khẩu",
|
|
91
|
+
"pin": "Ghim",
|
|
92
|
+
"pinOff": "Bỏ ghim",
|
|
93
|
+
"regenerate": "Tạo lại",
|
|
94
|
+
"rename": "Đổi tên",
|
|
95
|
+
"reset": "Đặt lại",
|
|
96
|
+
"retry": "Thử lại",
|
|
97
|
+
"send": "Gửi",
|
|
98
|
+
"setting": "Cài đặt",
|
|
99
|
+
"share": "Chia sẻ",
|
|
100
|
+
"stop": "Dừng",
|
|
101
|
+
"tab": {
|
|
102
|
+
"chat": "Trò chuyện",
|
|
103
|
+
"market": "Thị trường",
|
|
104
|
+
"setting": "Cài đặt"
|
|
105
|
+
},
|
|
106
|
+
"temp": "Tạm thời",
|
|
107
|
+
"updateAgent": "Cập nhật thông tin trợ lý",
|
|
108
|
+
"upgradeVersion": {
|
|
109
|
+
"action": "Nâng cấp",
|
|
110
|
+
"hasNew": "Có bản cập nhật mới",
|
|
111
|
+
"newVersion": "Có phiên bản mới: {{version}}"
|
|
112
|
+
}
|
|
113
|
+
}
|