World's first open-source enterprise world model.
Rust agent-memorybitemporalgraphragknowledge-baseknowledge-graphllmontologypgvectorpostgresqlragrustself-hostedsemantic-searchtemporal-knowledge-graphworld-model
Move the hardcoded feed endpoint placeholder to the i18n bundle (#1229)
Schro-codeff87e8065c5f
diff --git a/web/src/i18n/en.ts b/web/src/i18n/en.tsindex 7c80647a..07b4fe95 100644--- a/web/src/i18n/en.ts+++ b/web/src/i18n/en.ts@@ -679,6 +679,7 @@ export const en = {ingestGuide: "Read the ingest guide →",ingestGuideTitle: "Ingest interface guide",endpointField: "Endpoint URL",+ feedPlaceholder: "https://your-service/utopia-feed",endpointCopied: "Endpoint URL copied",copyEndpoint: "Click to copy the full URL",// api 来源的推送状态(queued/running 不会出现,仅为类型完备)diff --git a/web/src/i18n/zh.ts b/web/src/i18n/zh.tsindex 78dea684..47232a6f 100644--- a/web/src/i18n/zh.ts+++ b/web/src/i18n/zh.ts@@ -617,6 +617,7 @@ export const zh: Strings = {ingestGuide: "阅读摄入接口指南 →",ingestGuideTitle: "摄入接口指南",endpointField: "接口地址",+ feedPlaceholder: "https://your-service/utopia-feed",endpointCopied: "接口地址已复制",copyEndpoint: "点击复制完整地址",pushStatus: {diff --git a/web/src/pages/Library.tsx b/web/src/pages/Library.tsxindex 31d815f5..3fe65b45 100644--- a/web/src/pages/Library.tsx+++ b/web/src/pages/Library.tsx@@ -1578,7 +1578,7 @@ function SourceModal({{field(S.library.endpointField,<Input className="w-full font-mono"- placeholder="https://your-service/utopia-feed"+ placeholder={S.library.feedPlaceholder}value={endpoint}onChange={(e) => setEndpoint(e.target.value)}/>,