diff --git a/packages/viewer/src/localization/runtime.js b/packages/viewer/src/localization/runtime.js index d0dc89d..b34245e 100644 --- a/packages/viewer/src/localization/runtime.js +++ b/packages/viewer/src/localization/runtime.js @@ -11,6 +11,7 @@ export const languages = { "pt-BR": "Português (Brasil)", ko: "한국어", "zh-TW": "繁體中文", + "zh-CN": "简体中文", vi: "Tiếng Việt", it: "Italiano", nl: "Nederlands", @@ -32,6 +33,9 @@ export function resolveLocale(value) { if (/^zh-(?:tw|hk|mo|hant)(?:-|$)/.test(tag)) { return "zh-TW"; } + if (tag === "zh" || /^zh-(?:cn|sg|hans)(?:-|$)/.test(tag)) { + return "zh-CN"; + } return Object.keys(languages).find((locale) => locale === tag.split("-")[0]) ?? "en"; } diff --git a/packages/viewer/src/localization/zh-CN.json b/packages/viewer/src/localization/zh-CN.json new file mode 100644 index 0000000..a8a824c --- /dev/null +++ b/packages/viewer/src/localization/zh-CN.json @@ -0,0 +1,1218 @@ +{ + "%; background:": "%; background:", + "(Ecoplants discount)": "(生态工厂折扣)", + "(Era": "(时代", + "(Kicker)": "(加成)", + "(Kicker, era": "(加成,时代", + "(counts as 4 cards toward hand capacity)": "(占用 4 张牌的手牌容量)", + "(current era)": "(当前时代)", + "(edited)": "(已编辑)", + "(needs": "(需要", + "(no": "(无", + "(paid": "(支付", + "(per copy).": "(每张)。", + "(prefers-reduced-motion: reduce)": "(prefers-reduced-motion: reduce)", + "(produces ◈": "(产出 ◈", + "(sealed) —": "(密封)—", + "(selected": "(已选择", + "(undo to open an auction).": "(撤销后才能发起拍卖)。", + "({p0} cards). −5 on": "({p0} 张牌)。折扣 −5:", + "({p0} cards); comes with a free one.": "({p0} 张牌);附赠一个。", + "({p0}) each round (per copy).": "({p0}),每轮一次(每张)。", + "({p0}) each round.": "({p0}),每轮一次。", + ") and": ")和", + ") each round (per copy).": "),每轮一次(每张)。", + ") each round.": "),每轮一次。", + "+1 card/round (": "每轮 +1 张牌(", + "+1 card/round ({p5}–{p6})": "每轮 +1 张牌({p5}–{p6})", + "+3 hand capacity (per copy).": "手牌容量 +3(每张)。", + "+3 population limit (per copy).": "人口上限 +3(每张)。", + "+5 colony support (population) limit.": "殖民地人口上限 +5。", + "+{p23} hand capacity (per copy)": "手牌容量 +{p23}(每张)", + "+{p27} population limit (per copy)": "人口上限 +{p27}(每张)", + "+{spec.handCapacityBonus} hand capacity (per copy)": "手牌容量 +{spec.handCapacityBonus}(每张)", + "+{spec.populationBonus} population limit (per copy)": "人口上限 +{spec.populationBonus}(每张)", + ", +5 hand capacity, +5 population limit.": ",手牌容量 +5,人口上限 +5。", + ", and": ",以及", + ", but for": ",但适用于", + ", holds": ",持有", + ", then discard 1 of them.": ",然后弃掉其中 1 张。", + ", who has nothing higher to trade back": ",对方没有价值更高的同类牌可供交换", + ", −15 on": ",折扣 −15:", + "--bc:": "--bc:", + "--bc: {b.color}; --rc: {RESOURCE_COLORS[b.resource]}": "--bc: {b.color}; --rc: {RESOURCE_COLORS[b.resource]}", + "--bc: {dome.color}": "--bc: {dome.color}", + "--pc:": "--pc:", + "--pc: {playerColor(index)}": "--pc: {playerColor(index)}", + "0 0 1600 {groundHeight}": "0 0 1600 {groundHeight}", + ": Biosphere": ":生物圈", + ": colony ship arrives:": ":殖民船抵达:", + ": duplicate indices": ":索引重复", + ": expected an array of card indices": ":应为卡牌索引数组", + ": invalid index": ":索引无效", + ": select hand cards worth at least ◈": ":请选择总价值至少为 ◈ 的手牌", + ": select hand cards worth at least ◈ {p26} (selected": ":请选择总价值至少为 ◈ {p26} 的手牌(已选择", + ": {p0} credits": ":{p0} 信用点", + "; --rc:": "; --rc:", + "; research and microbiotics don't count).": ";研究和微生物不计入)。", + "; your maximum is ◈": ";你的上限为 ◈", + "= max bid": "= 最高出价", + "= max bid {p0}": "= 最高出价 {p0}", + "A New Chemicals factory costs 60. Is having a Research card enough, or must you spend it as part of those 60 credits?": "一座新化工厂花费 60。只要持有研究牌就够了,还是必须将它用于支付这 60 信用点?", + "A prepared final round": "准备好的最后一轮", + "Actions": "行动", + "Ada": "Ada", + "Ada also buys Water and transfers an Ore operator. Leo saves his remaining cards. Once both finish, you will collect two Water cards and one Ore card. The idle Ore factory produces nothing. Unspent cards carry over between rounds.": "Ada 也购买了水厂,并调来一名矿石厂操作员。Leo 保留了剩余手牌。两人结束后,你会获得两张水牌和一张矿石牌。闲置的矿石厂没有产出。未花掉的牌可以留到下一轮。", + "Ada offers 30 and Leo passes. Bid 31 to stay in the auction. Passing would remove you from this auction; Leo cannot rejoin after passing.": "Ada 出价 30,Leo 放弃。出价 31 即可继续竞拍。放弃后就退出本次拍卖;Leo 放弃后不能再次加入。", + "Ada passes, so you win for 31. The smallest payment your cards can make is 32. Confirm the selected cards: you lose the extra credit. Only the winner pays, and your action turn resumes afterward.": "Ada 放弃,你以 31 获胜。你的牌能凑出的最小支付金额为 32。确认所选牌:多出的 1 信用点不会找零。只有得标者需要付款,之后你继续行动。", + "After production, discard excess cards before anyone takes an action turn. Your basic hand capacity is ten. You cannot buy something first to avoid discarding. A Warehouse upgrade adds three spaces per copy.": "生产后,所有玩家开始行动前,必须先弃掉超出上限的手牌。基础手牌容量为十。不能先购买来避免弃牌。每张仓库升级牌增加三个容量。", + "Allows": "允许", + "Allows buying robots (◈ 10 each)": "允许购买机器人(每个 ◈ 10)", + "Also confirms:": "同时确认:", + "Also confirms: {p0}.": "同时确认:{p0}。", + "Assign": "分配", + "Assign operators — click the glowing factory chips in your panel to toggle them.": "分配操作员:点击面板上发光的工厂标记,切换其工作状态。", + "Assign operators — click the glowing factory chips in your panel to toggle them. {p0} factories manned. {p1} {p2}": "分配操作员:点击面板上发光的工厂标记,切换其工作状态。{p0} 座工厂已配备操作员。{p1} {p2}", + "Assign operators…": "分配操作员…", + "Assign {p0} more before ending your turn.": "结束回合前还需分配 {p0} 名。", + "Assign {p41} more before ending your turn.": "结束回合前还需分配 {p41} 名。", + "Auction": "拍卖", + "Auction at ◈": "起拍价 ◈", + "Auction at ◈ {p0}": "起拍价 ◈ {p0}", + "Auction at ◈ {p105}": "起拍价 ◈ {p105}", + "Auction at ◈ {p44}": "起拍价 ◈ {p44}", + "Auction bid": "竞拍出价", + "Auction payment": "竞拍付款", + "Auction: waiting for": "拍卖:等待", + "Auction: waiting for {p0} to bid…": "拍卖:等待 {p0} 出价…", + "Auction: waiting for {p0} to pay…": "拍卖:等待 {p0} 付款…", + "Back": "返回", + "Back to start": "返回起点", + "Beat Ada’s 30": "超过 Ada 的 30", + "Better use of your operators": "更有效地分配操作员", + "Bid": "出价", + "Bid before discount": "折扣前出价", + "Bid for an upgrade": "竞拍升级牌", + "Bid {p0}": "出价 {p0}", + "Bid ◈": "出价 ◈", + "Bid ◈ {p0}": "出价 ◈ {p0}", + "Bid ◈ {p0}{p1}{p2}{p3} · you hold ◈ {p4}": "出价 ◈ {p0}{p1}{p2}{p3} · 你持有 ◈ {p4}", + "Bid ◈ {p25}{p26} − discount ◈ {p27}{p28}": "出价 ◈ {p25}{p26} − 折扣 ◈ {p27}{p28}", + "Bid ◈ {p31}": "出价 ◈ {p31}", + "Bid ◈ {p74}": "出价 ◈ {p74}", + "Biosphere": "生物圈", + "Build income early, use operators efficiently and turn that income into points. Reaching 75 triggers the final round’s end; it does not stop the other players from taking their remaining turns.": "尽早提升收入,有效使用操作员,并将收入转化为分数。达到 75 分会使本轮成为最后一轮;其他玩家仍能完成本轮剩余回合。", + "Building": "建造中", + "Building {p0} {p1} factor{p2} (produces ◈ {p3}–{p4} per round when manned):": "建造 {p0} 座 {p1} 工厂{p2}(有人操作时每轮产出 ◈ {p3}–{p4}):", + "Buy a Water factory and move an Ore operator to it for stronger income.": "购买一座水厂,并从矿石厂调来一名操作员,提高收入。", + "Buy a robot and assign operators to your most useful factories.": "购买一个机器人,将操作员分配到最有用的工厂。", + "Buy a robot: 10 credits": "购买机器人:10 信用点", + "Buy one New Chemicals factory. Its 60-credit payment must include your Research card; its value counts toward the 60. Confirm, then Assign operators…. Move an operator from one Ore factory to the new factory and End turn. Keep Water and Research staffed.": "购买一座新化工厂。支付的 60 信用点必须包含研究牌,其价值计入 60。确认后选择“分配操作员…”,将一座矿石厂的操作员调到新工厂,再结束回合。保持水厂和研究工厂有人操作。", + "Buy one Water factory for 20 and confirm the payment. Choose Assign operators…. Click either Ore factory to free its operator, then click the new Water factory to staff it. Keep the other Water factory working and End turn. Water averages 7 credits per card; Ore averages 3.": "花费 20 购买一座水厂并确认付款。选择“分配操作员…”。点击任一矿石厂调出操作员,再点击新水厂将其分配进去。保持另一座水厂工作,然后结束回合。水牌平均价值 7 信用点,矿石牌平均价值 3。", + "Buy one robot for 10 and confirm its payment. Choose Assign operators…. Leave the Water factory staffed, unstaff both Ore factories, and staff all three Titanium factories. Then End turn with four factories working.": "花费 10 购买一个机器人并确认付款。选择“分配操作员…”。保持水厂有人操作,撤出两座矿石厂的操作员,让三座钛工厂全部工作。然后结束回合,此时应有四座工厂工作。", + "Buy robots for 10 credits each. Each Robots upgrade lets you operate up to your current colonist count; excess robots stay idle.": "每个机器人售价 10 信用点。每张机器人升级牌允许工作的机器人数等于当前殖民者人数;多余机器人保持闲置。", + "Buying": "购买中", + "Buying {p0} robot{p1}:": "购买 {p0} 个机器人{p1}:", + "Cancel": "取消", + "Cards are your money": "卡牌就是你的钱", + "Cards must cover the payment; excess card value is not returned.": "卡牌价值必须足够付款;多余金额不找零。", + "Chapter complete": "章节完成", + "Chat": "聊天", + "Chat disabled": "聊天已禁用", + "Chat has been disabled by the room moderators.": "房间管理员已禁用聊天。", + "Chat is connecting…": "正在连接聊天…", + "Chat is read-only": "聊天为只读", + "Chat is read-only here (": "此处聊天为只读(", + "Chat is read-only here ({p0}).": "此处聊天为只读({p0})。", + "Chat is read-only here ({p71}).": "此处聊天为只读({p71})。", + "Chat message": "聊天消息", + "Chat messages": "聊天消息", + "Chat will be available when the game starts": "游戏开始后即可聊天", + "Chat{p0}": "聊天{p0}", + "Chemicals": "化学品", + "Chemicals": "化学品", + "Choose Assign operators…, keep all five factories staffed, then End turn. Ada and Leo will finish too. You have the highest score in this example.": "选择“分配操作员…”,保持五座工厂全部有人操作,然后结束回合。Ada 和 Leo 也会结束回合。这个示例中你的得分最高。", + "Choose one of the answers below.": "请选择下面的一个答案。", + "Choose steady production": "选择稳定的产出", + "Click a market upgrade to auction it, or a buy button and then the hand cards to pay with.": "点击市场上的升级牌发起拍卖,或点击购买按钮,再选择用于支付的手牌。", + "Collect New Chemicals production": "领取新化工产出", + "Collect next round’s production": "领取下一轮产出", + "Collect the stronger production": "领取更高价值的产出", + "Colonist · ◈": "殖民者 · ◈", + "Colonist · ◈ {p0}": "殖民者 · ◈ {p0}", + "Colonist · ◈ {p99}": "殖民者 · ◈ {p99}", + "Colonists cost 5 instead of 10": "殖民者价格从 10 降至 5", + "Colonists cost 5 instead of 10. −10 on": "殖民者价格从 10 降至 5。折扣 −10:", + "Colony upgrades for auction": "待拍卖的殖民地升级牌", + "Comes with a free": "附赠一个", + "Comes with a free robot you can operate even without a": "附赠一个无需相应升级牌也能操作的机器人:", + "Comes with a free {RESOURCE_LABELS[spec.freeFactory]} factory": "附赠一座 {RESOURCE_LABELS[spec.freeFactory]} 工厂", + "Comes with a free {p18} factory": "附赠一座 {p18} 工厂", + "Complete this step to continue": "完成此步骤才能继续", + "Confirm (◈": "确认(◈", + "Confirm (◈ {p0})": "确认(◈ {p0})", + "Confirm (◈ {p75})": "确认(◈ {p75})", + "Confirm the suggested 31-credit payment. Your maximum bid was 60, but you only owe 31 after the auction and discount. Scientists will produce one Research card each round without an operator.": "确认建议的 31 信用点付款。你的最高出价是 60,但经过竞拍和折扣后,只需支付 31。科学家无需操作员,每轮生产一张研究牌。", + "Confirm your account to chat": "验证账户后即可聊天", + "Continue": "继续", + "Correct!": "正确!", + "Correct! {p0}": "正确!{p0}", + "Data Library": "数据库", + "Discard": "弃牌", + "Discard selected": "弃掉所选牌", + "Discard the Ore cards worth 1 and 2. They are already suggested. Confirm Discard to keep all the more valuable cards, including both Research cards.": "弃掉价值 1 和 2 的矿石牌。系统已预选这两张。确认弃牌后,即可保留所有价值更高的牌,包括两张研究牌。", + "Does saving money score points?": "存钱能得分吗?", + "Each Robots upgrade lets you operate as many robots as you have colonists. With three colonists and one Robots upgrade, how many robots could work? Robots do not use your colonist capacity.": "每张机器人升级牌允许工作的机器人数等于殖民者人数。拥有三名殖民者和一张机器人升级牌时,能让几个机器人工作?机器人不占人口容量。", + "Ecoplants": "生态工厂", + "Edited": "已编辑", + "Edited {message.editedAt}": "编辑于 {message.editedAt}", + "Edited {p64}": "编辑于 {p64}", + "End turn": "结束回合", + "Era": "时代", + "Era {['', 'I', 'II', 'III'][spec.era]} Kicker card": "时代 {['', 'I', 'II', 'III'][spec.era]} 加成牌", + "Era {['', 'I', 'II', 'III'][upgradeEra(upgrade)]} upgrade (card #{upgradeNumber(upgrade)})": "时代 {['', 'I', 'II', 'III'][upgradeEra(upgrade)]} 升级牌(卡牌 #{upgradeNumber(upgrade)})", + "Era {p0}": "时代 {p0}", + "Era {p0} begins": "时代 {p0} 开始", + "Era {p0} begins —": "时代 {p0} 开始 —", + "Era {p14} upgrade (card #{p15})": "时代 {p14} 升级牌(卡牌 #{p15})", + "Era {p2}": "时代 {p2}", + "Era {p7} begins": "时代 {p7} 开始", + "Era {p84} Kicker card": "时代 {p84} 加成牌", + "Everyone finishes the round. Another player can still overtake you; the highest final VP wins.": "所有人完成本轮。其他玩家仍可能超过你;最终胜利分最高者获胜。", + "Factories": "工厂", + "Factories earn your income": "工厂带来收入", + "Factory / upgrade": "工厂/升级牌", + "Finish the last round": "完成最后一轮", + "Finish the round when someone reaches 75 VP. The player with the most VP wins.": "有人达到 75 胜利分时,完成本轮后结束游戏。胜利分最高的玩家获胜。", + "Finish with the most VP": "以最高胜利分结束游戏", + "Follow this step’s instructions. Use Replay step to start it again.": "按照本步骤的指引操作。可使用“重玩步骤”重新开始。", + "Four factories, one choice": "四座工厂,一次选择", + "Four staffed Water factories let you choose a Mega Water card worth exactly 30 instead of four random Water cards. Decide before seeing this round’s new values. Titanium and New Chemicals factories can also produce Mega cards in groups of four.": "四座有人操作的水厂可选择产出一张固定价值 30 的巨型水牌,代替四张随机水牌。必须在看到本轮新牌数值前决定。钛工厂和新化工厂也能每四座一组生产巨型牌。", + "Free": "免费", + "Game": "游戏", + "Game era: sets which colony upgrades and Kicker cards are available. Evaluated from the leader's VP when the colony ship arrives — a mid-round VP change counts at the next round": "游戏时代决定可用的殖民地升级牌和加成牌。殖民船抵达时根据领先者的胜利分判断;轮中得分变化到下一轮才生效", + "Game over": "游戏结束", + "Game over:": "游戏结束:", + "Game over: {p0}": "游戏结束:{p0}", + "Game over: {p0} win with {p2} VP": "游戏结束:{p0} 以 {p2} 胜利分获胜", + "Game over: {p0} wins with {p2} VP": "游戏结束:{p0} 以 {p2} 胜利分获胜", + "Game sounds": "游戏音效", + "Game started with": "游戏开始,玩家数:", + "Game started with {p0} players": "游戏开始,共 {p0} 名玩家", + "Grow your colony": "扩张你的殖民地", + "Heavy Equipment": "重型设备", + "Heavy Equipment is yours": "你获得了重型设备", + "Hide": "隐藏", + "High bid": "最高出价", + "High bid {p0} by {p1}": "最高出价 {p0},出价者 {p1}", + "Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "最高出价者以次高价加 1 成交;同价时按购买顺序优先。", + "Hint": "提示", + "How many robots can operate?": "多少个机器人能工作?", + "How much do you owe?": "你需要支付多少?", + "How much storage does it use?": "它占用多少容量?", + "II": "II", + "III": "III", + "Ice Prospector": "冰矿勘探者", + "Include a Research card when paying for a New Chemicals factory.": "购买新化工厂时,付款必须包含研究牌。", + "Is the game over immediately?": "游戏会立即结束吗?", + "Keep a Research card in my hand": "把一张研究牌留在手中", + "Keep the valuable cards": "保留有价值的牌", + "Kicker card": "加成牌", + "Kicker cards — era": "加成牌 — 时代", + "Kicker cards — era {p0}": "加成牌 — 时代 {p0}", + "Kicker cards — era {p72}": "加成牌 — 时代 {p72}", + "Laboratory": "实验室", + "Launch Facility": "发射设施", + "Leo": "Leo", + "Lesson answers": "课程答案", + "Like": "类似", + "Live": "实时", + "M-8 0v-9l5-4 6 4v9zM4 0v-17h4V0": "M-8 0v-9l5-4 6 4v9zM4 0v-17h4V0", + "M0 70 Q 200 40 420 58 T 820 52 T 1220 62 T 1600 48 L1600 {groundHeight} L0 {groundHeight} Z": "M0 70 Q 200 40 420 58 T 820 52 T 1220 62 T 1600 48 L1600 {groundHeight} L0 {groundHeight} Z", + "Make room for production": "为产出腾出空间", + "Maximum bid and actual payment": "最高出价与实际付款", + "Mega": "巨型", + "Mega Water is one physical card, but it replaces four ordinary cards. How many spaces does it count toward your hand limit?": "巨型水牌虽然只有一张,却替代了四张普通牌。它占用多少手牌容量?", + "Mega {p0}": "巨型 {p0}", + "Mega {p0} {p1}": "巨型 {p0} {p1}", + "Mega {p1}{p2}": "巨型 {p1}{p2}", + "Mega {p1}{p2} (counts as 4 cards toward hand capacity)": "巨型 {p1}{p2}(占用 4 张牌的手牌容量)", + "Mega {p5} {p6}": "巨型 {p5} {p6}", + "Mention a player": "提及玩家", + "Mention suggestions": "提及建议", + "Merchant House": "商行", + "Message…": "消息…", + "Microbiotics": "微生物", + "Microbiotics": "微生物", + "Minimum bid is ◈": "最低出价为 ◈", + "Minimum bid is ◈ {p0}; your maximum is ◈ {p1}.": "最低出价为 ◈ {p0};你的上限为 ◈ {p1}。", + "Minimum bid is ◈ {p15}; your maximum is ◈ {p16}.": "最低出价为 ◈ {p15};你的上限为 ◈ {p16}。", + "Moon Base": "月球基地", + "Moon Ore": "月球矿石", + "Move an operator to Water": "将操作员调到水厂", + "M{dome.cx} {dome.top} Q{dome.left + 12} {dome.top} {dome.left +": "M{dome.cx} {dome.top} Q{dome.left + 12} {dome.top} {dome.left +", + "M{dome.left} {dome.bottom} C{dome.left} {dome.top}, {dome.left} {dome.top}, {dome.cx} {dome.top} S{dome.right} {dome.top}, {dome.right} {dome.bottom} Z": "M{dome.left} {dome.bottom} C{dome.left} {dome.top}, {dome.left} {dome.top}, {dome.cx} {dome.top} S{dome.right} {dome.top}, {dome.right} {dome.bottom} Z", + "New Chemicals": "新化工", + "New Chemicals Factory Prototype": "新化工厂原型", + "New Chemicals cards are worth 14–26 credits. Each new factory costs 60 and consumes at least one Research card. You do not need to own a Laboratory if you obtain Research another way, such as Scientists.": "新化工牌价值 14–26 信用点。每座新工厂花费 60,付款至少需要一张研究牌。如果通过科学家等其他方式获得研究牌,就不必拥有实验室。", + "New Chemicals factories requires spending": "新化工厂需要支付", + "New Chemicals factory requires spending": "新化工厂需要支付", + "New era": "新时代", + "New factory:": "新工厂:", + "Next chapter": "下一章", + "Next chapter:": "下一章:", + "Next chapter: {p0}": "下一章:{p0}", + "Next era next round": "下一轮进入新时代", + "No": "否", + "No events yet": "暂无事件", + "No messages yet": "暂无消息", + "No {p0} {p1} available in this lesson.": "本课中没有可用的 {p0} {p1}。", + "No, only staffed factories and upgrades score": "不能,只有有人操作的工厂和升级牌计分", + "No, the first to 75 wins immediately": "不,先到 75 分者立即获胜", + "Nodule": "结核舱", + "Not quite.": "不太对。", + "Not quite. {p0}": "不太对。{p0}", + "OUTPOST": "OUTPOST", + "On the block": "正在拍卖", + "On your turn, auction upgrades before buying factories or colonists. Heavy Equipment costs at least 25. It unlocks Titanium factories and gives discounts on other upgrades. This chapter uses open bidding.": "回合中必须先拍卖升级牌,再购买工厂或殖民者。重型设备最低价格为 25,可解锁钛工厂,并为其他升级牌提供折扣。本章采用公开竞价。", + "Once per round, trade an": "每轮一次,可交换一张", + "One Mega card uses four spaces, just like the four production cards it replaces.": "一张巨型牌占用四个容量,与它替代的四张生产牌相同。", + "One Robots upgrade and three colonists let you operate up to three robots. They use no colonist capacity.": "一张机器人升级牌和三名殖民者最多允许三个机器人工作,且不占人口容量。", + "One secret bid each": "每人一次秘密出价", + "Only players can send messages": "只有玩家可以发送消息", + "Open an auction, raise a bid and pay for Heavy Equipment.": "发起拍卖、加价并支付重型设备。", + "Open at 25": "以 25 起拍", + "Open the Ecoplants auction at 30. Ada and Leo cannot beat that bid with their remaining cards, so they pass automatically.": "以 30 发起生态工厂拍卖。Ada 和 Leo 的剩余手牌无法超过此出价,因此自动放弃。", + "Opening bid before discount": "折扣前起拍价", + "Operators:": "操作员:", + "Orbital Lab": "轨道实验室", + "Orbital Medicine": "轨道医药", + "Ore": "矿石", + "Outpost": "前哨站", + "Outpost supports": "前哨站支持", + "Outpost supports {p0}-{p1} players": "前哨站支持 {p0}–{p1} 名玩家", + "Over hand capacity: discard": "超过手牌容量:弃掉", + "Over hand capacity: discard {p0} more card{p1} (selected {p2}; research and microbiotics don't count).": "超过手牌容量:还需弃掉 {p0} 张牌{p1}(已选择 {p2};研究和微生物不计入)。", + "Over hand capacity: discard {p19} more card{p20} (selected {p21}; research and microbiotics don't count).": "超过手牌容量:还需弃掉 {p19} 张牌{p20}(已选择 {p21};研究和微生物不计入)。", + "Owns": "拥有", + "Owns {p0} copies.": "拥有 {p0} 张。", + "Pass": "放弃", + "Pay": "支付", + "Pay 31, keep the rest": "支付 31,保留其余", + "Pay at most": "最多支付", + "Pay with the suggested 30-credit Orbital Medicine card. Ecoplants adds 5 VP and makes colonists cheaper. Watch your score rise from 70 to 75.": "使用建议的 30 信用点轨道医药牌付款。生态工厂增加 5 胜利分并降低殖民者价格。你的分数将从 70 升至 75。", + "Pay with your cards": "用手牌支付", + "Pay ◈": "支付 ◈", + "Pay ◈ {p0}": "支付 ◈ {p0}", + "Pay ◈ {p30}": "支付 ◈ {p30}", + "Payment / exchange": "付款/交换", + "Payment must include a research card": "付款必须包含研究牌", + "Payment must include a research card{p0}.": "付款必须包含研究牌{p0}。", + "People, robots and factories": "人类、机器人与工厂", + "Planetary Cruiser": "行星巡航舰", + "Player": "玩家", + "Player {p0}": "玩家 {p0}", + "Playtest tools · sounds": "试玩工具 · 音效", + "Previous step": "上一步", + "Produces a": "产出一张", + "Produces a {RESOURCE_LABELS[spec.produces]} card each round (per copy)": "每轮产出一张 {RESOURCE_LABELS[spec.produces]} 牌(每张)", + "Produces a {p2} card each round (per copy)": "每轮产出一张 {p2} 牌(每张)", + "Produces an": "产出一张", + "Production": "生产", + "Production: choose Mega cards": "生产:选择巨型牌", + "Production: choose Mega cards {p0} seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "生产:{p0}看到抽牌结果时选择巨型牌。每张需要四座运作中的工厂;其余产出保留为普通单牌。", + "Progress cannot be saved in this browser": "此浏览器无法保存进度", + "Put a robot to work": "让机器人开始工作", + "Put up for auction": "发起拍卖", + "REPLAY": "回放", + "Reach 75 VP": "达到 75 胜利分", + "Reach 75 VP and play through the end of the final round.": "达到 75 胜利分并完成最后一轮。", + "Received in an exchange — parked on your Wily Trader / Merchant House until the exchange step ends.": "交换所得:在交换步骤结束前暂存在精明商人/商行上。", + "Recent events": "近期事件", + "Recruit a colonist:": "招募殖民者:", + "Recruit a colonist: {p96} credits{p97}": "招募殖民者:{p96} 信用点{p97}", + "Recruit a colonist: {store.popCost} credits{me.upgrades.ecoplants > 0": "招募殖民者:{store.popCost} 信用点{me.upgrades.ecoplants > 0", + "Recruiting": "招募中", + "Recruiting {p0} colonist{p1}:": "招募 {p0} 名殖民者{p1}:", + "Refinery": "精炼厂", + "Reliable income has a trade-off": "稳定收入也有代价", + "Replay step": "重玩步骤", + "Research": "研究", + "Research funds your next expansion": "研究助你下一次扩张", + "Research has two uses": "研究的两种用途", + "Research opens new industry": "研究开启新工业", + "Ring Ore": "星环矿石", + "Robot Prototype": "机器人原型", + "Robot · ◈ 10": "机器人 · ◈ 10", + "Robots": "机器人", + "Robots owned / operating limit. Excess robots remain idle.": "持有机器人数/工作上限。超出的机器人闲置。", + "Round": "轮次", + "Round {p0}": "第 {p0} 轮", + "Saved in this browser": "已在此浏览器保存", + "Scientists": "科学家", + "Sealed bids": "密封竞价", + "Sealed bids and discounts": "密封竞价与折扣", + "Sealed bids —": "密封竞价 —", + "Sealed bids — {p0} still to bid{p1}": "密封竞价 — 还有 {p0} 人未出价{p1}", + "Sealed bids: waiting for": "密封竞价:等待", + "Sealed bids: waiting for {p0}…": "密封竞价:等待 {p0}…", + "See the result": "查看结果", + "Select Heavy Equipment in the market, then confirm Auction at 25. Other players can raise your bid even when it is not their action turn.": "选择市场中的重型设备,然后确认以 25 起拍。其他玩家即使不在自己的行动回合,也可以加价。", + "Send": "发送", + "Sending…": "发送中…", + "Set a maximum bid and see what you actually pay with a discount.": "设定最高出价,查看折扣后的实际付款。", + "Set your maximum to 60": "将最高出价设为 60", + "Shared victory:": "共同获胜:", + "Shared victory: {p0}": "共同获胜:{p0}", + "Show": "显示", + "Show area": "显示区域", + "Sign in to chat": "登录后即可聊天", + "Smelter": "冶炼厂", + "Space Station": "空间站", + "Spend a Research card as part of each factory’s 60-credit payment. Keeping it in hand is not enough.": "每座工厂的 60 信用点付款必须花掉一张研究牌。仅仅持有研究牌是不够的。", + "Spend one Research card per factory": "每座工厂花掉一张研究牌", + "Staged this turn:": "本回合已暂定:", + "Staged this turn: {p0} (undo to open an auction).": "本回合已暂定:{p0}(撤销后才能发起拍卖)。", + "Staged this turn: {p106} (undo to open an auction).": "本回合已暂定:{p106}(撤销后才能发起拍卖)。", + "Start": "开始", + "Storage is limited": "存储容量有限", + "Stronger income with the same colonists": "相同殖民者,更多收入", + "Supply exhausted": "供应已耗尽", + "Take": "领取", + "Take all as singles": "全部领取普通单牌", + "Take one Mega Water": "领取一张巨型水牌", + "Take {p0} mega": "领取 {p0} 张巨型牌", + "The auction price is 51. Your 20-credit discount reduces your payment to 31.": "成交价为 51。你的 20 信用点折扣将付款降至 31。", + "The leader needs": "领先者需要", + "The leader needs {p0} VP. The era changes when the next round begins. Exhausting the earlier upgrades for two consecutive rounds can also advance the era.": "领先者需要 {p0} 胜利分。下一轮开始时才会改变时代。连续两轮耗尽早期升级牌也能推进时代。", + "The market is empty. New upgrades arrive with the next colony ship.": "市场为空。下一艘殖民船将带来新的升级牌。", + "The ten Ore and two Water cards use 12 spaces. Both Research cards use none.": "十张矿石牌和两张水牌共占十二个容量。两张研究牌不占容量。", + "Titanium": "钛", + "Trade": "交换", + "Trade four random production cards for one fixed-value Mega card.": "用四张随机生产牌换取一张固定价值的巨型牌。", + "Tutorial": "教程", + "Tutorial navigation": "教程导航", + "Twelve cards, ten spaces": "十二张牌,十个容量", + "Understand hand capacity and choose which cards to discard.": "了解手牌容量,并选择要弃掉的牌。", + "Undo last": "撤销上一步", + "Undo your staged purchases to open an auction (auctions come first)": "撤销暂定购买后才能发起拍卖(拍卖必须先进行)", + "Unknown Outpost chapter": "未知的前哨站章节", + "Unlocks": "解锁", + "Unlocks {RESOURCE_LABELS[type]} factories (◈ {FACTORIES[type].cost} each, {FACTORIES[type].vp} VP manned)": "解锁 {RESOURCE_LABELS[type]} 工厂(每座 ◈ {FACTORIES[type].cost},有人操作时 {FACTORIES[type].vp} 胜利分)", + "Unlocks {p10} factories (◈ {p11} each, {p12} VP manned)": "解锁 {p10} 工厂(每座 ◈ {p11},有人操作时 {p12} 胜利分)", + "Unspent cards add no VP. Points come from staffed factories and upgrades.": "未花掉的牌不增加胜利分。分数来自有人操作的工厂和升级牌。", + "Unstaffed factories do nothing": "无人操作的工厂没有效果", + "Upgrades": "升级牌", + "Upgrades are auctioned": "升级牌通过拍卖购买", + "Use + to choose one Mega Water, then confirm Take 1 mega. A fixed 30 removes the uncertainty of four draws. Keeping all four singles would give separate cards that are easier to split across purchases.": "使用 + 选择一张巨型水牌,然后确认领取 1 张巨型牌。固定的 30 消除了四次抽牌的不确定性。保留四张普通牌则更方便分开用于不同购买。", + "Use Research to build New Chemicals": "使用研究建造新化工厂", + "VP": "胜利分", + "VP each and a ◈": "胜利分,并产出 ◈", + "VP manned)": "胜利分(有人操作时))", + "VP manned, produces a ◈": "胜利分(有人操作时),产出 ◈", + "VP to next era": "胜利分后进入下一时代", + "VP · finish the round": "胜利分 · 完成本轮", + "VP · list ◈": "胜利分 · 标价 ◈", + "VP, list": "胜利分,标价", + "VP, list ◈": "胜利分,标价 ◈", + "VP. The era changes when the next round begins. Exhausting the earlier upgrades for two consecutive rounds can also advance the era.": "胜利分。下一轮开始时才会改变时代。连续两轮耗尽早期升级牌也能推进时代。", + "Victory target:": "胜利目标:", + "Victory target: {p0} VP": "胜利目标:{p0} 胜利分", + "Victory target: {p20} VP": "胜利目标:{p20} 胜利分", + "Waiting for": "等待", + "Waiting for game state…": "等待游戏状态…", + "Waiting for {p0} to bid…": "等待 {p0} 出价…", + "Waiting for {p0} to discard…": "等待 {p0} 弃牌…", + "Waiting for {p0} to pay…": "等待 {p0} 付款…", + "Waiting for {p0} to take production…": "等待 {p0} 领取产出…", + "Waiting for {p0} to take their turn…": "等待 {p0} 行动…", + "Warehouse": "仓库", + "Watch the next production": "查看下一次生产", + "Watch their turns and production": "观看其他人的回合与生产", + "Water": "水", + "What must the payment include?": "付款必须包含什么?", + "When you draw": "当你抽到", + "Which cards use space?": "哪些牌占用容量?", + "Wily Trader": "精明商人", + "Wily Trader / Merchant House: click one of your": "精明商人/商行:点击你的一张", + "Wily Trader / Merchant House: click one of your {p0} cards to offer, then a player to trade with. They must hand back a higher-valued card of the same type if they have one.": "精明商人/商行:点击一张 {p0} 牌作为交换牌,再选择交换对象。如果对方有价值更高的同类牌,就必须交给你。", + "Wily Trader / Merchant House: waiting for": "精明商人/商行:等待", + "Wily Trader / Merchant House: waiting for {p0} to trade…": "精明商人/商行:等待 {p0} 交换…", + "Win Ecoplants": "赢得生态工厂", + "With the sealed-auction option, everyone submits one maximum bid or passes. Ada has opened a Scientists auction. You own two Data Libraries, giving you a 20-credit discount on Scientists. Bid amounts are compared before discounts.": "采用密封竞价时,每人提交一次最高出价或放弃。Ada 发起了科学家拍卖。你有两张数据库,因此购买科学家可享 20 信用点折扣。出价比较的是折扣前金额。", + "Yes, finish the round first": "是的,先完成本轮", + "Yes, money becomes VP": "是的,钱会转成胜利分", + "You": "你", + "You also hold a 60-credit Moon Ore card. Does keeping it in your hand add 60 VP?": "你还持有一张价值 60 信用点的月球矿石牌。留着它会增加 60 胜利分吗?", + "You bid 60, Leo bid 50 and Ada bid 40. The price is the second-highest bid plus 1, here 51. Subtract your two Data Libraries’ 20-credit discount. How much do you pay?": "你出价 60,Leo 出价 50,Ada 出价 40。成交价为次高价加 1,即 51。减去两张数据库的 20 信用点折扣,你需要支付多少?", + "You can't beat the high bid (your max is ◈": "无法超过当前最高出价(你的上限为 ◈", + "You can't beat the high bid (your max is ◈ {p0}).": "无法超过当前最高出价(你的上限为 ◈ {p0})。", + "You can't beat the high bid (your max is ◈ {p59}).": "无法超过当前最高出价(你的上限为 ◈ {p59})。", + "You collect one Water card and three Titanium cards. Those factories score 7 VP, plus 4 from your upgrades. Colonists start with a capacity of five; Nodules and Outposts increase it. Excess robots can be owned but stay idle until your operating limit grows.": "你领取一张水牌和三张钛牌。这些工厂提供 7 胜利分,加上升级牌的 4 分。初始人口上限为五,结核舱和前哨站可以提高上限。可以持有多余机器人,但它们会保持闲置,直到工作上限提高。", + "You have 21 credits in four cards. Purchases consume whole cards and give no change. If you spend all 21 on a Water factory costing 20, how many credits come back?": "你的四张牌总价值 21 信用点。购买必须花掉整张牌,不找零。如果用全部 21 购买价格 20 的水厂,会找回多少信用点?", + "You have 70 VP: 65 from upgrades and 5 from staffed Water factories. Ecoplants adds 5 VP. Reach 75 and this will be the last round. The player with the most VP when the round finishes wins.": "你有 70 胜利分:升级牌提供 65 分,有人操作的水厂提供 5 分。生态工厂增加 5 分。达到 75 后,本轮成为最后一轮。本轮结束时胜利分最高者获胜。", + "You have six factories but only three colonists. The three Titanium factories are idle: they produce nothing and score no VP. You already own the Robots upgrade, so you may buy robot tokens for 10 each.": "你有六座工厂,却只有三名殖民者。三座钛工厂闲置:没有产出,也不计胜利分。你已拥有机器人升级牌,因此可以每个 10 的价格购买机器人。", + "You hold 40 credits and have a 20-credit discount, so you can bid up to 60. Enter 60 and submit it. Other bidders must bid at least 41, one above the Scientists’ base price. Their amounts stay hidden until everyone responds.": "你持有 40 信用点并有 20 折扣,因此最高可出价 60。输入 60 并提交。其他人至少需要出价 41,比科学家的基础价高 1。所有人回应前,出价保持隐藏。", + "You hold fourteen cards: ten Ore, two Water and two Research. Research and Microbiotics use no hand capacity. How many of your cards count toward the limit?": "你持有十四张牌:十张矿石、两张水、两张研究。研究和微生物不占手牌容量。有多少张牌计入上限?", + "You hold ◈": "你持有 ◈", + "You hold ◈ {p0} {p1} {p2}": "你持有 ◈ {p0} {p1} {p2}", + "You hold ◈ {p39} {p40}": "你持有 ◈ {p39} {p40}", + "You hold ◈ {p82} {p83}": "你持有 ◈ {p82} {p83}", + "You keep 9 credits. The auction price never exceeds your bid or falls below the base price, then your discount applies. Equal highest bids are broken in purchase order starting with the auction opener. If everyone else passes, the opener pays the base price before discounts.": "你保留了 9 信用点。成交价不会超过你的出价,也不会低于基础价,然后再扣折扣。最高出价相同时,从发起者开始按购买顺序决定。如果其他人都放弃,发起者支付基础价减折扣。", + "You now have 75 VP, but Ada and Leo still have turns this round. Could another player still finish with more VP and win?": "你已有 75 胜利分,但 Ada 和 Leo 本轮还有回合。其他人仍可能以更高分获胜吗?", + "You receive no change. All 21 credits are spent, even though the factory costs 20.": "不会找零。虽然工厂只需 20,但全部 21 信用点都会花掉。", + "You won": "你赢得了", + "You won {p0}: select hand cards worth at least ◈ {p1} (selected {p2}).": "你赢得了 {p0}:请选择总价值至少为 ◈ {p1} 的手牌(已选择 {p2})。", + "You won: select hand cards worth at least ◈": "你获胜了:请选择总价值至少为 ◈ 的手牌", + "You won: select hand cards worth at least ◈ {p0} and confirm below (bid {p1}{p2}).": "你获胜了:请选择总价值至少为 ◈ {p0} 的手牌,并在下方确认(出价 {p1}{p2})。", + "Your Laboratory came with a Research factory and allows you to buy more. Staffed Research factories produce Research cards. Scientists also produce Research, without an operator. These cards spend like money, use no hand space, and unlock New Chemicals.": "实验室附赠一座研究工厂,并允许购买更多。有人操作的研究工厂产出研究牌。科学家无需操作员也能产出研究牌。这些牌可作为钱花掉,不占手牌容量,还能解锁新化工厂。", + "Your Mega card is worth 30 and uses four spaces. It is spent whole, with no change. Everyone can see its printed value; ordinary production card values stay private.": "你的巨型牌价值 30,占用四个容量。付款时必须整张花掉,不找零。所有人都能看到牌面价值;普通生产牌的价值则保密。", + "Your bid is in — waiting for the rest…": "已提交出价,等待其他人…", + "Your bid: raise to at least ◈": "轮到你出价:至少加至 ◈", + "Your bid: raise to at least ◈ {p0} or pass.": "轮到你出价:至少加至 ◈ {p0},或放弃。", + "Your colony starts with two Ore factories, one Water factory and three colonists. Each staffed factory produces one card per round and earns VP. Expand your colony to reach 75 VP.": "你的殖民地初始有两座矿石厂、一座水厂和三名殖民者。每座有人操作的工厂每轮产出一张牌并提供胜利分。扩张殖民地,达到 75 胜利分。", + "Your colony wins with 75 VP": "你的殖民地以 75 胜利分获胜", + "Your new factory is staffed and worth 3 VP. Watch the next round to receive a New Chemicals card, along with fresh Research for a future factory.": "新工厂已有操作员,价值 3 胜利分。下一轮可领取一张新化工牌,以及供未来工厂使用的新研究牌。", + "Your operators now run one Water and three Titanium factories. Watch the other players finish and collect your next production.": "你的操作员现在让一座水厂和三座钛工厂运转。等待其他玩家结束,领取下一轮产出。", + "Your sealed bid (hidden until everyone has bid):": "你的密封出价(所有人出价前隐藏):", + "Your ten counting cards fill the available storage. Both Research cards stay outside that limit. Production upgrades such as Scientists and Orbital Lab earn useful cards that do not crowd out your other income.": "计入容量的十张牌已占满存储空间。两张研究牌不计入。科学家、轨道实验室等生产升级牌能带来有用的牌,同时不挤占其他收入的容量。", + "Your three colonists now run two Water factories and one Ore factory. Average income rises from 13 to 17 credits per round. You still have 3 VP: only staffed factories score. The spare Ore factory can work again when you recruit another operator.": "三名殖民者现在操作两座水厂和一座矿石厂。平均每轮收入从 13 升至 17 信用点。你仍有 3 胜利分,因为只有有人操作的工厂计分。招募更多操作员后,闲置的矿石厂还能重新工作。", + "Your turn. Credits:": "轮到你了。信用点:", + "Your turn. Credits: {p0}": "轮到你了。信用点:{p0}", + "Your upgrade adds 1 VP and unlocks Titanium factories. Those factories cost 30, produce stronger cards and score 2 VP when staffed. In a normal turn you could auction another upgrade, then make purchases and finish your turn.": "新升级牌增加 1 胜利分,并解锁钛工厂。钛工厂价格为 30,产出的牌更有价值,有人操作时提供 2 胜利分。正常回合中,你可以继续拍卖另一张升级牌,再进行购买并结束回合。", + "[data-tutorial]": "[data-tutorial]", + "a card": "一张牌", + "action": "行动", + "actionbar": "actionbar", + "actions": "行动", + "alert": "警告", + "amount": "金额", + "an upgrade": "一张升级牌", + "and": "和", + "and confirm below (bid": "并在下方确认(出价", + "answer": "答案", + "article": "article", + "assign": "分配", + "assign all available operators before ending your turn": "结束回合前请分配所有可用操作员", + "auction": "拍卖", + "auctions": "拍卖", + "author": "作者", + "auto-pass (can't reach the price)": "自动放弃(无力支付)", + "auto-passes (can't reach the price)": "自动放弃(无力支付)", + "available in this lesson.": "在本课中可用。", + "avatar": "头像", + "avatar fallback": "avatar fallback", + "avg": "平均", + "background:": "background:", + "background: {playerColor(row.i)}": "background: {playerColor(row.i)}", + "badge": "badge", + "badge res-": "badge res-", + "badge res-{spec.freeFactory}": "badge res-{spec.freeFactory}", + "badge res-{spec.produces}": "badge res-{spec.produces}", + "badge res-{type}": "badge res-{type}", + "badges": "badges", + "banner": "banner", + "bar": "bar", + "barcell": "barcell", + "base": "基础", + "before": "之前", + "begins": "开始", + "begins —": "开始 —", + "bgs-chat-mentions-{p0}": "bgs-chat-mentions-{p0}", + "bid": "出价", + "bid must be at least": "出价至少为", + "bid must be at least {p0}": "出价至少为 {p0}", + "bid must be higher than": "出价必须高于", + "bid must be higher than {p0}": "出价必须高于 {p0}", + "bidbox": "bidbox", + "bidrow": "bidrow", + "bids": "出价", + "bids (per copy).": "的出价(每张)。", + "bids. Draw 1 extra": "的出价。额外抽取 1 张", + "biosphere": "生物圈", + "bldg": "bldg", + "block": "block", + "board": "游戏面板", + "body": "body", + "brand": "brand", + "build": "建造", + "builds": "建造", + "builds {p0} {p1} factories": "建造 {p0} 座 {p1} 工厂", + "builds {p0} {p1} factory": "建造 {p0} 座 {p1} 工厂", + "button": "button", + "buy": "购买", + "buy factory": "购买工厂", + "buy population": "招募殖民者", + "buy res-": "buy res-", + "buy res-{type}": "buy res-{type}", + "buy robots": "购买机器人", + "buying": "购买中", + "buying {p0} New Chemicals factories requires spending {p2} research card": "购买 {p0} 座新化工厂需要花掉 {p2} 张研究牌", + "buying {p0} New Chemicals factories requires spending {p2} research cards": "购买 {p0} 座新化工厂需要花掉 {p2} 张研究牌", + "buying {p0} New Chemicals factory requires spending {p2} research card": "购买 {p0} 座新化工厂需要花掉 {p2} 张研究牌", + "buying {p0} New Chemicals factory requires spending {p2} research cards": "购买 {p0} 座新化工厂需要花掉 {p2} 张研究牌", + "buys": "购买", + "buys is too large": "购买数量过大", + "buys must be an array": "购买项必须为数组", + "buys {p0} robot(s)": "购买 {p0} 个机器人", + "by": "出价者", + "cancel": "取消", + "cannot afford a bid of": "无法支付出价", + "cannot afford a bid of {p0} (needs {p1}, holds {p2})": "无法支付出价 {p0}(需要 {p1},持有 {p2})", + "cannot build": "无法建造", + "cannot build {p0} factories": "无法建造 {p0} 座工厂", + "cannot offer a": "无法提供", + "cannot offer a mega": "无法提供巨型牌", + "cannot offer a mega {p1} card in an exchange": "交换时不能提供巨型 {p1} 牌", + "cannot offer a {p1} card in an exchange": "交换时不能提供 {p1} 牌", + "cannot take": "无法领取", + "cannot take {p0} mega {p1} card(s)": "无法领取 {p0} 张巨型 {p1} 牌", + "cantbid": "cantbid", + "caption": "caption", + "caption kicker-caption": "caption kicker-caption", + "card": "卡牌", + "card each round (per copy)": "牌,每轮一次(每张)", + "card each round when manned": "牌,有人操作时每轮产出", + "card in an exchange": "牌用于交换", + "card to another player for their higher-valued card of the same type.": "牌交给其他玩家,换取价值更高的同类牌。", + "card to exchange": "牌可供交换", + "card(s)": "张牌", + "cards": "卡牌", + "cards just produced — values hidden until you commit to Mega cards (rule 12.1)": "刚生产的牌:确认巨型牌选择前隐藏数值(规则 12.1)", + "cards over the hand capacity of": "张牌超过手牌容量", + "cards to offer, then a player to trade with. They must hand back a higher-valued card of the same type if they have one.": "牌作为交换牌,再选择交换对象。如果对方有价值更高的同类牌,就必须交给你。", + "cards). −5 on": "张牌)。折扣 −5:", + "cards); comes with a free one.": "张牌);附赠一个。", + "cash": "资金", + "cash dim": "cash dim", + "cash dim selfrange": "cash dim selfrange", + "chat": "聊天", + "checkbox": "checkbox", + "chip": "chip", + "chip fchip res-": "chip fchip res-", + "chip fchip res-{token.f}": "chip fchip res-{token.f}", + "chip kchip": "chip kchip", + "chip rchip res-": "chip rchip res-", + "chip rchip res-{token.card}": "chip rchip res-{token.card}", + "chip rchip res-{token.r}": "chip rchip res-{token.r}", + "chip uchip era-": "chip uchip era-", + "chip uchip era-{upgradeEra(token.u)}": "chip uchip era-{upgradeEra(token.u)}", + "click": "点击", + "colonist": "殖民者", + "colonist(s)": "名殖民者", + "colonists": "殖民者", + "colonists / population limit": "殖民者/人口上限", + "colonist{p58}: {p59} Buying": "名殖民者{p58}:{p59} 购买", + "colony": "殖民地", + "columns": "columns", + "combobox": "combobox", + "comet": "comet", + "complete": "完成", + "composer": "composer", + "confirm": "确认", + "controls": "控制", + "core": "core", + "count": "数量", + "crater": "crater", + "craters": "craters", + "credits": "信用点", + "deg": "deg", + "detail": "详情", + "details": "详情", + "discard": "弃牌", + "discards": "弃掉", + "discount": "折扣", + "div": "div", + "done": "完成", + "dot": "dot", + "each,": "每个,", + "ecoplants": "生态工厂", + "edited": "已编辑", + "empty": "空", + "end": "结束", + "ended": "已结束", + "entries": "条记录", + "entry": "记录", + "entry dim": "entry dim", + "entry {p0} / {p1}": "记录 {p0}/{p1}", + "entry {p1} / {p2}": "记录 {p1}/{p2}", + "era": "时代", + "eramark era-": "eramark era-", + "eramark era-{era === 'II' ? 2 : 3}": "eramark era-{era === 'II' ? 2 : 3}", + "es": "es", + "exchange": "交换", + "expected an object": "应为对象", + "factor": "工厂", + "factories": "工厂", + "factories (manned)": "座工厂(有人操作)", + "factories (◈": "座工厂(◈", + "factories manned.": "座工厂有人操作。", + "factories manned. {p40}": "座工厂有人操作。{p40}", + "factories:": "工厂:", + "factory": "工厂", + "factory (manned)": "工厂(有人操作)", + "factory (unmanned)": "工厂(无人操作)", + "factory: ◈": "工厂:◈", + "factor{p53} (produces ◈ {p54}–{p55} per round when manned): {p56} Recruiting": "座工厂{p53}(有人操作时每轮产出 ◈ {p54}–{p55}):{p56} 招募", + "false": "false", + "fdot": "fdot", + "fdots": "fdots", + "feed": "feed", + "fgroup res-": "fgroup res-", + "fgroup res-{group.type}": "fgroup res-{group.type}", + "fill": "fill", + "finish": "完成", + "flow": "flow", + "flow mega-flow": "flow mega-flow", + "flow wrap": "flow wrap", + "fly": "fly", + "focus": "focus", + "footprint": "footprint", + "for": "换取", + "for a higher one": "换取更高价值的牌", + "for {p0} {p1}": "换取 {p0} {p1}", + "free factory": "免费工厂", + "glass": "glass", + "group": "组", + "hand": "手牌", + "hand capacity (per copy)": "手牌容量(每张)", + "hand cards counting toward capacity / hand capacity (research and microbiotics are exempt)": "计入容量的手牌/手牌容量(研究和微生物不计入)", + "has dropped": "已退出", + "has ended their turn this round": "已结束本轮回合", + "has no": "没有", + "hcount res-": "hcount res-", + "hcount res-{res}": "hcount res-{res}", + "head": "head", + "height": "height", + "hint": "提示", + "hint dim": "hint dim", + "hint gold-hint": "hint gold-hint", + "hint warn": "hint warn", + "icon": "icon", + "identity": "身份", + "ies": "ies", + "ies requires": "座需要", + "in production, draw 1 extra": "时,额外抽取 1 张", + "init": "init", + "input": "input", + "instant": "instant", + "intro": "intro", + "invalid card index": "卡牌索引无效", + "invalid factory count": "工厂数量无效", + "invalid market index": "市场索引无效", + "invalid move:": "行动无效:", + "invalid move: {p0}": "行动无效:{p0}", + "invalid player": "玩家无效", + "invalid player {p0}": "玩家 {p0} 无效", + "invalid population count": "人口数量无效", + "invalid robot count": "机器人数量无效", + "invalid target": "目标无效", + "is less than the required": "少于所需金额", + "is too large": "过大", + "item": "item", + "item dim": "item dim", + "item era": "item era", + "item phase": "item phase", + "kcount": "kcount", + "kicker": "加成", + "label": "label", + "laboratory": "实验室", + "left in the Era": "剩余于时代", + "left in the supply — Era": "供应剩余 — 时代", + "limit": "上限", + "link": "link", + "list": "标价", + "listbox": "listbox", + "loading": "加载中", + "log": "日志", + "log does not start with an init entry": "日志未以初始化记录开头", + "long": "long", + "lost": "损失", + "lowpass": "lowpass", + "main": "main", + "manned": "有人操作", + "mans": "分配操作员到", + "mans {p0} factories": "为 {p0} 座工厂分配操作员", + "mans {p0} factory": "为 {p0} 座工厂分配操作员", + "mark": "mark", + "market": "市场", + "marks": "marks", + "max ◈": "最高 ◈", + "max ◈ {p0}": "最高 ◈ {p0}", + "max ◈ {p107}": "最高 ◈ {p107}", + "max ◈ {p46}": "最高 ◈ {p46}", + "maxeq": "maxeq", + "maxhint": "maxhint", + "maxline": "maxline", + "me": "我", + "medal": "medal", + "mega": "巨型", + "mega production card": "巨型生产牌", + "mega production cards": "巨型生产牌", + "mention": "提及", + "microbiotics": "微生物", + "min ◈": "最低 ◈", + "min ◈ {p0}": "最低 ◈ {p0}", + "min ◈ {p0} {p1}": "最低 ◈ {p0} {p1}", + "min ◈ {p18} {p19} · you pay ◈ {p20}{p21}": "最低 ◈ {p18} {p19} · 你支付 ◈ {p20}{p21}", + "min ◈ {p87}": "最低 ◈ {p87}", + "missing action": "缺少行动", + "moon": "月球", + "moonbody": "moonbody", + "more before ending your turn.": "名,才能结束回合。", + "more card": "张牌", + "mousedown": "mousedown", + "move": "行动", + "moves": "步行动", + "must be an array": "必须为数组", + "must be an integer in [": "必须是以下范围内的整数:[", + "name": "名称", + "nav": "nav", + "nd": "nd", + "needed).": "需要)。", + "needs a research card in payment": "付款需要研究牌", + "no auction in progress": "当前没有拍卖", + "no cards": "没有卡牌", + "no discard expected from this player": "当前不需要此玩家弃牌", + "no exchange in progress": "当前没有交换", + "no factories": "没有工厂", + "no move expected from player": "当前不需要此玩家行动", + "no move expected from player {p0}": "当前不需要玩家 {p0} 行动", + "no move expected in phase": "此阶段不能行动:", + "no move expected in phase {p0}": "阶段 {p0} 不能行动", + "no payment expected from this player": "当前不需要此玩家付款", + "no production pending for this player": "此玩家没有待领取的产出", + "nodule": "结核舱", + "none": "无", + "not a sealed-bid auction": "当前不是密封竞价", + "not in the action phase": "当前不是行动阶段", + "not in the exchange step": "当前不是交换步骤", + "not this player's action turn": "当前不是此玩家的行动回合", + "not this player's exchange turn": "当前不是此玩家的交换回合", + "not this player's turn to bid": "当前未轮到此玩家出价", + "number": "数字", + "numeric": "numeric", + "object": "object", + "off": "关闭", + "offers": "提供", + "only": "仅", + "only {p0} operators available": "只有 {p0} 名可用操作员", + "open": "打开", + "opening bid must be at least": "起拍价至少为", + "opening bid must be at least {p0}": "起拍价至少为 {p0}", + "operator": "操作员", + "operators available": "名可用操作员", + "option": "选项", + "or pass.": "或放弃。", + "order": "顺序", + "ore": "矿石", + "outpost": "前哨站", + "overpaid": "超额支付", + "overpaid credits are lost: the colony gives no change": "多付的信用点会损失:殖民地不找零", + "page": "page", + "panel": "panel", + "pass": "放弃", + "passes on the auction": "放弃拍卖", + "passes on the exchange": "放弃交换", + "passes —": "放弃 —", + "path": "path", + "pay": "支付", + "pay at most": "最多支付", + "payment of": "付款金额", + "payment of {p0} is less than the required {p1}": "付款 {p0} 少于所需的 {p1}", + "pcard res-": "pcard res-", + "pcard res-{card.t}": "pcard res-{card.t}", + "per": "每", + "per factory (◈": "每座工厂(◈", + "per factory (◈ {p0} research)": "每座工厂(◈ {p0} 研究)", + "per round when manned):": "有人操作时每轮):", + "pile": "牌堆", + "player": "玩家", + "player {p0} has dropped": "玩家 {p0} 已退出", + "players": "玩家", + "plusdisc": "plusdisc", + "polite": "polite", + "population": "人口", + "population limit (per copy)": "人口上限(每张)", + "population limit is": "人口上限为", + "population limit is {p0}": "人口上限为 {p0}", + "pos": "pos", + "possible hand value: card types are public, values are hidden (average shown in parentheses)": "可能的手牌价值:牌的类型公开,数值隐藏(括号内为平均值)", + "price": "价格", + "prod": "prod", + "produced:": "产出:", + "production": "生产", + "production per round: one card per manned factory plus free cards from producing upgrades (average in parentheses)": "每轮产出:每座有人操作的工厂一张牌,加上生产类升级牌的免费牌(括号内为平均值)", + "purchase order: buys": "购买顺序:第", + "purchase order: buys {orderPos}{orderPos === 1": "购买顺序:第 {orderPos}{orderPos === 1", + "purchase order: buys {p15}{p16} this round": "本轮购买顺序:第 {p15}{p16}", + "puts": "提供", + "px": "px", + "raise": "加价", + "rank": "排名", + "rd": "rd", + "recorded exchange does not match the target's hand": "记录中的交换与目标玩家手牌不符", + "recruits": "招募", + "recruits {p0} colonist(s)": "招募 {p0} 名殖民者", + "refinery": "精炼厂", + "region": "region", + "replaybar": "replaybar", + "requirement": "要求", + "requires Heavy Equipment": "需要重型设备", + "requires Laboratory": "需要实验室", + "requires the Robots upgrade": "需要机器人升级牌", + "research": "研究", + "research card": "研究牌", + "research cards": "研究牌", + "research)": "研究)", + "resize": "resize", + "result": "结果", + "rib": "rib", + "ribbon": "ribbon", + "rim": "rim", + "ring": "ring", + "robot": "机器人", + "robot(s)": "个机器人", + "robots": "机器人", + "robot{p61}: {p62} selected": "个机器人{p61}:{p62} 已选择", + "rock r1": "rock r1", + "rock r2": "rock r2", + "rock r3": "rock r3", + "role": "role", + "roof": "roof", + "rotate(-18 12 12)": "rotate(-18 12 12)", + "rotate(-22 12 12)": "rotate(-22 12 12)", + "rotate(120 12 12)": "rotate(120 12 12)", + "rotate(60 12 12)": "rotate(60 12 12)", + "round": "轮次", + "row chips": "row chips", + "row hand": "row hand", + "row hand pending": "row hand pending", + "row picksum": "row picksum", + "row stats": "row stats", + "row tags": "row tags", + "running": "进行中", + "scene": "scene", + "scientists": "科学家", + "score": "得分", + "seal": "seal", + "section": "section", + "seedrandom": "seedrandom", + "seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "看到抽牌结果。每张需要四座运作中的工厂,其余产出保留为普通单牌。", + "selected": "已选择", + "selected · ◈": "已选择 · ◈", + "side": "side", + "signal": "signal", + "sine": "sine", + "slot": "slot", + "small": "small", + "smelter": "冶炼厂", + "smooth": "smooth", + "space": "space", + "span": "span", + "st": "st", + "staffing": "操作员分配", + "stag dim": "stag dim", + "stag era-": "stag era-", + "stag era-{x.era}": "stag era-{x.era}", + "stag era-{x.era} ks-era": "stag era-{x.era} ks-era", + "star": "star", + "station": "station", + "status": "状态", + "step": "步骤", + "still": "仍有", + "still to bid": "人尚未出价", + "still to bid{p10} : {p11}{p12}": "人尚未出价{p10}:{p11}{p12}", + "still {p0} cards over the hand capacity of {p1}": "仍有 {p0} 张牌超过手牌容量 {p1}", + "storage": "存储", + "string": "string", + "strip": "strip", + "stroke": "stroke", + "strong": "strong", + "style": "style", + "summary": "摘要", + "supply": "供应", + "supply ksupply": "supply ksupply", + "surface": "surface", + "svelte": "svelte", + "svg": "svg", + "system": "system", + "tail": "tail", + "take.{p0}": "领取。{p0}", + "takes": "领取", + "takes part in the sealed auction": "参与密封竞价", + "takes their production as single cards": "领取普通单牌产出", + "target": "目标", + "targethit": "targethit", + "text": "text", + "th": "th", + "the game has ended": "游戏已结束", + "the hand-value range other players see for you: your card types are public, only the values are hidden (their best guess in parentheses)": "其他玩家看到的你的手牌价值范围:卡牌类型公开,只有数值隐藏(括号内为估计值)", + "the upgrade": "升级牌", + "thin": "thin", + "this player has already bid": "此玩家已出价", + "this player has already ended their turn": "此玩家已结束回合", + "this round": "本轮", + "time": "时间", + "titanium": "钛", + "title": "title", + "to": "给", + "to bid…": "出价…", + "to discard…": "弃牌…", + "to pay…": "付款…", + "to take production…": "领取产出…", + "to take their turn…": "行动…", + "to trade…": "交换…", + "toggle": "toggle", + "toggle operator": "切换操作员", + "total": "总计", + "total hand value in credits": "手牌总价值(信用点)", + "track": "track", + "trade": "交换", + "trade here: they must hand back a higher-valued card of the offered type": "与其交换:对方必须交出所提供类型中价值更高的牌", + "trade target: they must hand back a higher-valued card of the offered type": "交换对象:对方必须交出所提供类型中价值更高的牌", + "trade with": "与其交换", + "trade with {p8}": "与 {p8} 交换", + "trade with {player.name}": "与 {player.name} 交换", + "trades": "交换", + "tradetarget": "tradetarget", + "translate(": "translate(", + "translate({b.x} {b.y})": "translate({b.x} {b.y})", + "true": "true", + "turn": "回合", + "ucard": "ucard", + "ucard kcard era-": "ucard kcard era-", + "ucard kcard era-{spec.era}": "ucard kcard era-{spec.era}", + "ueffect": "ueffect", + "uera era-": "uera era-", + "uera era-{spec.era}": "uera era-{spec.era}", + "uera era-{upgradeEra(upgrade)}": "uera era-{upgradeEra(upgrade)}", + "uname": "uname", + "undefined": "undefined", + "unit": "unit", + "unknown action": "未知行动", + "unknown action {p0}": "未知行动 {p0}", + "unknown buy kind": "未知购买类型", + "unknown factory type": "未知工厂类型", + "unlocks factory": "解锁工厂", + "unmanned": "无人操作", + "unreachable: two-player supply roll": "不应发生:双人供应掷骰", + "unread": "未读", + "up for auction at": "起拍价为", + "up for sealed auction": "进行密封拍卖", + "upgrade": "升级牌", + "upgrade (card #": "升级牌(卡牌 #", + "upgrade (counts against your robot limit once you own one).": "升级牌(获得后计入机器人上限)。", + "uprice": "uprice", + "url(#moonbody)": "url(#moonbody)", + "utag": "utag", + "utag ktag era-": "utag ktag era-", + "utag ktag era-{spec.era}": "utag ktag era-{spec.era}", + "uvp": "uvp", + "value": "价值", + "victory": "胜利", + "victory points": "胜利分", + "viewport": "viewport", + "vp": "vp", + "warehouse": "仓库", + "warn": "警告", + "watch": "watch", + "water": "水", + "width": "width", + "width:": "width:", + "width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(", + "win with": "获胜,得分", + "winner": "获胜者", + "wins": "获胜", + "wins at": "成交价", + "wins the sealed auction at": "密封竞价成交价", + "wins with": "获胜,得分", + "with": "持有", + "won": "赢得", + "xMidYMax slice": "xMidYMax slice", + "y requires": "座需要", + "your discount on this upgrade": "你购买此升级牌的折扣", + "{#each Array.from({p17}) as _, j (j)}": "{#each Array.from({p17}) as _, j (j)}", + "{#each displayed.segments ?? [{p27}] as segment} {p28}": "{#each displayed.segments ?? [{p27}] as segment} {p28}", + "{RESOURCE_LABELS[group.type]} factories: {FACTORIES[group.type].vp} VP each and a ◈ {MIN_CARD_VALUE[": "{RESOURCE_LABELS[group.type]} factories: {FACTORIES[group.type].vp} VP each and a ◈ {MIN_CARD_VALUE[", + "{RESOURCE_LABELS[token.card]} card": "{RESOURCE_LABELS[token.card]} card", + "{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})", + "{`The": "{`The", + "{groundHeight}px": "{groundHeight}px", + "{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}", + "{p0} +1 card/round ({p1}–{p2})": "{p0} 每轮 +1 张牌({p1}–{p2})", + "{p0} Cards must cover the payment; excess card value is not returned.": "{p0} 卡牌价值必须足够付款;多余金额不找零。", + "{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} 最高出价者以次高价加 1 成交;同价时按购买顺序优先。", + "{p0} OUTPOST": "{p0} OUTPOST", + "{p0} VP": "{p0} 胜利分", + "{p0} VP to next era": "距下一时代还有 {p0} 胜利分", + "{p0} VP · finish the round": "{p0} 胜利分 · 完成本轮", + "{p0} VP · list ◈ {p1}": "{p0} 胜利分 · 标价 ◈ {p1}", + "{p0} bids {p1}": "{p0} 出价 {p1}", + "{p0} bids {p1} (sealed) — {p2} wins at {p3}": "{p0} 出价 {p1}(密封)— {p2} 以 {p3} 获胜", + "{p0} buys {p1} (paid {p2})": "{p0} 购买 {p1}(支付 {p2})", + "{p0} card": "{p0} 牌", + "{p0} card{p1} selected · ◈ {p2}": "已选择 {p0} 张牌{p1} · ◈ {p2}", + "{p0} colonist": "{p0} 名殖民者", + "{p0} colonists": "{p0} 名殖民者", + "{p0} discards {p1} card(s)": "{p0} 弃掉 {p1} 张牌", + "{p0} entry": "{p0} 条记录", + "{p0} factory": "{p0} 工厂", + "{p0} factory: ◈ {p1}, {p2} VP manned, produces a ◈ {p3}–{p4} card each round when manned": "{p0} 工厂:◈ {p1},有人操作时提供 {p2} 胜利分,每轮产出一张 ◈ {p3}–{p4} 的牌", + "{p0} free factory": "免费 {p0} 工厂", + "{p0} has no {p1} card to exchange": "{p0} 没有 {p1} 牌可交换", + "{p0} is too large": "{p0} 过大", + "{p0} moves": "{p0} 步行动", + "{p0} must be an array": "{p0} 必须为数组", + "{p0} must be an integer in [{p1}, {p2}]": "{p0} 必须为 [{p1}, {p2}] 范围内的整数", + "{p0} offers {p1} to {p2}, who has nothing higher to trade back": "{p0} 向 {p2} 提供 {p1},但对方没有价值更高的同类牌可交换", + "{p0} overpaid": "超额支付 {p0}", + "{p0} passes on the auction": "{p0} 放弃拍卖", + "{p0} passes on the exchange": "{p0} 放弃交换", + "{p0} passes — {p1} wins the sealed auction at {p2}": "{p0} 放弃 — {p1} 以 {p2} 赢得密封拍卖", + "{p0} puts {p1} up for auction at {p2}": "{p0} 将 {p1} 以 {p2} 起拍", + "{p0} puts {p1} up for sealed auction": "{p0} 将 {p1} 进行密封拍卖", + "{p0} robot": "{p0} 个机器人", + "{p0} robots": "{p0} 个机器人", + "{p0} selected {p1} / ◈ {p2}. {p3}": "{p0} 已选择 {p1}/◈ {p2}。{p3}", + "{p0} takes part in the sealed auction": "{p0} 参与密封竞价", + "{p0} takes their production as single cards": "{p0} 领取普通单牌产出", + "{p0} takes {p1} mega production card": "{p0} 领取 {p1} 张巨型生产牌", + "{p0} takes {p1} mega production cards": "{p0} 领取 {p1} 张巨型生产牌", + "{p0} trades {p1} with {p2}{p3}": "{p0} 与 {p2} 交换 {p1}{p3}", + "{p0} unlocks factory": "{p0} 解锁工厂", + "{p0} unread": "{p0} 条未读", + "{p0} wins": "{p0} 获胜", + "{p0} won {p1} for {p2}": "{p0} 以 {p2} 赢得 {p1}", + "{p0} {p1} (paid {p2}) and {p3}": "{p0} {p1}(支付 {p2})并且 {p3}", + "{p0} {p1} VP": "{p0} {p1} 胜利分", + "{p0} {p1} factories": "{p0} 座 {p1} 工厂", + "{p0} · you hold ◈ {p1}": "{p0} · 你持有 ◈ {p1}", + "{p0}: Biosphere": "{p0}:生物圈", + "{p0}: duplicate indices": "{p0}:索引重复", + "{p0}: expected an array of card indices": "{p0}:应为卡牌索引数组", + "{p0}: invalid index {p1}": "{p0}:索引 {p1} 无效", + "{p0}: {p1} (Kicker)": "{p0}:{p1}(加成)", + "{p0}: {p1} factory (manned)": "{p0}:{p1} 工厂(有人操作)", + "{p0}: {p1} factory (unmanned)": "{p0}:{p1} 工厂(无人操作)", + "{p0}Round {p1}: colony ship arrives: {p2}": "{p0}第 {p1} 轮:殖民船抵达:{p2}", + "{p0}deg": "{p0}deg", + "{p0}px": "{p0}px", + "{p10} card": "{p10} 牌", + "{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117}({p118} 胜利分,标价 ◈ {p119}):{p120} ×{p121} 剩余于时代 {p122} 牌堆{p123}", + "{p123} overpaid": "超额支付 {p123}", + "{p126} card{p127} selected · ◈ {p128}": "已选择 {p126} 张牌{p127} · ◈ {p128}", + "{p15} {p16} factories (manned)": "{p15} 座 {p16} 工厂(有人操作)", + "{p162} {p163} card{p164}": "{p162} 张 {p163} 牌{p164}", + "{p17} VP": "{p17} 胜利分", + "{p1} Shared victory: {p2} {p3} {p4} wins {p5}": "{p1} 共同获胜:{p2} {p3} {p4} 获胜 {p5}", + "{p1}{p2} (counts as 4 cards toward hand capacity)": "{p1}{p2}(占用 4 张牌的手牌容量)", + "{p23} (Era {p24})": "{p23}(时代 {p24})", + "{p2} VP · list ◈ {p3}": "{p2} 胜利分 · 标价 ◈ {p3}", + "{p42} {p43} Also confirms: {p44}. {p45}": "{p42} {p43} 同时确认:{p44}。{p45}", + "{p50} Building": "{p50} 建造中", + "{p52} Your bid: raise to at least ◈ {p53} or pass. {p54} Waiting for {p55} to bid… {p56}": "{p52} 轮到你出价:至少加至 ◈ {p53},或放弃。{p54} 等待 {p55} 出价… {p56}", + "{p57} ({p58} VP, list ◈ {p59}): {p60} ×{p61} left in the supply — Era {p62} upgrade (card #{p63}){p64}": "{p57}({p58} 胜利分,标价 ◈ {p59}):{p60} ×{p61} 剩余供应 — 时代 {p62} 升级牌(卡牌 #{p63}){p64}", + "{p66} factories: {p67} VP each and a ◈ {p68}–{p69} card each round when manned": "{p66} 工厂:每座有人操作时提供 {p67} 胜利分,并且每轮产出一张 ◈ {p68}–{p69} 的牌", + "{p7}: Biosphere": "{p7}:生物圈", + "{p86} VP": "{p86} 胜利分", + "{p9} VP · finish the round": "{p9} 胜利分 · 完成本轮", + "{parked": "{parked", + "{reason": "{reason", + "{spec.name} (Kicker, era {['', 'I', 'II', 'III'][": "{spec.name} (Kicker, era {['', 'I', 'II', 'III'][", + "{spec.name} ({spec.vp} VP, list ◈ {spec.price}): {effectToText(": "{spec.name} ({spec.vp} VP, list ◈ {spec.price}): {effectToText(", + "{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1": "{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1", + "{token.n} {RESOURCE_LABELS[token.f]} factories (manned)": "{token.n} {RESOURCE_LABELS[token.f]} factories (manned)", + "· you hold ◈": "· 你持有 ◈", + "· you hold ◈ {p31}": "· 你持有 ◈ {p31}", + "· you hold ◈ {p92}": "· 你持有 ◈ {p92}", + "· you pay ◈": "· 你支付 ◈", + "· you pay ◈ {p0}": "· 你支付 ◈ {p0}", + "— {p0} auto-pass (can't reach the price)": "— {p0} 自动放弃(无力支付)", + "— {p0} auto-passes (can't reach the price)": "— {p0} 自动放弃(无力支付)", + "← click to assign your": "← 点击分配你的", + "← click to assign your {p0} operator{p1}": "← 点击分配你的 {p0} 名操作员{p1}", + "← click to assign your {p83} operator{p84}": "← 点击分配你的 {p83} 名操作员{p84}", + "− discount": "− 折扣", + "− discount {p0}": "− 折扣 {p0}", + "− discount ◈": "− 折扣 ◈", + "− discount ◈ {p0}": "− 折扣 ◈ {p0}", + "− {p0} discount": "− {p0} 折扣", + "−10 on": "折扣 −10:", + "−30 on": "折扣 −30:", + "−5 on": "折扣 −5:", + "◈ {p0} / {p1} selected": "已选择 ◈ {p0}/{p1}", + "◈ {p120} / {p121} selected": "已选择 ◈ {p120}/{p121}", + "✓ done": "✓ 完成", + "✓ trading": "✓ 交换中", + "👤 cost ◈ 5": "👤 价格 ◈ 5", + "🤖 buy robots": "🤖 购买机器人", + "{p0} · ◈ {p1}": "{p0} · ◈ {p1}", + "Building {p0} {p1} factory (produces ◈ {p2}–{p3} per round when manned):": "建造 {p0} 座 {p1} 工厂(有人操作时每轮产出 ◈ {p2}–{p3}):", + "Building {p0} {p1} factories (produces ◈ {p2}–{p3} per round when manned):": "建造 {p0} 座 {p1} 工厂(有人操作时每轮产出 ◈ {p2}–{p3}):", + "−10 on {p0} and {p1} bids (per copy).": "{p0} 和 {p1} 的出价折扣 −10(每张)。", + "Allows {p0} ({p1} cards). −5 on {p2}/{p3}, −15 on {p4} (per copy).": "允许 {p0}({p1} 张牌)。{p2}/{p3} 折扣 −5,{p4} 折扣 −15(每张)。", + "Produces a {p0} ({p1}) each round (per copy).": "每轮产出一张 {p0}({p1})(每张)。", + "Produces a {p0} ({p1}) each round.": "每轮产出一张 {p0}({p1})。", + "Produces an {p0} ({p1}) each round.": "每轮产出一张 {p0}({p1})。", + "Allows {p0} ({p1} cards); comes with a free one.": "允许 {p0}({p1} 张牌);附赠一个。", + "Colonists cost 5 instead of 10. −10 on {p0} bids (per copy).": "殖民者价格从 10 降至 5。{p0} 的出价折扣 −10(每张)。", + "Free {p0}, +5 hand capacity, +5 population limit.": "附赠 {p0},手牌容量 +5,人口上限 +5。", + "When you draw {p0} in production, draw 1 extra {p1}, then discard 1 of them.": "生产时抽到 {p0},额外抽取 1 张 {p1},然后弃掉其中 1 张。", + "Comes with a free robot you can operate even without a {p0} upgrade (counts against your robot limit once you own one).": "附赠一个无需 {p0} 升级牌也能工作的机器人(拥有该升级牌后计入机器人上限)。", + "−5 on {p0} bids. Draw 1 extra {p1} per {p2}.": "{p0} 的出价折扣 −5。每 {p2} 额外抽取 1 张 {p1}。", + "Once per round, trade an {p0}/{p1}/{p2} card to another player for their higher-valued card of the same type.": "每轮一次,用一张 {p0}/{p1}/{p2} 牌与其他玩家交换价值更高的同类牌。", + "−30 on {p0}, {p1}, and {p2} bids.": "{p0}、{p1} 和 {p2} 的出价折扣 −30。", + "Like {p0}, but for {p1}, {p2}, and {p3} cards.": "类似 {p0},但适用于 {p1}、{p2} 和 {p3} 牌。", + "Comes with a free {p0} (no {p1} needed).": "附赠一个 {p0}(无需 {p1})。", + "Colonists to recruit: {p0}": "待招募的殖民者:{p0}", + "Robots to buy: {p0}": "待购买的机器人:{p0}", + "Hand limit exceeded. Cards still to discard: {p0} (selected: {p1}; Research and Microbiotics do not count).": "超过手牌上限。还需弃掉 {p0} 张牌(已选择 {p1};研究和微生物不计入)。", + "← Assign operators: {p0}": "← 分配操作员:{p0}", + "Selected cards: {p0} · ◈ {p1}": "所选牌:{p0} · ◈ {p1}", + "{p0} cards: {p1}": "{p0} 牌:{p1}", + "Factories staffed: {p0}/{p1}.": "已配备操作员的工厂:{p0}/{p1}。", + "Production: 1 Mega per 4 staffed factories.": "生产:每四座有人操作的工厂产出一张巨型牌。", + "Purchase order this round: {p0}": "本轮购买顺序:{p0}", + "New factory": "新工厂", + "How to buy": "如何购买", + "Remaining upgrades": "剩余升级牌", + "Remaining Kicker cards": "剩余加成牌", + "Pass auctions I can't afford": "自动放弃无力支付的拍卖", + "Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "当手牌加折扣无法满足所需出价时,自动放弃拍卖。这可能暴露你的手牌不足。", + "Choices stay hidden until everyone has confirmed.": "所有人确认前,选择保持隐藏。", + "Production choice locked.": "生产选择已锁定。", + "{p0} locks in their production choice": "{p0} 锁定了生产选择", + "Automatic production choice": "自动生产选择", + "Ask each round": "每轮询问", + "Always take singles": "始终领取普通单牌", + "Automatically submits each round, including this round if you haven't chosen yet.": "每轮自动提交;如果本轮尚未选择,也会立即提交。", + "Megas: ask each round": "巨型牌:每轮询问", + "Your sealed bid": "你的密封出价", + "Your bid": "你的出价", + "Min ◈ {p0} · Max ◈ {p1}": "最低 ◈ {p0} · 最高 ◈ {p1}", + "{p0} pending": "{p0} 待提交", + "Discount ◈ {p0}": "折扣 ◈ {p0}", + "Bid submitted": "出价已提交", + "Auction details": "拍卖详情", + "Revealed bids": "公开的出价", + "Paid ◈ {p0}": "已支付 ◈ {p0}", + "Due ◈ {p0}": "应付 ◈ {p0}", + "Change bid": "更改出价", + "Change choice": "更改选择", + "Production choice submitted.": "生产选择已提交。", + "Buy {p0} · ◈ {p1}": "购买 {p0} · ◈ {p1}", + "Decrease quantity": "减少数量", + "Include {p0} research card(s) in payment.": "付款中包含 {p0} 张研究牌。", + "Increase quantity": "增加数量", + "Max": "最大", + "Quantity": "数量", + "Selected cards cover {p0}.": "所选牌足以支付 {p0}。", + "{p0} {p1} factory": "{p0} 座 {p1} 工厂", + "◈ {p0} lost (no change).": "损失 ◈ {p0}(不找零)。", + "These cards can buy {p0}. Buy fewer anyway?": "这些牌可以购买 {p0}。仍要少买吗?", + "Buy {p0} anyway · ◈ {p1}": "仍购买 {p0} · ◈ {p1}", + "Undo my move": "撤销我的行动", + "Maximum Megas (ask if over limit)": "最多巨型牌(超限时询问)", + "Auto Megas paused: production exceeds your hand limit. Choose this round.": "自动巨型牌已暂停:产出超过手牌上限。请为本轮手动选择。" +} diff --git a/scripts/check-locales.mjs b/scripts/check-locales.mjs index 5ca8d56..0b5f004 100644 --- a/scripts/check-locales.mjs +++ b/scripts/check-locales.mjs @@ -7,7 +7,25 @@ if (!directory) { } const source = JSON.parse(await readFile(join(directory, "en.json"), "utf8")); const placeholders = (text) => [...text.matchAll(/\{\w+\}/g)].map((match) => match[0]).sort(); -const locales = ["en", "de", "fr", "pl", "ro", "el", "hi", "ru", "da", "pt-BR", "ko", "zh-TW", "vi", "it", "nl", "fa"]; +const locales = [ + "en", + "de", + "fr", + "pl", + "ro", + "el", + "hi", + "ru", + "da", + "pt-BR", + "ko", + "zh-TW", + "zh-CN", + "vi", + "it", + "nl", + "fa", +]; for (const locale of locales) { const catalog = JSON.parse(await readFile(join(directory, `${locale}.json`), "utf8")); assert.deepEqual(Object.keys(catalog).sort(), Object.keys(source).sort(), `${locale}: missing or extra strings`); diff --git a/scripts/localization.test.mjs b/scripts/localization.test.mjs index ac8c604..f365e1f 100644 --- a/scripts/localization.test.mjs +++ b/scripts/localization.test.mjs @@ -24,7 +24,7 @@ test("regional language preferences select supported catalogues", () => { assert.equal(resolveLocale("nl-BE"), "nl"); assert.equal(resolveLocale("pt-PT"), "pt-BR"); assert.equal(resolveLocale("zh-Hant-TW"), "zh-TW"); - assert.equal(resolveLocale("zh-CN"), "en"); + assert.equal(resolveLocale("zh-CN"), "zh-CN"); assert.equal(resolveLocale(undefined), "en"); }); test("dynamic values are reordered while player names stay unchanged", () => { @@ -64,7 +64,24 @@ test("decorative arrows and attached currency values keep their meaning", () => test("complete card effects preserve icons and allow localized word order", async () => { const { localizeEffect } = await import("../packages/viewer/src/lib/localized-effect.ts"); - const locales = ["en", "fr", "de", "nl", "da", "pl", "ro", "el", "hi", "ru", "pt-BR", "ko", "zh-TW", "vi", "it"]; + const locales = [ + "en", + "fr", + "de", + "nl", + "da", + "pl", + "ro", + "el", + "hi", + "ru", + "pt-BR", + "ko", + "zh-TW", + "zh-CN", + "vi", + "it", + ]; const actual = Object.fromEntries( await Promise.all( locales.map(async (locale) => [ @@ -142,3 +159,12 @@ test("Persian regional tags select Farsi", () => { assert.equal(resolveLocale("fa-IR"), "fa"); assert.equal(resolveLocale("fa_IR"), "fa"); }); + +test("Simplified Chinese aliases preserve Traditional Chinese preferences", () => { + for (const tag of ["zh", "zh-CN", "zh_CN", "zh-SG", "zh-Hans", "zh-Hans-CN"]) { + assert.equal(resolveLocale(tag), "zh-CN"); + } + for (const tag of ["zh-TW", "zh-HK", "zh-MO", "zh-Hant", "zh-Hant-CN"]) { + assert.equal(resolveLocale(tag), "zh-TW"); + } +}); diff --git a/tests/zh-cn-browser.mjs b/tests/zh-cn-browser.mjs new file mode 100644 index 0000000..9b9bf10 --- /dev/null +++ b/tests/zh-cn-browser.mjs @@ -0,0 +1,92 @@ +import { previewServer } from "./tutorial-preview.mjs"; +import assert from "node:assert/strict"; +import { chromium } from "playwright"; +import { initGame } from "../packages/engine/dist/index.js"; +import { stripSecret } from "../packages/engine/dist/wrapper.js"; + +const server = previewServer(); +await new Promise((resolve) => server.listen(0, "127.0.0.1", resolve)); +const base = `http://127.0.0.1:${server.address().port}`; +const browser = await chromium.launch({ executablePath: process.env.OUTPOST_CHROMIUM_EXECUTABLE }); +try { + for (const width of [390, 1400]) { + const page = await browser.newPage({ viewport: { width, height: 950 } }); + const errors = []; + const languageRequests = []; + page.on("request", (request) => { + if (request.url().endsWith(".json")) { + languageRequests.push(request.url()); + } + }); + page.on("pageerror", (error) => errors.push(error.message)); + await page.setContent('
'); + await page.addStyleTag({ path: "packages/viewer/dist/outpost-viewer.css" }); + await page.addScriptTag({ url: base + "/bundle.js" }); + const state = initGame(3, { fastBid: true, kicker: true }, "protocol-smoke"); + state.players.forEach((player, i) => { + player.name = ["You", "Full Name", "Other"][i]; + }); + await page.evaluate( + (state) => { + window.events = []; + window.emitter = window.outpost.launch("#app"); + for (const name of [ + "ready", + "move", + "replaceLog", + "fetchState", + "replay:info", + "player:clicked", + "chat:read", + "chat:send", + "update:setting", + ]) { + emitter.on(name, (data) => { + structuredClone(data); + events.push({ name, data }); + }); + } + emitter.emit("player", { index: 0 }); + emitter.emit("preferences", { sound: false }); + emitter.emit("state", state); + emitter.emit("chat:state", { + canSend: true, + mentions: [ + { id: "u0", name: "You", playerIndex: 0 }, + { id: "u1", name: "Full Name", playerIndex: 1 }, + ], + }); + emitter.emit( + "chat:messages", + Array.from({ length: 35 }, (_, i) => ({ + _id: (i + 1).toString(16).padStart(24, "0"), + text: `History ${i}`, + createdAt: new Date(2026, 8, i < 30 ? 12 : 13, 12).toISOString(), + type: "text", + author: "Other", + playerIndex: 2, + })) + ); + }, + stripSecret(state, 0) + ); + await page.waitForFunction(() => events.filter((e) => e.name === "ready").length === 1); + await page.evaluate(() => emitter.emit("preferences", { locale: "fr", sound: false })); + await page.waitForFunction(() => document.body.textContent.includes("Eau")); + assert.equal(languageRequests.length, 1); + await page.evaluate(() => emitter.emit("preferences", { locale: "zh-Hans-CN", sound: false })); + await page.waitForFunction(() => document.body.textContent.includes("矿石")); + assert.equal(languageRequests.length, 2); + await page.screenshot({ path: `/tmp/outpost-zh-CN-${width}.png`, fullPage: true }); + await page.evaluate(() => emitter.emit("preferences", { locale: "en", sound: false })); + await page.waitForFunction(() => document.body.textContent.includes("Water")); + await page.screenshot({ path: `/tmp/outpost-resource-icons-${width}.png`, fullPage: true }); + + assert.deepEqual(errors, []); + await page.close(); + } + console.log("Outpost Simplified Chinese: mobile/desktop lazy loading and language switching passed."); +} finally { + await browser.close(); + await new Promise((resolve) => server.close(resolve)); +}