Skip to content

The open alternative to Salesforce, designed for AI.

i18n - docs translations (#22307)

github-actions[bot]6fa803edc291
diff --git a/packages/twenty-docs/l/ja/twenty-ui/display/icons.mdx b/packages/twenty-docs/l/ja/twenty-ui/display/icons.mdx
index 7809f0987fc..c3e99cf87c9 100644
--- a/packages/twenty-docs/l/ja/twenty-ui/display/icons.mdx
+++ b/packages/twenty-docs/l/ja/twenty-ui/display/icons.mdx
@@ -1,6 +1,6 @@
---
title: アイコン
-icon: アイコン
+icon: icons
---
<Frame>
diff --git a/packages/twenty-docs/l/ja/twenty-ui/input/buttons.mdx b/packages/twenty-docs/l/ja/twenty-ui/input/buttons.mdx
index 808abdba0f8..0b259a8aeed 100644
--- a/packages/twenty-docs/l/ja/twenty-ui/input/buttons.mdx
+++ b/packages/twenty-docs/l/ja/twenty-ui/input/buttons.mdx
@@ -35,7 +35,7 @@ export const MyComponent = () => {
onClick={() => console.log("click")}
/>
);
-};},{
+};
```
</Tab>
@@ -120,7 +120,7 @@ export const MyComponent = () => {
</ButtonGroup>
);
};
-},{
+
```
</Tab>
diff --git a/packages/twenty-docs/l/ro/developers/contribute/capabilities/frontend-development/style-guide.mdx b/packages/twenty-docs/l/ro/developers/contribute/capabilities/frontend-development/style-guide.mdx
index c8e04c10aa6..18ef67228cc 100644
--- a/packages/twenty-docs/l/ro/developers/contribute/capabilities/frontend-development/style-guide.mdx
+++ b/packages/twenty-docs/l/ro/developers/contribute/capabilities/frontend-development/style-guide.mdx
@@ -68,10 +68,10 @@ const EmailField: React.FC<{
```
```tsx
-/* ✅ - Bun, un tip separat (OwnProps) este definit explicit pentru
- * proprietățile componentei
- * - Această metodă nu include automat prop-ul children. Dacă
- * vrei să-l incluzi, trebuie să-l specifici în OwnProps.
+/* ✅ - Good, a separate type (OwnProps) is explicitly defined for the
+ * component's props
+ * - This method doesn't automatically include the children prop. If
+ * you want to include it, you have to specify it in OwnProps.
*/
type EmailFieldProps = {
value: string;
@@ -79,7 +79,7 @@ type EmailFieldProps = {
const EmailField = ({ value }: EmailFieldProps) => (
<TextInput value={value} disabled fullWidth />
-);},{
+);
```
#### Fără Împrăștierea de Proprietăți cu o singură variabilă în Elemente JSX
@@ -95,12 +95,12 @@ const MyComponent = (props: OwnProps) => {
```
```tsx
-/* ✅ - Bun, listează explicit toate proprietățile
- * - Îmbunătățește lizibilitatea și întreținerea
+/* ✅ - Good, Explicitly lists all props
+ * - Enhances readability and maintainability
*/
const MyComponent = ({ prop1, prop2, prop3 }: MyComponentProps) => {
return <OtherComponent {...{ prop1, prop2, prop3 }} />;
-};},{
+};
```
Raționament:
@@ -124,11 +124,11 @@ const value = process.env.MY_VALUE ?? 'default';
### Folosește accesarea opțională `?.`
```tsx
-// ❌ Rău
+// ❌ Bad
onClick && onClick();
-// ✅ Bun
-onClick?.();},{
+// ✅ Good
+onClick?.();
```
## TypeScript
diff --git a/packages/twenty-docs/l/ro/twenty-ui/display/app-tooltip.mdx b/packages/twenty-docs/l/ro/twenty-ui/display/app-tooltip.mdx
index 3888524b026..2e81e561b57 100644
--- a/packages/twenty-docs/l/ro/twenty-ui/display/app-tooltip.mdx
+++ b/packages/twenty-docs/l/ro/twenty-ui/display/app-tooltip.mdx
@@ -1,6 +1,6 @@
---
title: Sfat aplicație
-icon: mesaj
+icon: message
---
<Frame>
diff --git a/packages/twenty-docs/l/ro/twenty-ui/display/chip.mdx b/packages/twenty-docs/l/ro/twenty-ui/display/chip.mdx
index 35fe31c9e6e..9d462d5866e 100644
--- a/packages/twenty-docs/l/ro/twenty-ui/display/chip.mdx
+++ b/packages/twenty-docs/l/ro/twenty-ui/display/chip.mdx
@@ -89,7 +89,7 @@ export const MyComponent = () => {
return (
<Chip
size="large"
- label="Disabled chip care declanșează un tooltip când se depășește dimensiunea."
+ label="Disabled chip that triggers a tooltip when overflowing."
clickable={false}
variant="regular"
accent="text-primary"
diff --git a/packages/twenty-docs/l/ro/twenty-ui/display/icons.mdx b/packages/twenty-docs/l/ro/twenty-ui/display/icons.mdx
index f2907de3384..bee6dcfd6e3 100644
--- a/packages/twenty-docs/l/ro/twenty-ui/display/icons.mdx
+++ b/packages/twenty-docs/l/ro/twenty-ui/display/icons.mdx
@@ -1,6 +1,6 @@
---
title: Pictograme
-icon: pictograme
+icon: icons
---
<Frame>
diff --git a/packages/twenty-docs/l/ro/twenty-ui/input/text.mdx b/packages/twenty-docs/l/ro/twenty-ui/input/text.mdx
index c9f965270e6..13663885c82 100644
--- a/packages/twenty-docs/l/ro/twenty-ui/input/text.mdx
+++ b/packages/twenty-docs/l/ro/twenty-ui/input/text.mdx
@@ -39,7 +39,7 @@ export const MyComponent = () => {
/>
);
};
-},{
+
```
diff --git a/packages/twenty-docs/l/ro/twenty-ui/navigation/menu-item.mdx b/packages/twenty-docs/l/ro/twenty-ui/navigation/menu-item.mdx
index de3f48eec34..a6d9bf8923d 100644
--- a/packages/twenty-docs/l/ro/twenty-ui/navigation/menu-item.mdx
+++ b/packages/twenty-docs/l/ro/twenty-ui/navigation/menu-item.mdx
@@ -15,18 +15,18 @@ import { MenuItem } from "twenty-ui/display";
export const MyComponent = () => {
const handleMenuItemClick = (event) => {
- console.log("Elementul de meniu a fost clicat!", event);
+ console.log("Menu item clicked!", event);
};
const handleButtonClick = (event) => {
- console.log("Butonul cu pictogramă a fost clicat!", event);
+ console.log("Icon button clicked!", event);
};
return (
<MenuItem
LeftIcon={IconBell}
accent="default"
- text="Textul elementului de meniu"
+ text="Menu item text"
iconButtons={[{ Icon: IconAlertCircle, onClick: handleButtonClick }]}
isTooltipOpen={true}
testId="menu-item-1"
@@ -34,7 +34,7 @@ export const MyComponent = () => {
className
/>
);
-};},{
+};
```
@@ -76,13 +76,13 @@ import { MenuItemCommand } from "twenty-ui/display";
export const MyComponent = () => {
const handleCommandClick = () => {
- console.log("Comanda a fost clicată!");
+ console.log("Command clicked!");
};
return (
<MenuItemCommand
LeftIcon={IconBell}
- text="Prima opțiune"
+ text="First Option"
firstHotKey="⌘"
secondHotKey="1"
isSelected={true}
@@ -90,7 +90,7 @@ export const MyComponent = () => {
className
/>
);
-};},{
+};
```
@@ -127,7 +127,7 @@ import { MenuItemDraggable } from "twenty-ui/display";
export const MyComponent = () => {
const handleMenuItemClick = (event) => {
- console.log("Elementul de meniu a fost clicat!", event);
+ console.log("Menu item clicked!", event);
};
return (
@@ -137,12 +137,12 @@ export const MyComponent = () => {
iconButtons={[{ Icon: IconAlertCircle, onClick: handleButtonClick }]}
isTooltipOpen={false}
onClick={handleMenuItemClick}
- text="Element de meniu glisabil"
+ text="Menu item draggable"
isDragDisabled={false}
className
/>
);
-};},{
+};
```
</Tab>