Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down
4 changes: 2 additions & 2 deletions i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "远程站点",
Expand Down Expand Up @@ -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 会自动创建内部站点复制服务账户。",
Expand Down
10 changes: 10 additions & 0 deletions tests/lib/i18n-locales.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down