Add a missed translation

pull/206/head
Hydrogenbear 2 years ago
parent ded9c38170
commit c5df85ce66

@ -59,6 +59,7 @@
"Execute": "执行", "Execute": "执行",
"Definitions": "定义", "Definitions": "定义",
"Theorems": "定理", "Theorems": "定理",
"Theorem": "定理",
"Not unlocked yet": "尚未解锁", "Not unlocked yet": "尚未解锁",
"Not available in this level": "本关卡不提供", "Not available in this level": "本关卡不提供",
"A repository of learning games for the proof assistant <1>Lean</1> <i>(Lean 4)</i> and its mathematical library <5>mathlib</5>": "一个用于<1>Lean</1> <i>Lean 4</i>及其数学库<5>mathlib</5>的学习游戏库", "A repository of learning games for the proof assistant <1>Lean</1> <i>(Lean 4)</i> and its mathematical library <5>mathlib</5>": "一个用于<1>Lean</1> <i>Lean 4</i>及其数学库<5>mathlib</5>的学习游戏库",
@ -87,8 +88,8 @@
"Mobile": "移动端", "Mobile": "移动端",
"Auto": "自动", "Auto": "自动",
"Desktop": "桌面端", "Desktop": "桌面端",
"Level": "", "Level": "关卡",
"Introduction": "", "Introduction": "介绍",
"Retry": "", "Retry": "重试",
"Failed command": "" "Failed command": "命令失败"
} }

@ -144,7 +144,7 @@ function ExerciseStatement({ data, showLeanStatement = false }) {
<div className="exercise-statement"> <div className="exercise-statement">
{data?.descrText && {data?.descrText &&
<Markdown> <Markdown>
{(data?.displayName ? `**Theorem** \`${data?.displayName}\`: ` : '') + t(data?.descrText, {ns: gameId})} {(data?.displayName ? `**${t("Theorem")}** \`${data?.displayName}\`: ` : '') + t(data?.descrText, {ns: gameId})}
</Markdown> </Markdown>
} }
{data?.descrFormat && showLeanStatement && {data?.descrFormat && showLeanStatement &&

Loading…
Cancel
Save