Fix translation inconsistencies in contribution docs (#413)

This commit is contained in:
lyzno1
2025-08-18 13:38:45 +08:00
committed by GitHub
parent f92ea1e6a1
commit 2398e4b9a5
3 changed files with 43 additions and 43 deletions

View File

@@ -139,14 +139,14 @@ The website is bootstrapped on [Next.js](https://nextjs.org/) boilerplate in Typ
├── bin // scripts ran at build step
├── config // adjustable settings and options
├── context // shared contexts used by different portions of the app
├── dictionaries // Language-specific translate files
├── docker // container configurations
├── hooks // Reusable hooks
├── i18n // Internationalization configuration
├── i18n // Language-specific translation files
├── i18n-config // Internationalization configuration and logic
├── models // describes data models & shapes of API responses
├── public // meta assets like favicon
├── service // specifies shapes of API actions
├── test
├── test // test files
├── themes // theme configurations
├── types // descriptions of function params and return values
└── utils // Shared utility functions
```

View File

@@ -160,14 +160,14 @@ DifyのバックエンドはPythonで書かれており、[Flask](https://flask.
├── bin // ビルドステップで実行されるスクリプト
├── config // 調整可能な設定とオプション
├── context // アプリの異なる部分で使用される共有コンテキスト
├── dictionaries // 言語固有の翻訳ファイル
├── docker // コンテナ設定
├── hooks // 再利用可能なフック
├── i18n // 国際化設定
├── i18n // 国際化翻訳ファイル
├── i18n-config // 国際化設定とロジック
├── models // データモデルとAPIレスポンスの形状を記述
├── public // ファビコンなどのメタアセット
├── service // APIアクションの形状を指定
├── test
├── test // テストファイル
├── themes // テーマ設定
├── types // 関数パラメータと戻り値の記述
└── utils // 共有ユーティリティ関数
```

View File

@@ -127,19 +127,19 @@ Dify 的后端使用 Python 编写,使用 [Flask](https://flask.palletsproject
```
[api/]
├── constants // Constant settings used throughout code base.
├── controllers // API route definitions and request handling logic.
├── core // Core application orchestration, model integrations, and tools.
├── docker // Docker & containerization related configurations.
├── events // Event handling and processing
├── extensions // Extensions with 3rd party frameworks/platforms.
├── fields //field definitions for serialization/marshalling.
├── libs // Reusable libraries and helpers.
├── migrations // Scripts for database migration.
├── models // Database models & schema definitions.
├── services // Specifies business logic.
├── storage // Private key storage.
├── tasks // Handling of async tasks and background jobs.
├── constants // 整个代码库中使用的常量设置
├── controllers // API 路由定义和请求处理逻辑
├── core // 核心应用程序编排、模型集成和工具
├── docker // Docker 和容器化相关配置
├── events // 事件处理和处理逻辑
├── extensions // 与第三方框架/平台的扩展集成
├── fields // 序列化/编组的字段定义
├── libs // 可重用的库和辅助函数
├── migrations // 数据库迁移脚本
├── models // 数据库模型和架构定义
├── services // 业务逻辑规范
├── storage // 私钥存储
├── tasks // 异步任务和后台作业处理
└── tests
```
@@ -149,28 +149,28 @@ Dify 的后端使用 Python 编写,使用 [Flask](https://flask.palletsproject
```
[web/]
├── app //layouts, pages, and components
│ ├── (commonLayout) //common layout used throughout the app
│ ├── (shareLayout) //layouts specifically shared across token-specific sessions
│ ├── activate //activate page
│ ├── components //shared by pages and layouts
│ ├── install //install page
│ ├── signin //signin page
│ └── styles //globally shared styles
├── assets // Static assets
├── bin //scripts ran at build step
├── config //adjustable settings and options
├── context //shared contexts used by different portions of the app
├── dictionaries // Language-specific translate files
├── docker //container configurations
├── hooks // Reusable hooks
├── i18n // Internationalization configuration
├── models //describes data models & shapes of API responses
├── public //meta assets like favicon
├── service //specifies shapes of API actions
├── test
├── types //descriptions of function params and return values
└── utils // Shared utility functions
├── app // 布局、页面和组件
│ ├── (commonLayout) // 整个应用程序中使用的通用布局
│ ├── (shareLayout) // 跨令牌特定会话共享的布局
│ ├── activate // 激活页面
│ ├── components // 页面和布局共享的组件
│ ├── install // 安装页面
│ ├── signin // 登录页面
│ └── styles // 全局共享样式
├── assets // 静态资源
├── bin // 构建步骤运行的脚本
├── config // 可调整的设置和选项
├── context // 应用程序不同部分使用的共享上下文
├── hooks // 可重用的钩子
├── i18n // 国际化翻译文件
├── i18n-config // 国际化配置和逻辑
├── models // 描述数据模型和 API 响应的形状
├── public // 如 favicon 等元资源
├── service // 指定 API 操作的形状
├── test // 测试文件
├── themes // 主题配置
├── types // 函数参数和返回值的描述
└── utils // 共享实用工具函数
```
## 提交你的 PR