i18n - docs translations (#17500)

Created by Github action

Co-authored-by: github-actions <github-actions@twenty.com>
This commit is contained in:
github-actions[bot]
2026-01-28 01:46:56 +01:00
committed by GitHub
parent 7d64ee85ac
commit 9fbd05ead7
15 changed files with 96 additions and 96 deletions
@@ -49,22 +49,22 @@ yarn app:dev
Odtud můžete:
```bash filename="Terminal"
# Add a new entity to your application (guided)
# Přidejte do vaší aplikace novou entitu (s průvodcem)
yarn entity:add
# Generate a typed Twenty client and workspace entity types
# Vygenerujte typovaného klienta Twenty a typy entit pracovního prostoru
yarn app:generate
# Watch your application's function logs
# Sledujte logy funkcí vaší aplikace
yarn function:logs
# Execute a function by name
# Spusťte funkci podle názvu
yarn function:execute -n my-function -p '{"name": "test"}'
# Uninstall the application from the current workspace
# Odinstalujte aplikaci z aktuálního pracovního prostoru
yarn app:uninstall
# Display commands' help
# Zobrazte nápovědu k příkazům
yarn help
```
@@ -105,12 +105,12 @@ my-twenty-app/
Aplikace používají přístup **konvence před konfigurací**, kde jsou entity detekovány podle přípony souboru. To umožňuje flexibilní organizaci ve složce `src/app/`:
| Přípona souboru | Typ entity |
| ----------------------- | --------------------------- |
| `*.object.ts` | Definice vlastních objektů |
| `*.function.ts` | Definice serverless funkcí |
| `*.front-component.tsx` | Front component definitions |
| `*.role.ts` | Definice rolí |
| Přípona souboru | Typ entity |
| ----------------------- | -------------------------------- |
| `*.object.ts` | Definice vlastních objektů |
| `*.function.ts` | Definice serverless funkcí |
| `*.front-component.tsx` | Definice frontendových komponent |
| `*.role.ts` | Definice rolí |
### Podporované uspořádání složek
@@ -49,22 +49,22 @@ yarn app:dev
Von hier aus können Sie:
```bash filename="Terminal"
# Add a new entity to your application (guided)
# Eine neue Entität zu deiner Anwendung hinzufügen (geführt)
yarn entity:add
# Generate a typed Twenty client and workspace entity types
# Einen typisierten Twenty-Client und Entitätstypen für den Arbeitsbereich generieren
yarn app:generate
# Watch your application's function logs
# Die Funktionsprotokolle deiner Anwendung überwachen
yarn function:logs
# Execute a function by name
# Eine Funktion anhand ihres Namens ausführen
yarn function:execute -n my-function -p '{"name": "test"}'
# Uninstall the application from the current workspace
# Die Anwendung aus dem aktuellen Arbeitsbereich deinstallieren
yarn app:uninstall
# Display commands' help
# Hilfe zu Befehlen anzeigen
yarn help
```
@@ -94,11 +94,11 @@ my-twenty-app/
tsconfig.json
README.md
src/
application.config.ts # Required - main application configuration
default-function.role.ts # Default role for serverless functions
hello-world.function.ts # Example serverless function
hello-world.front-component.tsx # Example front component
// your entities (*.object.ts, *.function.ts, *.front-component.tsx, *.role.ts)
application.config.ts # Erforderlich Hauptkonfiguration der Anwendung
default-function.role.ts # Standardrolle für serverlose Funktionen
hello-world.function.ts # Beispiel für eine serverlose Funktion
hello-world.front-component.tsx # Beispiel für eine Frontend-Komponente
// Ihre Entitäten (*.object.ts, *.function.ts, *.front-component.tsx, *.role.ts)
```
### Konvention vor Konfiguration
@@ -109,7 +109,7 @@ Anwendungen verwenden einen Ansatz **Konvention vor Konfiguration**, bei dem Ent
| ----------------------- | ------------------------------------- |
| `*.object.ts` | Benutzerdefinierte Objektdefinitionen |
| `*.function.ts` | Definitionen serverloser Funktionen |
| `*.front-component.tsx` | Front component definitions |
| `*.front-component.tsx` | Definitionen von Frontend-Komponenten |
| `*.role.ts` | Rollendefinitionen |
### Unterstützte Ordnerorganisationen
@@ -49,22 +49,22 @@ yarn app:dev
Da qui puoi:
```bash filename="Terminal"
# Add a new entity to your application (guided)
# Aggiungi una nuova entità alla tua applicazione (guidata)
yarn entity:add
# Generate a typed Twenty client and workspace entity types
# Genera un client Twenty tipizzato e i tipi di entità dell'area di lavoro
yarn app:generate
# Watch your application's function logs
# Monitora i log delle funzioni della tua applicazione
yarn function:logs
# Execute a function by name
# Esegui una funzione per nome
yarn function:execute -n my-function -p '{"name": "test"}'
# Uninstall the application from the current workspace
# Disinstalla l'applicazione dallo spazio di lavoro corrente
yarn app:uninstall
# Display commands' help
# Mostra l'aiuto dei comandi
yarn help
```
@@ -94,11 +94,11 @@ my-twenty-app/
tsconfig.json
README.md
src/
application.config.ts # Required - main application configuration
default-function.role.ts # Default role for serverless functions
hello-world.function.ts # Example serverless function
hello-world.front-component.tsx # Example front component
// your entities (*.object.ts, *.function.ts, *.front-component.tsx, *.role.ts)
application.config.ts # Obbligatorio - configurazione principale dell'applicazione
default-function.role.ts # Ruolo predefinito per le funzioni serverless
hello-world.function.ts # Funzione serverless di esempio
hello-world.front-component.tsx # Componente front-end di esempio
// le tue entità (*.object.ts, *.function.ts, *.front-component.tsx, *.role.ts)
```
### Convenzioni invece della configurazione
@@ -109,7 +109,7 @@ Le applicazioni usano un approccio basato sulle **convenzioni invece della confi
| ----------------------- | ------------------------------------- |
| `*.object.ts` | Definizioni di oggetti personalizzati |
| `*.function.ts` | Definizioni di funzioni serverless |
| `*.front-component.tsx` | Front component definitions |
| `*.front-component.tsx` | Definizioni dei componenti front-end |
| `*.role.ts` | Definizioni di ruoli |
### Organizzazioni di cartelle supportate
@@ -49,23 +49,23 @@ yarn app:dev
そこで次のことができます:
```bash filename="Terminal"
# Add a new entity to your application (guided)
# アプリケーションに新しいエンティティを追加(ガイド付き)
yarn entity:add
# Generate a typed Twenty client and workspace entity types
# 型付きの Twenty クライアントとワークスペースのエンティティ型を生成
yarn app:generate
# Watch your application's function logs
# アプリケーションの関数のログを監視
yarn function:logs
# Execute a function by name
# 名前で関数を実行
yarn function:execute -n my-function -p '{"name": "test"}'
# Uninstall the application from the current workspace
# 現在のワークスペースからアプリケーションをアンインストール
yarn app:uninstall
# Display commands' help
yarn help
# コマンドのヘルプを表示
yarn help},{
```
参考: [create-twenty-app](https://www.npmjs.com/package/create-twenty-app) および [twenty-sdk CLI](https://www.npmjs.com/package/twenty-sdk) の CLI リファレンスページをご覧ください。
@@ -105,12 +105,12 @@ my-twenty-app/
アプリケーションは **コンベンション優先(設定より規約)** のアプローチを採用し、エンティティはファイルのサフィックスで検出されます。 これにより、`src/app/` フォルダー内を柔軟に構成できます:
| ファイルサフィックス | エンティティタイプ |
| ----------------------- | --------------------------- |
| `*.object.ts` | カスタムオブジェクトの定義 |
| `*.function.ts` | サーバーレス関数の定義 |
| `*.front-component.tsx` | Front component definitions |
| `*.role.ts` | ロールの定義 |
| ファイルサフィックス | エンティティタイプ |
| ----------------------- | ----------------- |
| `*.object.ts` | カスタムオブジェクトの定義 |
| `*.function.ts` | サーバーレス関数の定義 |
| `*.front-component.tsx` | フロントエンドコンポーネントの定義 |
| `*.role.ts` | ロールの定義 |
### サポートされるフォルダー構成
@@ -105,12 +105,12 @@ my-twenty-app/
애플리케이션은 파일 접미사로 엔티티를 감지하는 **관례 우선** 접근 방식을 사용합니다. 이를 통해 `src/app/` 폴더 내에서 유연하게 구성할 수 있습니다:
| 파일 접미사 | 엔티티 유형 |
| ----------------------- | --------------------------- |
| `*.object.ts` | 사용자 정의 객체 정의 |
| `*.function.ts` | 서버리스 함수 정의 |
| `*.front-component.tsx` | Front component definitions |
| `*.role.ts` | 역할 정의 |
| 파일 접미사 | 엔티티 유형 |
| ----------------------- | ------------ |
| `*.object.ts` | 사용자 정의 객체 정의 |
| `*.function.ts` | 서버리스 함수 정의 |
| `*.front-component.tsx` | 프런트 컴포넌트 정의 |
| `*.role.ts` | 역할 정의 |
### 지원되는 폴더 구성 방식
@@ -49,22 +49,22 @@ yarn app:dev
A partir daqui você pode:
```bash filename="Terminal"
# Add a new entity to your application (guided)
# Adicionar uma nova entidade à sua aplicação (assistido)
yarn entity:add
# Generate a typed Twenty client and workspace entity types
# Gerar um cliente Twenty tipado e tipos de entidades do espaço de trabalho
yarn app:generate
# Watch your application's function logs
# Acompanhar os logs das funções da sua aplicação
yarn function:logs
# Execute a function by name
yarn function:execute -n my-function -p '{"name": "test"}'
# Executar uma função pelo nome
yarn function:execute -n my-function -p '{\"name\": \"test\"}'
# Uninstall the application from the current workspace
# Desinstalar a aplicação do espaço de trabalho atual
yarn app:uninstall
# Display commands' help
# Exibir a ajuda dos comandos
yarn help
```
@@ -94,23 +94,23 @@ my-twenty-app/
tsconfig.json
README.md
src/
application.config.ts # Required - main application configuration
default-function.role.ts # Default role for serverless functions
hello-world.function.ts # Example serverless function
hello-world.front-component.tsx # Example front component
// your entities (*.object.ts, *.function.ts, *.front-component.tsx, *.role.ts)
application.config.ts # Obrigatório - configuração principal da aplicação
default-function.role.ts # Papel padrão para funções serverless
hello-world.function.ts # Exemplo de função serverless
hello-world.front-component.tsx # Exemplo de componente de front-end
// suas entidades (*.object.ts, *.function.ts, *.front-component.tsx, *.role.ts)
```
### Convenção sobre configuração
Os aplicativos usam uma abordagem de **convenção sobre configuração** em que as entidades são detectadas pelo sufixo do arquivo. Isso permite organização flexível dentro da pasta `src/app/`:
| Sufixo de arquivo | Tipo de entidade |
| ----------------------- | ------------------------------------ |
| `*.object.ts` | Definições de objetos personalizados |
| `*.function.ts` | Definições de funções serverless |
| `*.front-component.tsx` | Front component definitions |
| `*.role.ts` | Definições de papéis |
| Sufixo de arquivo | Tipo de entidade |
| ----------------------- | -------------------------------------- |
| `*.object.ts` | Definições de objetos personalizados |
| `*.function.ts` | Definições de funções serverless |
| `*.front-component.tsx` | Definições de componentes de front-end |
| `*.role.ts` | Definições de papéis |
### Organizações de pastas suportadas
@@ -49,22 +49,22 @@ yarn app:dev
Отсюда вы можете:
```bash filename="Terminal"
# Add a new entity to your application (guided)
# Добавить новую сущность в ваше приложение (с мастером)
yarn entity:add
# Generate a typed Twenty client and workspace entity types
# Сгенерировать типизированный клиент Twenty и типы сущностей рабочего пространства
yarn app:generate
# Watch your application's function logs
# Просматривать логи функций вашего приложения
yarn function:logs
# Execute a function by name
# Выполнить функцию по имени
yarn function:execute -n my-function -p '{"name": "test"}'
# Uninstall the application from the current workspace
# Удалить приложение из текущего рабочего пространства
yarn app:uninstall
# Display commands' help
# Показать справку по командам
yarn help
```
@@ -109,7 +109,7 @@ my-twenty-app/
| ----------------------- | ------------------------------------- |
| `*.object.ts` | Определения пользовательских объектов |
| `*.function.ts` | Определения бессерверных функций |
| `*.front-component.tsx` | Front component definitions |
| `*.front-component.tsx` | Определения компонентов фронтенда |
| `*.role.ts` | Определения ролей |
### Поддерживаемые способы организации папок
@@ -136,7 +136,7 @@ Ekip
| **Etkinlik onayları** | Etkinlik ayrıntıları veya gündem |
<Note>
Ekler statiktir—aynı dosya tüm alıcılara gönderilir. Kişiselleştirilmiş teklifler gibi dinamik belgeler için, bir [Sunucusuz İşlev](/l/tr/user-guide/workflows/how-tos/connect-to-other-tools/generate-pdf-from-twenty) kullanarak dosyalar oluşturup ekleyin.
Ekler statiktir—aynı dosya tüm alıcılara gönderilir. For dynamic documents (like personalized quotes), generate and attach files using a [Logic Function](/l/tr/user-guide/workflows/how-tos/connect-to-other-tools/generate-pdf-from-twenty).
</Note>
## En İyi Uygulamalar
@@ -256,7 +256,7 @@ Aşağıdaki tüm adımlar için kişiselleştirme amacıyla önceki adımlardan
* Kodu doğrudan adımda test edin
<Note>
Kodunuzda harici API anahtarlarını kullanmanız gerekiyorsa, bunları doğrudan fonksiyon gövdesine girmeniz gerekir. API anahtarlarını başka bir yerde yapılandıramaz ve bunlara serverless fonksiyon içinde referans veremezsiniz.
Kodunuzda harici API anahtarlarını kullanmanız gerekiyorsa, bunları doğrudan fonksiyon gövdesine girmeniz gerekir. You cannot configure API keys elsewhere and reference them in the logic function.
</Note>
<Tip>
@@ -131,7 +131,7 @@ description: Twenty'deki iş akışları hakkında sıkça sorulan sorular.
</Accordion>
<Accordion title="Code eylemleri için en uzun yürütme süresi nedir?">
Code eylemlerinin (sunucusuz fonksiyonlar) **varsayılan zaman aşımı 5 dakikadır** (300 saniye).
Code actions (logic functions) have a **default timeout of 5 minutes** (300 seconds).
Yapılandırılabilir en yüksek zaman aşımı **15 dakikadır** (900 saniye).
@@ -9,7 +9,7 @@ API(应用程序接口)允许您将 Twenty 与其他软件系统连接并构
## 应用
应用是以代码构建的自定义扩展,可定义数据模型和无服务器函数。 它使开发者能够创建可复用的自定义内容,并可部署到多个工作区。
Apps are custom extensions built as code that can define data models and logic functions. 它使开发者能够创建可复用的自定义内容,并可部署到多个工作区。
## 代码操作
@@ -136,7 +136,7 @@ Hi {{trigger.object.firstName}},
| **活动确认** | 活动详情或议程 |
<Note>
附件是静态的——将向所有收件人发送相同的文件。 对于动态文档(如个性化报价),请使用 [无服务器函数](/l/zh/user-guide/workflows/how-tos/connect-to-other-tools/generate-pdf-from-twenty) 生成并附加文件。
附件是静态的——将向所有收件人发送相同的文件。 For dynamic documents (like personalized quotes), generate and attach files using a [Logic Function](/l/zh/user-guide/workflows/how-tos/connect-to-other-tools/generate-pdf-from-twenty).
</Note>
## 最佳实践
@@ -256,7 +256,7 @@ import { VimeoEmbed } from '/snippets/vimeo-embed.mdx';
* 直接在步骤中测试代码
<Note>
如果需要在代码中使用外部 API 密钥,必须将其直接输入到函数主体中。 你无法在其他位置配置 API 密钥并在无服务器函数中引用它们。
如果需要在代码中使用外部 API 密钥,必须将其直接输入到函数主体中。 You cannot configure API keys elsewhere and reference them in the logic function.
</Note>
<Tip>
@@ -7,7 +7,7 @@ description: 创建一个工作流,用于生成 PDF(例如报价单)并将
## 概览
此工作流使用 **手动触发器**,因此用户可以按需为任何选定的记录生成 PDF。 一个 **无服务器函数** 负责:
此工作流使用 **手动触发器**,因此用户可以按需为任何选定的记录生成 PDF。 A **Logic Function** handles:
1. 从 URL(来自 PDF 生成服务)下载 PDF
2. 将文件上传到 Twenty
@@ -17,7 +17,7 @@ description: 创建一个工作流,用于生成 PDF(例如报价单)并将
设置工作流之前:
1. **创建 API 密钥**:前往 **设置 → APIs** 并创建一个新的 API 密钥。 您将需要在无服务器函数中使用此令牌。
1. **创建 API 密钥**:前往 **设置 → APIs** 并创建一个新的 API 密钥。 You'll need this token for the logic function.
2. **设置 PDF 生成服务**(可选):如果您想动态生成 PDF(例如报价单),可使用 Carbone、PDFMonkey 或 DocuSeal 等服务来创建 PDF 并获取下载 URL。
## 分步设置
@@ -32,9 +32,9 @@ description: 创建一个工作流,用于生成 PDF(例如报价单)并将
使用手动触发器,用户在选择记录后可通过右上角出现的按钮运行此工作流,以生成并附加 PDF。
</Tip>
### 步骤 2:添加无服务器函数
### Step 2: Add a Logic Function
1. 添加 **无服务器函数** 操作
1. Add a **Code** action (logic function)
2. 使用下面的代码创建一个新函数
3. 配置输入参数
@@ -45,10 +45,10 @@ description: 创建一个工作流,用于生成 PDF(例如报价单)并将
| `companyId` | `{{trigger.object.id}}` |
<Note>
如果要附加到其他对象(联系人、商机等),请相应重命名参数(例如,`personId``opportunityId`),并更新无服务器函数。
If attaching to a different object (Person, Opportunity, etc.), rename the parameter accordingly (e.g., `personId`, `opportunityId`) and update the logic function.
</Note>
#### 无服务器函数代码
#### Logic Function Code
```typescript
export const main = async (
@@ -172,7 +172,7 @@ export const main = async (
如果使用 PDF 生成服务,您可以:
1. 首先创建一个 HTTP 请求操作以生成 PDF
2. 将返回的 PDF URL 作为参数传递给无服务器函数
2. Pass the returned PDF URL to the logic function as a parameter
```typescript
export const main = async (
@@ -211,7 +211,7 @@ export const main = async (
* **DocuSeal** - 文档自动化平台
* **Documint** - API 优先的文档生成
每个服务都提供一个返回 PDF URL 的 API,您随后可以将其传递给无服务器函数。
Each service provides an API that returns a PDF URL, which you can then pass to the logic function.
## 故障排除
@@ -224,5 +224,5 @@ export const main = async (
## 相关内容
* [工作流触发器](/l/zh/user-guide/workflows/capabilities/workflow-triggers)
* [无服务器函数](/l/zh/user-guide/workflows/capabilities/workflow-actions#serverless-function)
* [Logic Functions](/l/zh/user-guide/workflows/capabilities/workflow-actions#code)
* [从 Twenty 生成报价单或发票](/l/zh/user-guide/workflows/how-tos/connect-to-other-tools/generate-quote-or-invoice-from-twenty)
@@ -131,7 +131,7 @@ description: 关于 Twenty 中工作流的常见问题。
</Accordion>
<Accordion title="Code 操作的最大执行时间是多少?">
Code 操作(无服务器函数)的**默认超时时间为 5 分钟**(300 秒)。
Code actions (logic functions) have a **default timeout of 5 minutes** (300 seconds).
可配置的最大超时时间为**15 分钟**(900 秒)。