Skip to content

Commit f735602

Browse files
author
github-actions
committed
chore: update docs translations from Crowdin and fix internal links
1 parent 26fabdc commit f735602

File tree

4 files changed

+81
-81
lines changed
  • packages/twenty-docs/l
    • pt/developers/extend/capabilities
    • ru/developers/extend/capabilities
    • tr/developers/extend/capabilities
    • zh/developers/extend/capabilities

4 files changed

+81
-81
lines changed

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ yarn twenty app:dev
4646
O gerador de estrutura oferece suporte a três modos para controlar quais arquivos de exemplo são incluídos:
4747

4848
```bash filename="Terminal"
49-
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
49+
# Padrão (exhaustivo): todos os exemplos (objeto, campo, função de lógica, componente de front-end, visualização, item do menu de navegação, habilidade)
5050
npx create-twenty-app@latest my-app
5151

52-
# Minimal: only core files (application-config.ts and default-role.ts)
52+
# Mínimo: apenas arquivos principais (application-config.ts e default-role.ts)
5353
npx create-twenty-app@latest my-app --minimal
5454

55-
# Interactive: select which examples to include
55+
# Interativo: selecione quais exemplos incluir
5656
npx create-twenty-app@latest my-app --interactive
5757
```
5858

@@ -103,26 +103,26 @@ my-twenty-app/
103103
eslint.config.mjs
104104
tsconfig.json
105105
README.md
106-
public/ # Public assets folder (images, fonts, etc.)
106+
public/ # Pasta de recursos públicos (imagens, fontes, etc.)
107107
src/
108-
├── application-config.ts # Required - main application configuration
108+
├── application-config.ts # Obrigatório - configuração principal da aplicação
109109
├── roles/
110-
│ └── default-role.ts # Default role for logic functions
110+
│ └── default-role.ts # Papel padrão para funções de lógica
111111
├── objects/
112-
│ └── example-object.ts # Example custom object definition
112+
│ └── example-object.ts # Exemplo de definição de objeto personalizado
113113
├── fields/
114-
│ └── example-field.ts # Example standalone field definition
114+
│ └── example-field.ts # Exemplo de definição de campo independente
115115
├── logic-functions/
116-
│ ├── hello-world.ts # Example logic function
117-
│ └── post-install.ts # Post-install logic function
116+
│ ├── hello-world.ts # Exemplo de função de lógica
117+
│ └── post-install.ts # Função de lógica de pós-instalação
118118
├── front-components/
119-
│ └── hello-world.tsx # Example front component
119+
│ └── hello-world.tsx # Exemplo de componente de front-end
120120
├── views/
121-
│ └── example-view.ts # Example saved view definition
121+
│ └── example-view.ts # Exemplo de definição de visualização salva
122122
├── navigation-menu-items/
123-
│ └── example-navigation-menu-item.ts # Example sidebar navigation link
123+
│ └── example-navigation-menu-item.ts # Exemplo de link de navegação da barra lateral
124124
└── skills/
125-
└── example-skill.ts # Example AI agent skill definition
125+
└── example-skill.ts # Exemplo de definição de habilidade de agente de IA
126126
```
127127

128128
Com `--minimal`, apenas os arquivos principais são criados (`application-config.ts`, `roles/default-role.ts` e `logic-functions/post-install.ts`). Com `--interactive`, você escolhe quais arquivos de exemplo incluir.
@@ -151,7 +151,7 @@ O SDK detecta entidades analisando seus arquivos TypeScript em busca de chamadas
151151
| `defineField()` | Extensões de campos para objetos existentes |
152152
| `defineView()` | Definições de visualizações salvas |
153153
| `defineNavigationMenuItem()` | Definições de itens do menu de navegação |
154-
| `defineSkill()` | AI agent skill definitions |
154+
| `defineSkill()` | Definições de habilidades de agente de IA |
155155

156156
<Note>
157157
**A nomeação de arquivos é flexível.** A detecção de entidades é baseada em AST — o SDK varre seus arquivos fonte em busca do padrão `export default define<Entity>({...})`. Você pode organizar seus arquivos e pastas como quiser. Agrupar por tipo de entidade (por exemplo, `logic-functions/`, `roles/`) é apenas uma convenção para organização do código, não um requisito.
@@ -173,7 +173,7 @@ export default defineObject({
173173
Comandos posteriores adicionarão mais arquivos e pastas:
174174

175175
* `yarn twenty app:dev` vai gerar automaticamente um cliente de API tipado em `node_modules/twenty-sdk/generated` (cliente Twenty tipado + tipos do espaço de trabalho).
176-
* `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, roles, skills, and more.
176+
* `yarn twenty entity:add` adicionará arquivos de definição de entidade em `src/` para seus objetos, funções, componentes de front-end, papéis e habilidades personalizados, entre outros.
177177

178178
## Autenticação
179179

@@ -226,7 +226,7 @@ O SDK fornece funções utilitárias para definir as entidades do seu app. Confo
226226
| `defineField()` | Estender objetos existentes com campos adicionais |
227227
| `defineView()` | Define visualizações salvas para objetos |
228228
| `defineNavigationMenuItem()` | Define links de navegação da barra lateral |
229-
| `defineSkill()` | Define AI agent skills |
229+
| `defineSkill()` | Define habilidades de agente de IA |
230230

231231
Essas funções validam sua configuração em tempo de compilação e oferecem autocompletar na IDE e segurança de tipos.
232232

@@ -748,7 +748,7 @@ Você pode criar novos componentes de front-end de duas formas:
748748

749749
### Habilidades
750750

751-
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()` to define skills with built-in validation:
751+
As habilidades definem instruções e capacidades reutilizáveis que os agentes de IA podem usar no seu espaço de trabalho. Use `defineSkill()` para definir habilidades com validação integrada:
752752

753753
```typescript
754754
// src/skills/example-skill.ts
@@ -770,16 +770,16 @@ export default defineSkill({
770770

771771
Pontos-chave:
772772

773-
* `name` is a unique identifier string for the skill (kebab-case recommended).
774-
* `label` is the human-readable display name shown in the UI.
775-
* `content` contains the skill instructions — this is the text the AI agent uses.
776-
* `icon` (optional) sets the icon displayed in the UI.
777-
* `description` (optional) provides additional context about the skill's purpose.
773+
* `name` é uma string de identificador exclusivo para a habilidade (recomenda-se kebab-case).
774+
* `label` é o nome de exibição legível por humanos mostrado na UI.
775+
* `content` contém as instruções da habilidade — este é o texto que o agente de IA usa.
776+
* `icon` (opcional) define o ícone exibido na UI.
777+
* `description` (opcional) fornece contexto adicional sobre a finalidade da habilidade.
778778

779-
You can create new skills in two ways:
779+
Você pode criar novas habilidades de duas formas:
780780

781-
* **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new skill.
782-
* **Manual**: Create a new file and use `defineSkill()`, following the same pattern.
781+
* **Gerado automaticamente**: Execute `yarn twenty entity:add` e escolha a opção para adicionar uma nova habilidade.
782+
* **Manual**: Crie um novo arquivo e use `defineSkill()`, seguindo o mesmo padrão.
783783

784784
### Cliente tipado gerado
785785

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ yarn twenty app:dev
4646
Генератор каркаса поддерживает три режима для управления тем, какие примерные файлы включаются:
4747

4848
```bash filename="Terminal"
49-
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
49+
# По умолчанию (полный набор): все примеры (объект, поле, логическая функция, фронтенд-компонент, представление, пункт меню навигации, навык)
5050
npx create-twenty-app@latest my-app
5151

52-
# Minimal: only core files (application-config.ts and default-role.ts)
52+
# Минимальный: только основные файлы (application-config.ts и default-role.ts)
5353
npx create-twenty-app@latest my-app --minimal
5454

55-
# Interactive: select which examples to include
55+
# Интерактивный: выбрать, какие примеры включить
5656
npx create-twenty-app@latest my-app --interactive
5757
```
5858

@@ -103,26 +103,26 @@ my-twenty-app/
103103
eslint.config.mjs
104104
tsconfig.json
105105
README.md
106-
public/ # Public assets folder (images, fonts, etc.)
106+
public/ # Папка публичных ресурсов (изображения, шрифты и т. д.)
107107
src/
108-
├── application-config.ts # Required - main application configuration
108+
├── application-config.ts # Обязательный — основная конфигурация приложения
109109
├── roles/
110-
│ └── default-role.ts # Default role for logic functions
110+
│ └── default-role.ts # Роль по умолчанию для логических функций
111111
├── objects/
112-
│ └── example-object.ts # Example custom object definition
112+
│ └── example-object.ts # Пример определения пользовательского объекта
113113
├── fields/
114-
│ └── example-field.ts # Example standalone field definition
114+
│ └── example-field.ts # Пример определения отдельного поля
115115
├── logic-functions/
116-
│ ├── hello-world.ts # Example logic function
117-
│ └── post-install.ts # Post-install logic function
116+
│ ├── hello-world.ts # Пример логической функции
117+
│ └── post-install.ts # Постустановочная логическая функция
118118
├── front-components/
119-
│ └── hello-world.tsx # Example front component
119+
│ └── hello-world.tsx # Пример фронтенд-компонента
120120
├── views/
121-
│ └── example-view.ts # Example saved view definition
121+
│ └── example-view.ts # Пример определения сохранённого представления
122122
├── navigation-menu-items/
123-
│ └── example-navigation-menu-item.ts # Example sidebar navigation link
123+
│ └── example-navigation-menu-item.ts # Пример ссылки боковой панели навигации
124124
└── skills/
125-
└── example-skill.ts # Example AI agent skill definition
125+
└── example-skill.ts # Пример определения навыка агента ИИ
126126
```
127127

128128
С `--minimal` создаются только основные файлы (`application-config.ts`, `roles/default-role.ts` и `logic-functions/post-install.ts`). С `--interactive` вы выбираете, какие примерные файлы включить.
@@ -151,7 +151,7 @@ SDK обнаруживает сущности, разбирая ваши фай
151151
| `defineField()` | Расширения полей для существующих объектов |
152152
| `defineView()` | Определения сохранённых представлений |
153153
| `defineNavigationMenuItem()` | Определения пунктов меню навигации |
154-
| `defineSkill()` | AI agent skill definitions |
154+
| `defineSkill()` | Определения навыков агента ИИ |
155155

156156
<Note>
157157
**Имена файлов заданы гибко.** Обнаружение сущностей основано на AST — SDK сканирует ваши исходные файлы в поисках шаблона `export default define<Entity>({...})`. Вы можете организовывать файлы и папки как угодно. Группировка по типу сущности (например, `logic-functions/`, `roles/`) — это лишь соглашение для организации кода, а не требование.
@@ -173,7 +173,7 @@ export default defineObject({
173173
Позднее команды добавят больше файлов и папок:
174174

175175
* `yarn twenty app:dev` автоматически сгенерирует типизированный клиент API в `node_modules/twenty-sdk/generated` (типизированный клиент Twenty + типы рабочего пространства).
176-
* `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, roles, skills, and more.
176+
* `yarn twenty entity:add` добавит файлы определений сущностей в `src/` для ваших пользовательских объектов, функций, фронтенд-компонентов, ролей, навыков и многого другого.
177177

178178
## Аутентификация
179179

@@ -226,7 +226,7 @@ SDK предоставляет вспомогательные функции д
226226
| `defineField()` | Расширение существующих объектов дополнительными полями |
227227
| `defineView()` | Определяйте сохранённые представления для объектов |
228228
| `defineNavigationMenuItem()` | Определяйте ссылки боковой панели навигации |
229-
| `defineSkill()` | Define AI agent skills |
229+
| `defineSkill()` | Определение навыков агента ИИ |
230230

231231
Эти функции проверяют вашу конфигурацию на этапе сборки и обеспечивают автодополнение в IDE и безопасность типов.
232232

@@ -748,7 +748,7 @@ export default defineFrontComponent({
748748

749749
### Навыки
750750

751-
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()` to define skills with built-in validation:
751+
Навыки определяют многократно используемые инструкции и возможности, которые агенты ИИ могут использовать в вашем рабочем пространстве. Используйте `defineSkill()` для определения навыков со встроенной валидацией:
752752

753753
```typescript
754754
// src/skills/example-skill.ts
@@ -770,16 +770,16 @@ export default defineSkill({
770770

771771
Основные моменты:
772772

773-
* `name` is a unique identifier string for the skill (kebab-case recommended).
774-
* `label` is the human-readable display name shown in the UI.
775-
* `content` contains the skill instructions — this is the text the AI agent uses.
776-
* `icon` (optional) sets the icon displayed in the UI.
777-
* `description` (optional) provides additional context about the skill's purpose.
773+
* `name` — уникальная строка-идентификатор навыка (рекомендуется kebab-case).
774+
* `label` — читаемое человеком отображаемое имя, показываемое в UI.
775+
* `content` содержит инструкции навыка — это текст, который использует агент ИИ.
776+
* `icon` (необязательно) задаёт значок, отображаемый в UI.
777+
* `description` (необязательно) предоставляет дополнительный контекст о назначении навыка.
778778

779-
You can create new skills in two ways:
779+
Вы можете создать новые навыки двумя способами:
780780

781-
* **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new skill.
782-
* **Manual**: Create a new file and use `defineSkill()`, following the same pattern.
781+
* **Сгенерировано**: Запустите `yarn twenty entity:add` и выберите опцию добавления нового навыка.
782+
* **Вручную**: Создайте новый файл и используйте `defineSkill()`, следуя тому же шаблону.
783783

784784
### Сгенерированный типизированный клиент
785785

0 commit comments

Comments
 (0)