Translate the eight strings that were still falling back
Every catalogue was at 1,255 of 1,279 with 24 strings rendering English. Eight of those are real UI text and are now translated in all nine languages: the five sort options that had no entry while their opposites did (Read first beside Unread first, Unstarred first beside Starred first, Smallest first beside Largest first, and the two alphabetical directions), and the three sentences behind the link and external-sender warnings. Each follows the phrasing its own catalogue already used for the sibling it sits next to. The remaining sixteen are left in English deliberately, because translating them would be wrong: product and project names, the sample addresses in placeholder text, bare URL prefixes, the ellipsis used as a masked value, and two mail header names. Per locale: 1,263 of 1,279, up from 1,255. **The stale list is not touched, and should not be cleaned blindly.** The checker reports 41 keys as translated-but-never-looked-up, and some of them are live. "Classic" is the clearest: the palette picker renders it through translate(p.name) from a constant, so the extractor sees no literal, while the German "Klassisch" it would delete is the exact fix issue #247 asked for. "Add star" and "Remove star" are the same shape, reached through a ternary in a JSX label. Teaching the extractor those two call sites is the prerequisite for trusting that list.
This commit is contained in:
@@ -1219,6 +1219,14 @@ export const catalog: Catalog = {
|
||||
"Throw away your changes?": "放弃您的更改吗?",
|
||||
"Today, in your date format": "今天,按您的日期格式",
|
||||
"Unread first": "未读在前",
|
||||
"Read first": "已读在前",
|
||||
"Unstarred first": "未标星在前",
|
||||
"Smallest first": "从小到大",
|
||||
"Z to A": "Z 到 A",
|
||||
"A to Z": "A 到 Z",
|
||||
"It reads {shown} but goes to {actual}.": "显示的是 {shown},实际打开的是 {actual}。",
|
||||
"The full address is {href}.": "完整地址为 {href}。",
|
||||
"This message came from {domain}, which is outside your organisation.": "此邮件来自 {domain},属于贵组织之外。",
|
||||
"Unsaved changes": "未保存的更改",
|
||||
"View as": "查看方式",
|
||||
"Warnings": "警告",
|
||||
|
||||
Reference in New Issue
Block a user