From 2b488749c1ffd92cfd23e778e18e5aec5af7d02c Mon Sep 17 00:00:00 2001 From: "a.tolmachev" Date: Fri, 3 Apr 2026 00:24:46 +0300 Subject: [PATCH] feat: localize remaining alpine ui views --- apps/ui/html/agents.html | 8 +- apps/ui/html/api-keys.html | 8 +- apps/ui/html/logs.html | 8 +- apps/ui/html/settings.html | 14 +- apps/ui/html/usage.html | 8 +- apps/ui/html/wizard/index.html | 20 +- apps/ui/html/wizard/step1.html | 18 +- apps/ui/html/wizard/step2.html | 42 ++-- apps/ui/html/wizard/step3-graphql.html | 22 +- apps/ui/html/wizard/step3-grpc.html | 84 +++---- apps/ui/html/wizard/step3-rest.html | 30 +-- apps/ui/html/wizard/step4.html | 52 ++-- apps/ui/html/wizard/step5.html | 88 ++++--- apps/ui/html/workspace-setup.html | 40 ++-- apps/ui/index.html | 8 +- apps/ui/js/auth.js | 12 +- apps/ui/js/i18n.js | 318 ++++++++++++++++++++++++- apps/ui/js/nav.js | 18 +- apps/ui/js/settings.js | 11 +- apps/ui/js/wizard.js | 27 ++- apps/ui/js/workspace-setup.js | 12 +- 21 files changed, 594 insertions(+), 254 deletions(-) diff --git a/apps/ui/html/agents.html b/apps/ui/html/agents.html index 825837c..ef14ef6 100644 --- a/apps/ui/html/agents.html +++ b/apps/ui/html/agents.html @@ -56,7 +56,7 @@
-
Tool identity
-
Machine-readable name and LLM-facing description
+
Tool identity
+
Machine-readable name and LLM-facing description
-
Machine-readable identifier used in MCP tool calls. Only lowercase letters, numbers and underscores. Cannot be changed after publishing.
+
Machine-readable identifier used in MCP tool calls. Only lowercase letters, numbers and underscores. Cannot be changed after publishing.
-
Human-readable name shown in the console and audit log.
+
Human-readable name shown in the console and audit log.
-
Short imperative sentence shown in the MCP tool manifest.
+
Short imperative sentence shown in the MCP tool manifest.
-
LLM-facing description. Be precise — this is the primary signal the model uses to decide whether to invoke this tool.
+
LLM-facing description. Be precise — this is the primary signal the model uses to decide whether to invoke this tool.
@@ -68,10 +68,8 @@
-
Writing effective descriptions
-
- Start with a verb ("Creates", "Fetches", "Updates"). Mention key input requirements. Describe what a successful response looks like. Avoid vague phrasing like "handles" or "manages". See description best practices → -
+
Writing effective descriptions
+
Start with a verb ("Creates", "Fetches", "Updates"). Mention key input requirements. Describe what a successful response looks like. Avoid vague phrasing like "handles" or "manages". See description best practices →
@@ -84,10 +82,10 @@
-
Input schema
-
Parameters the LLM passes when calling this tool
+
Input schema
+
Parameters the LLM passes when calling this tool
- JSON Schema draft-07 + JSON Schema draft-07
@@ -122,10 +120,10 @@
-
Output schema
-
Shape of the data returned to the LLM after a successful call
+
Output schema
+
Shape of the data returned to the LLM after a successful call
- JSON Schema draft-07 + JSON Schema draft-07
@@ -153,10 +151,8 @@
-
Schemas are protocol-agnostic
-
- These schemas describe the MCP contract, not the upstream wire format. Field mapping in Step 5 translates between the two. You can upload a sample JSON response to auto-generate the output schema. -
+
Schemas are protocol-agnostic
+
These schemas describe the MCP contract, not the upstream wire format. Field mapping in Step 5 translates between the two. You can upload a sample JSON response to auto-generate the output schema.
diff --git a/apps/ui/html/wizard/step5.html b/apps/ui/html/wizard/step5.html index cc1a1c3..ffb37a7 100644 --- a/apps/ui/html/wizard/step5.html +++ b/apps/ui/html/wizard/step5.html @@ -9,7 +9,7 @@
- Input → Request + Input → Request
@@ -31,7 +31,7 @@ source: "$.input.source"
- Response → Output + Response → Output
@@ -51,7 +51,7 @@ owner_id: "$.response.data.owner.id"
- Execution + Execution
@@ -64,10 +64,10 @@ owner_id: "$.response.data.owner.id"
-
Execution config
-
Timeouts, retry policy and auth profile reference
+
Execution config
+
Timeouts, retry policy and auth profile reference
- Optional + Optional
@@ -88,7 +88,7 @@ tls:
- Live validation and publishing + Live validation and publishing
@@ -98,7 +98,7 @@ tls:
-
Draft actions
+
Draft actions
@@ -109,8 +109,8 @@ tls:
-
Live actions save the draft first
-
Sample uploads, test runs, YAML actions, publish and gRPC descriptor discovery all persist the current draft before calling the backend.
+
Live actions save the draft first
+
Sample uploads, test runs, YAML actions, publish and gRPC descriptor discovery all persist the current draft before calling the backend.
@@ -123,14 +123,14 @@ tls:
-
Samples and draft generation
-
Persist input/output samples, then generate schemas and mappings from real payloads.
+
Samples and draft generation
+
Persist input/output samples, then generate schemas and mappings from real payloads.
- +
- +
- - + +
- +
- +
- +
@@ -204,16 +204,16 @@ tls:
-
gRPC descriptor set
-
Upload a compiled descriptor set and discover unary methods from the saved draft.
+
gRPC descriptor set
+
Upload a compiled descriptor set and discover unary methods from the saved draft.
- - - No descriptor set selected + + + No descriptor set selected
@@ -228,20 +228,20 @@ tls:
-
YAML import and export
-
Move operation drafts between environments without leaving the wizard.
+
YAML import and export
+
Move operation drafts between environments without leaving the wizard.
- - - + + +
- - + +
@@ -254,14 +254,14 @@ tls:
-
Publish
-
Save the current draft and expose it to published agents.
+
Publish
+
Save the current draft and expose it to published agents.
-
Publishing uses the current draft version from this wizard session.
+
Publishing uses the current draft version from this wizard session.
- +
@@ -272,10 +272,8 @@ tls:
-
Operation stays editable in this wizard
-
- Saving creates or updates the current draft in place. Use the live actions above to upload samples, test the draft, export or import YAML, and publish when the upstream contract is ready. -
+
Operation stays editable in this wizard
+
Saving creates or updates the current draft in place. Use the live actions above to upload samples, test the draft, export or import YAML, and publish when the upstream contract is ready.
diff --git a/apps/ui/html/workspace-setup.html b/apps/ui/html/workspace-setup.html index 0d426d5..97b3eb1 100644 --- a/apps/ui/html/workspace-setup.html +++ b/apps/ui/html/workspace-setup.html @@ -167,11 +167,11 @@
AT
-
Operator (you)
+
Crank (you)
operator@acme.com
Today
- Owner + Owner
BS
@@ -181,11 +181,11 @@
2 days ago
- @@ -197,11 +197,11 @@
1 week ago
- @@ -213,11 +213,11 @@
Never
- @@ -235,8 +235,8 @@
Invited 3 days ago · not yet accepted
- Developer - @@ -246,19 +246,19 @@
Roles & permissions
- Owner + Owner
Full workspace control, billing access, can transfer or delete the workspace.
- Admin + Admin
Manage members and roles, create and edit all operations and agents, manage API keys.
- Developer + Developer
Create and edit operations and agents. Cannot manage members or workspace settings.
- Viewer + Viewer
Read-only access to operations, agents, and logs.
diff --git a/apps/ui/index.html b/apps/ui/index.html index 75b15d5..fa03f88 100644 --- a/apps/ui/index.html +++ b/apps/ui/index.html @@ -55,7 +55,7 @@