diff --git a/i18n/locales/en-US.json b/i18n/locales/en-US.json index 090e80fe..79f9eea6 100644 --- a/i18n/locales/en-US.json +++ b/i18n/locales/en-US.json @@ -939,7 +939,7 @@ "Reed-Solomon Matrix": "Reed-Solomon Matrix", "Refresh": "Refresh", "Region": "Region", - "Reliable distributed file system": "Reliable distributed file system", + "Reliable distributed file system": "Object storage for AI era", "Remaining (3TB)": "Remaining (3TB)", "Remote Site": "Remote Site", "Remote Sites": "Remote Sites", @@ -991,7 +991,7 @@ "Running": "Running", "Running (Unhealthy)": "Running (Unhealthy)", "Running Status": "Running Status", - "Rust-based": "Rust-based", + "Rust-based": "Rust-based · Apache 2.0", "RustFS": "RustFS", "RustFS built-in cold storage": "RustFS built-in cold storage", "RustFS creates the internal site replication service account after the first successful join.": "RustFS creates the internal site replication service account after the first successful join.", diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json index c36b3bcb..de4c14f9 100644 --- a/i18n/locales/zh-CN.json +++ b/i18n/locales/zh-CN.json @@ -939,7 +939,7 @@ "Reed-Solomon Matrix": "Reed-Solomon矩阵", "Refresh": "刷新", "Region": "区域", - "Reliable distributed file system": "靠谱的分布式文件系统", + "Reliable distributed file system": "高性能分布式对象存储", "Remaining (3TB)": "剩余(3TB)", "Remote Site": "远程站点", "Remote Sites": "远程站点", @@ -991,7 +991,7 @@ "Running": "运行中", "Running (Unhealthy)": "运行中(不健康)", "Running Status": "运行状态", - "Rust-based": "基于 Rust 的", + "Rust-based": "Rust 语言 · Apache 2.0", "RustFS": "RustFS", "RustFS built-in cold storage": "RustFS 内置冷存储", "RustFS creates the internal site replication service account after the first successful join.": "首次成功加入后,RustFS 会自动创建内部站点复制服务账户。", diff --git a/tests/lib/i18n-locales.test.js b/tests/lib/i18n-locales.test.js index 3f18590c..a35be929 100644 --- a/tests/lib/i18n-locales.test.js +++ b/tests/lib/i18n-locales.test.js @@ -115,6 +115,16 @@ test("task warnings contain actionable guidance in every locale", () => { } }) +test("login hero marketing copy uses the updated English and Chinese wording", () => { + const enUS = readLocale("en-US.json") + const zhCN = readLocale("zh-CN.json") + + assert.equal(enUS["Reliable distributed file system"], "Object storage for AI era") + assert.equal(enUS["Rust-based"], "Rust-based · Apache 2.0") + assert.equal(zhCN["Reliable distributed file system"], "高性能分布式对象存储") + assert.equal(zhCN["Rust-based"], "Rust 语言 · Apache 2.0") +}) + test("default SSE key description is translated for every locale", () => { const key = "This key is used as the platform default SSE key for SSE-KMS and SSE-S3." const enUS = readLocale("en-US.json")