Skip to content

Commit 12635c2

Browse files
author
github-actions
committed
chore: update docs translations from Crowdin and fix internal links
1 parent 36c2b0e commit 12635c2

File tree

1 file changed

+2
-2
lines changed
  • packages/twenty-docs/l/zh/developers/extend/capabilities

1 file changed

+2
-2
lines changed

packages/twenty-docs/l/zh/developers/extend/capabilities/apps.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ export default defineLogicFunction({
497497

498498
安装后函数是在你的应用安装到工作区后自动运行的逻辑函数。 这对于一次性设置任务很有用,例如填充默认数据、创建初始记录或配置工作区设置。
499499

500-
When you scaffold a new app with `create-twenty-app`, a post-install function is generated for you at `src/logic-functions/post-install.ts`:
500+
当你使用 `create-twenty-app` 脚手架创建一个新应用时,会在 `src/logic-functions/post-install.ts` 为你生成一个安装后函数:
501501

502502
```typescript
503503
// src/logic-functions/post-install.ts
@@ -518,7 +518,7 @@ export default defineLogicFunction({
518518
});
519519
```
520520

521-
The function is wired into your app by referencing its universal identifier in `application-config.ts`:
521+
通过在 `application-config.ts` 中引用其通用标识符,可将该函数接入你的应用:
522522

523523
```typescript
524524
import { POST_INSTALL_UNIVERSAL_IDENTIFIER } from 'src/logic-functions/post-install';

0 commit comments

Comments
 (0)