mirror of
https://github.com/nexu-io/open-design.git
synced 2026-09-20 06:15:06 +08:00
fix(web): reword the Chinese home headline
「我们来设计点原型」→「让我们创建原型」(per product).
The `{word}` placeholder stays. HomeHero splits the string on it to
decide whether a locale opts into the rotating noun at all, so dropping
it would leave Chinese with a frozen headline while en and zh-TW kept
cycling. Two comments quoting the old sentence are updated with it;
zh-TW keeps its own wording.
This commit is contained in:
@@ -4,8 +4,7 @@ import { AnimatePresence, motion, useReducedMotion } from 'motion/react';
|
||||
import styles from './RotatingTitleWord.module.css';
|
||||
|
||||
/**
|
||||
* The headline's rotating noun: 「我们来设计点 __?」 cycles 文档 → 幻灯片 →
|
||||
* 原型 → 幻灯片 → 文档.
|
||||
* The headline's rotating noun: 「让我们创建 __」 cycles 原型 → 幻灯片 → 文档.
|
||||
*
|
||||
* This is 21st.dev's `@satoriui/typewriter-loop`, ported rather than copied:
|
||||
* the original is a shadcn/Tailwind component (`@/components/ui`, `cn()` from
|
||||
|
||||
@@ -897,7 +897,7 @@ export const zhCN: Dict = {
|
||||
"workspaceTabs.project": "项目",
|
||||
"workspaceTabs.pluginDetails": "插件详情",
|
||||
"workspaceTabs.marketplace": "插件市场",
|
||||
"homeHero.title": "我们来设计点{word}",
|
||||
"homeHero.title": "让我们创建{word}",
|
||||
"homeHero.titleWords": "原型,幻灯片,文档",
|
||||
"homeHero.subtitle": "好的作品,从这里开始",
|
||||
"homeHero.startWithTemplate": "从模板开始…",
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
|
||||
Georgia carries no CJK glyphs (1111 codepoints, zero Han), so the Chinese
|
||||
headline would fall straight through to the UI sans and look unchanged.
|
||||
The two Song faces behind it are what actually make 我们来设计点什么?read
|
||||
The two Song faces behind it are what actually make 让我们创建原型 read
|
||||
as a serif; drop them if the headline should stay sans in Chinese. */
|
||||
font-family: Georgia, "Songti SC", STSong, SimSun, serif;
|
||||
font-weight: 600;
|
||||
|
||||
Reference in New Issue
Block a user