Skip to content

Commit 2383c1b

Browse files
committed
updated nebula spanish docs using crowdinai
1 parent 958b146 commit 2383c1b

File tree

15 files changed

+148
-148
lines changed

15 files changed

+148
-148
lines changed

apps/portal/src/app/nebula/api-reference/chat/EndpointMetadata.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export function EndpointMetadata() {
2828
return (
2929
<ApiEndpoint
3030
metadata={{
31-
title: "Send Message",
32-
description: "Process a chat message and return the response",
31+
title: "Enviar Mensaje",
32+
description: "Procesar un mensaje de chat y devolver la respuesta",
3333
origin: "https://nebula-api.thirdweb.com",
3434
path: "/chat",
3535
method: "POST",

apps/portal/src/app/nebula/api-reference/chat/page.mdx

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { EndpointMetadata } from './EndpointMetadata';
22

33
<EndpointMetadata />
44

5-
#### Chat Actions
5+
#### Acciones de Chat
66

7-
Chat actions represent blockchain transactions or operations that Nebula has prepared in response to your request. The response includes both a detailed explanation in the `message` field and the actual transaction data in the `actions` array.
7+
Las acciones de chat representan transacciones o operaciones en blockchain que Nebula ha preparado en respuesta a tu solicitud. La respuesta incluye tanto una explicación detallada en el campo `message` como los datos de la transacción en el array `actions`.
88

9-
**Example Response with Chat Action:**
9+
**Respuesta de Ejemplo con Acción de Chat:**
1010
```json
1111
{
1212
"message": "The transaction to transfer 0.0001 ETH to the address resolved from the ENS name `vitalik.eth` (which is `0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045`) is set up successfully. The simulation indicates that the transaction is likely to succeed.\n\nPlease proceed by signing and confirming the transaction.",
@@ -24,25 +24,26 @@ Chat actions represent blockchain transactions or operations that Nebula has pre
2424
}
2525
```
2626

27-
**Action Properties:**
28-
- `session_id`: Unique identifier for the current session
29-
- `request_id`: Unique identifier for the specific request
30-
- `type`: The type of action (e.g., "sign_transaction")
31-
- `source`: Origin of the action (e.g., "executor")
32-
- `data`: Transaction parameters including:
33-
- `chainId`: Network identifier (e.g., 11155111 for Sepolia)
34-
- `to`: Recipient's address
35-
- `data`: Transaction data (if any)
36-
- `value`: Amount to send in wei
37-
38-
When handling actions:
39-
1. Parse the `message` field for human-readable transaction details
40-
2. Extract the transaction data from the `actions` array
41-
3. Present transaction details to the user for review
42-
4. Use a local wallet to sign the transaction
43-
5. Broadcast the signed transaction to the network
44-
45-
**Example Implementation with thirdweb SDK:**
27+
**Propiedades de la Acción:**
28+
- `session_id`: Identificador único de la sesión actual
29+
- `request_id`: Identificador único para la solicitud específica
30+
- `type`: Tipo de acción (por ejemplo, "sign_transaction")
31+
- `source`: Origen de la acción (por ejemplo, "executor")
32+
- `data`: Parámetros de la transacción, incluyendo:
33+
- `chainId`: Identificador de la red (por ejemplo, 11155111 para Sepolia)
34+
- `to`: Dirección del destinatario
35+
- `data`: Datos de la transacción (si los hay)
36+
- `value`: Monto a enviar en wei
37+
38+
Al manejar acciones:
39+
1. Analiza el campo `message` para obtener detalles legibles de la transacción.
40+
2. Extrae los datos de la transacción del array `actions`.
41+
3. Presenta los detalles de la transacción al usuario para su revisión.
42+
4. Utiliza una cartera local para firmar la transacción.
43+
5. Transmite la transacción firmada a la red.
44+
45+
**Implementación de Ejemplo con el SDK de thirdweb:**
46+
4647
```javascript
4748
import {
4849
createThirdwebClient,

apps/portal/src/app/nebula/api-reference/clear-session/EndpointMetadata.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export function EndpointMetadata() {
1010
return (
1111
<ApiEndpoint
1212
metadata={{
13-
title: "Clear Session",
13+
title: "Borrar Sesión",
1414
description:
15-
"Clears all messages for a specific session using the session ID.",
15+
"Elimina todos los mensajes de una sesión específica utilizando el ID de la sesión.",
1616
origin: "https://nebula-api.thirdweb.com",
1717
path: "/session/{session_id}/clear",
1818
method: "POST",

apps/portal/src/app/nebula/api-reference/create-session/EndpointMetadata.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export function EndpointMetadata() {
1212
return (
1313
<ApiEndpoint
1414
metadata={{
15-
title: "Create Session",
16-
description: "Creates a new session.",
15+
title: "Crear Sesión",
16+
description: "Crea una nueva sesión.",
1717
path: "/session",
1818
origin: "https://nebula-api.thirdweb.com",
1919
method: "POST",

apps/portal/src/app/nebula/api-reference/delete-session/EndpointMetadata.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export function EndpointMetadata() {
1818
return (
1919
<ApiEndpoint
2020
metadata={{
21-
title: "Delete Session",
21+
title: "Eliminar Sesión",
2222
method: "DELETE",
23-
description: "Deletes a session by ID",
23+
description: "Elimina una sesión por ID",
2424
origin: "https://nebula-api.thirdweb.com",
2525
path: "/session/{session_id}",
2626
request: {

apps/portal/src/app/nebula/api-reference/execute/EndpointMetadata.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ export function EndpointMetadata() {
2828
return (
2929
<ApiEndpoint
3030
metadata={{
31-
title: "Execute Action",
31+
title: "Ejecutar Acción",
3232
description: (
3333
<>
34-
Executes a specified action. <br /> It is similar to /chat but it
35-
only handles transaction requests. It is designed to be used without
36-
history context.
34+
Ejecuta una acción especificada. <br />
35+
Es similar a /chat, pero solo maneja solicitudes de transacciones.
36+
Está diseñado para usarse sin contexto de historial.
3737
</>
3838
),
3939
path: "/execute",

apps/portal/src/app/nebula/api-reference/get-session/EndpointMetadata.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export function EndpointMetadata() {
1111
return (
1212
<ApiEndpoint
1313
metadata={{
14-
title: "Get Session",
15-
description: "Get details of a session by ID",
14+
title: "Obtener Sesión",
15+
description: "Obtener detalles de una sesión por ID",
1616
path: "/session/{session_id}",
1717
origin: "https://nebula-api.thirdweb.com",
1818
method: "GET",

apps/portal/src/app/nebula/api-reference/list-session/EndpointMetadata.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export function EndpointMetadata() {
2020
return (
2121
<ApiEndpoint
2222
metadata={{
23-
title: "List Sessions",
24-
description: "Fetches a list of all available sessions.",
23+
title: "Listar Sesiones",
24+
description: "Obtiene una lista de todas las sesiones disponibles.",
2525
origin: "https://nebula-api.thirdweb.com",
2626
path: "/session/list",
2727
method: "GET",

apps/portal/src/app/nebula/api-reference/update-session/EndpointMetadata.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ export function EndpointMetadata() {
1313
return (
1414
<ApiEndpoint
1515
metadata={{
16-
title: "Update Session",
16+
title: "Actualizar Sesión",
1717
method: "PUT",
1818
description:
19-
"Update session details like title, context_filter, execute_config, etc.",
19+
"Actualizar detalles de la sesión como título, context_filter, execute_config, etc.",
2020
origin: "https://nebula-api.thirdweb.com",
2121
path: "/session/{session_id}",
2222
request: {
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Nebula FAQs
1+
# Preguntas Frecuentes de Nebula
22

3-
### I am still waiting on access to Nebula. How can I be approved?
3+
### Todavía estoy esperando acceso a Nebula. ¿Cómo puedo ser aprobado?
44

5-
We are rolling out Nebula approval in batches daily - stay tuned!
5+
Estamos aprobando el acceso a Nebula en lotes diariamente. ¡Mantente atento!
66

7-
### Will Nebula be open source?
7+
### ¿Nebula será de código abierto?
88

9-
Nebula is not currently open source. We are exploring open sourcing Nebula in the future.
9+
Nebula no es actualmente de código abierto. Estamos explorando la posibilidad de hacer Nebula de código abierto en el futuro.
1010

11-
### When will pricing be available for Nebula?
11+
### ¿Cuándo estará disponible la información sobre precios para Nebula?
1212

13-
Pricing options will be available in beta (estimated mid January 2025).
13+
Las opciones de precios estarán disponibles en la versión beta (estimada para mediados de enero de 2025).

0 commit comments

Comments
 (0)