i18n - docs translations (#23292)
Created by Github action <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/23292?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> Co-authored-by: github-actions <github-actions@twenty.com>
This commit is contained in:
committed by
GitHub
parent
4851489ebc
commit
ab3d921218
@@ -31,7 +31,7 @@ export default definePageLayout({
|
||||
title: 'Hello World',
|
||||
position: 50,
|
||||
icon: 'IconWorld',
|
||||
layoutMode: PageLayoutTabLayoutMode.CANVAS,
|
||||
layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,
|
||||
widgets: [
|
||||
{
|
||||
universalIdentifier: 'aa4234e0-2e5f-4c02-a96a-573449e2351d',
|
||||
@@ -53,7 +53,7 @@ export default definePageLayout({
|
||||
|
||||
* `type` は通常、特定のオブジェクトの詳細ビューをカスタマイズするために `'RECORD_PAGE'` を指定します。
|
||||
* `objectUniversalIdentifier` は、このレイアウトを適用するオブジェクトを指定します。
|
||||
* 各 `tab` は、`title`、`position`、`layoutMode`(フリーフォームのレイアウトには `CANVAS`)を持つページのセクションを定義します。
|
||||
* 各 `tab` は、`title`、`position`、`layoutMode`(レコードページには `VERTICAL_LIST`、ダッシュボードには `GRID`)を持つページのセクションを定義します。 1 つのウィジェットのみを含むタブでは、そのウィジェットが自動的にフルブリードで表示され、複数のウィジェットがある場合はカードとして積み重なります。
|
||||
* タブ内の各 `widget` は、[front component](/l/ja/developers/extend/apps/layout/front-components)、リレーションリスト、その他のビルトインウィジェットタイプをレンダリングできます。
|
||||
* タブの `position` は表示順を制御します。 組み込みタブの後にカスタムタブを配置するには、より大きな値(例:50)を使用します。
|
||||
|
||||
@@ -77,7 +77,7 @@ export default definePageLayoutTab({
|
||||
title: 'Hello World',
|
||||
position: 1000,
|
||||
icon: 'IconWorld',
|
||||
layoutMode: PageLayoutTabLayoutMode.CANVAS,
|
||||
layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,
|
||||
widgets: [
|
||||
{
|
||||
universalIdentifier: 'b1b2b3b4-b5b6-4000-8000-000000000002',
|
||||
|
||||
+3
-4
@@ -214,9 +214,8 @@ export default defineFrontComponent({
|
||||
});
|
||||
```
|
||||
|
||||
[page layout](/l/ja/developers/extend/apps/layout/page-layouts) でマウントします。
|
||||
`RECORD_PAGE` レイアウトは、オブジェクトのレコードビューにタブを追加します。`CANVAS` タブの `FronT_COMPONENT`
|
||||
ウィジェットはコンポーネントをホストします。
|
||||
[page layout](/l/ja/developers/extend/apps/layout/page-layouts) でマウントします。 `RECORD_PAGE` レイアウトは、オブジェクトのレコードビューにタブを追加します。単一の
|
||||
`FRONT_COMPONENT` ウィジェットを含むタブは、コンポーネントをフル幅で表示します:
|
||||
|
||||
```ts filename="src/page-layouts/document-record.page-layout.ts"
|
||||
import { definePageLayout, PageLayoutTabLayoutMode } from 'twenty-sdk/define';
|
||||
@@ -231,7 +230,7 @@ export default definePageLayout({
|
||||
title: 'Preview',
|
||||
icon: 'IconEye',
|
||||
position: 50,
|
||||
layoutMode: PageLayoutTabLayoutMode.CANVAS,
|
||||
layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,
|
||||
widgets: [{
|
||||
universalIdentifier: DOCUMENT_PAGE_LAYOUT_WIDGET_UNIVERSAL_IDENTIFIER,
|
||||
title: 'Document preview',
|
||||
|
||||
Reference in New Issue
Block a user