Fix translations and structured message rendering across all locales
This commit is contained in:
parent
905a2277ad
commit
f45b2107ee
43 changed files with 1882 additions and 964 deletions
|
|
@ -21,6 +21,9 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Validate translations
|
||||
run: pnpm test:locales
|
||||
|
||||
- name: Format check (oxfmt)
|
||||
run: pnpm fmt:check
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
"test:tutorial:browser": "node tests/tutorial-browser.mjs",
|
||||
"preview:tutorial": "node tests/tutorial-preview.mjs",
|
||||
"test:locales": "node scripts/check-locales.mjs packages/viewer/src/localization && node --test scripts/localization.test.mjs",
|
||||
"test:locales:browser": "node tests/localization-browser.mjs",
|
||||
"test:scroll": "node tests/mobile-scroll.mjs",
|
||||
"test:bulk": "node tests/bulk-purchase-browser.mjs",
|
||||
"test:undo": "node tests/undo-browser.mjs"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "outpost-engine",
|
||||
"version": "0.10.28",
|
||||
"version": "0.10.29",
|
||||
"description": "Unofficial Outpost rules engine for boardgamers.space",
|
||||
"license": "AGPL-3.0",
|
||||
"files": [
|
||||
|
|
|
|||
271
packages/engine/src/describe.spec.ts
Normal file
271
packages/engine/src/describe.spec.ts
Normal file
|
|
@ -0,0 +1,271 @@
|
|||
import assert from "node:assert/strict";
|
||||
import { test } from "node:test";
|
||||
import { describeLog, describeLogEntry, type LogFormatter } from "./describe.js";
|
||||
import { initGame } from "./moves.js";
|
||||
import type { GameState, LogEntry, Move, MoveInfo } from "./types.js";
|
||||
|
||||
function game(): GameState {
|
||||
const state = initGame(3, {}, "describe");
|
||||
["not2cool", "Ore", "Pass"].forEach((name, seat) => {
|
||||
state.players[seat]!.name = name;
|
||||
});
|
||||
return state;
|
||||
}
|
||||
|
||||
function move(action: Move, info?: MoveInfo, player = 0): LogEntry {
|
||||
return { type: "move", player, move: action, info };
|
||||
}
|
||||
|
||||
function round(state: GameState, market: Extract<LogEntry, { type: "round" }>["market"] = []): LogEntry {
|
||||
const entry = state.log.find((entry) => entry.type === "round");
|
||||
assert.ok(entry?.type === "round");
|
||||
return { ...entry, round: 3, market, eraBegan: undefined };
|
||||
}
|
||||
|
||||
const french: Record<string, string> = {
|
||||
"{p0} mans {p1} factory": "{p0} occupe {p1} usine",
|
||||
"{p0} mans {p1} factories": "{p0} occupe {p1} usines",
|
||||
"mans {p0} factory": "occupe {p0} usine",
|
||||
"mans {p0} factories": "occupe {p0} usines",
|
||||
"builds a {p0} factory": "construit une usine de {p0}",
|
||||
"builds {p0} {p1} factories": "construit {p0} usines de {p1}",
|
||||
"recruits {p0} colonist(s)": "recrute {p0} colon(s)",
|
||||
"buys {p0} robot(s)": "achète {p0} robot(s)",
|
||||
"{p0} {p1} (paid {p2}) and {p3}": "{p0} {p1} (payé {p2}) et {p3}",
|
||||
"{p0} puts {p1} up for auction at {p2}": "{p0} met {p1} aux enchères à {p2}",
|
||||
"{p0} buys {p1} (paid {p2})": "{p0} achète {p1} (payé {p2})",
|
||||
"— {p0} auto-passes (can't reach the price)": "— {p0} passe automatiquement",
|
||||
"— {p0} auto-pass (can't reach the price)": "— {p0} passent automatiquement",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Manche {p1} : arrivée : {p2}",
|
||||
"Era {p0} begins —": "L'ère {p0} commence —",
|
||||
"{p0} {p1} VP": "{p0} {p1} PV",
|
||||
"Game over: {p0}": "Partie terminée : {p0}",
|
||||
"{p0} trades {p1} with {p2}{p3}": "{p0} échange {p1} avec {p2}{p3}",
|
||||
"{p0} offers {p1} to {p2}, who has nothing higher to trade back":
|
||||
"{p0} propose {p1} à {p2}, qui ne peut rien échanger",
|
||||
"for {p0} {p1}": "contre {p0} {p1}",
|
||||
"for a higher one": "contre une carte supérieure",
|
||||
"a card": "une carte",
|
||||
"an upgrade": "une amélioration",
|
||||
"the upgrade": "l'amélioration",
|
||||
"Player {p0}": "Joueur {p0}",
|
||||
"Data Library": "Bibliothèque",
|
||||
"Wily Trader": "Marchand rusé",
|
||||
"New Chemicals": "Nouveaux produits chimiques",
|
||||
Ore: "Minerai",
|
||||
Pass: "Passer",
|
||||
empty: "vide",
|
||||
};
|
||||
|
||||
const format: LogFormatter = (source, parameters) =>
|
||||
(french[source] ?? source).replace(/\{p(\d+)\}/g, (placeholder, index: string) =>
|
||||
String(parameters[Number(index)] ?? placeholder)
|
||||
);
|
||||
|
||||
test("default log descriptions preserve existing English, including compound messages", () => {
|
||||
const state = game();
|
||||
const cases: [LogEntry, string][] = [
|
||||
[state.log[0]!, "Game started with 3 players"],
|
||||
[round(state), "Round 3: colony ship arrives: empty"],
|
||||
[{ ...round(state), eraBegan: 2 } as LogEntry, "Era II begins — Round 3: colony ship arrives: empty"],
|
||||
[round(state, ["dataLibrary", "warehouse"]), "Round 3: colony ship arrives: Data Library, Warehouse"],
|
||||
[{ type: "end", scores: [75, 68, 42] }, "Game over: not2cool 75 VP, Ore 68 VP, Pass 42 VP"],
|
||||
[move({ action: "mega", take: {} }, { megaSealed: true }), "not2cool locks in their production choice"],
|
||||
[move({ action: "mega", take: {} }), "not2cool takes their production as single cards"],
|
||||
[move({ action: "mega", take: { water: 1 } }, { mega: 1 }), "not2cool takes 1 mega production card"],
|
||||
[move({ action: "mega", take: { water: 2 } }, { mega: 2 }), "not2cool takes 2 mega production cards"],
|
||||
[move({ action: "discard", cards: [0, 1] }), "not2cool discards 2 card(s)"],
|
||||
[move({ action: "discard", cards: [0] }, { discarded: 4 }), "not2cool discards 4 card(s)"],
|
||||
[move({ action: "auction", marketIndex: 0, bid: 15 }), "not2cool puts an upgrade up for auction at 15"],
|
||||
[
|
||||
move({ action: "auction", marketIndex: 0, bid: 15 }, { upgrade: "dataLibrary", autoPassed: [1, 2] }),
|
||||
"not2cool puts Data Library up for auction at 15 — Ore, Pass auto-pass (can't reach the price)",
|
||||
],
|
||||
[move({ action: "auction", marketIndex: 0, bid: -1 }), "not2cool puts an upgrade up for sealed auction"],
|
||||
[
|
||||
move({ action: "bid", amount: 18 }, { autoPassed: [1] }),
|
||||
"not2cool bids 18 — Ore auto-passes (can't reach the price)",
|
||||
],
|
||||
[move({ action: "bid", amount: -1 }), "not2cool takes part in the sealed auction"],
|
||||
[move({ action: "bidPass" }), "not2cool passes on the auction"],
|
||||
[move({ action: "pay", cards: [] }), "not2cool buys the upgrade (paid 0)"],
|
||||
[move({ action: "pay", cards: [0] }, { kicker: "wilyTrader", paid: 20 }), "not2cool buys Wily Trader (paid 20)"],
|
||||
[move({ action: "exchangePass" }), "not2cool passes on the exchange"],
|
||||
[move({ action: "exchange", card: 0, target: 1 }), "not2cool trades a card with Ore for a higher one"],
|
||||
[
|
||||
move({ action: "exchange", card: 0, target: 1 }, { exchangeGiven: { t: "ore", v: 2 }, exchangeTake: -1 }),
|
||||
"not2cool offers Ore 2 to Ore, who has nothing higher to trade back",
|
||||
],
|
||||
[
|
||||
move(
|
||||
{ action: "exchange", card: 0, target: 1 },
|
||||
{ exchangeGiven: { t: "newChemicals", v: 14 }, exchangeValue: 19 }
|
||||
),
|
||||
"not2cool trades New chemicals 14 with Ore for New chemicals 19",
|
||||
],
|
||||
[move({ action: "endTurn", buys: [], manned: [] }), "not2cool mans 0 factories"],
|
||||
[move({ action: "endTurn", buys: [], manned: [0] }), "not2cool mans 1 factory"],
|
||||
[
|
||||
move({ action: "endTurn", buys: [], manned: Array.from({ length: 9 }, (_, i) => i) }),
|
||||
"not2cool mans 9 factories",
|
||||
],
|
||||
[
|
||||
move(
|
||||
{
|
||||
action: "endTurn",
|
||||
buys: [
|
||||
{ buy: "factory", factory: "ore", cards: [] },
|
||||
{ buy: "factory", factory: "newChemicals", count: 2, cards: [] },
|
||||
{ buy: "population", count: 1, cards: [] },
|
||||
{ buy: "robots", count: 3, cards: [] },
|
||||
],
|
||||
manned: [0, 1, 2],
|
||||
},
|
||||
{ paid: 170 }
|
||||
),
|
||||
"not2cool builds a ore factory, builds 2 newChemicals factories, recruits 1 colonist(s), buys 3 robot(s) (paid 170) and mans 3 factories",
|
||||
],
|
||||
];
|
||||
for (const [entry, expected] of cases) {
|
||||
assert.equal(describeLogEntry(state, entry), expected);
|
||||
}
|
||||
state.log = cases.map(([entry]) => entry);
|
||||
assert.deepEqual(
|
||||
describeLog(state),
|
||||
cases.map(([, expected]) => expected)
|
||||
);
|
||||
});
|
||||
|
||||
test("structured manning and purchase messages keep player names opaque", () => {
|
||||
const state = game();
|
||||
for (const name of ["not2cool", "Ore", "Pass", "Data Library", "{p1} $& mans 9 factories"]) {
|
||||
state.players[0]!.name = name;
|
||||
assert.equal(
|
||||
describeLogEntry(
|
||||
state,
|
||||
move({ action: "endTurn", buys: [], manned: Array.from({ length: 9 }, (_, i) => i) }),
|
||||
undefined,
|
||||
format
|
||||
),
|
||||
`${name} occupe 9 usines`
|
||||
);
|
||||
assert.equal(
|
||||
describeLogEntry(state, move({ action: "endTurn", buys: [], manned: [0] }), undefined, format),
|
||||
`${name} occupe 1 usine`
|
||||
);
|
||||
assert.equal(
|
||||
describeLogEntry(
|
||||
state,
|
||||
move(
|
||||
{
|
||||
action: "endTurn",
|
||||
buys: [
|
||||
{ buy: "factory", factory: "ore", cards: [] },
|
||||
{ buy: "factory", factory: "newChemicals", count: 2, cards: [] },
|
||||
{ buy: "population", count: 2, cards: [] },
|
||||
{ buy: "robots", count: 3, cards: [] },
|
||||
],
|
||||
manned: [0, 1],
|
||||
},
|
||||
{ paid: 180 }
|
||||
),
|
||||
undefined,
|
||||
format
|
||||
),
|
||||
`${name} construit une usine de Minerai, construit 2 usines de Nouveaux produits chimiques, recrute 2 colon(s), achète 3 robot(s) (payé 180) et occupe 2 usines`
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
test("rounds, scores, card labels, and auto-pass lists are explicitly formatted", () => {
|
||||
const state = game();
|
||||
state.log = [
|
||||
{ ...round(state, ["dataLibrary", "dataLibrary"]), eraBegan: 3 } as LogEntry,
|
||||
round(state),
|
||||
move({ action: "auction", marketIndex: 0, bid: 15 }, { upgrade: "dataLibrary", autoPassed: [1, 2] }),
|
||||
move({ action: "auction", marketIndex: 0, bid: 15 }, { autoPassed: [1] }),
|
||||
move({ action: "pay", cards: [] }, { kicker: "wilyTrader", paid: 20 }, 1),
|
||||
move({ action: "pay", cards: [] }),
|
||||
{ type: "end", scores: [75, 68, 42] },
|
||||
];
|
||||
assert.deepEqual(describeLog(state, undefined, format), [
|
||||
"L'ère III commence — Manche 3 : arrivée : Bibliothèque, Bibliothèque",
|
||||
"Manche 3 : arrivée : vide",
|
||||
"not2cool met Bibliothèque aux enchères à 15 — Ore, Pass passent automatiquement",
|
||||
"not2cool met une amélioration aux enchères à 15 — Ore passe automatiquement",
|
||||
"Ore achète Marchand rusé (payé 20)",
|
||||
"not2cool achète l'amélioration (payé 0)",
|
||||
"Partie terminée : not2cool 75 PV, Ore 68 PV, Pass 42 PV",
|
||||
]);
|
||||
assert.equal(
|
||||
describeLogEntry(state, move({ action: "endTurn", buys: [], manned: [0] }, undefined, 3), undefined, format),
|
||||
"Joueur 4 occupe 1 usine"
|
||||
);
|
||||
});
|
||||
|
||||
test("exchange resource labels are localized separately from both player names", () => {
|
||||
const state = game();
|
||||
state.players[0]!.name = "Pass";
|
||||
const exchange: Move = { action: "exchange", card: 0, target: 1 };
|
||||
assert.equal(
|
||||
describeLogEntry(
|
||||
state,
|
||||
move(exchange, { exchangeGiven: { t: "newChemicals", v: 14 }, exchangeValue: 19 }),
|
||||
undefined,
|
||||
format
|
||||
),
|
||||
"Pass échange Nouveaux produits chimiques 14 avec Ore contre Nouveaux produits chimiques 19"
|
||||
);
|
||||
assert.equal(
|
||||
describeLogEntry(
|
||||
state,
|
||||
move(exchange, { exchangeGiven: { t: "ore", v: 2 }, exchangeValue: -1 }),
|
||||
undefined,
|
||||
format
|
||||
),
|
||||
"Pass échange Minerai 2 avec Ore contre une carte supérieure"
|
||||
);
|
||||
assert.equal(
|
||||
describeLogEntry(
|
||||
state,
|
||||
move(exchange, { exchangeGiven: { t: "ore", v: -1 }, exchangeValue: -1 }),
|
||||
undefined,
|
||||
format
|
||||
),
|
||||
"Pass échange une carte avec Ore contre une carte supérieure"
|
||||
);
|
||||
assert.equal(
|
||||
describeLogEntry(state, move(exchange, { exchangeGiven: { t: "ore", v: 2 }, exchangeTake: -1 }), undefined, format),
|
||||
"Pass propose Minerai 2 à Ore, qui ne peut rien échanger"
|
||||
);
|
||||
});
|
||||
|
||||
test("format callbacks never receive concealed auction values or production choices", () => {
|
||||
const state = game();
|
||||
state.options.fastBid = true;
|
||||
const calls: { source: string; parameters: readonly (string | number)[] }[] = [];
|
||||
const capture: LogFormatter = (source, parameters) => {
|
||||
calls.push({ source, parameters });
|
||||
return format(source, parameters);
|
||||
};
|
||||
const entries = [
|
||||
move({ action: "auction", marketIndex: 0, bid: 153 }, { upgrade: "dataLibrary", autoPassed: [1, 2] }),
|
||||
move({ action: "bid", amount: 179 }, { autoPassed: [1, 2] }),
|
||||
move({ action: "bidPass" }, { autoPassed: [1, 2] }),
|
||||
move({ action: "mega", take: { water: 2 } }, { megaSealed: true, mega: 2 }),
|
||||
];
|
||||
for (const entry of entries) {
|
||||
describeLogEntry(state, entry, 1, capture);
|
||||
}
|
||||
assert.deepEqual(calls, [
|
||||
{ source: "Data Library", parameters: [] },
|
||||
{ source: "{p0} puts {p1} up for sealed auction", parameters: ["not2cool", "Bibliothèque"] },
|
||||
{ source: "{p0} takes part in the sealed auction", parameters: ["not2cool"] },
|
||||
{ source: "{p0} takes part in the sealed auction", parameters: ["not2cool"] },
|
||||
{ source: "{p0} locks in their production choice", parameters: ["not2cool"] },
|
||||
]);
|
||||
assert.equal(describeLogEntry(state, entries[1]!, 0, capture), "not2cool bids 179");
|
||||
calls.length = 0;
|
||||
describeLogEntry(state, move({ action: "bid", amount: -1 }), 0, capture);
|
||||
assert.deepEqual(calls, [{ source: "{p0} takes part in the sealed auction", parameters: ["not2cool"] }]);
|
||||
});
|
||||
|
|
@ -1,128 +1,167 @@
|
|||
import { FACTORIES, KICKER_SPECS, UPGRADE_SPECS } from "./data.js";
|
||||
import type { GameState, LogEntry, MoveInfo } from "./types.js";
|
||||
|
||||
/**
|
||||
* Format a known message key with already-localized values. Parameters (including
|
||||
* player names and lists of names) are opaque: never translate or parse them.
|
||||
* Static card/resource labels are passed separately, with an empty parameter list.
|
||||
*/
|
||||
export type LogFormatter = (source: string, parameters: readonly (string | number)[]) => string;
|
||||
|
||||
function formatEnglish(source: string, parameters: readonly (string | number)[]): string {
|
||||
return source.replace(/\{p(\d+)\}/g, (placeholder, index: string) =>
|
||||
String(parameters[Number(index)] ?? placeholder)
|
||||
);
|
||||
}
|
||||
|
||||
/** Display name of the card a move concerns (colony upgrade or Kicker card). */
|
||||
function cardName(info: MoveInfo | undefined, fallback: string): string {
|
||||
function cardName(info: MoveInfo | undefined, fallback: string, format: LogFormatter): string {
|
||||
if (info?.kicker) {
|
||||
return KICKER_SPECS[info.kicker].name;
|
||||
return format(KICKER_SPECS[info.kicker].name, []);
|
||||
}
|
||||
if (info?.upgrade) {
|
||||
return UPGRADE_SPECS[info.upgrade].name;
|
||||
return format(UPGRADE_SPECS[info.upgrade].name, []);
|
||||
}
|
||||
return fallback;
|
||||
return format(fallback, []);
|
||||
}
|
||||
|
||||
function playerName(state: GameState, seat: number): string {
|
||||
return state.players[seat]?.name ?? `Player ${seat + 1}`;
|
||||
function playerName(state: GameState, seat: number, format: LogFormatter): string {
|
||||
return state.players[seat]?.name ?? format("Player {p0}", [seat + 1]);
|
||||
}
|
||||
|
||||
/** Display name of a production resource key (ore → Ore, newChemicals → New Chemicals). */
|
||||
function resourceName(t: string): string {
|
||||
const spaced = t.replace(/([a-z])([A-Z])/g, "$1 $2").toLowerCase();
|
||||
return spaced.charAt(0).toUpperCase() + spaced.slice(1);
|
||||
/** Localize resource labels, retaining historical spelling in default English logs. */
|
||||
function resourceName(t: string, format: LogFormatter, factory = false): string {
|
||||
const spaced = t.replace(/([a-z])([A-Z])/g, "$1 $2");
|
||||
if (format === formatEnglish) {
|
||||
return factory ? t : spaced.charAt(0).toUpperCase() + spaced.slice(1).toLowerCase();
|
||||
}
|
||||
return format(spaced.charAt(0).toUpperCase() + spaced.slice(1), []);
|
||||
}
|
||||
|
||||
/** Suffix naming the seats an auction auto-passed (they provably couldn't bid). */
|
||||
function autoPassSuffix(state: GameState, info: MoveInfo | undefined): string {
|
||||
function autoPassSuffix(state: GameState, info: MoveInfo | undefined, format: LogFormatter): string {
|
||||
const seats = info?.autoPassed;
|
||||
if (!seats || seats.length === 0) {
|
||||
return "";
|
||||
}
|
||||
return ` — ${seats.map((s) => playerName(state, s)).join(", ")} auto-pass${seats.length === 1 ? "es" : ""} (can't reach the price)`;
|
||||
const names = seats.map((s) => playerName(state, s, format)).join(", ");
|
||||
return ` ${format(
|
||||
seats.length === 1 ? "— {p0} auto-passes (can't reach the price)" : "— {p0} auto-pass (can't reach the price)",
|
||||
[names]
|
||||
)}`;
|
||||
}
|
||||
|
||||
export function describeLogEntry(state: GameState, entry: LogEntry, viewer?: number): string {
|
||||
/** Describe an entry without exposing information beyond the viewer's existing log view. */
|
||||
export function describeLogEntry(
|
||||
state: GameState,
|
||||
entry: LogEntry,
|
||||
viewer?: number,
|
||||
format: LogFormatter = formatEnglish
|
||||
): string {
|
||||
switch (entry.type) {
|
||||
case "init":
|
||||
return `Game started with ${entry.players} players`;
|
||||
return format("Game started with {p0} players", [entry.players]);
|
||||
case "round": {
|
||||
const market = entry.market.map((u) => UPGRADE_SPECS[u].name).join(", ") || "empty";
|
||||
const market = entry.market.map((u) => format(UPGRADE_SPECS[u].name, [])).join(", ") || format("empty", []);
|
||||
// eraBegan flags exactly the round the era advances; older logs lack
|
||||
// it and simply get no delimiter.
|
||||
const prefix = entry.eraBegan ? `Era ${["", "I", "II", "III"][entry.eraBegan]} begins — ` : "";
|
||||
return `${prefix}Round ${entry.round}: colony ship arrives: ${market}`;
|
||||
const prefix = entry.eraBegan ? `${format("Era {p0} begins —", [["", "I", "II", "III"][entry.eraBegan]!])} ` : "";
|
||||
return format("{p0}Round {p1}: colony ship arrives: {p2}", [prefix, entry.round, market]);
|
||||
}
|
||||
case "end": {
|
||||
const scores = entry.scores.map((vp, seat) => `${playerName(state, seat)} ${vp} VP`).join(", ");
|
||||
return `Game over: ${scores}`;
|
||||
const scores = entry.scores
|
||||
.map((vp, seat) => format("{p0} {p1} VP", [playerName(state, seat, format), vp]))
|
||||
.join(", ");
|
||||
return format("Game over: {p0}", [scores]);
|
||||
}
|
||||
case "move": {
|
||||
const name = playerName(state, entry.player);
|
||||
const name = playerName(state, entry.player, format);
|
||||
const move = entry.move;
|
||||
const info = entry.info;
|
||||
const sealed = state.options.fastBid === true;
|
||||
switch (move.action) {
|
||||
case "mega": {
|
||||
if (info?.megaSealed) {
|
||||
return `${name} locks in their production choice`;
|
||||
return format("{p0} locks in their production choice", [name]);
|
||||
}
|
||||
const count = info?.mega ?? 0;
|
||||
return count > 0
|
||||
? `${name} takes ${count} mega production card${count === 1 ? "" : "s"}`
|
||||
: `${name} takes their production as single cards`;
|
||||
? format(count === 1 ? "{p0} takes {p1} mega production card" : "{p0} takes {p1} mega production cards", [
|
||||
name,
|
||||
count,
|
||||
])
|
||||
: format("{p0} takes their production as single cards", [name]);
|
||||
}
|
||||
case "discard":
|
||||
return `${name} discards ${info?.discarded ?? move.cards.length} card(s)`;
|
||||
return format("{p0} discards {p1} card(s)", [name, info?.discarded ?? move.cards.length]);
|
||||
case "auction":
|
||||
if ((sealed && entry.player !== viewer) || move.bid < 0) {
|
||||
return `${name} puts ${cardName(info, "an upgrade")} up for sealed auction`;
|
||||
return format("{p0} puts {p1} up for sealed auction", [name, cardName(info, "an upgrade", format)]);
|
||||
}
|
||||
return (
|
||||
`${name} puts ${cardName(info, "an upgrade")} up for auction at ${move.bid}` +
|
||||
(sealed ? "" : autoPassSuffix(state, info))
|
||||
format("{p0} puts {p1} up for auction at {p2}", [name, cardName(info, "an upgrade", format), move.bid]) +
|
||||
(sealed ? "" : autoPassSuffix(state, info, format))
|
||||
);
|
||||
case "bid": {
|
||||
if ((sealed && entry.player !== viewer) || move.amount < 0) {
|
||||
return `${name} takes part in the sealed auction`;
|
||||
return format("{p0} takes part in the sealed auction", [name]);
|
||||
}
|
||||
return `${name} bids ${move.amount}` + (sealed ? "" : autoPassSuffix(state, info));
|
||||
return format("{p0} bids {p1}", [name, move.amount]) + (sealed ? "" : autoPassSuffix(state, info, format));
|
||||
}
|
||||
case "bidPass":
|
||||
if (sealed && entry.player !== viewer) {
|
||||
return `${name} takes part in the sealed auction`;
|
||||
return format("{p0} takes part in the sealed auction", [name]);
|
||||
}
|
||||
return `${name} passes on the auction` + (sealed ? "" : autoPassSuffix(state, info));
|
||||
return format("{p0} passes on the auction", [name]) + (sealed ? "" : autoPassSuffix(state, info, format));
|
||||
case "pay":
|
||||
return `${name} buys ${cardName(info, "the upgrade")} (paid ${info?.paid ?? 0})`;
|
||||
return format("{p0} buys {p1} (paid {p2})", [name, cardName(info, "the upgrade", format), info?.paid ?? 0]);
|
||||
case "exchange": {
|
||||
const target = playerName(state, move.target);
|
||||
const target = playerName(state, move.target, format);
|
||||
// The outcome is known the moment the exchange is offered (the
|
||||
// target hands back their lowest-higher card, or returns the
|
||||
// given card), so trade/decline shows at once. What stays
|
||||
// hidden until the exchange step ends is the received card's
|
||||
// VALUE: it is parked on the upgrade. -1 keeps neutral text.
|
||||
const given = info?.exchangeGiven;
|
||||
const givenText = given && given.v >= 0 ? `${resourceName(given.t)} ${given.v}` : "a card";
|
||||
const givenText =
|
||||
given && given.v >= 0 ? `${resourceName(given.t, format)} ${given.v}` : format("a card", []);
|
||||
if (info?.exchangeTake === -1) {
|
||||
return format("{p0} offers {p1} to {p2}, who has nothing higher to trade back", [name, givenText, target]);
|
||||
}
|
||||
const value = info?.exchangeValue ?? -1;
|
||||
const backText =
|
||||
(info?.exchangeValue ?? -1) >= 0
|
||||
? ` for ${given ? resourceName(given.t) : ""} ${info?.exchangeValue}`
|
||||
: " for a higher one";
|
||||
return info?.exchangeTake === -1
|
||||
? `${name} offers ${givenText} to ${target}, who has nothing higher to trade back`
|
||||
: `${name} trades ${givenText} with ${target}${backText}`;
|
||||
value >= 0
|
||||
? format("for {p0} {p1}", [given ? resourceName(given.t, format) : "", value])
|
||||
: format("for a higher one", []);
|
||||
return format("{p0} trades {p1} with {p2}{p3}", [name, givenText, target, ` ${backText}`]);
|
||||
}
|
||||
case "exchangePass":
|
||||
return `${name} passes on the exchange`;
|
||||
return format("{p0} passes on the exchange", [name]);
|
||||
case "endTurn": {
|
||||
const buys = (move.buys ?? []).map((buy) => {
|
||||
switch (buy.buy) {
|
||||
case "factory": {
|
||||
const count = buy.count ?? 1;
|
||||
return `builds ${count === 1 ? "a" : count} ${FACTORIES[buy.factory] ? buy.factory : "?"} factor${count === 1 ? "y" : "ies"}`;
|
||||
const resource = FACTORIES[buy.factory] ? resourceName(buy.factory, format, true) : "?";
|
||||
return count === 1
|
||||
? format("builds a {p0} factory", [resource])
|
||||
: format("builds {p0} {p1} factories", [count, resource]);
|
||||
}
|
||||
case "population":
|
||||
return `recruits ${buy.count} colonist(s)`;
|
||||
return format("recruits {p0} colonist(s)", [buy.count]);
|
||||
case "robots":
|
||||
return `buys ${buy.count} robot(s)`;
|
||||
return format("buys {p0} robot(s)", [buy.count]);
|
||||
}
|
||||
});
|
||||
const mans = `mans ${move.manned.length} factor${move.manned.length === 1 ? "y" : "ies"}`;
|
||||
return buys.length > 0
|
||||
? `${name} ${buys.join(", ")} (paid ${info?.paid ?? 0}) and ${mans}`
|
||||
: `${name} ${mans}`;
|
||||
const count = move.manned.length;
|
||||
if (buys.length === 0) {
|
||||
return format(count === 1 ? "{p0} mans {p1} factory" : "{p0} mans {p1} factories", [name, count]);
|
||||
}
|
||||
const mans = format(count === 1 ? "mans {p0} factory" : "mans {p0} factories", [count]);
|
||||
return format("{p0} {p1} (paid {p2}) and {p3}", [name, buys.join(", "), info?.paid ?? 0, mans]);
|
||||
}
|
||||
default:
|
||||
return `${name} moves`;
|
||||
return format("{p0} moves", [name]);
|
||||
}
|
||||
}
|
||||
default:
|
||||
|
|
@ -130,6 +169,6 @@ export function describeLogEntry(state: GameState, entry: LogEntry, viewer?: num
|
|||
}
|
||||
}
|
||||
|
||||
export function describeLog(state: GameState, viewer?: number): string[] {
|
||||
return state.log.map((entry) => describeLogEntry(state, entry, viewer));
|
||||
export function describeLog(state: GameState, viewer?: number, format?: LogFormatter): string[] {
|
||||
return state.log.map((entry) => describeLogEntry(state, entry, viewer, format));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -208,9 +208,12 @@ test("discard phase: over-capacity players must discard down to the cap", () =>
|
|||
assert.equal(state.phase, "discard");
|
||||
assert.ok(hoarder.mustDiscard);
|
||||
assert.ok(countingHandSize(hoarder) > handCapacity(hoarder));
|
||||
// Not enough discards rejected.
|
||||
assert.throws(() => applyMove(state, { action: "discard", cards: [0] }, 0));
|
||||
const excess = countingHandSize(hoarder) - handCapacity(hoarder);
|
||||
const beforeDiscard = JSON.stringify(state);
|
||||
assert.throws(() => applyMove(state, { action: "discard", cards: [0] }, 0), {
|
||||
message: `still ${excess - 1} cards over the hand capacity of ${handCapacity(hoarder)}`,
|
||||
});
|
||||
assert.equal(JSON.stringify(state), beforeDiscard);
|
||||
applyMove(state, { action: "discard", cards: Array.from({ length: excess }, (_, i) => i) }, 0);
|
||||
assert.equal(hoarder.mustDiscard, false);
|
||||
assert.equal(state.phase, "actions");
|
||||
|
|
|
|||
|
|
@ -539,7 +539,7 @@ function moveDiscard(
|
|||
const remaining = player.hand.filter((_, i) => !indices.includes(i));
|
||||
const counting = countingHandSize({ ...player, hand: remaining });
|
||||
if (counting > handCapacity(player)) {
|
||||
err(`still ${counting} cards over the hand capacity of ${handCapacity(player)}`);
|
||||
err(`still ${counting - handCapacity(player)} cards over the hand capacity of ${handCapacity(player)}`);
|
||||
}
|
||||
removeCards(state, player, indices);
|
||||
player.mustDiscard = false;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "outpost-viewer",
|
||||
"version": "0.1.29",
|
||||
"version": "0.1.30",
|
||||
"description": "Browser viewer for the Outpost game on boardgamers.space",
|
||||
"license": "AGPL-3.0",
|
||||
"files": [
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
needsMegaChoice,
|
||||
operators,
|
||||
} from "outpost-engine";
|
||||
import { formatText, resolveLocale, translateText } from "../localization";
|
||||
import ResourceIcon from "./ResourceIcon.svelte";
|
||||
import { RESOURCE_LABELS, type ViewerStore } from "./store.svelte";
|
||||
|
||||
|
|
@ -18,6 +19,7 @@
|
|||
}
|
||||
|
||||
let { store }: Props = $props();
|
||||
const locale = $derived(resolveLocale(store.preferences.locale));
|
||||
|
||||
const gameState = $derived(store.state);
|
||||
$effect(() => {
|
||||
|
|
@ -26,14 +28,28 @@
|
|||
const me = $derived(store.me);
|
||||
const exchangeOffer = $derived(store.exchangeCard === null ? undefined : me?.hand[store.exchangeCard]);
|
||||
const pending = $derived(store.pending);
|
||||
function purchaseText(kind: "factory" | "population" | "robots", count: number, factory?: string): string {
|
||||
if (kind === "factory") {
|
||||
return formatText(
|
||||
count === 1 ? "{p0} {p1} factory" : "{p0} {p1} factories",
|
||||
[count, translateText(RESOURCE_LABELS[factory ?? ""] ?? factory ?? "", locale)],
|
||||
locale
|
||||
);
|
||||
}
|
||||
return formatText(
|
||||
kind === "population"
|
||||
? count === 1
|
||||
? "{p0} colonist"
|
||||
: "{p0} colonists"
|
||||
: count === 1
|
||||
? "{p0} robot"
|
||||
: "{p0} robots",
|
||||
[count],
|
||||
locale
|
||||
);
|
||||
}
|
||||
const staged = $derived(
|
||||
store.turnBuys.map((buy) =>
|
||||
buy.buy === "factory"
|
||||
? `${buy.count ?? 1} ${RESOURCE_LABELS[buy.factory]} ${(buy.count ?? 1) === 1 ? "factory" : "factories"}`
|
||||
: buy.buy === "population"
|
||||
? `${buy.count} colonist${buy.count === 1 ? "" : "s"}`
|
||||
: `${buy.count} robot${buy.count === 1 ? "" : "s"}`
|
||||
)
|
||||
store.turnBuys.map((buy) => purchaseText(buy.buy, buy.count ?? 1, buy.buy === "factory" ? buy.factory : undefined))
|
||||
);
|
||||
const total = $derived(store.pickTotal());
|
||||
const pickCount = $derived(store.cardPick.length);
|
||||
|
|
@ -41,11 +57,7 @@
|
|||
const needsResearch = $derived(pending?.kind === "factory" && FACTORIES[pending.factory].needsResearchCard === true);
|
||||
const researchCount = $derived(store.cardPick.filter((i) => me?.hand[i]?.t === "research").length);
|
||||
const purchaseLabel = (count: number) =>
|
||||
pending?.kind === "factory"
|
||||
? `${count} ${RESOURCE_LABELS[pending.factory]} ${count === 1 ? "factory" : "factories"}`
|
||||
: pending?.kind === "population"
|
||||
? `${count} ${count === 1 ? "colonist" : "colonists"}`
|
||||
: `${count} ${count === 1 ? "robot" : "robots"}`;
|
||||
purchaseText(pending?.kind ?? "robots", count, pending?.kind === "factory" ? pending.factory : undefined);
|
||||
let warnedPurchase = $state<string | null>(null);
|
||||
const purchaseKey = $derived(JSON.stringify([pending, store.cardPick, total]));
|
||||
const needsBulkWarning = $derived(!!pending && store.pendingSelectedCount > pending.count);
|
||||
|
|
@ -72,29 +84,29 @@
|
|||
return "";
|
||||
}
|
||||
const name = (seat: number | undefined) =>
|
||||
seat === undefined ? "…" : (s.players[seat]?.name ?? `Player ${seat + 1}`);
|
||||
seat === undefined ? "…" : (s.players[seat]?.name ?? formatText("Player {p0}", [seat + 1], locale));
|
||||
switch (s.phase) {
|
||||
case "mega": {
|
||||
const seats = s.players.flatMap((p, i) => (needsMegaChoice(p) ? [i] : []));
|
||||
return `Waiting for ${seats.map(name).join(", ")} to take production…`;
|
||||
return formatText("Waiting for {p0} to take production…", [seats.map(name).join(", ")], locale);
|
||||
}
|
||||
case "discard": {
|
||||
const seats = s.players.flatMap((p, i) => (p.mustDiscard ? [i] : []));
|
||||
return `Waiting for ${seats.map(name).join(", ")} to discard…`;
|
||||
return formatText("Waiting for {p0} to discard…", [seats.map(name).join(", ")], locale);
|
||||
}
|
||||
case "exchange":
|
||||
return `Wily Trader / Merchant House: waiting for ${name(s.exchange?.seat)} to trade…`;
|
||||
return formatText("Wily Trader / Merchant House: waiting for {p0} to trade…", [name(s.exchange?.seat)], locale);
|
||||
case "actions":
|
||||
return `Waiting for ${name(s.activeSeat)} to take their turn…`;
|
||||
return formatText("Waiting for {p0} to take their turn…", [name(s.activeSeat)], locale);
|
||||
case "auction": {
|
||||
if (s.auction?.bids) {
|
||||
const pending = s.players.flatMap((p, i) => (!p.dropped && s.auction?.bids?.[i] === undefined ? [i] : []));
|
||||
return `Sealed bids: waiting for ${pending.map(name).join(", ")}…`;
|
||||
return formatText("Sealed bids: waiting for {p0}…", [pending.map(name).join(", ")], locale);
|
||||
}
|
||||
return `Auction: waiting for ${name(s.auction?.activeBidder)} to bid…`;
|
||||
return formatText("Auction: waiting for {p0} to bid…", [name(s.auction?.activeBidder)], locale);
|
||||
}
|
||||
case "auctionPayment":
|
||||
return `Auction: waiting for ${name(s.auction?.highBidder)} to pay…`;
|
||||
return formatText("Auction: waiting for {p0} to pay…", [name(s.auction?.highBidder)], locale);
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
|
@ -181,9 +193,12 @@
|
|||
</div>
|
||||
{:else if store.myPayment && me}
|
||||
<div class="flow">
|
||||
<span class="hint gold-hint">
|
||||
You won {auctionName}: select hand cards worth at least ◈ {store.myPaymentDue}
|
||||
(selected ◈ {total}).
|
||||
<span class="hint gold-hint" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{formatText(
|
||||
"You won {p0}: select hand cards worth at least ◈ {p1} (selected {p2}).",
|
||||
[translateText(auctionName, locale), store.myPaymentDue, `◈ ${total}`],
|
||||
locale
|
||||
)}
|
||||
</span>
|
||||
<button
|
||||
class="confirm"
|
||||
|
|
@ -200,8 +215,18 @@
|
|||
<span
|
||||
class="exchange-offer res-{exchangeOffer.t}"
|
||||
role="img"
|
||||
aria-label={`${RESOURCE_LABELS[exchangeOffer.t]}: ${exchangeOffer.v} credits`}
|
||||
title={`${RESOURCE_LABELS[exchangeOffer.t]}: ${exchangeOffer.v} credits`}
|
||||
translate="no"
|
||||
dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
aria-label={formatText(
|
||||
"{p0}: {p1} credits",
|
||||
[translateText(RESOURCE_LABELS[exchangeOffer.t] ?? exchangeOffer.t, locale), exchangeOffer.v],
|
||||
locale
|
||||
)}
|
||||
title={formatText(
|
||||
"{p0}: {p1} credits",
|
||||
[translateText(RESOURCE_LABELS[exchangeOffer.t] ?? exchangeOffer.t, locale), exchangeOffer.v],
|
||||
locale
|
||||
)}
|
||||
>
|
||||
<ResourceIcon resource={exchangeOffer.t} size={15} />
|
||||
<strong>{exchangeOffer.v}</strong>
|
||||
|
|
@ -212,7 +237,9 @@
|
|||
{#if store.exchangeTarget === null}
|
||||
<span class="hint">Choose a player</span>
|
||||
{:else}
|
||||
<span class="hint exchange-target" translate="no">{gameState.players[store.exchangeTarget]?.name}</span>
|
||||
<span class="hint exchange-target" translate="no" dir="auto"
|
||||
>{gameState.players[store.exchangeTarget]?.name}</span
|
||||
>
|
||||
{/if}
|
||||
{:else}
|
||||
<span class="hint">Choose a card</span>
|
||||
|
|
@ -263,7 +290,9 @@
|
|||
</span>
|
||||
{/if}
|
||||
{#if staged.length > 0}
|
||||
Also confirms: {staged.join(", ")}.
|
||||
<span translate="no" dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
>{formatText("Also confirms: {p0}.", [staged.join(", ")], locale)}</span
|
||||
>
|
||||
{/if}
|
||||
</span>
|
||||
<button
|
||||
|
|
@ -275,7 +304,9 @@
|
|||
</div>
|
||||
{:else if pending}
|
||||
<div class="flow purchase-flow">
|
||||
<span class="purchase-name">{purchaseLabel(pending.count)}</span>
|
||||
<span class="purchase-name" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
>{purchaseLabel(pending.count)}</span
|
||||
>
|
||||
<div class="quantity-control">
|
||||
<span class="quantity-label">Quantity</span>
|
||||
<button
|
||||
|
|
@ -295,11 +326,11 @@
|
|||
onclick={() => store.setPendingCount(store.pendingMaxCount)}>Max</button
|
||||
>
|
||||
</div>
|
||||
<span class="hint payment-preview">
|
||||
selected ◈ {total} / ◈ {pending.cost}.
|
||||
<span class="hint payment-preview" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{formatText("Selected ◈ {p0} / ◈ {p1}.", [total, pending.cost], locale)}
|
||||
{#if total > pending.cost}
|
||||
<span class="overpay" class:warn={confirmingSuboptimal}
|
||||
>{`◈ ${total - pending.cost} lost (no change).`}</span
|
||||
>{formatText("◈ {p0} lost (no change).", [total - pending.cost], locale)}</span
|
||||
>
|
||||
{/if}
|
||||
</span>
|
||||
|
|
@ -308,19 +339,31 @@
|
|||
{:else if store.pendingSelectedCount > pending.count}
|
||||
<span
|
||||
class="hint bulk-hint"
|
||||
translate="no"
|
||||
dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
class:dim={!confirmingSuboptimal}
|
||||
class:warn={confirmingSuboptimal}
|
||||
role={confirmingSuboptimal ? "alert" : undefined}
|
||||
>
|
||||
{confirmingSuboptimal
|
||||
? `These cards can buy ${purchaseLabel(store.pendingSelectedCount)}. Buy fewer anyway?`
|
||||
: `Selected cards cover ${purchaseLabel(store.pendingSelectedCount)}.`}
|
||||
{formatText(
|
||||
confirmingSuboptimal ? "These cards can buy {p0}. Buy fewer anyway?" : "Selected cards cover {p0}.",
|
||||
[purchaseLabel(store.pendingSelectedCount)],
|
||||
locale
|
||||
)}
|
||||
</span>
|
||||
{/if}
|
||||
<button class="confirm" disabled={!store.pendingValid()} onclick={buyPending}>
|
||||
{confirmingSuboptimal
|
||||
? `Buy ${purchaseLabel(pending.count)} anyway · ◈ ${pending.cost}`
|
||||
: `Buy ${purchaseLabel(pending.count)} · ◈ ${pending.cost}`}
|
||||
<button
|
||||
class="confirm"
|
||||
translate="no"
|
||||
dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
disabled={!store.pendingValid()}
|
||||
onclick={buyPending}
|
||||
>
|
||||
{formatText(
|
||||
confirmingSuboptimal ? "Buy {p0} anyway · ◈ {p1}" : "Buy {p0} · ◈ {p1}",
|
||||
[purchaseLabel(pending.count), pending.cost],
|
||||
locale
|
||||
)}
|
||||
</button>
|
||||
<button class="cancel" onclick={() => store.cancel()}>Cancel</button>
|
||||
</div>
|
||||
|
|
@ -373,8 +416,8 @@
|
|||
</div>
|
||||
{#if staged.length > 0}
|
||||
<div class="flow">
|
||||
<span class="hint gold-hint">
|
||||
Staged this turn: {staged.join(", ")} (undo to open an auction).
|
||||
<span class="hint gold-hint" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{formatText("Staged this turn: {p0} (undo to open an auction).", [staged.join(", ")], locale)}
|
||||
</span>
|
||||
<button class="cancel" onclick={() => store.undoBuy()}>Undo last</button>
|
||||
</div>
|
||||
|
|
@ -388,7 +431,7 @@
|
|||
>{/if}
|
||||
<span class="hint dim">Choices stay hidden until everyone has confirmed.</span>
|
||||
{/if}
|
||||
<span class="hint dim">{waitingOn}</span>
|
||||
<span class="hint dim" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>{waitingOn}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { KICKER_SPECS, UPGRADE_SPECS, type GameState } from "outpost-engine";
|
||||
import { formatText, resolveLocale, translateText } from "../localization";
|
||||
import CardEffect from "./CardEffect.svelte";
|
||||
import ChoiceButton from "./ChoiceButton.svelte";
|
||||
import { KICKER_EFFECTS, UPGRADE_EFFECTS, type ViewerStore } from "./store.svelte";
|
||||
|
|
@ -10,6 +11,7 @@
|
|||
}
|
||||
|
||||
let { state, store }: Props = $props();
|
||||
const locale = $derived(resolveLocale(store.preferences.locale));
|
||||
|
||||
const auction = $derived(state.auction);
|
||||
const spec = $derived(
|
||||
|
|
@ -18,7 +20,7 @@
|
|||
const effectTokens = $derived(
|
||||
auction ? (auction.kicker ? KICKER_EFFECTS[auction.kicker] : UPGRADE_EFFECTS[auction.upgrade!]) : []
|
||||
);
|
||||
const nameOf = (seat: number) => state.players[seat]?.name ?? `Player ${seat + 1}`;
|
||||
const nameOf = (seat: number) => state.players[seat]?.name ?? formatText("Player {p0}", [seat + 1], locale);
|
||||
const meIndex = $derived(store.playerIndex);
|
||||
const discount = $derived(
|
||||
auction && auction.upgrade && meIndex !== undefined ? store.discountOf(meIndex, auction.upgrade) : 0
|
||||
|
|
@ -62,13 +64,12 @@
|
|||
<span class="uname">{spec.name}</span>
|
||||
<span class="uvp">{spec.vp} VP · list ◈ {spec.price}</span>
|
||||
</div>
|
||||
<div class="ueffect"><CardEffect locale={store.preferences.locale} tokens={effectTokens} /></div>
|
||||
<div class="ueffect"><CardEffect {locale} tokens={effectTokens} /></div>
|
||||
</div>
|
||||
<div class="status">
|
||||
{#if !fast || state.phase !== "auction"}
|
||||
<div class="bid">
|
||||
High bid <strong>◈ {auction.highBid}</strong> by
|
||||
<strong translate="no">{nameOf(auction.highBidder)}</strong>
|
||||
<div class="bid" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{formatText("High bid {p0} by {p1}", [`◈ ${auction.highBid}`, nameOf(auction.highBidder)], locale)}
|
||||
</div>
|
||||
{/if}
|
||||
{#if state.phase === "auction"}
|
||||
|
|
@ -130,17 +131,23 @@
|
|||
{#if discount > 0}
|
||||
<div class="bid-cost">
|
||||
<span>{`Discount ◈ ${discount}`}</span>
|
||||
<span class="net-cost"
|
||||
><span>{fast ? "Pay at most" : "Pay"}</span>
|
||||
<strong>◈ {validBid ? Math.max(0, store.bidAmount - discount) : "—"}</strong></span
|
||||
>
|
||||
<span class="net-cost" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{formatText(
|
||||
fast ? "Pay at most ◈ {p0}" : "Pay ◈ {p0}",
|
||||
[validBid ? Math.max(0, store.bidAmount - discount) : "—"],
|
||||
locale
|
||||
)}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{:else if fast}
|
||||
{#if meIndex !== undefined && auction.bids?.[meIndex] !== undefined}
|
||||
<div class="turn">
|
||||
Bid submitted · <strong>{auction.bids[meIndex] === 0 ? "Pass" : `◈ ${auction.bids[meIndex]}`}</strong>
|
||||
<div class="turn" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{translateText("Bid submitted", locale)} ·
|
||||
<strong
|
||||
>{auction.bids[meIndex] === 0 ? translateText("Pass", locale) : `◈ ${auction.bids[meIndex]}`}</strong
|
||||
>
|
||||
</div>
|
||||
{#if store.revisableChoice}<ChoiceButton
|
||||
label="Change bid"
|
||||
|
|
@ -148,16 +155,24 @@
|
|||
onclick={() => store.changeChoice()}
|
||||
/>{/if}
|
||||
{/if}
|
||||
<div class="waiting">Waiting for {pendingNames} to bid…</div>
|
||||
<div class="waiting" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{formatText("Waiting for {p0} to bid…", [pendingNames], locale)}
|
||||
</div>
|
||||
{:else}
|
||||
<div class="waiting">Waiting for {nameOf(auction.activeBidder)} to bid…</div>
|
||||
<div class="waiting" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{formatText("Waiting for {p0} to bid…", [nameOf(auction.activeBidder)], locale)}
|
||||
</div>
|
||||
{/if}
|
||||
{:else}
|
||||
<div class="turn">
|
||||
<div class="turn" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{#if store.myPayment}
|
||||
You won: select hand cards worth at least ◈ {due} and confirm below (bid {auction.highBid}{#if discount > 0}{` − ${discount} discount`}{/if}).
|
||||
{formatText(
|
||||
"You won: select hand cards worth at least ◈ {p0} and confirm below (bid {p1}{p2}).",
|
||||
[due, auction.highBid, discount > 0 ? ` ${formatText("− {p0} discount", [discount], locale)}` : ""],
|
||||
locale
|
||||
)}
|
||||
{:else}
|
||||
Waiting for {nameOf(auction.highBidder)} to pay…
|
||||
{formatText("Waiting for {p0} to pay…", [nameOf(auction.highBidder)], locale)}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
|
@ -167,7 +182,9 @@
|
|||
{#if fast}
|
||||
<p>Choices stay hidden until everyone has confirmed.</p>
|
||||
<p>Highest bid wins at second-highest + 1; ties go to the earliest in turn order.</p>
|
||||
{#if store.myBidTurn}<p>Waiting for {pendingNames} to bid…</p>{/if}
|
||||
{#if store.myBidTurn}<p translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{formatText("Waiting for {p0} to bid…", [pendingNames], locale)}
|
||||
</p>{/if}
|
||||
{/if}
|
||||
{#if meIndex !== undefined}
|
||||
<p>You hold ◈ {store.myHandValue}</p>
|
||||
|
|
|
|||
|
|
@ -76,12 +76,14 @@
|
|||
{#if message.author}
|
||||
{#if message.playerIndex !== undefined}<button
|
||||
class="author"
|
||||
translate="no"
|
||||
dir="auto"
|
||||
style:color
|
||||
onclick={() => store.openPlayer(message.playerIndex!)}>{message.author}</button
|
||||
>
|
||||
{:else}<span class="author" style:color>{message.author}</span>{/if}
|
||||
{:else}<span class="author" translate="no" dir="auto" style:color>{message.author}</span>{/if}
|
||||
{/if}
|
||||
<span class="text">
|
||||
<span class="text" translate="no" dir="auto">
|
||||
{#each displayed.segments ?? [{ kind: "text" as const, text: displayed.text }] as segment}
|
||||
{#if segment.kind === "link"}<a href={segment.url} target="_blank" rel="noopener noreferrer"
|
||||
>{segment.text}</a
|
||||
|
|
@ -180,6 +182,8 @@
|
|||
{#each candidates as candidate, i}<button
|
||||
type="button"
|
||||
class:selected={i === choice}
|
||||
translate="no"
|
||||
dir="auto"
|
||||
onmousedown={(event) => event.preventDefault()}
|
||||
onclick={() => inputBinding?.choose(i)}>@{candidate.name}</button
|
||||
>{/each}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { VICTORY_VP } from "outpost-engine";
|
||||
import { formatText, resolveLocale } from "../localization";
|
||||
import { type ViewerStore } from "./store.svelte";
|
||||
|
||||
interface Props {
|
||||
|
|
@ -7,6 +8,7 @@
|
|||
}
|
||||
|
||||
let { store }: Props = $props();
|
||||
const locale = $derived(resolveLocale(store.preferences.locale));
|
||||
const state = $derived(store.state);
|
||||
const ranks = $derived(store.finalRankings);
|
||||
const scores = $derived(store.finalScores);
|
||||
|
|
@ -17,11 +19,11 @@
|
|||
{#if state?.ended}
|
||||
<div class="banner" data-tutorial="result">
|
||||
<h2>Game over</h2>
|
||||
<p class="result">
|
||||
<p class="result" translate="no" dir={locale === "fa" ? "rtl" : "ltr"}>
|
||||
{#if winners.length > 1}
|
||||
Shared victory: {winners.map((i) => state.players[i]!.name).join(" & ")}
|
||||
{formatText("Shared victory: {p0}", [winners.map((i) => state.players[i]!.name).join(" & ")], locale)}
|
||||
{:else if winners.length === 1}
|
||||
{state.players[winners[0]!]!.name} wins
|
||||
{formatText("{p0} wins", [state.players[winners[0]!]!.name], locale)}
|
||||
{/if}
|
||||
</p>
|
||||
<table>
|
||||
|
|
@ -44,7 +46,7 @@
|
|||
</td>
|
||||
<td>
|
||||
<span class="dot" style="background: {store.playerColor(row.i)}"></span>
|
||||
{row.p.name}
|
||||
<span translate="no" dir="auto">{row.p.name}</span>
|
||||
</td>
|
||||
<td class="score">{scores[row.i]}</td>
|
||||
<td class="barcell">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { tick, untrack } from "svelte";
|
||||
import { sealedAuctionHistory, upgradeDiscount } from "outpost-engine";
|
||||
import { describeLogEntry, sealedAuctionHistory, upgradeDiscount, type LogFormatter } from "outpost-engine";
|
||||
import { formatText, resolveLocale } from "../localization";
|
||||
import type { ViewerStore } from "./store.svelte";
|
||||
|
||||
interface Props {
|
||||
|
|
@ -8,7 +9,9 @@
|
|||
}
|
||||
|
||||
let { store }: Props = $props();
|
||||
const lines = $derived(store.logLines);
|
||||
const locale = $derived(resolveLocale(store.preferences.locale));
|
||||
const text: LogFormatter = (source, parameters) => formatText(source, parameters, locale);
|
||||
const entries = $derived(store.logEntries);
|
||||
const results = $derived(sealedAuctionHistory(store.liveState?.log ?? []).results);
|
||||
const pendingPayment = $derived.by(() => {
|
||||
const state = store.liveState;
|
||||
|
|
@ -28,7 +31,21 @@
|
|||
const discount = auction.upgrade ? upgradeDiscount(winner, auction.upgrade) : 0;
|
||||
return { index, due: Math.max(0, auction.highBid - discount) };
|
||||
});
|
||||
const recent = $derived(lines.map((line, index) => ({ line, index })).slice(-150));
|
||||
const recent = $derived.by(() => {
|
||||
// The journal stays live while the board is replaying. Use structured
|
||||
// entries, including appended log slices, never re-parse English strings.
|
||||
const state = store.liveState;
|
||||
if (!state) {
|
||||
return [];
|
||||
}
|
||||
const format = locale === "en" ? undefined : text;
|
||||
const start = Math.max(0, entries.length - 150);
|
||||
return entries.slice(start).map((entry, offset) => {
|
||||
const era = entry.type === "round" && (entry.eraBegan === 2 || entry.eraBegan === 3) ? entry.eraBegan : undefined;
|
||||
const body = entry.type === "round" && era ? { ...entry, eraBegan: undefined } : entry;
|
||||
return { index: start + offset, era, line: describeLogEntry(state, body, store.playerIndex, format) };
|
||||
});
|
||||
});
|
||||
let feed = $state<HTMLDivElement>();
|
||||
let content = $state<HTMLDivElement>();
|
||||
let follow = true;
|
||||
|
|
@ -79,15 +96,19 @@
|
|||
>
|
||||
<div class="entries" bind:this={content}>
|
||||
{#each recent as item (item.index)}
|
||||
{@const era = item.line.match(/^Era (II|III) begins/)?.[1]}
|
||||
{#if era}
|
||||
<div class="eramark era-{era === 'II' ? 2 : 3}">Era {era} begins</div>
|
||||
<div class="entry" class:latest={item.index === lines.length - 1}>
|
||||
{item.line.replace(/^Era (II|III) begins — /, "")}
|
||||
{#if item.era}
|
||||
<div class="eramark era-{item.era}" translate="no" dir={locale === "fa" ? "rtl" : "auto"}>
|
||||
{text("Era {p0} begins", [item.era === 2 ? "II" : "III"])}
|
||||
</div>
|
||||
{:else}
|
||||
<div class="entry" class:latest={item.index === lines.length - 1}>{item.line}</div>
|
||||
{/if}
|
||||
<div
|
||||
class="entry"
|
||||
class:latest={item.index === entries.length - 1}
|
||||
translate="no"
|
||||
dir={locale === "fa" ? "rtl" : "auto"}
|
||||
>
|
||||
{item.line}
|
||||
</div>
|
||||
{#if results.get(item.index)}
|
||||
{@const result = results.get(item.index)!}
|
||||
<div class="auction-result">
|
||||
|
|
@ -95,16 +116,16 @@
|
|||
<ul>
|
||||
{#each result.bids as bid (bid.player)}
|
||||
<li class:winner={bid.player === result.winner}>
|
||||
<span class="bidder" translate="no"
|
||||
>{store.liveState?.players[bid.player]?.name ?? `Player ${bid.player + 1}`}</span
|
||||
<span class="bidder" translate="no" dir="auto"
|
||||
>{store.liveState?.players[bid.player]?.name ?? text("Player {p0}", [bid.player + 1])}</span
|
||||
>
|
||||
<span class="bid-value">
|
||||
<strong>{bid.amount === 0 ? "Pass" : `◈ ${bid.amount}`}</strong>
|
||||
<span class="bid-value" translate="no" dir={locale === "fa" ? "rtl" : "auto"}>
|
||||
<strong>{bid.amount === 0 ? text("Pass", []) : `◈ ${bid.amount}`}</strong>
|
||||
{#if bid.player === result.winner}
|
||||
{#if result.paid !== undefined}
|
||||
<span class="payment">{`Paid ◈ ${result.paid}`}</span>
|
||||
<span class="payment">{text("Paid ◈ {p0}", [result.paid])}</span>
|
||||
{:else if pendingPayment?.index === item.index}
|
||||
<span class="payment">{`Due ◈ ${pendingPayment.due}`}</span>
|
||||
<span class="payment">{text("Due ◈ {p0}", [pendingPayment.due])}</span>
|
||||
{/if}
|
||||
{/if}
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,9 @@
|
|||
import UpgradeBadges from "./UpgradeBadges.svelte";
|
||||
import ColonyArt from "./ColonyArt.svelte";
|
||||
import CardEffect from "./CardEffect.svelte";
|
||||
import { KICKER_EFFECTS, UPGRADE_EFFECTS, effectToText, type ViewerStore } from "./store.svelte";
|
||||
import { KICKER_EFFECTS, UPGRADE_EFFECTS, type ViewerStore } from "./store.svelte";
|
||||
import { formatText, resolveLocale } from "../localization";
|
||||
import { localizedEffectText } from "./localized-effect-text";
|
||||
|
||||
interface Props {
|
||||
state: GameState;
|
||||
|
|
@ -22,6 +24,9 @@
|
|||
}
|
||||
|
||||
let { state, store }: Props = $props();
|
||||
const locale = $derived(resolveLocale(store.preferences.locale));
|
||||
const text = (source: string, parameters: readonly (string | number)[] = []) =>
|
||||
formatText(source, parameters, locale);
|
||||
|
||||
const desktop = new MediaQuery("(min-width: 1100px)");
|
||||
const pick = $derived(store.auctionPick);
|
||||
|
|
@ -68,13 +73,23 @@
|
|||
{@const spec = UPGRADE_SPECS[c.u]}
|
||||
<span
|
||||
class="stag era-{x.era}"
|
||||
title="{spec.name} ({spec.vp} VP, list ◈ {spec.price}): {effectToText(
|
||||
UPGRADE_EFFECTS[c.u]
|
||||
)} ×{c.n} left in the supply — Era {['', 'I', 'II', 'III'][x.era]} upgrade (card #{upgradeNumber(
|
||||
c.u
|
||||
)}){x.era === gameEra ? ' (current era)' : ''}"
|
||||
translate="no"
|
||||
dir="auto"
|
||||
title={text(
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3} ×{p4} left in the supply — Era {p5} upgrade (card #{p6}){p7}",
|
||||
[
|
||||
text(spec.name),
|
||||
spec.vp,
|
||||
spec.price,
|
||||
localizedEffectText(UPGRADE_EFFECTS[c.u], locale),
|
||||
c.n,
|
||||
["", "I", "II", "III"][x.era]!,
|
||||
upgradeNumber(c.u),
|
||||
x.era === gameEra ? ` ${text("(current era)")}` : "",
|
||||
]
|
||||
)}
|
||||
>
|
||||
{spec.name} <span class="kcount">×{c.n}</span>
|
||||
{text(spec.name)} <span class="kcount">×{c.n}</span>
|
||||
</span>
|
||||
{/each}
|
||||
{/each}
|
||||
|
|
@ -94,13 +109,19 @@
|
|||
{@const spec = KICKER_SPECS[c.k]}
|
||||
<span
|
||||
class="stag era-{x.era}"
|
||||
title="{spec.name} ({spec.vp} VP, list ◈ {spec.price}): {effectToText(
|
||||
KICKER_EFFECTS[c.k]
|
||||
)} ×{c.n} left in the Era {['', 'I', 'II', 'III'][x.era]} pile{x.era === state.kickerEra
|
||||
? ' (current era)'
|
||||
: ''}"
|
||||
translate="no"
|
||||
dir="auto"
|
||||
title={text("{p0} ({p1} VP, list ◈ {p2}): {p3} ×{p4} left in the Era {p5} pile{p6}", [
|
||||
text(spec.name),
|
||||
spec.vp,
|
||||
spec.price,
|
||||
localizedEffectText(KICKER_EFFECTS[c.k], locale),
|
||||
c.n,
|
||||
["", "I", "II", "III"][x.era]!,
|
||||
x.era === state.kickerEra ? ` ${text("(current era)")}` : "",
|
||||
])}
|
||||
>
|
||||
{spec.name} <span class="kcount">×{c.n}</span>
|
||||
{text(spec.name)} <span class="kcount">×{c.n}</span>
|
||||
</span>
|
||||
{/each}
|
||||
{/each}
|
||||
|
|
@ -160,8 +181,10 @@
|
|||
<div class="bidbox">
|
||||
<div class="payment-preview">
|
||||
Bid ◈ {pick.bid}{#if discount > 0}
|
||||
− discount ◈ {discount}{/if}<br /><strong
|
||||
>{store.fastBid ? "Pay at most" : "Pay"} ◈ {Math.max(0, pick.bid - discount)}</strong
|
||||
− discount ◈ {discount}{/if}<br /><strong translate="no" dir="auto"
|
||||
>{text(store.fastBid ? "Pay at most ◈ {p0}" : "Pay ◈ {p0}", [
|
||||
Math.max(0, pick.bid - discount),
|
||||
])}</strong
|
||||
>
|
||||
· you hold ◈ {store.myHandValue}
|
||||
</div>
|
||||
|
|
@ -244,7 +267,10 @@
|
|||
{#if open && pick}
|
||||
<div class="bidbox">
|
||||
<div class="payment-preview">
|
||||
<strong>{store.fastBid ? "Pay at most" : "Pay"} ◈ {pick.bid}</strong> · you hold ◈ {store.myHandValue}
|
||||
<strong translate="no" dir="auto"
|
||||
>{text(store.fastBid ? "Pay at most ◈ {p0}" : "Pay ◈ {p0}", [pick.bid])}</strong
|
||||
>
|
||||
· you hold ◈ {store.myHandValue}
|
||||
</div>
|
||||
<div class="bidrow">
|
||||
<button onclick={() => store.bumpAuctionBid(-1)} disabled={pick.bid <= spec.price}>−</button>
|
||||
|
|
|
|||
|
|
@ -17,9 +17,11 @@
|
|||
type GameState,
|
||||
type Resource,
|
||||
} from "outpost-engine";
|
||||
import { formatText, resolveLocale, translateText } from "../localization";
|
||||
import ProductionCardView from "./ProductionCardView.svelte";
|
||||
import ResourceIcon from "./ResourceIcon.svelte";
|
||||
import { KICKER_EFFECTS, RESOURCE_LABELS, UPGRADE_EFFECTS, effectToText, type ViewerStore } from "./store.svelte";
|
||||
import { localizedEffectText } from "./localized-effect-text";
|
||||
import { KICKER_EFFECTS, RESOURCE_LABELS, UPGRADE_EFFECTS, type EffectToken, type ViewerStore } from "./store.svelte";
|
||||
|
||||
interface Props {
|
||||
state: GameState;
|
||||
|
|
@ -29,6 +31,7 @@
|
|||
}
|
||||
|
||||
let { state, store, index, onNameClick }: Props = $props();
|
||||
const locale = $derived(resolveLocale(store.preferences.locale));
|
||||
|
||||
const player = $derived(state.players[index]!);
|
||||
const isMe = $derived(store.playerIndex === index);
|
||||
|
|
@ -92,6 +95,23 @@
|
|||
);
|
||||
const production = $derived(productionRange(assignedPlayer));
|
||||
const vp = $derived(victoryPoints(assignedPlayer));
|
||||
function ownedCardTitle(
|
||||
spec: { name: string; vp: number; price: number; era?: number },
|
||||
effects: EffectToken[],
|
||||
copies: number
|
||||
): string {
|
||||
const summary = formatText(
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}",
|
||||
[translateText(spec.name, locale), spec.vp, spec.price, localizedEffectText(effects, locale)],
|
||||
locale
|
||||
);
|
||||
const era =
|
||||
spec.era === undefined
|
||||
? ""
|
||||
: ` ${formatText("Era {p0} Kicker card", [["", "I", "II", "III"][spec.era] ?? ""], locale)}.`;
|
||||
const owned = copies > 1 ? ` ${formatText("Owns {p0} copies.", [copies], locale)}` : "";
|
||||
return `${summary}${era}${owned}`;
|
||||
}
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
|
@ -107,25 +127,33 @@
|
|||
{#if exchangeTargetable}
|
||||
<button
|
||||
class="targethit"
|
||||
aria-label="trade with {player.name}"
|
||||
title="trade here: they must hand back a higher-valued card of the offered type"
|
||||
translate="no"
|
||||
dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
aria-label={formatText("trade with {p0}", [player.name], locale)}
|
||||
title={translateText("trade here: they must hand back a higher-valued card of the offered type", locale)}
|
||||
onclick={() => store.pickExchangeTarget(index)}
|
||||
></button>
|
||||
{/if}
|
||||
<div class="head">
|
||||
<button data-bgs-player={index} class="identity" onclick={() => onNameClick?.(index)} title={player.name}>
|
||||
<button
|
||||
data-bgs-player={index}
|
||||
class="identity"
|
||||
translate="no"
|
||||
onclick={() => onNameClick?.(index)}
|
||||
title={player.name}
|
||||
>
|
||||
{#if orderPos > 0}
|
||||
<span class="order" title="Purchase order this round: {orderPos}">{orderPos}</span>
|
||||
<span class="order" title={formatText("Purchase order this round: {p0}", [orderPos], locale)}>{orderPos}</span>
|
||||
{/if}
|
||||
<span class="portrait">
|
||||
{#if avatar}
|
||||
<img class="avatar" src={avatar} alt="" referrerpolicy="no-referrer" />
|
||||
{:else}
|
||||
<span class="avatar fallback">{initial}</span>
|
||||
<span class="avatar fallback" dir="auto">{initial}</span>
|
||||
{/if}
|
||||
{#if badge}<img class="supporter-badge" src={badge.url} alt={badge.label} title={badge.label} />{/if}
|
||||
</span>
|
||||
<span class="name">{player.name}</span>
|
||||
<span class="name" dir="auto">{player.name}</span>
|
||||
</button>
|
||||
{#if exchangeTargetable}
|
||||
<span class="tradetarget" title="trade target: they must hand back a higher-valued card of the offered type">
|
||||
|
|
@ -223,10 +251,10 @@
|
|||
{@const spec = UPGRADE_SPECS[x.u]}
|
||||
<span
|
||||
class="utag"
|
||||
title="{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1
|
||||
? ` Owns ${x.n} copies.`
|
||||
: ''}"
|
||||
>{spec.name}{#if x.n > 1}{` ×${x.n}`}{/if}</span
|
||||
translate="no"
|
||||
dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
title={ownedCardTitle(spec, UPGRADE_EFFECTS[x.u], x.n)}
|
||||
>{translateText(spec.name, locale)}{#if x.n > 1}{` ×${x.n}`}{/if}</span
|
||||
>
|
||||
{/each}
|
||||
</div>
|
||||
|
|
@ -238,12 +266,10 @@
|
|||
{@const spec = KICKER_SPECS[x.k]}
|
||||
<span
|
||||
class="utag ktag era-{spec.era}"
|
||||
title="{spec.name} (Kicker, era {['', 'I', 'II', 'III'][
|
||||
spec.era
|
||||
]}): {spec.vp} VP, list {spec.price}. {effectToText(KICKER_EFFECTS[x.k])}{x.n > 1
|
||||
? ` Owns ${x.n} copies.`
|
||||
: ''}"
|
||||
>{spec.name}{#if x.n > 1}{` ×${x.n}`}{/if}</span
|
||||
translate="no"
|
||||
dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
title={ownedCardTitle(spec, KICKER_EFFECTS[x.k], x.n)}
|
||||
>{translateText(spec.name, locale)}{#if x.n > 1}{` ×${x.n}`}{/if}</span
|
||||
>
|
||||
{/each}
|
||||
</div>
|
||||
|
|
@ -252,8 +278,14 @@
|
|||
{#if isMe && pickCount > 0}
|
||||
<div class="row picksum">
|
||||
{#if pickRequired !== null}
|
||||
<span class="total" class:short={pickTotal < pickRequired} class:ok={pickTotal >= pickRequired}>
|
||||
◈ {pickTotal} / {pickRequired} selected
|
||||
<span
|
||||
class="total"
|
||||
translate="no"
|
||||
dir={locale === "fa" ? "rtl" : "ltr"}
|
||||
class:short={pickTotal < pickRequired}
|
||||
class:ok={pickTotal >= pickRequired}
|
||||
>
|
||||
{formatText("◈ {p0} / {p1} selected", [pickTotal, pickRequired], locale)}
|
||||
</span>
|
||||
{#if pickTotal > pickRequired}
|
||||
<span class="lost" title="overpaid credits are lost: the colony gives no change">
|
||||
|
|
@ -271,7 +303,7 @@
|
|||
<div class="row hand pending">
|
||||
<span class="pending-label" title="Choices stay hidden until everyone has confirmed."> produced: </span>
|
||||
{#each player.pendingMega ?? [] as card, i (i)}
|
||||
<ProductionCardView {card} />
|
||||
<ProductionCardView {locale} {card} />
|
||||
{/each}
|
||||
</div>
|
||||
{/if}
|
||||
|
|
@ -280,6 +312,7 @@
|
|||
{#each player.hand as card, i (i)}
|
||||
{#if store.myExchange}
|
||||
<ProductionCardView
|
||||
{locale}
|
||||
{card}
|
||||
selectable={store.canOfferInExchange(i)}
|
||||
selected={store.exchangeCard === i}
|
||||
|
|
@ -287,6 +320,7 @@
|
|||
/>
|
||||
{:else}
|
||||
<ProductionCardView
|
||||
{locale}
|
||||
{card}
|
||||
selectable={store.interactive && !store.myMega}
|
||||
selected={store.cardPick.includes(i)}
|
||||
|
|
@ -295,14 +329,14 @@
|
|||
{/if}
|
||||
{/each}
|
||||
{#each parkedMine as card, i (i)}
|
||||
<ProductionCardView {card} parked />
|
||||
<ProductionCardView {locale} {card} parked />
|
||||
{/each}
|
||||
{#if player.hand.length === 0 && parkedMine.length === 0}
|
||||
<span class="none">no cards</span>
|
||||
{/if}
|
||||
{:else}
|
||||
{#each player.hand.filter((c) => c.m) as card, i (i)}
|
||||
<ProductionCardView {card} />
|
||||
<ProductionCardView {locale} {card} />
|
||||
{/each}
|
||||
{#each hiddenCounts as [res, n] (res)}
|
||||
<span class="hcount res-{res}" title={`${RESOURCE_LABELS[res]} cards: ${n}`}>
|
||||
|
|
@ -311,7 +345,7 @@
|
|||
</span>
|
||||
{/each}
|
||||
{#each parkedMine as card, i (i)}
|
||||
<ProductionCardView {card} />
|
||||
<ProductionCardView {locale} {card} />
|
||||
{/each}
|
||||
{#if player.hand.length === 0}
|
||||
<span class="none">no cards</span>
|
||||
|
|
|
|||
|
|
@ -2,9 +2,11 @@
|
|||
import type { ProductionCard } from "outpost-engine";
|
||||
import ResourceIcon from "./ResourceIcon.svelte";
|
||||
import { RESOURCE_LABELS } from "./store.svelte";
|
||||
import { formatText, resolveLocale } from "../localization";
|
||||
|
||||
interface Props {
|
||||
card: ProductionCard;
|
||||
locale?: unknown;
|
||||
selected?: boolean;
|
||||
selectable?: boolean;
|
||||
/** Marks a card parked on a Wily Trader / Merchant House until the exchange step ends. */
|
||||
|
|
@ -12,12 +14,17 @@
|
|||
onclick?: () => void;
|
||||
}
|
||||
|
||||
let { card, selected = false, selectable = false, parked = false, onclick }: Props = $props();
|
||||
let { card, locale, selected = false, selectable = false, parked = false, onclick }: Props = $props();
|
||||
const text = (source: string, parameters: readonly (string | number)[] = []) =>
|
||||
formatText(source, parameters, resolveLocale(locale));
|
||||
const hidden = $derived(card.v < 0);
|
||||
// Soft hyphens so long words wrap inside the narrow card only when needed.
|
||||
const label = $derived(
|
||||
RESOURCE_LABELS[card.t]?.replace("Microbiotics", "Micro\u00ADbiotics").replace("Chemicals", "Chemi\u00ADcals") ??
|
||||
card.t
|
||||
const resource = $derived(text(RESOURCE_LABELS[card.t] ?? card.t));
|
||||
const label = $derived(card.m ? text("Mega {p0}", [resource]) : resource);
|
||||
const description = $derived(hidden ? label : text("{p0}: {p1} credits", [label, card.v]));
|
||||
const title = $derived(
|
||||
parked
|
||||
? text("Received in an exchange — parked on your Wily Trader / Merchant House until the exchange step ends.")
|
||||
: `${description}${card.m ? ` ${text("(counts as 4 cards toward hand capacity)")}` : ""}`
|
||||
);
|
||||
</script>
|
||||
|
||||
|
|
@ -29,14 +36,14 @@
|
|||
class:parked
|
||||
class:mega={card.m === true}
|
||||
disabled={!selectable}
|
||||
title={parked
|
||||
? "Received in an exchange — parked on your Wily Trader / Merchant House until the exchange step ends."
|
||||
: `${card.m ? "Mega " : ""}${RESOURCE_LABELS[card.t]}${hidden ? "" : `: ${card.v} credits`}${card.m ? " (counts as 4 cards toward hand capacity)" : ""}`}
|
||||
{title}
|
||||
translate="no"
|
||||
dir="auto"
|
||||
{onclick}
|
||||
>
|
||||
<span class="icon"><ResourceIcon resource={card.t} size={13} /></span>
|
||||
<span class="value">{hidden ? "?" : card.v}</span>
|
||||
<span class="label">{card.m ? `Mega ${label}` : label}</span>
|
||||
<span class="label">{label}</span>
|
||||
</button>
|
||||
|
||||
<style>
|
||||
|
|
@ -89,7 +96,8 @@
|
|||
text-align: center;
|
||||
line-height: 1.1;
|
||||
max-width: 100%;
|
||||
hyphens: manual;
|
||||
hyphens: auto;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.pcard.selectable {
|
||||
cursor: pointer;
|
||||
|
|
|
|||
29
packages/viewer/src/lib/localized-effect-text.ts
Normal file
29
packages/viewer/src/lib/localized-effect-text.ts
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
import { KICKER_SPECS, UPGRADE_SPECS } from "outpost-engine";
|
||||
import { formatText, resolveLocale } from "../localization";
|
||||
import { localizeEffect } from "./localized-effect";
|
||||
import { RESOURCE_LABELS, type EffectToken } from "./store.svelte";
|
||||
|
||||
export function localizedEffectText(tokens: EffectToken[], locale?: unknown): string {
|
||||
const text = (source: string, parameters: readonly (string | number)[] = []) =>
|
||||
formatText(source, parameters, resolveLocale(locale));
|
||||
return localizeEffect(tokens, (source) => text(source))
|
||||
.map((token) => {
|
||||
if (typeof token === "string") {
|
||||
return token;
|
||||
}
|
||||
if ("r" in token) {
|
||||
return text(RESOURCE_LABELS[token.r] ?? token.r);
|
||||
}
|
||||
if ("card" in token) {
|
||||
return text("{p0} card", [text(RESOURCE_LABELS[token.card] ?? token.card)]);
|
||||
}
|
||||
if ("f" in token) {
|
||||
return text(token.n === 1 ? "{p0} {p1} factory" : "{p0} {p1} factories", [
|
||||
token.n,
|
||||
text(RESOURCE_LABELS[token.f] ?? token.f),
|
||||
]);
|
||||
}
|
||||
return text("u" in token ? UPGRADE_SPECS[token.u].name : KICKER_SPECS[token.k].name);
|
||||
})
|
||||
.join("");
|
||||
}
|
||||
|
|
@ -219,7 +219,8 @@ export class ViewerStore {
|
|||
preferences = $state<Record<string, unknown>>({});
|
||||
settings = $state<Record<string, unknown> | null>(null);
|
||||
logLines = $state<string[]>([]);
|
||||
private logEntries: GameState["log"] = [];
|
||||
/** Structured live journal, including log slices received before the next state. */
|
||||
logEntries = $state<GameState["log"]>([]);
|
||||
seenLog = $state(0);
|
||||
lastMoveAt = $state<number>(0);
|
||||
chat = new ChatController();
|
||||
|
|
|
|||
|
|
@ -1,13 +1,17 @@
|
|||
# Viewer translations
|
||||
|
||||
The viewer follows BGS's shared `preferences.locale` value. Tutorials receive `options.locale`. Supported locales match BGS: English, German, French, Polish, Romanian, Greek, Hindi, Russian, Danish, Brazilian Portuguese, Korean, Traditional Chinese, Vietnamese, Italian and Dutch.
|
||||
The viewer follows BGS's shared `preferences.locale` value. Tutorials receive `options.locale`. Supported locales match BGS: English, German, French, Polish, Romanian, Greek, Hindi, Russian, Danish, Brazilian Portuguese, Korean, Traditional Chinese, Simplified Chinese, Vietnamese, Italian, Dutch and Persian.
|
||||
|
||||
`en.json` contains source UI text, including tutorial explanations and engine-generated descriptions rendered by the viewer. The other catalogues use the same keys. `{p0}`, `{p1}`, etc. represent dynamic display values: translators may reorder them but must preserve every placeholder. Add or update the corresponding entries in all catalogues when changing source wording. Component names and terminology need game-specific review; translations were initially machine-assisted.
|
||||
|
||||
The rendering adapter translates text and accessible labels, including tooltips, without changing state, action identifiers, input values or HTML structure. It remembers source text so a language change is reversible, observes subsequent framework updates, and disconnects on viewer destruction. Player names and chat messages are excluded. `translate="no"` also excludes any element and its descendants. Keep user-provided content inside excluded elements.
|
||||
|
||||
For rich text that is split into icons and spans, call `translateText` on the complete sentence before splitting it; localize the tokenizer's resource labels too. This preserves sentence grammar. Avoid relying on rendered labels to identify an action—use action IDs or data attributes.
|
||||
Use `formatText(source, parameters, locale)` for dynamic sentences, lists, tooltips and player names. It selects an explicit message template; parameters are opaque and can be reordered without being translated again. Translate resource and upgrade labels separately, never usernames. Wrap explicitly localized output in `translate="no"` (and provide appropriate text direction) to avoid a second DOM translation pass. Player names are protected at their rendering sites, not by globally exempting words that might also be resource labels.
|
||||
|
||||
Run `node scripts/check-locales.mjs packages/viewer/src/localization` to verify catalogue coverage and placeholders. The viewer's normal build and browser tests should also cover language switching, action controls, translated tutorial progression and narrow layouts. Browser text must remain readable if a translation is missing; English is the fallback.
|
||||
For rich text split into icons and spans, localize the complete sentence before splitting it; localize the tokenizer's resource labels too. `localizedEffectText` provides the equivalent for plain-text tooltips. Do not concatenate English plural suffixes or put conditional blocks inside a sentence being translated by the DOM adapter. Format each item before joining a list. Existing extracted templates with nonzero placeholder offsets also accept canonical zero-based placeholder keys through `formatText`; use zero-based placeholders for new templates.
|
||||
|
||||
Event descriptions accept an optional `LogFormatter` callback and the viewer formats structured entries directly. Default engine descriptions remain English, including protocol log output. Avoid relying on rendered labels to identify an action—use action IDs or data attributes.
|
||||
|
||||
Run `pnpm test:locales` to verify all supported catalogues, complete placeholder expressions, Unicode validity and runtime regressions. Run `pnpm build && pnpm test:locales:browser` for mobile/desktop rendering and language-switching regressions. The viewer's normal build and browser tests should also cover language switching, action controls, translated tutorial progression and narrow layouts. Browser text must remain readable if a translation is missing; English is the fallback.
|
||||
|
||||
Persian (`fa`, including `fa-IR`) uses RTL text isolates. Board and control layout remains unchanged. Technical extraction identifiers are retained verbatim.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; baggrund:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(Økofabrikker-rabat)",
|
||||
"(Era": "(Æra",
|
||||
"(Kicker)": "(Kicker)",
|
||||
|
|
@ -367,7 +367,7 @@
|
|||
"Show": "Vis",
|
||||
"Show area": "Vis område",
|
||||
"Sign in to chat": "Log ind for at chatte",
|
||||
"Smelter": "Smelter",
|
||||
"Smelter": "Smelteværk",
|
||||
"Space Station": "Rumstation",
|
||||
"Spend a Research card as part of each factory’s 60-credit payment. Keeping it in hand is not enough.": "Brug et Forskningskort som en del af hver fabriks betaling på 60 kreditter. At have det på hånden er ikke nok.",
|
||||
"Spend one Research card per factory": "Brug ét Forskningskort pr. fabrik",
|
||||
|
|
@ -503,13 +503,13 @@
|
|||
"avatar": "avatar",
|
||||
"avatar fallback": "avatar fallback",
|
||||
"avg": "gnsnit",
|
||||
"background:": "baggrund:",
|
||||
"background: {playerColor(row.i)}": "baggrund: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "emblem",
|
||||
"badge res-": "emblem res-",
|
||||
"badge res-{spec.freeFactory}": "emblem res-{spec.freeFactory}",
|
||||
"badge res-{spec.produces}": "emblem res-{spec.produces}",
|
||||
"badge res-{type}": "emblem res-{type}",
|
||||
"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": "emblemer",
|
||||
"banner": "banner",
|
||||
"bar": "bjælke",
|
||||
|
|
@ -518,7 +518,7 @@
|
|||
"before": "før",
|
||||
"begins": "begynder",
|
||||
"begins —": "begynder —",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-omtaler-{p0}",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-mentions-{p0}",
|
||||
"bid": "bud",
|
||||
"bid must be at least": "bud skal være mindst",
|
||||
"bid must be at least {p0}": "bud skal være mindst {p0}",
|
||||
|
|
@ -538,7 +538,8 @@
|
|||
"build": "bygge",
|
||||
"builds": "bygger",
|
||||
"builds {p0} {p1} factories": "bygger {p0} {p1} fabrikker",
|
||||
"builds {p0} {p1} factory": "bygger {p0} {p1} fabrik",
|
||||
"builds a {p0} factory": "bygger en {p0}-fabrik",
|
||||
"builds {p0} {p1} factory": "bygger {p0} {p1}-fabrik",
|
||||
"button": "knap",
|
||||
"buy": "købe",
|
||||
"buy factory": "køb fabrik",
|
||||
|
|
@ -595,8 +596,8 @@
|
|||
"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 æra-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "chip uchip æra-{upgradeEra(token.u)}",
|
||||
"chip uchip era-": "chip uchip era-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "chip uchip era-{upgradeEra(token.u)}",
|
||||
"click": "klik",
|
||||
"colonist": "kolonist",
|
||||
"colonist(s)": "kolonist(er)",
|
||||
|
|
@ -734,6 +735,8 @@
|
|||
"mans": "bemander",
|
||||
"mans {p0} factories": "bemander {p0} fabrikker",
|
||||
"mans {p0} factory": "bemander {p0} fabrik",
|
||||
"{p0} mans {p1} factory": "{p0} bemander {p1} fabrik",
|
||||
"{p0} mans {p1} factories": "{p0} bemander {p1} fabrikker",
|
||||
"mark": "mærke",
|
||||
"market": "marked",
|
||||
"marks": "mærker",
|
||||
|
|
@ -812,8 +815,8 @@
|
|||
"page": "side",
|
||||
"panel": "panel",
|
||||
"pass": "pas",
|
||||
"passes on the auction": "passer på auktionen",
|
||||
"passes on the exchange": "passer på byttehandlen",
|
||||
"passes on the auction": "står over i auktionen",
|
||||
"passes on the exchange": "står over i byttehandlen",
|
||||
"passes —": "passer —",
|
||||
"path": "sti",
|
||||
"pay": "betal",
|
||||
|
|
@ -880,10 +883,10 @@
|
|||
"rock r3": "sten r3",
|
||||
"role": "rolle",
|
||||
"roof": "tag",
|
||||
"rotate(-18 12 12)": "roter(-18 12 12)",
|
||||
"rotate(-22 12 12)": "roter(-22 12 12)",
|
||||
"rotate(120 12 12)": "roter(120 12 12)",
|
||||
"rotate(60 12 12)": "roter(60 12 12)",
|
||||
"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": "runde",
|
||||
"row chips": "række jetoner",
|
||||
"row hand": "række hånd",
|
||||
|
|
@ -898,7 +901,7 @@
|
|||
"seal": "segl",
|
||||
"section": "sektion",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "at se dine træk. Hver koster en gruppe på 4 drevne fabrikker; resten af dine træk beholdes som enkeltkort.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "du ser de nye kortværdier. Hvert Mega-kort erstatter produktionen fra 4 bemandede fabrikker; de øvrige fabrikker producerer enkeltkort.",
|
||||
"selected": "valgt",
|
||||
"selected · ◈": "valgt · ◈",
|
||||
"side": "side",
|
||||
|
|
@ -912,10 +915,10 @@
|
|||
"span": "spændvidde",
|
||||
"st": "st",
|
||||
"staffing": "bemanding",
|
||||
"stag dim": "trin dæmpet",
|
||||
"stag era-": "trin æra-",
|
||||
"stag era-{x.era}": "trin æra-{x.era}",
|
||||
"stag era-{x.era} ks-era": "trin æra-{x.era} ks-æra",
|
||||
"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": "stjerne",
|
||||
"station": "station",
|
||||
"status": "status",
|
||||
|
|
@ -968,7 +971,7 @@
|
|||
"total": "i alt",
|
||||
"total hand value in credits": "samlet håndværdi i kreditter",
|
||||
"track": "spor",
|
||||
"trade": "handel",
|
||||
"trade": "byt",
|
||||
"trade here: they must hand back a higher-valued card of the offered type": "byt her: de skal give et kort af højere værdi af den tilbudte type tilbage",
|
||||
"trade target: they must hand back a higher-valued card of the offered type": "byttemål: de skal give et kort af højere værdi af den tilbudte type tilbage",
|
||||
"trade with": "handel med",
|
||||
|
|
@ -977,17 +980,17 @@
|
|||
"trades": "bytter",
|
||||
"tradetarget": "handelsmål",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "oversæt({b.x} {b.y})",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "sand",
|
||||
"turn": "tur",
|
||||
"ucard": "ukort",
|
||||
"ucard kcard era-": "ukort kkort æra-",
|
||||
"ucard kcard era-{spec.era}": "ukort kkort æra-{spec.era}",
|
||||
"ueffect": "ueffekt",
|
||||
"uera era-": "uæra æra-",
|
||||
"uera era-{spec.era}": "uæra æra-{spec.era}",
|
||||
"uera era-{upgradeEra(upgrade)}": "uæra æra-{upgradeEra(upgrade)}",
|
||||
"uname": "unavn",
|
||||
"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": "udefineret",
|
||||
"unit": "enhed",
|
||||
"unknown action": "ukendt handling",
|
||||
|
|
@ -1004,7 +1007,7 @@
|
|||
"upgrade (card #": "opgradering (kort #",
|
||||
"upgrade (counts against your robot limit once you own one).": "opgradering (tæller mod din robotgrænse, når du ejer en).",
|
||||
"uprice": "upris",
|
||||
"url(#moonbody)": "url(#månekrop)",
|
||||
"url(#moonbody)": "url(#moonbody)",
|
||||
"utag": "utag",
|
||||
"utag ktag era-": "utag ktag æra-",
|
||||
"utag ktag era-{spec.era}": "utag ktag æra-{spec.era}",
|
||||
|
|
@ -1019,8 +1022,8 @@
|
|||
"watch": "se",
|
||||
"water": "vand",
|
||||
"width": "bredde",
|
||||
"width:": "bredde:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "bredde: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; baggrund: {playerColor(",
|
||||
"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": "vind med",
|
||||
"winner": "vinder",
|
||||
"wins": "vinder",
|
||||
|
|
@ -1029,7 +1032,7 @@
|
|||
"wins with": "vinder med",
|
||||
"with": "med",
|
||||
"won": "vandt",
|
||||
"xMidYMax slice": "xMidYMax skive",
|
||||
"xMidYMax slice": "xMidYMax slice",
|
||||
"y requires": "y kræver",
|
||||
"your discount on this upgrade": "din rabat på denne opgradering",
|
||||
"{#each Array.from({p17}) as _, j (j)}": "{#each Array.from({p17}) as _, j (j)}",
|
||||
|
|
@ -1039,7 +1042,7 @@
|
|||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (Æra {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} kort{n === 1 ? '' : 'er'}",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}",
|
||||
"{p0} +1 card/round ({p1}–{p2})": "{p0} +1 kort/runde ({p1}–{p2})",
|
||||
"{p0} Cards must cover the payment; excess card value is not returned.": "{p0} Kort skal dække betalingen; overskydende kortværdi returneres ikke.",
|
||||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} Højeste bud vinder til næsthøjeste + 1; uafgjort går til den tidligste i turrækkefølgen.",
|
||||
|
|
@ -1067,8 +1070,8 @@
|
|||
"{p0} must be an integer in [{p1}, {p2}]": "{p0} skal være et heltal i [{p1}, {p2}]",
|
||||
"{p0} offers {p1} to {p2}, who has nothing higher to trade back": "{p0} tilbyder {p1} til {p2}, som ikke har noget højere at bytte tilbage",
|
||||
"{p0} overpaid": "{p0} overbetalt",
|
||||
"{p0} passes on the auction": "{p0} passer på auktionen",
|
||||
"{p0} passes on the exchange": "{p0} passer på byttet",
|
||||
"{p0} passes on the auction": "{p0} står over i auktionen",
|
||||
"{p0} passes on the exchange": "{p0} står over i byttehandlen",
|
||||
"{p0} passes — {p1} wins the sealed auction at {p2}": "{p0} passer — {p1} vinder den lukkede auktion ved {p2}",
|
||||
"{p0} puts {p1} up for auction at {p2}": "{p0} sætter {p1} på auktion til {p2}",
|
||||
"{p0} puts {p1} up for sealed auction": "{p0} sætter {p1} på lukket auktion",
|
||||
|
|
@ -1096,7 +1099,7 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0}: {p1} fabrik (bemandet)",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0}: {p1} fabrik (ubemandet)",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Runde {p1}: koloniskib ankommer: {p2}",
|
||||
"{p0}deg": "{p0}°",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "{p10} kort",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} VP, grundpris ◈ {p119}): {p120} ×{p121} tilbage i æra {p122}-bunken{p123}",
|
||||
|
|
@ -1174,12 +1177,12 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Bemandede fabrikker: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Produktion: 1 Mega pr. 4 bemandede fabrikker.",
|
||||
"Purchase order this round: {p0}": "Købsrækkefølge i denne runde: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"Pass auctions I can't afford": "Pas på auktioner, jeg ikke har råd til",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Pas automatisk på en auktion, når dine kort og rabatter ikke kan dække det krævede bud. Det kan afsløre, at din hånd er for svag.",
|
||||
"New factory": "Ny fabrik",
|
||||
"How to buy": "Sådan køber du",
|
||||
"Remaining upgrades": "Resterende opgraderinger",
|
||||
"Remaining Kicker cards": "Resterende Kicker-kort",
|
||||
"Pass auctions I can't afford": "Stå over i auktioner, jeg ikke har råd til",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Stå automatisk over i en auktion, når dine kort og rabatter ikke kan dække det krævede bud. Det kan afsløre, at din hånd er for svag.",
|
||||
"Choices stay hidden until everyone has confirmed.": "Valgene forbliver skjulte, indtil alle har bekræftet.",
|
||||
"Production choice locked.": "Produktionsvalg bekræftet.",
|
||||
"{p0} locks in their production choice": "{p0} bekræfter sit produktionsvalg",
|
||||
|
|
@ -1218,5 +1221,9 @@
|
|||
"Choose a card": "Vælg et kort",
|
||||
"Choose a player": "Vælg en spiller",
|
||||
"Trade rules": "Bytteregler",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Den valgte spiller giver et kort af samme ressource med en højere værdi tilbage, hvis de har et."
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Den valgte spiller giver et kort af samme ressource med en højere værdi tilbage, hvis de har et.",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} kreditter",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} VP, grundpris ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Betal højst ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Valgt: ◈ {p0} / ◈ {p1}."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"%; background:": "%; Hintergrund:",
|
||||
"(Ecoplants discount)": "(Ökokraftwerke-Rabatt)",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(Ökopflanzen-Rabatt)",
|
||||
"(Era": "(Ära",
|
||||
"(Kicker)": "(Kicker)",
|
||||
"(Kicker, era": "(Kicker, Ära",
|
||||
|
|
@ -194,7 +194,7 @@
|
|||
"Game over": "Spiel vorbei",
|
||||
"Game over:": "Spiel vorbei:",
|
||||
"Game over: {p0}": "Spiel vorbei: {p0}",
|
||||
"Game over: {p0} win with {p2} VP": "Spiel vorbei: {p0} gewinnt mit {p2} SP",
|
||||
"Game over: {p0} win with {p2} VP": "Spiel vorbei: {p0} gewinnen mit {p2} SP",
|
||||
"Game over: {p0} wins with {p2} VP": "Spiel vorbei: {p0} gewinnt mit {p2} SP",
|
||||
"Game sounds": "Spielsounds",
|
||||
"Game started with": "Spiel gestartet mit",
|
||||
|
|
@ -255,8 +255,8 @@
|
|||
"New Chemicals": "Neue Chemikalien",
|
||||
"New Chemicals Factory Prototype": "Neue-Chemikalien-Fabrik-Prototyp",
|
||||
"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.": "Neue-Chemikalien-Karten sind 14–26 Credits wert. Jede neue Fabrik kostet 60 und verbraucht mindestens eine Forschungskarte. Du brauchst kein Labor zu besitzen, wenn du Forschung anderweitig erhältst, z. B. durch Wissenschaftler.",
|
||||
"New Chemicals factories requires spending": "Neue Chemiefabriken erfordern Ausgaben",
|
||||
"New Chemicals factory requires spending": "Neue Chemiefabrik erfordert Ausgaben",
|
||||
"New Chemicals factories requires spending": "Fabriken für Neue Chemikalien erfordern das Ausgeben von",
|
||||
"New Chemicals factory requires spending": "eine Fabrik für Neue Chemikalien erfordert das Ausgeben von",
|
||||
"New era": "Neue Ära",
|
||||
"New factory:": "Neue Fabrik:",
|
||||
"Next chapter": "Nächstes Kapitel",
|
||||
|
|
@ -503,22 +503,22 @@
|
|||
"avatar": "Avatar",
|
||||
"avatar fallback": "Avatar-Ersatz",
|
||||
"avg": "Ø",
|
||||
"background:": "hintergrund:",
|
||||
"background: {playerColor(row.i)}": "Hintergrund: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "Abzeichen",
|
||||
"badge res-": "Abzeichen Res-",
|
||||
"badge res-{spec.freeFactory}": "Abzeichen Res-{spec.freeFactory}",
|
||||
"badge res-{spec.produces}": "Abzeichen Res-{spec.produces}",
|
||||
"badge res-{type}": "Abzeichen Res-{type}",
|
||||
"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": "Abzeichen",
|
||||
"banner": "Banner",
|
||||
"bar": "balken",
|
||||
"barcell": "Strichcode",
|
||||
"base": "basis",
|
||||
"before": "vor",
|
||||
"before": "bevor",
|
||||
"begins": "beginnt",
|
||||
"begins —": "beginnt —",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-erwähnungen-{p0}",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-mentions-{p0}",
|
||||
"bid": "Gebot",
|
||||
"bid must be at least": "Gebot muss mindestens betragen",
|
||||
"bid must be at least {p0}": "Gebot muss mindestens {p0} betragen",
|
||||
|
|
@ -538,7 +538,8 @@
|
|||
"build": "bauen",
|
||||
"builds": "baut",
|
||||
"builds {p0} {p1} factories": "baut {p0} {p1} Fabriken",
|
||||
"builds {p0} {p1} factory": "baut {p0} {p1} Fabrik",
|
||||
"builds a {p0} factory": "baut eine {p0}-Fabrik",
|
||||
"builds {p0} {p1} factory": "baut {p0} {p1}-Fabrik",
|
||||
"button": "Schaltfläche",
|
||||
"buy": "kaufen",
|
||||
"buy factory": "Fabrik kaufen",
|
||||
|
|
@ -589,14 +590,14 @@
|
|||
"chat": "Chat",
|
||||
"checkbox": "Kontrollkästchen",
|
||||
"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 Ära-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "Chip uchip Ära-{upgradeEra(token.u)}",
|
||||
"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": "klicken",
|
||||
"colonist": "Kolonist",
|
||||
"colonist(s)": "Kolonist(en)",
|
||||
|
|
@ -734,6 +735,8 @@
|
|||
"mans": "bemannt",
|
||||
"mans {p0} factories": "bemannt {p0} Fabriken",
|
||||
"mans {p0} factory": "bemannt {p0} Fabrik",
|
||||
"{p0} mans {p1} factory": "{p0} besetzt {p1} Fabrik mit einem Arbeiter",
|
||||
"{p0} mans {p1} factories": "{p0} besetzt {p1} Fabriken mit Arbeitern",
|
||||
"mark": "Markierung",
|
||||
"market": "Markt",
|
||||
"marks": "Markierungen",
|
||||
|
|
@ -898,7 +901,7 @@
|
|||
"seal": "Siegel",
|
||||
"section": "Abschnitt",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "deine Ziehungen zu sehen. Jede kostet eine Gruppe von 4 betriebenen Fabriken; der Rest deiner Ziehungen wird als Einzelkarten behalten.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "du die neuen Kartenwerte siehst. Jede ersetzt die Produktion von 4 besetzten Fabriken; die übrigen Fabriken produzieren Einzelkarten.",
|
||||
"selected": "ausgewählt",
|
||||
"selected · ◈": "ausgewählt · ◈",
|
||||
"side": "Seite",
|
||||
|
|
@ -912,10 +915,10 @@
|
|||
"span": "Spannweite",
|
||||
"st": "Str.",
|
||||
"staffing": "Besetzung",
|
||||
"stag dim": "Hirsch dunkel",
|
||||
"stag era-": "Hirsch Ära-",
|
||||
"stag era-{x.era}": "Hirsch Ära-{x.era}",
|
||||
"stag era-{x.era} ks-era": "Hirsch Ära-{x.era} ks-era",
|
||||
"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": "Stern",
|
||||
"station": "Station",
|
||||
"status": "Status",
|
||||
|
|
@ -968,7 +971,7 @@
|
|||
"total": "gesamt",
|
||||
"total hand value in credits": "Gesamthandwert in Credits",
|
||||
"track": "Leiste",
|
||||
"trade": "Handel",
|
||||
"trade": "tauschen",
|
||||
"trade here: they must hand back a higher-valued card of the offered type": "hier tauschen: sie müssen eine höherwertige Karte des angebotenen Typs zurückgeben",
|
||||
"trade target: they must hand back a higher-valued card of the offered type": "Tauschziel: sie müssen eine höherwertige Karte des angebotenen Typs zurückgeben",
|
||||
"trade with": "Handeln mit",
|
||||
|
|
@ -1019,8 +1022,8 @@
|
|||
"watch": "beobachten",
|
||||
"water": "Wasser",
|
||||
"width": "Breite",
|
||||
"width:": "Breite:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "Breite: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; Hintergrund: {playerColor(",
|
||||
"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": "gewinnen mit",
|
||||
"winner": "Sieger",
|
||||
"wins": "gewinnt",
|
||||
|
|
@ -1037,15 +1040,15 @@
|
|||
"{RESOURCE_LABELS[group.type]} factories: {FACTORIES[group.type].vp} VP each and a ◈ {MIN_CARD_VALUE[": "{RESOURCE_LABELS[group.type]} Fabriken: je {FACTORIES[group.type].vp} SP und ein ◈ {MIN_CARD_VALUE[",
|
||||
"{RESOURCE_LABELS[token.card]} card": "{RESOURCE_LABELS[token.card]} Karte",
|
||||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (Ära {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`Die",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} Karte{n === 1 ? '' : 'n'}",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}",
|
||||
"{p0} +1 card/round ({p1}–{p2})": "{p0} +1 Karte/Runde ({p1}–{p2})",
|
||||
"{p0} Cards must cover the payment; excess card value is not returned.": "{p0} Karten müssen die Zahlung abdecken; überschüssiger Kartenwert wird nicht erstattet.",
|
||||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} Höchstes Gebot gewinnt zum zweithöchsten + 1; bei Gleichstand entscheidet die früheste Zugreihenfolge.",
|
||||
"{p0} OUTPOST": "{p0} OUTPOST",
|
||||
"{p0} VP": "{p0} SP",
|
||||
"{p0} VP to next era": "{p0} SP in die nächste Ära",
|
||||
"{p0} VP to next era": "{p0} SP bis zur nächsten Ära",
|
||||
"{p0} VP · finish the round": "{p0} SP · Runde beenden",
|
||||
"{p0} VP · list ◈ {p1}": "{p0} SP · Grundpreis ◈ {p1}",
|
||||
"{p0} bids {p1}": "{p0} bietet {p1}",
|
||||
|
|
@ -1096,7 +1099,7 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0}: {p1} Fabrik (bemannt)",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0}: {p1} Fabrik (unbemannt)",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Runde {p1}: Kolonieschiff kommt an: {p2}",
|
||||
"{p0}deg": "{p0}°",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "{p10} Karte",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} SP, Grundpreis ◈ {p119}): {p120} ×{p121} übrig im Stapel der Ära {p122}{p123}",
|
||||
|
|
@ -1117,8 +1120,8 @@
|
|||
"{p7}: Biosphere": "{p7}: Biosphäre",
|
||||
"{p86} VP": "{p86} SP",
|
||||
"{p9} VP · finish the round": "{p9} SP · Runde beenden",
|
||||
"{parked": "{geparkt",
|
||||
"{reason": "{Grund",
|
||||
"{parked": "{parked",
|
||||
"{reason": "{reason",
|
||||
"{spec.name} (Kicker, era {['', 'I', 'II', 'III'][": "{spec.name} (Kicker, Ära {['', 'I', 'II', 'III'][",
|
||||
"{spec.name} ({spec.vp} VP, list ◈ {spec.price}): {effectToText(": "{spec.name} ({spec.vp} SP, Grundpreis ◈ {spec.price}): {effectToText(",
|
||||
"{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1": "{spec.name}: {spec.vp} SP, Grundpreis {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1",
|
||||
|
|
@ -1174,10 +1177,10 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Besetzte Fabriken: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Produktion: 1 Mega pro 4 besetzte Fabriken.",
|
||||
"Purchase order this round: {p0}": "Kaufreihenfolge in dieser Runde: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Neue Fabrik",
|
||||
"How to buy": "So kaufst du ein",
|
||||
"Remaining upgrades": "Verbleibende Aufwertungen",
|
||||
"Remaining Kicker cards": "Verbleibende Kickerkarten",
|
||||
"Pass auctions I can't afford": "Bei unbezahlbaren Auktionen passen",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Bei einer Auktion automatisch passen, wenn deine Karten und Rabatte das erforderliche Gebot nicht decken. Das kann verraten, dass deine Hand zu schwach ist.",
|
||||
"Choices stay hidden until everyone has confirmed.": "Die Entscheidungen bleiben verborgen, bis alle bestätigt haben.",
|
||||
|
|
@ -1218,5 +1221,9 @@
|
|||
"Choose a card": "Wähle eine Karte",
|
||||
"Choose a player": "Wähle einen Spieler",
|
||||
"Trade rules": "Tauschregeln",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Der gewählte Spieler gibt eine höherwertige Karte derselben Ressource zurück, sofern er eine hat."
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Der gewählte Spieler gibt eine höherwertige Karte derselben Ressource zurück, sofern er eine hat.",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} Credits",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} SP, Grundpreis ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Zahle höchstens ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Ausgewählt: ◈ {p0} / ◈ {p1}."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; φόντο:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(Έκπτωση Οικολογικών εργοστασίων)",
|
||||
"(Era": "(Εποχή",
|
||||
"(Kicker)": "(Kicker)",
|
||||
|
|
@ -203,8 +203,8 @@
|
|||
"Heavy Equipment": "Βαρύς Εξοπλισμός",
|
||||
"Heavy Equipment is yours": "Ο Βαρύς Εξοπλισμός είναι δικός σου",
|
||||
"Hide": "Απόκρυψη",
|
||||
"High bid": "Υψηλή προσφορά",
|
||||
"High bid {p0} by {p1}": "Υψηλή προσφορά {p0} από {p1}",
|
||||
"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?": "Πόσα ρομπότ μπορούν να λειτουργήσουν;",
|
||||
|
|
@ -255,8 +255,8 @@
|
|||
"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 Chemicals factories requires spending": "Τα εργοστάσια Νέων Χημικών απαιτούν τη δαπάνη",
|
||||
"New Chemicals factory requires spending": "Το εργοστάσιο Νέων Χημικών απαιτεί τη δαπάνη",
|
||||
"New era": "Νέα εποχή",
|
||||
"New factory:": "Νέο εργοστάσιο:",
|
||||
"Next chapter": "Επόμενο κεφάλαιο",
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
"Produces an": "Παράγει ένα",
|
||||
"Production": "Παραγωγή",
|
||||
"Production: choose Mega cards": "Παραγωγή: επίλεξε κάρτες Mega",
|
||||
"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} βλέποντας τις κληρώσεις σου. Κάθε μία κοστίζει μια ομάδα 4 λειτουργούντων εργοστασίων· οι υπόλοιπες κληρώσεις σου κρατιούνται ως μονές.",
|
||||
"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} δεις τις αξίες των νέων καρτών σου. Κάθε κάρτα αντικαθιστά την παραγωγή 4 στελεχωμένων εργοστασίων· τα υπόλοιπα παράγουν μεμονωμένες κάρτες.",
|
||||
"Progress cannot be saved in this browser": "Η πρόοδος δεν μπορεί να αποθηκευτεί σε αυτόν τον περιηγητή",
|
||||
"Put a robot to work": "Βάλε ένα ρομπότ να δουλέψει",
|
||||
"Put up for auction": "Βγάλε σε δημοπρασία",
|
||||
|
|
@ -353,7 +353,7 @@
|
|||
"Sealed bids": "Κλειστές προσφορές",
|
||||
"Sealed bids and discounts": "Κλειστές προσφορές και εκπτώσεις",
|
||||
"Sealed bids —": "Κλειστές προσφορές —",
|
||||
"Sealed bids — {p0} still to bid{p1}": "Σφραγισμένες προσφορές — {p0} ακόμη να προσφέρουν{p1}",
|
||||
"Sealed bids — {p0} still to bid{p1}": "Κλειστές προσφορές — απομένουν {p0} παίκτες για προσφορά{p1}",
|
||||
"Sealed bids: waiting for": "Κλειστές προσφορές: αναμονή για",
|
||||
"Sealed bids: waiting for {p0}…": "Κλειστές προσφορές: αναμονή για {p0}…",
|
||||
"See the result": "Δες το αποτέλεσμα",
|
||||
|
|
@ -388,7 +388,7 @@
|
|||
"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.": "Οι δέκα κάρτες Μεταλλεύματος και οι δύο Νερού χρησιμοποιούν 12 θέσεις. Οι δύο κάρτες Έρευνας δεν χρησιμοποιούν καμία.",
|
||||
"Titanium": "Τιτάνιο",
|
||||
"Trade": "Εμπόριο",
|
||||
"Trade": "Ανταλλαγή",
|
||||
"Trade four random production cards for one fixed-value Mega card.": "Αντάλλαξε τέσσερις τυχαίες κάρτες παραγωγής για μία κάρτα Μέγα σταθερής αξίας.",
|
||||
"Tutorial": "Εκμάθηση",
|
||||
"Tutorial navigation": "Πλοήγηση εκμάθησης",
|
||||
|
|
@ -399,7 +399,7 @@
|
|||
"Unknown Outpost chapter": "Άγνωστο κεφάλαιο Outpost",
|
||||
"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} ΠΝ επανδρωμένο)",
|
||||
"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": "Αναβαθμίσεις",
|
||||
|
|
@ -503,13 +503,13 @@
|
|||
"avatar": "άβαταρ",
|
||||
"avatar fallback": "εφεδρικό άβαταρ",
|
||||
"avg": "μέσος όρος",
|
||||
"background:": "φόντο:",
|
||||
"background: {playerColor(row.i)}": "φόντο: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "σήμα",
|
||||
"badge res-": "σήμα πόρος-",
|
||||
"badge res-{spec.freeFactory}": "σήμα πόρος-{spec.freeFactory}",
|
||||
"badge res-{spec.produces}": "σήμα πόρος-{spec.produces}",
|
||||
"badge res-{type}": "σήμα πόρος-{type}",
|
||||
"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": "σήματα",
|
||||
"banner": "πανό",
|
||||
"bar": "μπάρα",
|
||||
|
|
@ -538,13 +538,14 @@
|
|||
"build": "χτίζω",
|
||||
"builds": "χτίζει",
|
||||
"builds {p0} {p1} factories": "χτίζει {p0} {p1} εργοστάσια",
|
||||
"builds {p0} {p1} factory": "χτίζει {p0} {p1} εργοστάσιο",
|
||||
"builds a {p0} factory": "χτίζει ένα εργοστάσιο {p0}",
|
||||
"builds {p0} {p1} factory": "χτίζει {p0} εργοστάσιο {p1}",
|
||||
"button": "κουμπί",
|
||||
"buy": "αγοράζω",
|
||||
"buy factory": "αγόρασε εργοστάσιο",
|
||||
"buy population": "αγόρασε πληθυσμό",
|
||||
"buy res-": "αγορά πόρος-",
|
||||
"buy res-{type}": "αγορά πόρος-{type}",
|
||||
"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} κάρτας έρευνας",
|
||||
|
|
@ -569,7 +570,7 @@
|
|||
"cannot take {p0} mega {p1} card(s)": "δεν μπορεί να πάρει {p0} μέγα {p1} κάρτα(ες)",
|
||||
"cantbid": "δεν μπορεί να κάνει προσφορά",
|
||||
"caption": "λεζάντα",
|
||||
"caption kicker-caption": "λεζάντα υπέρτιτλος-λεζάντα",
|
||||
"caption kicker-caption": "caption kicker-caption",
|
||||
"card": "κάρτα",
|
||||
"card each round (per copy)": "κάρτα κάθε γύρο (ανά αντίγραφο)",
|
||||
"card each round when manned": "κάρτα κάθε γύρο όταν είναι επανδρωμένο",
|
||||
|
|
@ -584,19 +585,19 @@
|
|||
"cards). −5 on": "κάρτες). −5 σε",
|
||||
"cards); comes with a free one.": "κάρτες)· συνοδεύεται από δωρεάν.",
|
||||
"cash": "μετρητά",
|
||||
"cash dim": "μετρητά αχνά",
|
||||
"cash dim selfrange": "μετρητά αχνά αυτοεμβέλεια",
|
||||
"cash dim": "cash dim",
|
||||
"cash dim selfrange": "cash dim selfrange",
|
||||
"chat": "συνομιλία",
|
||||
"checkbox": "πλαίσιο ελέγχου",
|
||||
"chip": "μάρκα",
|
||||
"chip fchip res-": "μάρκα fμάρκα πόρος-",
|
||||
"chip fchip res-{token.f}": "μάρκα fμάρκα πόρος-{token.f}",
|
||||
"chip kchip": "μάρκα kμάρκα",
|
||||
"chip rchip res-": "μάρκα rμάρκα πόρος-",
|
||||
"chip rchip res-{token.card}": "μάρκα rμάρκα πόρος-{token.card}",
|
||||
"chip rchip res-{token.r}": "μάρκα rμάρκα πόρος-{token.r}",
|
||||
"chip uchip era-": "μάρκα uμάρκα εποχή-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "μάρκα uμάρκα εποχή-{upgradeEra(token.u)}",
|
||||
"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)": "άποικος(οι)",
|
||||
|
|
@ -626,7 +627,7 @@
|
|||
"done": "έτοιμο",
|
||||
"dot": "κουκκίδα",
|
||||
"each,": "το καθένα,",
|
||||
"ecoplants": "οικοφυτά",
|
||||
"ecoplants": "οικολογικά εργοστάσια",
|
||||
"edited": "επεξεργασμένο",
|
||||
"empty": "κενό",
|
||||
"end": "τέλος",
|
||||
|
|
@ -637,8 +638,8 @@
|
|||
"entry {p0} / {p1}": "καταχώρηση {p0} / {p1}",
|
||||
"entry {p1} / {p2}": "καταχώριση {p1} / {p2}",
|
||||
"era": "εποχή",
|
||||
"eramark era-": "σημάδι εποχής εποχή-",
|
||||
"eramark era-{era === 'II' ? 2 : 3}": "σημάδι εποχής εποχή-{era === 'II' ? 2 : 3}",
|
||||
"eramark era-": "eramark era-",
|
||||
"eramark era-{era === 'II' ? 2 : 3}": "eramark era-{era === 'II' ? 2 : 3}",
|
||||
"es": "ες",
|
||||
"exchange": "ανταλλαγή",
|
||||
"expected an object": "αναμενόταν αντικείμενο",
|
||||
|
|
@ -658,20 +659,20 @@
|
|||
"fdot": "fκουκκίδα",
|
||||
"fdots": "fκουκκίδες",
|
||||
"feed": "τροφοδοσία",
|
||||
"fgroup res-": "fομάδα πόρος-",
|
||||
"fgroup res-{group.type}": "fομάδα πόρος-{group.type}",
|
||||
"fgroup res-": "fgroup res-",
|
||||
"fgroup res-{group.type}": "fgroup res-{group.type}",
|
||||
"fill": "γεμίζω",
|
||||
"finish": "τέλος",
|
||||
"flow": "ροή",
|
||||
"flow mega-flow": "ροή mega-flow",
|
||||
"flow wrap": "ροή wrap",
|
||||
"flow mega-flow": "flow mega-flow",
|
||||
"flow wrap": "flow wrap",
|
||||
"fly": "πετάω",
|
||||
"focus": "εστίαση",
|
||||
"footprint": "αποτύπωμα",
|
||||
"for": "για",
|
||||
"for a higher one": "για υψηλότερο",
|
||||
"for {p0} {p1}": "για {p0} {p1}",
|
||||
"free factory": "ελεύθερο εργοστάσιο",
|
||||
"free factory": "δωρεάν εργοστάσιο",
|
||||
"glass": "γυαλί",
|
||||
"group": "ομάδα",
|
||||
"hand": "χέρι",
|
||||
|
|
@ -685,9 +686,9 @@
|
|||
"head": "κεφάλι",
|
||||
"height": "ύψος",
|
||||
"hint": "υπόδειξη",
|
||||
"hint dim": "υπόδειξη dim",
|
||||
"hint gold-hint": "υπόδειξη gold-hint",
|
||||
"hint warn": "υπόδειξη warn",
|
||||
"hint dim": "hint dim",
|
||||
"hint gold-hint": "hint gold-hint",
|
||||
"hint warn": "hint warn",
|
||||
"icon": "εικονίδιο",
|
||||
"identity": "ταυτότητα",
|
||||
"ies": "ίες",
|
||||
|
|
@ -710,9 +711,9 @@
|
|||
"is less than the required": "είναι μικρότερο από το απαιτούμενο",
|
||||
"is too large": "είναι πολύ μεγάλο",
|
||||
"item": "αντικείμενο",
|
||||
"item dim": "αντικείμενο dim",
|
||||
"item era": "αντικείμενο era",
|
||||
"item phase": "αντικείμενο phase",
|
||||
"item dim": "item dim",
|
||||
"item era": "item era",
|
||||
"item phase": "item phase",
|
||||
"kcount": "kcount",
|
||||
"kicker": "Kicker",
|
||||
"label": "ετικέτα",
|
||||
|
|
@ -843,8 +844,8 @@
|
|||
"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": "σειρά αγοράς: αγοράζει",
|
||||
"purchase order: buys {orderPos}{orderPos === 1": "σειρά αγοράς: αγοράζει {orderPos}{orderPos === 1",
|
||||
"purchase order: buys {p15}{p16} this round": "σειρά αγοράς: αγοράζει {p15}{p16} αυτόν τον γύρο",
|
||||
"puts": "βάζει",
|
||||
"px": "px",
|
||||
|
|
@ -875,9 +876,9 @@
|
|||
"robot(s)": "ρομπότ",
|
||||
"robots": "ρομπότ",
|
||||
"robot{p61}: {p62} selected": "ρομπότ{p61}: {p62} επιλεγμένο",
|
||||
"rock r1": "βράχος r1",
|
||||
"rock r2": "βράχος r2",
|
||||
"rock r3": "βράχος r3",
|
||||
"rock r1": "rock r1",
|
||||
"rock r2": "rock r2",
|
||||
"rock r3": "rock r3",
|
||||
"role": "ρόλος",
|
||||
"roof": "στέγη",
|
||||
"rotate(-18 12 12)": "rotate(-18 12 12)",
|
||||
|
|
@ -885,12 +886,12 @@
|
|||
"rotate(120 12 12)": "rotate(120 12 12)",
|
||||
"rotate(60 12 12)": "rotate(60 12 12)",
|
||||
"round": "γύρος",
|
||||
"row chips": "μάρκες σειράς",
|
||||
"row hand": "χέρι σειράς",
|
||||
"row hand pending": "χέρι σειράς σε εκκρεμότητα",
|
||||
"row picksum": "άθροισμα επιλογής σειράς",
|
||||
"row stats": "στατιστικά σειράς",
|
||||
"row tags": "ετικέτες σειράς",
|
||||
"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": "σκηνή",
|
||||
"scientists": "επιστήμονες",
|
||||
|
|
@ -898,7 +899,7 @@
|
|||
"seal": "σφραγίδα",
|
||||
"section": "ενότητα",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "βλέπεις τις κληρώσεις σου. Κάθε μία κοστίζει μια ομάδα 4 λειτουργούντων εργοστασίων· οι υπόλοιπες κληρώσεις σου κρατούνται ως μεμονωμένες.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "δεις τις αξίες των νέων καρτών σου. Κάθε κάρτα Μέγα αντικαθιστά την παραγωγή 4 στελεχωμένων εργοστασίων· τα υπόλοιπα παράγουν μεμονωμένες κάρτες.",
|
||||
"selected": "επιλεγμένο",
|
||||
"selected · ◈": "επιλεγμένο · ◈",
|
||||
"side": "πλευρά",
|
||||
|
|
@ -912,15 +913,15 @@
|
|||
"span": "έκταση",
|
||||
"st": "στ",
|
||||
"staffing": "στελέχωση",
|
||||
"stag dim": "ελάφι αμυδρό",
|
||||
"stag era-": "εποχή ελαφιού-",
|
||||
"stag era-{x.era}": "εποχή ελαφιού-{x.era}",
|
||||
"stag era-{x.era} ks-era": "εποχή ελαφιού-{x.era} ks-era",
|
||||
"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": "αστέρι",
|
||||
"station": "σταθμός",
|
||||
"status": "κατάσταση",
|
||||
"step": "βήμα",
|
||||
"still": "ακίνητο",
|
||||
"still": "ακόμη",
|
||||
"still to bid": "ακόμα να προσφέρει",
|
||||
"still to bid{p10} : {p11}{p12}": "ακόμα να πλειοδοτήσουν{p10} : {p11}{p12}",
|
||||
"still {p0} cards over the hand capacity of {p1}": "ακόμα {p0} κάρτες πάνω από τη χωρητικότητα χεριού των {p1}",
|
||||
|
|
@ -932,13 +933,13 @@
|
|||
"style": "στυλ",
|
||||
"summary": "σύνοψη",
|
||||
"supply": "προμήθεια",
|
||||
"supply ksupply": "απόθεμα ksupply",
|
||||
"supply ksupply": "supply ksupply",
|
||||
"surface": "επιφάνεια",
|
||||
"svelte": "λεπτό",
|
||||
"svelte": "svelte",
|
||||
"svg": "svg",
|
||||
"system": "σύστημα",
|
||||
"tail": "ουρά",
|
||||
"take.{p0}": "πάρε.{p0}",
|
||||
"take.{p0}": "take.{p0}",
|
||||
"takes": "παίρνει",
|
||||
"takes part in the sealed auction": "συμμετέχει στην κλειστή δημοπρασία",
|
||||
"takes their production as single cards": "παίρνει την παραγωγή του ως μεμονωμένες κάρτες",
|
||||
|
|
@ -968,7 +969,7 @@
|
|||
"total": "σύνολο",
|
||||
"total hand value in credits": "συνολική αξία χεριού σε μονάδες",
|
||||
"track": "τροχιά",
|
||||
"trade": "εμπόριο",
|
||||
"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": "συναλλαγή με",
|
||||
|
|
@ -977,18 +978,18 @@
|
|||
"trades": "ανταλλάσσει",
|
||||
"tradetarget": "στόχος συναλλαγής",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "μετάφραση({b.x} {b.y})",
|
||||
"true": "αληθές",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "true",
|
||||
"turn": "σειρά",
|
||||
"ucard": "ucard",
|
||||
"ucard kcard era-": "ucard kcard εποχή-",
|
||||
"ucard kcard era-{spec.era}": "ucard kcard εποχή-{spec.era}",
|
||||
"ucard kcard era-": "ucard kcard era-",
|
||||
"ucard kcard era-{spec.era}": "ucard kcard era-{spec.era}",
|
||||
"ueffect": "ueffect",
|
||||
"uera era-": "uera εποχή-",
|
||||
"uera era-{spec.era}": "uera εποχή-{spec.era}",
|
||||
"uera era-{upgradeEra(upgrade)}": "uera εποχή-{upgradeEra(upgrade)}",
|
||||
"uera era-": "uera era-",
|
||||
"uera era-{spec.era}": "uera era-{spec.era}",
|
||||
"uera era-{upgradeEra(upgrade)}": "uera era-{upgradeEra(upgrade)}",
|
||||
"uname": "uname",
|
||||
"undefined": "απροσδιόριστο",
|
||||
"undefined": "undefined",
|
||||
"unit": "μονάδα",
|
||||
"unknown action": "άγνωστη ενέργεια",
|
||||
"unknown action {p0}": "άγνωστη ενέργεια {p0}",
|
||||
|
|
@ -1006,8 +1007,8 @@
|
|||
"uprice": "uprice",
|
||||
"url(#moonbody)": "url(#moonbody)",
|
||||
"utag": "utag",
|
||||
"utag ktag era-": "utag ktag εποχή-",
|
||||
"utag ktag era-{spec.era}": "utag ktag εποχή-{spec.era}",
|
||||
"utag ktag era-": "utag ktag era-",
|
||||
"utag ktag era-{spec.era}": "utag ktag era-{spec.era}",
|
||||
"uvp": "uvp",
|
||||
"value": "τιμή",
|
||||
"victory": "νίκη",
|
||||
|
|
@ -1019,8 +1020,8 @@
|
|||
"watch": "παρακολούθηση",
|
||||
"water": "νερό",
|
||||
"width": "πλάτος",
|
||||
"width:": "πλάτος:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "πλάτος: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; φόντο: {playerColor(",
|
||||
"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": "κερδίζει",
|
||||
|
|
@ -1045,24 +1046,24 @@
|
|||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} Η υψηλότερη προσφορά κερδίζει στη δεύτερη υψηλότερη + 1· οι ισοπαλίες πηγαίνουν στον πιο πρώιμο στη σειρά γύρου.",
|
||||
"{p0} OUTPOST": "{p0} ΦΥΛΑΚΙΟ",
|
||||
"{p0} VP": "{p0} ΠΝ",
|
||||
"{p0} VP to next era": "{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": "κάρτα «{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} 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} 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} προσφέρει {p1} στον/ην {p2}, που δεν έχει κάτι ανώτερο να ανταλλάξει",
|
||||
|
|
@ -1086,7 +1087,7 @@
|
|||
"{p0} won {p1} for {p2}": "{p0} κέρδισε {p1} για {p2}",
|
||||
"{p0} {p1} (paid {p2}) and {p3}": "{p0} {p1} (πλήρωσε {p2}) και {p3}",
|
||||
"{p0} {p1} VP": "{p0} {p1} ΠΝ",
|
||||
"{p0} {p1} factories": "{p0} {p1} εργοστάσια",
|
||||
"{p0} {p1} factories": "{p0} εργοστάσια «{p1}»",
|
||||
"{p0} · you hold ◈ {p1}": "{p0} · κρατάς ◈ {p1}",
|
||||
"{p0}: Biosphere": "{p0}: Βιόσφαιρα",
|
||||
"{p0}: duplicate indices": "{p0}: διπλότυποι δείκτες",
|
||||
|
|
@ -1096,7 +1097,7 @@
|
|||
"{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}°",
|
||||
"{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}",
|
||||
|
|
@ -1110,7 +1111,7 @@
|
|||
"{p23} (Era {p24})": "{p23} (Εποχή {p24})",
|
||||
"{p2} VP · list ◈ {p3}": "{p2} ΠΝ · βασική τιμή ◈ {p3}",
|
||||
"{p42} {p43} Also confirms: {p44}. {p45}": "{p42} {p43} Επίσης επιβεβαιώνει: {p44}. {p45}",
|
||||
"{p50} Building": "{p50} Κτίριο",
|
||||
"{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} κάθε γύρο όταν επανδρώνονται",
|
||||
|
|
@ -1174,10 +1175,16 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Στελεχωμένα εργοστάσια: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Παραγωγή: 1 Mega ανά 4 στελεχωμένα εργοστάσια.",
|
||||
"Purchase order this round: {p0}": "Σειρά αγοράς σε αυτόν τον γύρο: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Νέο εργοστάσιο",
|
||||
"How to buy": "Πώς να αγοράσεις",
|
||||
"Remaining upgrades": "Υπόλοιπες αναβαθμίσεις",
|
||||
"Remaining Kicker cards": "Υπόλοιπες κάρτες Kicker",
|
||||
"{p0}: {p1} credits": "{p0} — μονάδες: {p1}",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} ΠΝ, βασική τιμή ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Πλήρωσε το πολύ ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Επιλεγμένα ◈ {p0} / ◈ {p1}.",
|
||||
"{p0} mans {p1} factory": "{p0} στελεχώνει {p1} εργοστάσιο",
|
||||
"{p0} mans {p1} factories": "{p0} στελεχώνει {p1} εργοστάσια",
|
||||
"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.": "Οι επιλογές παραμένουν κρυφές μέχρι να επιβεβαιώσουν όλοι.",
|
||||
|
|
@ -1208,7 +1215,7 @@
|
|||
"Max": "Μέγ.",
|
||||
"Quantity": "Ποσότητα",
|
||||
"Selected cards cover {p0}.": "Οι επιλεγμένες κάρτες καλύπτουν {p0}.",
|
||||
"{p0} {p1} factory": "{p0} εργοστάσιο {p1}",
|
||||
"{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}",
|
||||
|
|
|
|||
|
|
@ -538,6 +538,7 @@
|
|||
"build": "build",
|
||||
"builds": "builds",
|
||||
"builds {p0} {p1} factories": "builds {p0} {p1} factories",
|
||||
"builds a {p0} factory": "builds a {p0} factory",
|
||||
"builds {p0} {p1} factory": "builds {p0} {p1} factory",
|
||||
"button": "button",
|
||||
"buy": "buy",
|
||||
|
|
@ -732,6 +733,12 @@
|
|||
"main": "main",
|
||||
"manned": "manned",
|
||||
"mans": "mans",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} credits",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} VP, list ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Pay at most ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Selected ◈ {p0} / ◈ {p1}.",
|
||||
"{p0} mans {p1} factory": "{p0} mans {p1} factory",
|
||||
"{p0} mans {p1} factories": "{p0} mans {p1} factories",
|
||||
"mans {p0} factories": "mans {p0} factories",
|
||||
"mans {p0} factory": "mans {p0} factory",
|
||||
"mark": "mark",
|
||||
|
|
|
|||
|
|
@ -560,7 +560,7 @@
|
|||
"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 build {p0} factories": "نمیتواند کارخانهٔ {p0} بسازد",
|
||||
"cannot offer a": "نمیتواند پیشنهاد کند",
|
||||
"cannot offer a mega": "نمیتواند مگا پیشنهاد کند",
|
||||
"cannot offer a mega {p1} card in an exchange": "نمیتواند کارت مگا {p1} را برای معاوضه پیشنهاد کند",
|
||||
|
|
@ -1062,9 +1062,9 @@
|
|||
"{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} must be an array",
|
||||
"{p0} must be an integer in [{p1}, {p2}]": "{p0} must be an integer in [{p1}, {p2}]",
|
||||
"{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} کارت {p1} را به {p2} پیشنهاد میکند؛ او کارت باارزشتری برای معاوضه ندارد",
|
||||
"{p0} overpaid": "{p0} اضافه پرداختشده",
|
||||
"{p0} passes on the auction": "{p0} از مزایده کنار میکشد",
|
||||
|
|
@ -1089,9 +1089,9 @@
|
|||
"{p0} {p1} factories": "{p0} کارخانهٔ {p1}",
|
||||
"{p0} · you hold ◈ {p1}": "{p0} · موجودی شما ◈ {p1}",
|
||||
"{p0}: Biosphere": "{p0}: زیستکره",
|
||||
"{p0}: duplicate indices": "{p0}: duplicate indices",
|
||||
"{p0}: expected an array of card indices": "{p0}: expected an array of card indices",
|
||||
"{p0}: invalid index {p1}": "{p0}: invalid index {p1}",
|
||||
"{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} (بیکار)",
|
||||
|
|
@ -1209,7 +1209,7 @@
|
|||
"Quantity": "تعداد",
|
||||
"Selected cards cover {p0}.": "کارتهای انتخابشده برای {p0} کافیاند.",
|
||||
"{p0} {p1} factory": "{p0} کارخانهٔ {p1}",
|
||||
"◈ {p0} lost (no change).": "◈ {p0} از دست میرود (بدون باقیمانده).",
|
||||
"◈ {p0} lost (no change).": "◈ {p0} از دست میرود (مبلغ اضافی برگردانده نمیشود).",
|
||||
"These cards can buy {p0}. Buy fewer anyway?": "این کارتها برای خرید {p0} کافیاند. باز هم کمتر بخرید؟",
|
||||
"Buy {p0} anyway · ◈ {p1}": "به هر حال {p0} بخرید · ◈ {p1}",
|
||||
"Undo my move": "بازگرداندن حرکت",
|
||||
|
|
@ -1217,6 +1217,13 @@
|
|||
"Auto Megas paused: production exceeds your hand limit. Choose this round.": "انتخاب خودکار مگا متوقف شد: تولید از حد کارتهای دست شما بیشتر است. برای این دور انتخاب کنید.",
|
||||
"Choose a card": "یک کارت انتخاب کنید",
|
||||
"Choose a player": "یک بازیکن انتخاب کنید",
|
||||
"builds a {p0} factory": "یک کارخانهٔ {p0} میسازد",
|
||||
"{p0} mans {p1} factory": "{p0} برای {p1} کارخانه کارمند میگمارد",
|
||||
"{p0} mans {p1} factories": "{p0} برای {p1} کارخانه کارمند میگمارد",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} اعتبار",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} امتیاز، قیمت پایه ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "حداکثر پرداخت ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "انتخابشده ◈ {p0} / ◈ {p1}.",
|
||||
"Trade rules": "قوانین مبادله",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "بازیکن انتخابشده، اگر کارتی از همان منبع با ارزش بالاتر داشته باشد، آن را در مقابل میدهد."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; fond :",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(réduction des Écoplantes)",
|
||||
"(Era": "(Ère",
|
||||
"(Kicker)": "(Kicker)",
|
||||
|
|
@ -39,11 +39,11 @@
|
|||
", then discard 1 of them.": ", puis défausse 1 d'entre elles.",
|
||||
", who has nothing higher to trade back": ", qui n'a rien de plus élevé à échanger en retour",
|
||||
", −15 on": ", −15 sur",
|
||||
"--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)}",
|
||||
"--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": " : Biosphère",
|
||||
": colony ship arrives:": ": le vaisseau colonial arrive :",
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
": select hand cards worth at least ◈": " : sélectionnez des cartes de main valant au moins ◈",
|
||||
": select hand cards worth at least ◈ {p26} (selected": " : sélectionnez des cartes de main valant au moins ◈ {p26} (sélectionné",
|
||||
": {p0} credits": " : {p0} crédits",
|
||||
"; --rc:": " ; --rc :",
|
||||
"; --rc:": "; --rc:",
|
||||
"; research and microbiotics don't count).": " ; la recherche et les microbiotiques ne comptent pas).",
|
||||
"; your maximum is ◈": " ; ton maximum est de ◈",
|
||||
"= max bid": "= enchère max",
|
||||
|
|
@ -225,7 +225,7 @@
|
|||
"Launch Facility": "Installation de lancement",
|
||||
"Leo": "Leo",
|
||||
"Lesson answers": "Réponses de la leçon",
|
||||
"Like": "J'aime",
|
||||
"Like": "Comme",
|
||||
"Live": "En direct",
|
||||
"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",
|
||||
|
|
@ -450,7 +450,7 @@
|
|||
"You can't beat the high bid (your max is ◈ {p59}).": "Tu ne peux pas battre l'enchère la plus haute (ton max est ◈ {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.": "Vous recevez une carte Eau et trois cartes Titane. Ces usines rapportent 7 PV, auxquels s’ajoutent 4 PV d’améliorations. La limite initiale est de cinq colons ; les Nodules et les Avant-postes l’augmentent. Vous pouvez posséder des robots excédentaires, mais ils restent inactifs tant que votre limite d’utilisation n’augmente pas.",
|
||||
"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?": "Vous avez 21 crédits en quatre cartes. Les achats consomment des cartes entières et ne rendent pas la monnaie. Si vous dépensez les 21 pour une usine d'Eau coûtant 20, combien de crédits reviennent ?",
|
||||
"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.": "Vous avez 70 PV : 65 grâce aux améliorations et 5 grâce aux usines d’Eau en activité. Les Écoplantes ajoutent 5 PV. Atteindre 75 déclenche la dernière manche. Le meilleur score à la fin de cette manche gagne.",
|
||||
"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.": "Vous avez 70 PV : 65 grâce aux améliorations et 5 grâce aux usines d’Eau en activité. Les Écoplantes ajoutent 5 PV. Atteignez 75 et la manche en cours sera la dernière. Le meilleur score à la fin de cette manche gagne.",
|
||||
"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.": "Vous avez six usines mais seulement trois colons. Les trois usines de Titane sont inactives : elles ne produisent rien et ne rapportent aucun PV. Vous possédez déjà l'amélioration Robots, vous pouvez donc acheter des jetons robot pour 10 chacun.",
|
||||
"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.": "Vous détenez 40 crédits et avez une réduction de 20 crédits, vous pouvez donc enchérir jusqu'à 60. Entrez 60 et soumettez-le. Les autres enchérisseurs doivent enchérir au moins 41, un de plus que le prix de base des Scientifiques. Leurs montants restent cachés jusqu'à ce que tout le monde réponde.",
|
||||
"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?": "Vous détenez quatorze cartes : dix Minerai, deux Eau et deux Recherche. La Recherche et la Microbiotique n'utilisent aucune capacité de main. Combien de vos cartes comptent dans la limite ?",
|
||||
|
|
@ -503,8 +503,8 @@
|
|||
"avatar": "avatar",
|
||||
"avatar fallback": "avatar de secours",
|
||||
"avg": "moy",
|
||||
"background:": "arrière-plan :",
|
||||
"background: {playerColor(row.i)}": "fond : {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "badge",
|
||||
"badge res-": "badge res-",
|
||||
"badge res-{spec.freeFactory}": "badge res-{spec.freeFactory}",
|
||||
|
|
@ -538,7 +538,8 @@
|
|||
"build": "construire",
|
||||
"builds": "construit",
|
||||
"builds {p0} {p1} factories": "construit {p0} usines {p1}",
|
||||
"builds {p0} {p1} factory": "construit {p0} usine {p1}",
|
||||
"builds a {p0} factory": "construit une usine de {p0}",
|
||||
"builds {p0} {p1} factory": "construit {p0} usine de {p1}",
|
||||
"button": "bouton",
|
||||
"buy": "acheter",
|
||||
"buy factory": "acheter une usine",
|
||||
|
|
@ -589,14 +590,14 @@
|
|||
"chat": "discussion",
|
||||
"checkbox": "case à cocher",
|
||||
"chip": "pion",
|
||||
"chip fchip res-": "pion pion-usine res-",
|
||||
"chip fchip res-{token.f}": "pion pion-usine res-{token.f}",
|
||||
"chip kchip": "pion pion-clé",
|
||||
"chip rchip res-": "pion pion-recherche res-",
|
||||
"chip rchip res-{token.card}": "pion pion-recherche res-{token.card}",
|
||||
"chip rchip res-{token.r}": "pion pion-recherche res-{token.r}",
|
||||
"chip uchip era-": "pion pion-amélioration ère-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "pion pion-amélioration ère-{upgradeEra(token.u)}",
|
||||
"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": "cliquer",
|
||||
"colonist": "colon",
|
||||
"colonist(s)": "colon(s)",
|
||||
|
|
@ -731,9 +732,11 @@
|
|||
"lowpass": "passe-bas",
|
||||
"main": "principal",
|
||||
"manned": "avec opérateur",
|
||||
"mans": "occupe",
|
||||
"mans": "affecte des opérateurs à",
|
||||
"mans {p0} factories": "affecte des opérateurs à {p0} usines",
|
||||
"mans {p0} factory": "affecte un opérateur à {p0} usine",
|
||||
"{p0} mans {p1} factory": "{p0} affecte un opérateur à {p1} usine",
|
||||
"{p0} mans {p1} factories": "{p0} affecte des opérateurs à {p1} usines",
|
||||
"mark": "repère",
|
||||
"market": "marché",
|
||||
"marks": "repères",
|
||||
|
|
@ -912,10 +915,10 @@
|
|||
"span": "portée",
|
||||
"st": "st",
|
||||
"staffing": "effectifs",
|
||||
"stag dim": "dim cerf",
|
||||
"stag era-": "ère cerf-",
|
||||
"stag era-{x.era}": "ère cerf-{x.era}",
|
||||
"stag era-{x.era} ks-era": "ère cerf-{x.era} ère ks",
|
||||
"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": "étoile",
|
||||
"station": "station",
|
||||
"status": "statut",
|
||||
|
|
@ -977,17 +980,17 @@
|
|||
"trades": "échange",
|
||||
"tradetarget": "cible d'échange",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "traduire({b.x} {b.y})",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "vrai",
|
||||
"turn": "tour",
|
||||
"ucard": "ucarte",
|
||||
"ucard kcard era-": "ucarte kcarte ère-",
|
||||
"ucard kcard era-{spec.era}": "ucarte kcarte ère-{spec.era}",
|
||||
"ueffect": "ueffet",
|
||||
"uera era-": "uère ère-",
|
||||
"uera era-{spec.era}": "uère ère-{spec.era}",
|
||||
"uera era-{upgradeEra(upgrade)}": "uère ère-{upgradeEra(upgrade)}",
|
||||
"uname": "unom",
|
||||
"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": "indéfini",
|
||||
"unit": "unité",
|
||||
"unknown action": "action inconnue",
|
||||
|
|
@ -1019,8 +1022,8 @@
|
|||
"watch": "observer",
|
||||
"water": "eau",
|
||||
"width": "largeur",
|
||||
"width:": "largeur :",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "largeur : {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}% ; fond : {playerColor(",
|
||||
"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": "gagner avec",
|
||||
"winner": "vainqueur",
|
||||
"wins": "gagne",
|
||||
|
|
@ -1037,7 +1040,7 @@
|
|||
"{RESOURCE_LABELS[group.type]} factories: {FACTORIES[group.type].vp} VP each and a ◈ {MIN_CARD_VALUE[": "usines {RESOURCE_LABELS[group.type]} : {FACTORIES[group.type].vp} PV chacune et une carte ◈ {MIN_CARD_VALUE[",
|
||||
"{RESOURCE_LABELS[token.card]} card": "carte {RESOURCE_LABELS[token.card]}",
|
||||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (Ère {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`Le",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} carte{n === 1 ? '' : 's'} {RESOURCE_LABELS[res]}",
|
||||
"{p0} +1 card/round ({p1}–{p2})": "{p0} +1 carte/manche ({p1}–{p2})",
|
||||
|
|
@ -1045,7 +1048,7 @@
|
|||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} La meilleure enchère l'emporte au deuxième prix + 1 ; en cas d'égalité, le plus tôt dans l'ordre du tour l'emporte.",
|
||||
"{p0} OUTPOST": "{p0} OUTPOST",
|
||||
"{p0} VP": "{p0} PV",
|
||||
"{p0} VP to next era": "{p0} PV à l'ère suivante",
|
||||
"{p0} VP to next era": "{p0} PV jusqu'à la prochaine ère",
|
||||
"{p0} VP · finish the round": "{p0} PV · terminer la manche",
|
||||
"{p0} VP · list ◈ {p1}": "{p0} PV · prix de base ◈ {p1}",
|
||||
"{p0} bids {p1}": "{p0} enchérit {p1}",
|
||||
|
|
@ -1096,7 +1099,7 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0} : usine de {p1} avec opérateur",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0} : usine de {p1} sans opérateur",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Manche {p1} : le vaisseau colonial arrive : {p2}",
|
||||
"{p0}deg": "{p0}°",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "{p10} carte",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} PV, prix de base ◈ {p119}) : {p120} ×{p121} dans la pile de l’ère {p122}{p123}",
|
||||
|
|
@ -1117,8 +1120,8 @@
|
|||
"{p7}: Biosphere": "{p7} : Biosphère",
|
||||
"{p86} VP": "{p86} PV",
|
||||
"{p9} VP · finish the round": "{p9} PV · terminer la manche",
|
||||
"{parked": "{garé",
|
||||
"{reason": "{raison",
|
||||
"{parked": "{parked",
|
||||
"{reason": "{reason",
|
||||
"{spec.name} (Kicker, era {['', 'I', 'II', 'III'][": "{spec.name} (Kicker, ère {['', 'I', 'II', 'III'][",
|
||||
"{spec.name} ({spec.vp} VP, list ◈ {spec.price}): {effectToText(": "{spec.name} ({spec.vp} PV, liste ◈ {spec.price}) : {effectToText(",
|
||||
"{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1": "{spec.name} : {spec.vp} PV, liste {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1",
|
||||
|
|
@ -1173,11 +1176,11 @@
|
|||
"{p0} cards: {p1}": "Cartes {p0} : {p1}",
|
||||
"Factories staffed: {p0}/{p1}.": "Usines avec opérateur : {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Production : 1 Mega pour 4 usines actives.",
|
||||
"Purchase order this round: {p0}": "Ordre d’achat ce round : {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"Purchase order this round: {p0}": "Ordre d’achat de cette manche : {p0}",
|
||||
"New factory": "Nouvelle usine",
|
||||
"How to buy": "Comment acheter",
|
||||
"Remaining upgrades": "Améliorations restantes",
|
||||
"Remaining Kicker cards": "Cartes Kicker restantes",
|
||||
"Pass auctions I can't afford": "Passer les enchères hors budget",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Passer automatiquement une enchère si vos cartes et réductions ne permettent pas de couvrir l’enchère requise. Cela peut révéler que votre main est trop faible.",
|
||||
"Choices stay hidden until everyone has confirmed.": "Les choix restent cachés jusqu’à ce que tout le monde ait confirmé.",
|
||||
|
|
@ -1218,5 +1221,9 @@
|
|||
"Choose a card": "Choisissez une carte",
|
||||
"Choose a player": "Choisissez un joueur",
|
||||
"Trade rules": "Règles de l’échange",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Le joueur choisi rend une carte de la même ressource de valeur supérieure, s’il en possède une."
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Le joueur choisi rend une carte de la même ressource de valeur supérieure, s’il en possède une.",
|
||||
"{p0}: {p1} credits": "{p0} : {p1} crédits",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} PV, prix de base ◈ {p2}) : {p3}",
|
||||
"Pay at most ◈ {p0}": "Payer au maximum ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Sélection : ◈ {p0} / ◈ {p1}."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; पृष्ठभूमि:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(इकोप्लांट छूट)",
|
||||
"(Era": "(युग",
|
||||
"(Kicker)": "(किकर)",
|
||||
|
|
@ -194,8 +194,8 @@
|
|||
"Game over": "खेल समाप्त",
|
||||
"Game over:": "खेल समाप्त:",
|
||||
"Game over: {p0}": "खेल समाप्त: {p0}",
|
||||
"Game over: {p0} win with {p2} VP": "खेल समाप्त: {p0} {p2} VP से जीतता है",
|
||||
"Game over: {p0} wins with {p2} VP": "खेल समाप्त: {p0} {p2} VP से जीतता है",
|
||||
"Game over: {p0} win with {p2} VP": "खेल समाप्त: {p0} कुल {p2} VP लेकर जीतते हैं",
|
||||
"Game over: {p0} wins with {p2} VP": "खेल समाप्त: {p0} कुल {p2} VP लेकर जीतता है",
|
||||
"Game sounds": "खेल की ध्वनियाँ",
|
||||
"Game started with": "खेल शुरू हुआ",
|
||||
"Game started with {p0} players": "खेल {p0} खिलाड़ियों के साथ शुरू हुआ",
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
"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} अपने ड्रॉ देखते हुए। प्रत्येक की लागत 4 संचालित फ़ैक्ट्रियों का समूह है; बाकी ड्रॉ सिंगल के रूप में रखे जाते हैं।",
|
||||
"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} मेगा कार्ड चुनें। हर मेगा कार्ड के लिए 4 संचालित फ़ैक्ट्रियों का उत्पादन चाहिए; शेष उत्पादन अलग-अलग सामान्य कार्डों के रूप में मिलेगा।",
|
||||
"Progress cannot be saved in this browser": "इस ब्राउज़र में प्रगति सहेजी नहीं जा सकती",
|
||||
"Put a robot to work": "एक रोबोट को काम पर लगाएँ",
|
||||
"Put up for auction": "नीलामी के लिए रखें",
|
||||
|
|
@ -466,7 +466,7 @@
|
|||
"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 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} तक बढ़ाएँ या पास करें।",
|
||||
|
|
@ -503,8 +503,8 @@
|
|||
"avatar": "अवतार",
|
||||
"avatar fallback": "अवतार विकल्प",
|
||||
"avg": "औसत",
|
||||
"background:": "पृष्ठभूमि:",
|
||||
"background: {playerColor(row.i)}": "पृष्ठभूमि: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "बैज",
|
||||
"badge res-": "बैज संसाधन-",
|
||||
"badge res-{spec.freeFactory}": "बैज संसाधन-{spec.freeFactory}",
|
||||
|
|
@ -732,8 +732,8 @@
|
|||
"main": "मुख्य",
|
||||
"manned": "चालित",
|
||||
"mans": "चालित करता है",
|
||||
"mans {p0} factories": "{p0} कारखाने चालू करता है",
|
||||
"mans {p0} factory": "{p0} कारखाना चालू करता है",
|
||||
"mans {p0} factories": "{p0} फ़ैक्ट्रियों में ऑपरेटर तैनात करता है",
|
||||
"mans {p0} factory": "{p0} फ़ैक्ट्री में ऑपरेटर तैनात करता है",
|
||||
"mark": "निशान",
|
||||
"market": "बाज़ार",
|
||||
"marks": "निशान",
|
||||
|
|
@ -934,11 +934,11 @@
|
|||
"supply": "आपूर्ति",
|
||||
"supply ksupply": "आपूर्ति ksupply",
|
||||
"surface": "सतह",
|
||||
"svelte": "पतला",
|
||||
"svelte": "svelte",
|
||||
"svg": "svg",
|
||||
"system": "प्रणाली",
|
||||
"tail": "पूँछ",
|
||||
"take.{p0}": "लें।{p0}",
|
||||
"take.{p0}": "take.{p0}",
|
||||
"takes": "लेता है",
|
||||
"takes part in the sealed auction": "सीलबंद नीलामी में भाग लेता है",
|
||||
"takes their production as single cards": "अपना उत्पादन एकल कार्ड के रूप में लेता है",
|
||||
|
|
@ -1019,8 +1019,8 @@
|
|||
"watch": "देखो",
|
||||
"water": "पानी",
|
||||
"width": "चौड़ाई",
|
||||
"width:": "चौड़ाई:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "चौड़ाई: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; पृष्ठभूमि: {playerColor(",
|
||||
"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": "जीतता है",
|
||||
|
|
@ -1039,7 +1039,7 @@
|
|||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (युग {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} कार्ड{n === 1 ? '' : 'ें'}",
|
||||
"{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 पर जीतती है; बराबरी पर बारी क्रम में सबसे पहले वाला जीतता है।",
|
||||
|
|
@ -1062,7 +1062,7 @@
|
|||
"{p0} free factory": "{p0} मुफ़्त कारखाना",
|
||||
"{p0} has no {p1} card to exchange": "{p0} के पास बदलने के लिए कोई {p1} कार्ड नहीं है",
|
||||
"{p0} is too large": "{p0} बहुत बड़ा है",
|
||||
"{p0} moves": "{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} {p1} को {p2} को प्रस्ताव देता है, जिसके पास बदले में देने के लिए कुछ बड़ा नहीं है",
|
||||
|
|
@ -1096,7 +1096,7 @@
|
|||
"{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}डिग्री",
|
||||
"{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} VP, आधार मूल्य ◈ {p119}): {p120} ×{p121} युग {p122} ढेर{p123} में शेष",
|
||||
|
|
@ -1172,12 +1172,19 @@
|
|||
"Selected cards: {p0} · ◈ {p1}": "चुने गए कार्ड: {p0} · ◈ {p1}",
|
||||
"{p0} cards: {p1}": "{p0} कार्ड: {p1}",
|
||||
"Factories staffed: {p0}/{p1}.": "कार्यरत फ़ैक्ट्रियाँ: {p0}/{p1}।",
|
||||
"Production: 1 Mega per 4 staffed factories.": "उत्पादन: 4 संचालक वाले कारखानों पर 1 मेगा।",
|
||||
"Production: 1 Mega per 4 staffed factories.": "उत्पादन: ऑपरेटर तैनात वाली हर 4 फ़ैक्ट्रियों पर 1 मेगा कार्ड।",
|
||||
"Purchase order this round: {p0}": "इस दौर में खरीद का क्रम: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "नई फ़ैक्ट्री",
|
||||
"How to buy": "कैसे खरीदें",
|
||||
"Remaining upgrades": "शेष अपग्रेड",
|
||||
"Remaining Kicker cards": "शेष किकर कार्ड",
|
||||
"builds a {p0} factory": "{p0} की एक फ़ैक्ट्री बनाता है",
|
||||
"{p0} mans {p1} factory": "{p0}, {p1} फ़ैक्ट्री में ऑपरेटर तैनात करता है",
|
||||
"{p0} mans {p1} factories": "{p0}, {p1} फ़ैक्ट्रियों में ऑपरेटर तैनात करता है",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} क्रेडिट",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} VP, सूची मूल्य ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "अधिकतम ◈ {p0} का भुगतान करें",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "चयनित ◈ {p0} / ◈ {p1}।",
|
||||
"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.": "सभी की पुष्टि होने तक विकल्प छिपे रहेंगे।",
|
||||
|
|
|
|||
3
packages/viewer/src/localization/index.d.ts
vendored
3
packages/viewer/src/localization/index.d.ts
vendored
|
|
@ -4,8 +4,6 @@ export interface Localization {
|
|||
translate(text: string): string;
|
||||
readonly ready: Promise<boolean>;
|
||||
setLocale(locale: unknown): Promise<boolean>;
|
||||
setState(state: unknown): void;
|
||||
setNames(names: unknown[]): void;
|
||||
refresh(): void;
|
||||
destroy(): void;
|
||||
}
|
||||
|
|
@ -13,6 +11,7 @@ export const catalogs: Record<string, Record<string, string>>;
|
|||
export const languages: Record<string, string>;
|
||||
export function resolveLocale(value: unknown): string;
|
||||
export function translateText(text: string, locale?: string): string;
|
||||
export function formatText(source: string, parameters: readonly (string | number)[], locale?: string): string;
|
||||
export function mountLocalization(target: Element, locale?: unknown): Localization;
|
||||
export function localizeTutorial(mount: TutorialMount): TutorialMount;
|
||||
|
||||
|
|
|
|||
|
|
@ -44,11 +44,18 @@ export function loadLocale(value) {
|
|||
return pending.get(locale);
|
||||
}
|
||||
const translators = new Map();
|
||||
export function translateText(text, locale = "en") {
|
||||
function translatorFor(value) {
|
||||
const locale = resolveLocale(value);
|
||||
if (!translators.has(locale)) {
|
||||
translators.set(locale, createTranslator(catalogs, locale));
|
||||
}
|
||||
return translators.get(locale).translate(text);
|
||||
return translators.get(locale);
|
||||
}
|
||||
export function translateText(text, locale = "en") {
|
||||
return translatorFor(locale).translate(text);
|
||||
}
|
||||
export function formatText(source, parameters, locale = "en") {
|
||||
return translatorFor(locale).format(source, parameters);
|
||||
}
|
||||
export function mountLocalization(target, locale) {
|
||||
const localization = mount(target, catalogs, "en");
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; sfondo:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(sconto Impianti ecologici)",
|
||||
"(Era": "(Era",
|
||||
"(Kicker)": "(Kicker)",
|
||||
|
|
@ -194,7 +194,7 @@
|
|||
"Game over": "Fine partita",
|
||||
"Game over:": "Fine partita:",
|
||||
"Game over: {p0}": "Fine partita: {p0}",
|
||||
"Game over: {p0} win with {p2} VP": "Fine partita: {p0} vince con {p2} PV",
|
||||
"Game over: {p0} win with {p2} VP": "Fine partita: {p0} vincono con {p2} PV",
|
||||
"Game over: {p0} wins with {p2} VP": "Fine partita: {p0} vince con {p2} PV",
|
||||
"Game sounds": "Suoni di gioco",
|
||||
"Game started with": "Partita iniziata con",
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
"Produces an": "Produce un",
|
||||
"Production": "Produzione",
|
||||
"Production: choose Mega cards": "Produzione: scegli le carte Mega",
|
||||
"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.": "Produzione: scegli le carte Mega {p0} vedendo le tue pescate. Ognuna costa un gruppo di 4 fabbriche attive; il resto delle tue pescate viene tenuto come carte singole.",
|
||||
"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.": "Produzione: scegli le carte Mega {p0} di vedere i valori delle carte pescate. Ogni Mega sostituisce la produzione di 4 fabbriche con operatori; le altre fabbriche producono carte singole.",
|
||||
"Progress cannot be saved in this browser": "Impossibile salvare i progressi in questo browser",
|
||||
"Put a robot to work": "Metti un robot al lavoro",
|
||||
"Put up for auction": "Metti all'asta",
|
||||
|
|
@ -341,7 +341,7 @@
|
|||
"Research funds your next expansion": "La ricerca finanzia la tua prossima espansione",
|
||||
"Research has two uses": "La ricerca ha due usi",
|
||||
"Research opens new industry": "La ricerca apre nuove industrie",
|
||||
"Ring Ore": "Minerale ad Anello",
|
||||
"Ring Ore": "Minerale degli Anelli",
|
||||
"Robot Prototype": "Prototipo di Robot",
|
||||
"Robot · ◈ 10": "Robot · ◈ 10",
|
||||
"Robots": "Robot",
|
||||
|
|
@ -399,7 +399,7 @@
|
|||
"Unknown Outpost chapter": "Capitolo Outpost sconosciuto",
|
||||
"Unlocks": "Sblocca",
|
||||
"Unlocks {RESOURCE_LABELS[type]} factories (◈ {FACTORIES[type].cost} each, {FACTORIES[type].vp} VP manned)": "Sblocca fabbriche {RESOURCE_LABELS[type]} (◈ {FACTORIES[type].cost} ciascuna, {FACTORIES[type].vp} PV con personale)",
|
||||
"Unlocks {p10} factories (◈ {p11} each, {p12} VP manned)": "Sblocca {p10} fabbriche (◈ {p11} ciascuna, {p12} PV con personale)",
|
||||
"Unlocks {p10} factories (◈ {p11} each, {p12} VP manned)": "Sblocca fabbriche di {p10} (◈ {p11} ciascuna, {p12} PV con operatore)",
|
||||
"Unspent cards add no VP. Points come from staffed factories and upgrades.": "Le carte non spese non aggiungono PV. I punti provengono da fabbriche con personale e potenziamenti.",
|
||||
"Unstaffed factories do nothing": "Le fabbriche senza personale non fanno nulla",
|
||||
"Upgrades": "Potenziamenti",
|
||||
|
|
@ -503,13 +503,13 @@
|
|||
"avatar": "avatar",
|
||||
"avatar fallback": "avatar di riserva",
|
||||
"avg": "media",
|
||||
"background:": "sfondo:",
|
||||
"background: {playerColor(row.i)}": "sfondo: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "distintivo",
|
||||
"badge res-": "distintivo ris-",
|
||||
"badge res-{spec.freeFactory}": "distintivo ris-{spec.freeFactory}",
|
||||
"badge res-{spec.produces}": "distintivo ris-{spec.produces}",
|
||||
"badge res-{type}": "distintivo ris-{type}",
|
||||
"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": "distintivi",
|
||||
"banner": "banner",
|
||||
"bar": "barra",
|
||||
|
|
@ -536,9 +536,10 @@
|
|||
"body": "corpo",
|
||||
"brand": "marchio",
|
||||
"build": "costruire",
|
||||
"builds": "costruzioni",
|
||||
"builds": "costruisce",
|
||||
"builds {p0} {p1} factories": "costruisce {p0} {p1} fabbriche",
|
||||
"builds {p0} {p1} factory": "costruisce {p0} {p1} fabbrica",
|
||||
"builds a {p0} factory": "costruisce una fabbrica di {p0}",
|
||||
"builds {p0} {p1} factory": "costruisce {p0} fabbrica di {p1}",
|
||||
"button": "pulsante",
|
||||
"buy": "comprare",
|
||||
"buy factory": "acquista fabbrica",
|
||||
|
|
@ -589,14 +590,14 @@
|
|||
"chat": "chat",
|
||||
"checkbox": "casella di controllo",
|
||||
"chip": "fiche",
|
||||
"chip fchip res-": "fiche ffiche ris-",
|
||||
"chip fchip res-{token.f}": "fiche ffiche ris-{token.f}",
|
||||
"chip kchip": "fiche kfiche",
|
||||
"chip rchip res-": "fiche rfiche ris-",
|
||||
"chip rchip res-{token.card}": "fiche rfiche ris-{token.card}",
|
||||
"chip rchip res-{token.r}": "fiche rfiche ris-{token.r}",
|
||||
"chip uchip era-": "fiche ufiche era-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "fiche ufiche era-{upgradeEra(token.u)}",
|
||||
"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": "clicca",
|
||||
"colonist": "colono",
|
||||
"colonist(s)": "colono/i",
|
||||
|
|
@ -677,7 +678,7 @@
|
|||
"hand": "mano",
|
||||
"hand capacity (per copy)": "capacità mano (per copia)",
|
||||
"hand cards counting toward capacity / hand capacity (research and microbiotics are exempt)": "carte in mano che contano per la capacità / capacità mano (ricerca e Microbiotici sono esenti)",
|
||||
"has dropped": "è sceso",
|
||||
"has dropped": "ha abbandonato",
|
||||
"has ended their turn this round": "ha terminato il proprio turno in questo round",
|
||||
"has no": "non ha",
|
||||
"hcount res-": "hcount res-",
|
||||
|
|
@ -734,6 +735,8 @@
|
|||
"mans": "presidia",
|
||||
"mans {p0} factories": "presidia {p0} fabbriche",
|
||||
"mans {p0} factory": "presidia {p0} fabbrica",
|
||||
"{p0} mans {p1} factory": "{p0} assegna un operatore a {p1} fabbrica",
|
||||
"{p0} mans {p1} factories": "{p0} assegna operatori a {p1} fabbriche",
|
||||
"mark": "segno",
|
||||
"market": "mercato",
|
||||
"marks": "segni",
|
||||
|
|
@ -794,7 +797,7 @@
|
|||
"numeric": "numerico",
|
||||
"object": "oggetto",
|
||||
"off": "spento",
|
||||
"offers": "offerte",
|
||||
"offers": "offre",
|
||||
"only": "solo",
|
||||
"only {p0} operators available": "solo {p0} operatori disponibili",
|
||||
"open": "aperto",
|
||||
|
|
@ -880,10 +883,10 @@
|
|||
"rock r3": "roccia r3",
|
||||
"role": "ruolo",
|
||||
"roof": "tetto",
|
||||
"rotate(-18 12 12)": "ruota(-18 12 12)",
|
||||
"rotate(-22 12 12)": "ruota(-22 12 12)",
|
||||
"rotate(120 12 12)": "ruota(120 12 12)",
|
||||
"rotate(60 12 12)": "ruota(60 12 12)",
|
||||
"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": "round",
|
||||
"row chips": "fila gettoni",
|
||||
"row hand": "fila mano",
|
||||
|
|
@ -898,7 +901,7 @@
|
|||
"seal": "sigillo",
|
||||
"section": "sezione",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "vedere le tue pescate. Ognuna costa un gruppo di 4 fabbriche attive; il resto delle tue pescate viene tenuto come carte singole.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "di vedere i valori delle carte pescate. Ogni Mega sostituisce la produzione di 4 fabbriche con operatori; le altre fabbriche producono carte singole.",
|
||||
"selected": "selezionato",
|
||||
"selected · ◈": "selezionato · ◈",
|
||||
"side": "lato",
|
||||
|
|
@ -912,10 +915,10 @@
|
|||
"span": "estensione",
|
||||
"st": "st",
|
||||
"staffing": "organico",
|
||||
"stag dim": "cervo dim",
|
||||
"stag era-": "cervo era-",
|
||||
"stag era-{x.era}": "cervo era-{x.era}",
|
||||
"stag era-{x.era} ks-era": "cervo era-{x.era} ks-era",
|
||||
"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": "stella",
|
||||
"station": "stazione",
|
||||
"status": "stato",
|
||||
|
|
@ -968,16 +971,16 @@
|
|||
"total": "totale",
|
||||
"total hand value in credits": "valore totale della mano in crediti",
|
||||
"track": "tracciato",
|
||||
"trade": "commercia",
|
||||
"trade": "scambia",
|
||||
"trade here: they must hand back a higher-valued card of the offered type": "commercia qui: deve restituire una carta di valore superiore del tipo offerto",
|
||||
"trade target: they must hand back a higher-valued card of the offered type": "obiettivo dello scambio: deve restituire una carta di valore superiore del tipo offerto",
|
||||
"trade with": "commercia con",
|
||||
"trade with {p8}": "commercia con {p8}",
|
||||
"trade with {player.name}": "commercia con {player.name}",
|
||||
"trades": "scambi",
|
||||
"trades": "scambia",
|
||||
"tradetarget": "obiettivoscambio",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "traduci({b.x} {b.y})",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "vero",
|
||||
"turn": "turno",
|
||||
"ucard": "ucard",
|
||||
|
|
@ -1019,8 +1022,8 @@
|
|||
"watch": "osserva",
|
||||
"water": "acqua",
|
||||
"width": "larghezza",
|
||||
"width:": "larghezza:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "larghezza: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; sfondo: {playerColor(",
|
||||
"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": "vinci con",
|
||||
"winner": "vincitore",
|
||||
"wins": "vince",
|
||||
|
|
@ -1029,7 +1032,7 @@
|
|||
"wins with": "vince con",
|
||||
"with": "con",
|
||||
"won": "vinto",
|
||||
"xMidYMax slice": "fetta xMidYMax",
|
||||
"xMidYMax slice": "xMidYMax slice",
|
||||
"y requires": "y richiede",
|
||||
"your discount on this upgrade": "il tuo sconto su questo potenziamento",
|
||||
"{#each Array.from({p17}) as _, j (j)}": "{#each Array.from({p17}) as _, j (j)}",
|
||||
|
|
@ -1037,13 +1040,13 @@
|
|||
"{RESOURCE_LABELS[group.type]} factories: {FACTORIES[group.type].vp} VP each and a ◈ {MIN_CARD_VALUE[": "{RESOURCE_LABELS[group.type]} fabbriche: {FACTORIES[group.type].vp} PV ciascuna e un ◈ {MIN_CARD_VALUE[",
|
||||
"{RESOURCE_LABELS[token.card]} card": "carta {RESOURCE_LABELS[token.card]}",
|
||||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (Epoca {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`Il",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} carta{n === 1 ? '' : 'e'}",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}",
|
||||
"{p0} +1 card/round ({p1}–{p2})": "{p0} +1 carta/round ({p1}–{p2})",
|
||||
"{p0} Cards must cover the payment; excess card value is not returned.": "{p0} Le carte devono coprire il pagamento; il valore in eccesso non viene restituito.",
|
||||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} L'offerta più alta vince alla seconda più alta + 1; i pareggi vanno al primo in ordine di turno.",
|
||||
"{p0} OUTPOST": "{p0} AVAMPOSTO",
|
||||
"{p0} OUTPOST": "{p0} OUTPOST",
|
||||
"{p0} VP": "{p0} PV",
|
||||
"{p0} VP to next era": "{p0} PV all'epoca successiva",
|
||||
"{p0} VP · finish the round": "{p0} PV · termina il round",
|
||||
|
|
@ -1066,7 +1069,7 @@
|
|||
"{p0} must be an array": "{p0} deve essere un array",
|
||||
"{p0} must be an integer in [{p1}, {p2}]": "{p0} deve essere un intero in [{p1}, {p2}]",
|
||||
"{p0} offers {p1} to {p2}, who has nothing higher to trade back": "{p0} offre {p1} a {p2}, che non ha nulla di più alto da restituire",
|
||||
"{p0} overpaid": "{p0} ha pagato troppo",
|
||||
"{p0} overpaid": "{p0} pagati in eccesso",
|
||||
"{p0} passes on the auction": "{p0} passa all'asta",
|
||||
"{p0} passes on the exchange": "{p0} passa allo scambio",
|
||||
"{p0} passes — {p1} wins the sealed auction at {p2}": "{p0} passa — {p1} vince l'asta sigillata a {p2}",
|
||||
|
|
@ -1096,11 +1099,11 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0}: {p1} fabbrica (presidiata)",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0}: {p1} fabbrica (non presidiata)",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Round {p1}: arriva la nave colonia: {p2}",
|
||||
"{p0}deg": "{p0}gradi",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "{p10} carta",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} PV, prezzo base ◈ {p119}): {p120} ×{p121} rimaste nella pila dell'Era {p122}{p123}",
|
||||
"{p123} overpaid": "{p123} ha pagato troppo",
|
||||
"{p123} overpaid": "{p123} pagati in eccesso",
|
||||
"{p126} card{p127} selected · ◈ {p128}": "{p126} carta{p127} selezionata · ◈ {p128}",
|
||||
"{p15} {p16} factories (manned)": "{p15} {p16} fabbriche (presidiate)",
|
||||
"{p162} {p163} card{p164}": "{p162} {p163} carta{p164}",
|
||||
|
|
@ -1117,8 +1120,8 @@
|
|||
"{p7}: Biosphere": "{p7}: Biosfera",
|
||||
"{p86} VP": "{p86} PV",
|
||||
"{p9} VP · finish the round": "{p9} PV · termina il round",
|
||||
"{parked": "{parcheggiato",
|
||||
"{reason": "{motivo",
|
||||
"{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} PV, prezzo base ◈ {spec.price}): {effectToText(",
|
||||
"{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1": "{spec.name}: {spec.vp} PV, prezzo base {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1",
|
||||
|
|
@ -1174,10 +1177,10 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Fabbriche con operatori: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Produzione: 1 Mega ogni 4 fabbriche con operatore.",
|
||||
"Purchase order this round: {p0}": "Ordine di acquisto in questo round: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Nuova fabbrica",
|
||||
"How to buy": "Come acquistare",
|
||||
"Remaining upgrades": "Potenziamenti rimanenti",
|
||||
"Remaining Kicker cards": "Carte Kicker rimanenti",
|
||||
"Pass auctions I can't afford": "Passa nelle aste che non posso permettermi",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Passa automaticamente in un’asta quando le tue carte e i tuoi sconti non coprono l’offerta richiesta. Questo può rivelare che la tua mano è troppo debole.",
|
||||
"Choices stay hidden until everyone has confirmed.": "Le scelte restano nascoste finché tutti non hanno confermato.",
|
||||
|
|
@ -1218,5 +1221,9 @@
|
|||
"Choose a card": "Scegli una carta",
|
||||
"Choose a player": "Scegli un giocatore",
|
||||
"Trade rules": "Regole dello scambio",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Il giocatore scelto restituisce una carta della stessa risorsa di valore superiore, se ne possiede una."
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Il giocatore scelto restituisce una carta della stessa risorsa di valore superiore, se ne possiede una.",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} crediti",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} PV, prezzo base ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Paga al massimo ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Selezionati: ◈ {p0} / ◈ {p1}."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; 배경:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(에코플랜트 할인)",
|
||||
"(Era": "(시대",
|
||||
"(Kicker)": "(키커)",
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
"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}장을 선택하세요. 각 메가 카드는 가동 중인 공장 4개 그룹이 필요하며, 나머지 뽑은 카드는 싱글로 유지됩니다.",
|
||||
"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}에 메가 카드를 선택하세요. 메가 카드 1장마다 작업자가 배치된 공장 4곳의 일반 생산을 대체하며, 나머지는 개별 카드로 받습니다.",
|
||||
"Progress cannot be saved in this browser": "이 브라우저에서는 진행 상황을 저장할 수 없음",
|
||||
"Put a robot to work": "로봇을 일하게 하세요",
|
||||
"Put up for auction": "경매에 부치기",
|
||||
|
|
@ -503,8 +503,8 @@
|
|||
"avatar": "아바타",
|
||||
"avatar fallback": "아바타 대체",
|
||||
"avg": "평균",
|
||||
"background:": "배경:",
|
||||
"background: {playerColor(row.i)}": "배경: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "배지",
|
||||
"badge res-": "배지 자원-",
|
||||
"badge res-{spec.freeFactory}": "배지 자원-{spec.freeFactory}",
|
||||
|
|
@ -560,7 +560,7 @@
|
|||
"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 build {p0} factories": "{p0} 공장을 건설할 수 없음",
|
||||
"cannot offer a": "제안할 수 없음",
|
||||
"cannot offer a mega": "메가를 제안할 수 없음",
|
||||
"cannot offer a mega {p1} card in an exchange": "교환에서 메가 {p1} 카드를 제안할 수 없음",
|
||||
|
|
@ -880,10 +880,10 @@
|
|||
"rock r3": "바위 r3",
|
||||
"role": "역할",
|
||||
"roof": "지붕",
|
||||
"rotate(-18 12 12)": "회전(-18 12 12)",
|
||||
"rotate(-22 12 12)": "회전(-22 12 12)",
|
||||
"rotate(120 12 12)": "회전(120 12 12)",
|
||||
"rotate(60 12 12)": "회전(60 12 12)",
|
||||
"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 hand": "행 손패",
|
||||
|
|
@ -934,11 +934,11 @@
|
|||
"supply": "보급",
|
||||
"supply ksupply": "보급 ksupply",
|
||||
"surface": "표면",
|
||||
"svelte": "날렵한",
|
||||
"svelte": "svelte",
|
||||
"svg": "svg",
|
||||
"system": "시스템",
|
||||
"tail": "꼬리",
|
||||
"take.{p0}": "가져감.{p0}",
|
||||
"take.{p0}": "take.{p0}",
|
||||
"takes": "가져감",
|
||||
"takes part in the sealed auction": "비밀 입찰 경매에 참여합니다",
|
||||
"takes their production as single cards": "생산물을 낱장 카드로 가져갑니다",
|
||||
|
|
@ -977,7 +977,7 @@
|
|||
"trades": "교역",
|
||||
"tradetarget": "거래 대상",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "이동({b.x} {b.y})",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "참",
|
||||
"turn": "턴",
|
||||
"ucard": "ucard",
|
||||
|
|
@ -1004,7 +1004,7 @@
|
|||
"upgrade (card #": "업그레이드 (카드 #",
|
||||
"upgrade (counts against your robot limit once you own one).": "업그레이드(소유하면 로봇 한도에 포함).",
|
||||
"uprice": "uprice",
|
||||
"url(#moonbody)": "url(#달몸체)",
|
||||
"url(#moonbody)": "url(#moonbody)",
|
||||
"utag": "utag",
|
||||
"utag ktag era-": "utag ktag 시대-",
|
||||
"utag ktag era-{spec.era}": "utag ktag 시대-{spec.era}",
|
||||
|
|
@ -1019,7 +1019,7 @@
|
|||
"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": "승자",
|
||||
|
|
@ -1039,7 +1039,7 @@
|
|||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (시대 {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} 카드{n === 1 ? '' : '들'}",
|
||||
"{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로 낙찰됩니다. 동점 시 턴 순서가 빠른 쪽이 승리합니다.",
|
||||
|
|
@ -1062,7 +1062,7 @@
|
|||
"{p0} free factory": "{p0} 무료 공장",
|
||||
"{p0} has no {p1} card to exchange": "{p0}에게 교환할 {p1} 카드가 없습니다",
|
||||
"{p0} is too large": "{p0}이(가) 너무 큽니다",
|
||||
"{p0} moves": "{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}이(가) {p1}을(를) {p2}에게 제안했지만, 상대는 더 높은 카드로 되돌려줄 것이 없습니다",
|
||||
|
|
@ -1096,7 +1096,7 @@
|
|||
"{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}도",
|
||||
"{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} VP, 기본가 ◈ {p119}): {p120} ×{p121}장이 시대 {p122} 더미에 남음{p123}",
|
||||
|
|
@ -1117,8 +1117,8 @@
|
|||
"{p7}: Biosphere": "{p7}: 생물권",
|
||||
"{p86} VP": "{p86} VP",
|
||||
"{p9} VP · finish the round": "{p9} VP · 라운드 종료",
|
||||
"{parked": "{주차됨",
|
||||
"{reason": "{이유",
|
||||
"{parked": "{parked",
|
||||
"{reason": "{reason",
|
||||
"{spec.name} (Kicker, era {['', 'I', 'II', 'III'][": "{spec.name} (키커, 시대 {['', 'I', 'II', 'III'][",
|
||||
"{spec.name} ({spec.vp} VP, list ◈ {spec.price}): {effectToText(": "{spec.name} ({spec.vp} VP, 기본가 ◈ {spec.price}): {effectToText(",
|
||||
"{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1": "{spec.name}: {spec.vp} VP, 기본가 {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1",
|
||||
|
|
@ -1174,10 +1174,17 @@
|
|||
"Factories staffed: {p0}/{p1}.": "작업자가 배치된 공장: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "생산: 인력이 배치된 공장 4곳당 메가 1장.",
|
||||
"Purchase order this round: {p0}": "이번 라운드 구매 순서: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "새 공장",
|
||||
"How to buy": "구매 방법",
|
||||
"Remaining upgrades": "남은 업그레이드",
|
||||
"Remaining Kicker cards": "남은 키커 카드",
|
||||
"builds a {p0} factory": "{p0} 공장 1개를 건설함",
|
||||
"{p0} mans {p1} factory": "{p0}이(가) 공장 {p1}곳에 작업자를 배치합니다",
|
||||
"{p0} mans {p1} factories": "{p0}이(가) 공장 {p1}곳에 작업자를 배치합니다",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} 크레딧",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} VP, 정가 ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "최대 지불액 ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "선택한 금액 ◈ {p0} / ◈ {p1}.",
|
||||
"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.": "모두가 확정할 때까지 선택은 공개되지 않습니다.",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; achtergrond:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(Ecoplants-korting)",
|
||||
"(Era": "(Tijdperk",
|
||||
"(Kicker)": "(Kicker)",
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
": select hand cards worth at least ◈ {p26} (selected": ": selecteer handkaarten ter waarde van minstens ◈ {p26} (geselecteerd",
|
||||
": {p0} credits": ": {p0} credits",
|
||||
"; --rc:": "; --rc:",
|
||||
"; research and microbiotics don't count).": "; research en microbiotica tellen niet).",
|
||||
"; research and microbiotics don't count).": "; onderzoek en microbiotica tellen niet mee).",
|
||||
"; your maximum is ◈": "; jouw maximum is ◈",
|
||||
"= max bid": "= max. bod",
|
||||
"= max bid {p0}": "= max. bod {p0}",
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
"Bid ◈ {p74}": "Bod ◈ {p74}",
|
||||
"Biosphere": "Biosfeer",
|
||||
"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.": "Bouw vroeg een inkomen op, zet operators efficiënt in en gebruik je inkomen om punten te verdienen. Zodra iemand 75 bereikt, is de lopende ronde de laatste. De andere spelers maken hun beurten nog af.",
|
||||
"Building": "Gebouw",
|
||||
"Building": "Bouwen",
|
||||
"Building {p0} {p1} factor{p2} (produces ◈ {p3}–{p4} per round when manned):": "Bouwen {p0} {p1} fabriek{p2} (produceert ◈ {p3}–{p4} per ronde wanneer bemand):",
|
||||
"Buy a Water factory and move an Ore operator to it for stronger income.": "Koop een Waterfabriek en verplaats er een operator uit een Ertsfabriek naartoe voor meer inkomen.",
|
||||
"Buy a robot and assign operators to your most useful factories.": "Koop een robot en wijs operators toe aan je nuttigste fabrieken.",
|
||||
|
|
@ -255,8 +255,8 @@
|
|||
"New Chemicals": "Nieuwe Chemicaliën",
|
||||
"New Chemicals Factory Prototype": "Prototype Nieuwe Chemicaliën-fabriek",
|
||||
"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.": "Kaarten voor Nieuwe Chemicaliën zijn 14–26 credits waard. Elke fabriek kost 60; bij de betaling moet je minstens één Onderzoekskaart gebruiken. Je hebt geen Laboratorium nodig als je op een andere manier Onderzoek krijgt, bijvoorbeeld via Wetenschappers.",
|
||||
"New Chemicals factories requires spending": "Nieuwe Chemische fabrieken vereisen uitgaven",
|
||||
"New Chemicals factory requires spending": "Nieuwe Chemische fabriek vereist uitgaven",
|
||||
"New Chemicals factories requires spending": "fabrieken voor Nieuwe Chemicaliën vereisen het uitgeven van",
|
||||
"New Chemicals factory requires spending": "een fabriek voor Nieuwe Chemicaliën vereist het uitgeven van",
|
||||
"New era": "Nieuw tijdperk",
|
||||
"New factory:": "Nieuwe fabriek:",
|
||||
"Next chapter": "Volgend hoofdstuk",
|
||||
|
|
@ -292,8 +292,8 @@
|
|||
"Outpost supports": "Buitenpost ondersteunt",
|
||||
"Outpost supports {p0}-{p1} players": "Buitenpost ondersteunt {p0}-{p1} spelers",
|
||||
"Over hand capacity: discard": "Over handlimiet: afleggen",
|
||||
"Over hand capacity: discard {p0} more card{p1} (selected {p2}; research and microbiotics don't count).": "Over handlimiet: leg nog {p0} kaart{p1} af (geselecteerd {p2}; research en microbiotica tellen niet mee).",
|
||||
"Over hand capacity: discard {p19} more card{p20} (selected {p21}; research and microbiotics don't count).": "Over handlimiet: leg nog {p19} kaart{p20} af (geselecteerd {p21}; research en microbiotica tellen niet mee).",
|
||||
"Over hand capacity: discard {p0} more card{p1} (selected {p2}; research and microbiotics don't count).": "Over handlimiet: leg nog {p0} kaart{p1} af (geselecteerd {p2}; onderzoek en microbiotica tellen niet mee).",
|
||||
"Over hand capacity: discard {p19} more card{p20} (selected {p21}; research and microbiotics don't count).": "Over handlimiet: leg nog {p19} kaart{p20} af (geselecteerd {p21}; onderzoek en microbiotica tellen niet mee).",
|
||||
"Owns": "Bezit",
|
||||
"Owns {p0} copies.": "Bezit {p0} exemplaren.",
|
||||
"Pass": "Passen",
|
||||
|
|
@ -331,7 +331,7 @@
|
|||
"Recent events": "Recente gebeurtenissen",
|
||||
"Recruit a colonist:": "Werf een kolonist:",
|
||||
"Recruit a colonist: {p96} credits{p97}": "Werf een kolonist: {p96} credits{p97}",
|
||||
"Recruit a colonist: {store.popCost} credits{me.upgrades.ecoplants > 0": "Werk een kolonist aan: {store.popCost} credits{me.upgrades.ecoplants > 0",
|
||||
"Recruit a colonist: {store.popCost} credits{me.upgrades.ecoplants > 0": "Werf een kolonist: {store.popCost} credits{me.upgrades.ecoplants > 0",
|
||||
"Recruiting": "Aanwerven",
|
||||
"Recruiting {p0} colonist{p1}:": "{p0} kolonist{p1} aanwerven:",
|
||||
"Refinery": "Raffinaderij",
|
||||
|
|
@ -503,8 +503,8 @@
|
|||
"avatar": "avatar",
|
||||
"avatar fallback": "avatar fallback",
|
||||
"avg": "gem",
|
||||
"background:": "achtergrond:",
|
||||
"background: {playerColor(row.i)}": "achtergrond: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "badge",
|
||||
"badge res-": "badge res-",
|
||||
"badge res-{spec.freeFactory}": "badge res-{spec.freeFactory}",
|
||||
|
|
@ -515,10 +515,10 @@
|
|||
"bar": "balk",
|
||||
"barcell": "streepjescode",
|
||||
"base": "basis",
|
||||
"before": "voor",
|
||||
"before": "voordat",
|
||||
"begins": "begint",
|
||||
"begins —": "begint —",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-vermeldingen-{p0}",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-mentions-{p0}",
|
||||
"bid": "bod",
|
||||
"bid must be at least": "bod moet minstens zijn",
|
||||
"bid must be at least {p0}": "bod moet minstens {p0} zijn",
|
||||
|
|
@ -538,7 +538,8 @@
|
|||
"build": "bouwen",
|
||||
"builds": "bouwt",
|
||||
"builds {p0} {p1} factories": "bouwt {p0} {p1} fabrieken",
|
||||
"builds {p0} {p1} factory": "bouwt {p0} {p1} fabriek",
|
||||
"builds a {p0} factory": "bouwt een {p0}-fabriek",
|
||||
"builds {p0} {p1} factory": "bouwt {p0} {p1}-fabriek",
|
||||
"button": "knop",
|
||||
"buy": "kopen",
|
||||
"buy factory": "koop fabriek",
|
||||
|
|
@ -595,8 +596,8 @@
|
|||
"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 tijdperk-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "chip uchip tijdperk-{upgradeEra(token.u)}",
|
||||
"chip uchip era-": "chip uchip era-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "chip uchip era-{upgradeEra(token.u)}",
|
||||
"click": "klik",
|
||||
"colonist": "kolonist",
|
||||
"colonist(s)": "kolonist(en)",
|
||||
|
|
@ -734,6 +735,8 @@
|
|||
"mans": "bemant",
|
||||
"mans {p0} factories": "bemant {p0} fabrieken",
|
||||
"mans {p0} factory": "bemant {p0} fabriek",
|
||||
"{p0} mans {p1} factory": "{p0} bemant {p1} fabriek",
|
||||
"{p0} mans {p1} factories": "{p0} bemant {p1} fabrieken",
|
||||
"mark": "markering",
|
||||
"market": "markt",
|
||||
"marks": "markeringen",
|
||||
|
|
@ -880,10 +883,10 @@
|
|||
"rock r3": "rots r3",
|
||||
"role": "rol",
|
||||
"roof": "dak",
|
||||
"rotate(-18 12 12)": "roteer(-18 12 12)",
|
||||
"rotate(-22 12 12)": "roteer(-22 12 12)",
|
||||
"rotate(120 12 12)": "roteer(120 12 12)",
|
||||
"rotate(60 12 12)": "roteer(60 12 12)",
|
||||
"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": "ronde",
|
||||
"row chips": "rij fiches",
|
||||
"row hand": "rij hand",
|
||||
|
|
@ -898,7 +901,7 @@
|
|||
"seal": "zegel",
|
||||
"section": "sectie",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "je trekkingen te zien. Elke kost een groep van 4 geopereerde fabrieken; de rest van je trekkingen worden als singles bewaard.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "je de getrokken waarden ziet. Elke Mega vervangt de productie van 4 bemande fabrieken; de overige fabrieken produceren losse kaarten.",
|
||||
"selected": "geselecteerd",
|
||||
"selected · ◈": "geselecteerd · ◈",
|
||||
"side": "zijde",
|
||||
|
|
@ -913,9 +916,9 @@
|
|||
"st": "st",
|
||||
"staffing": "bemanning",
|
||||
"stag dim": "stag dim",
|
||||
"stag era-": "stag tijdperk-",
|
||||
"stag era-{x.era}": "stag tijdperk-{x.era}",
|
||||
"stag era-{x.era} ks-era": "stag tijdperk-{x.era} ks-tijdperk",
|
||||
"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": "ster",
|
||||
"station": "station",
|
||||
"status": "status",
|
||||
|
|
@ -968,7 +971,7 @@
|
|||
"total": "totaal",
|
||||
"total hand value in credits": "totale handwaarde in credits",
|
||||
"track": "spoor",
|
||||
"trade": "handel",
|
||||
"trade": "ruilen",
|
||||
"trade here: they must hand back a higher-valued card of the offered type": "hier ruilen: hij moet een kaart van het aangeboden type met een hogere waarde teruggeven",
|
||||
"trade target: they must hand back a higher-valued card of the offered type": "ruildoelwit: hij moet een kaart van het aangeboden type met een hogere waarde teruggeven",
|
||||
"trade with": "handel met",
|
||||
|
|
@ -987,7 +990,7 @@
|
|||
"uera era-": "uera era-",
|
||||
"uera era-{spec.era}": "uera era-{spec.era}",
|
||||
"uera era-{upgradeEra(upgrade)}": "uera era-{upgradeEra(upgrade)}",
|
||||
"uname": "unaam",
|
||||
"uname": "uname",
|
||||
"undefined": "ongedefinieerd",
|
||||
"unit": "eenheid",
|
||||
"unknown action": "onbekende actie",
|
||||
|
|
@ -1019,8 +1022,8 @@
|
|||
"watch": "bekijk",
|
||||
"water": "water",
|
||||
"width": "breedte",
|
||||
"width:": "breedte:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "breedte: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; achtergrond: {playerColor(",
|
||||
"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": "winnen met",
|
||||
"winner": "winnaar",
|
||||
"wins": "wint",
|
||||
|
|
@ -1037,9 +1040,9 @@
|
|||
"{RESOURCE_LABELS[group.type]} factories: {FACTORIES[group.type].vp} VP each and a ◈ {MIN_CARD_VALUE[": "{RESOURCE_LABELS[group.type]} fabrieken: {FACTORIES[group.type].vp} OP elk en een ◈ {MIN_CARD_VALUE[",
|
||||
"{RESOURCE_LABELS[token.card]} card": "{RESOURCE_LABELS[token.card]} kaart",
|
||||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (Tijdperk {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`De",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} kaart{n === 1 ? '' : 'en'}",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}",
|
||||
"{p0} +1 card/round ({p1}–{p2})": "{p0} +1 kaart/ronde ({p1}–{p2})",
|
||||
"{p0} Cards must cover the payment; excess card value is not returned.": "{p0} Kaarten moeten de betaling dekken; overtollige kaartwaarde wordt niet teruggegeven.",
|
||||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} Hoogste bod wint tegen op één na hoogste + 1; bij gelijkspel gaat de vroegste in beurtvolgorde voor.",
|
||||
|
|
@ -1096,7 +1099,7 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0}: {p1} fabriek (bemand)",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0}: {p1} fabriek (onbemand)",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Ronde {p1}: kolonieschip arriveert: {p2}",
|
||||
"{p0}deg": "{p0}°",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "{p10} kaart",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} OP, basisprijs ◈ {p119}): {p120} ×{p121} over in de Era {p122} stapel{p123}",
|
||||
|
|
@ -1117,8 +1120,8 @@
|
|||
"{p7}: Biosphere": "{p7}: Biosfeer",
|
||||
"{p86} VP": "{p86} OP",
|
||||
"{p9} VP · finish the round": "{p9} OP · ronde beëindigen",
|
||||
"{parked": "{geparkeerd",
|
||||
"{reason": "{reden",
|
||||
"{parked": "{parked",
|
||||
"{reason": "{reason",
|
||||
"{spec.name} (Kicker, era {['', 'I', 'II', 'III'][": "{spec.name} (Kicker, tijdperk {['', 'I', 'II', 'III'][",
|
||||
"{spec.name} ({spec.vp} VP, list ◈ {spec.price}): {effectToText(": "{spec.name} ({spec.vp} OP, basisprijs ◈ {spec.price}): {effectToText(",
|
||||
"{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1": "{spec.name}: {spec.vp} OP, lijst {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1",
|
||||
|
|
@ -1174,10 +1177,10 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Bemande fabrieken: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Productie: 1 Mega per 4 bemande fabrieken.",
|
||||
"Purchase order this round: {p0}": "Aankoopvolgorde deze ronde: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Nieuwe fabriek",
|
||||
"How to buy": "Hoe je koopt",
|
||||
"Remaining upgrades": "Resterende upgrades",
|
||||
"Remaining Kicker cards": "Resterende Kickerkaarten",
|
||||
"Pass auctions I can't afford": "Pas bij veilingen die ik niet kan betalen",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Pas automatisch bij een veiling als je kaarten en kortingen het vereiste bod niet dekken. Dit kan verraden dat je hand te zwak is.",
|
||||
"Choices stay hidden until everyone has confirmed.": "De keuzes blijven verborgen totdat iedereen heeft bevestigd.",
|
||||
|
|
@ -1218,5 +1221,9 @@
|
|||
"Choose a card": "Kies een kaart",
|
||||
"Choose a player": "Kies een speler",
|
||||
"Trade rules": "Ruilregels",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "De gekozen speler geeft een kaart van dezelfde grondstof met een hogere waarde terug, als die er een heeft."
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "De gekozen speler geeft een kaart van dezelfde grondstof met een hogere waarde terug, als die er een heeft.",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} credits",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} OP, basisprijs ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Betaal maximaal ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Geselecteerd: ◈ {p0} / ◈ {p1}."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; tło:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(zniżka Ekoplantów)",
|
||||
"(Era": "(Era",
|
||||
"(Kicker)": "(Kicker)",
|
||||
|
|
@ -255,8 +255,8 @@
|
|||
"New Chemicals": "Nowe Chemikalia",
|
||||
"New Chemicals Factory Prototype": "Prototyp Fabryki Nowych Chemikaliów",
|
||||
"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.": "Karty Nowych Chemikaliów są warte 14–26 kredytów. Każda nowa fabryka kosztuje 60 i zużywa co najmniej jedną kartę Badań. Nie musisz posiadać Laboratorium, jeśli zdobędziesz Badania w inny sposób, np. dzięki Naukowcom.",
|
||||
"New Chemicals factories requires spending": "Nowe fabryki Chemikaliów wymagają wydania",
|
||||
"New Chemicals factory requires spending": "Nowa fabryka Chemikaliów wymaga wydania",
|
||||
"New Chemicals factories requires spending": "Fabryki Nowych Chemikaliów wymagają wydania",
|
||||
"New Chemicals factory requires spending": "Fabryka Nowych Chemikaliów wymaga wydania",
|
||||
"New era": "Nowa era",
|
||||
"New factory:": "Nowa fabryka:",
|
||||
"Next chapter": "Następny rozdział",
|
||||
|
|
@ -353,7 +353,7 @@
|
|||
"Sealed bids": "Oferty zapieczętowane",
|
||||
"Sealed bids and discounts": "Oferty zapieczętowane i zniżki",
|
||||
"Sealed bids —": "Oferty zapieczętowane —",
|
||||
"Sealed bids — {p0} still to bid{p1}": "Oferty zapieczętowane — {p0} wciąż licytuje{p1}",
|
||||
"Sealed bids — {p0} still to bid{p1}": "Tajne oferty — liczba graczy, którzy jeszcze nie złożyli oferty: {p0}{p1}",
|
||||
"Sealed bids: waiting for": "Oferty zapieczętowane: oczekiwanie na",
|
||||
"Sealed bids: waiting for {p0}…": "Oferty zapieczętowane: oczekiwanie na {p0}…",
|
||||
"See the result": "Zobacz wynik",
|
||||
|
|
@ -388,7 +388,7 @@
|
|||
"The market is empty. New upgrades arrive with the next colony ship.": "Rynek jest pusty. Nowe ulepszenia przybędą z następnym statkiem kolonijnym.",
|
||||
"The ten Ore and two Water cards use 12 spaces. Both Research cards use none.": "Dziesięć kart Rudy i dwie Wody zajmują 12 miejsc. Obie karty Badań nie zajmują żadnego.",
|
||||
"Titanium": "Tytan",
|
||||
"Trade": "Handel",
|
||||
"Trade": "Wymiana",
|
||||
"Trade four random production cards for one fixed-value Mega card.": "Wymień cztery losowe karty produkcji na jedną kartę Mega o stałej wartości.",
|
||||
"Tutorial": "Samouczek",
|
||||
"Tutorial navigation": "Nawigacja samouczka",
|
||||
|
|
@ -503,22 +503,22 @@
|
|||
"avatar": "awatar",
|
||||
"avatar fallback": "awatar zastępczy",
|
||||
"avg": "śr.",
|
||||
"background:": "tło:",
|
||||
"background: {playerColor(row.i)}": "tło: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "odznaka",
|
||||
"badge res-": "odznaka zasób-",
|
||||
"badge res-{spec.freeFactory}": "odznaka zasób-{spec.freeFactory}",
|
||||
"badge res-{spec.produces}": "odznaka zasób-{spec.produces}",
|
||||
"badge res-{type}": "odznaka zasób-{type}",
|
||||
"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": "odznaki",
|
||||
"banner": "baner",
|
||||
"bar": "pasek",
|
||||
"barcell": "kod kreskowy",
|
||||
"base": "baza",
|
||||
"before": "przed",
|
||||
"before": "zanim",
|
||||
"begins": "zaczyna",
|
||||
"begins —": "zaczyna się —",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-wzmianki-{p0}",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-mentions-{p0}",
|
||||
"bid": "oferta",
|
||||
"bid must be at least": "oferta musi wynosić co najmniej",
|
||||
"bid must be at least {p0}": "oferta musi wynosić co najmniej {p0}",
|
||||
|
|
@ -538,13 +538,14 @@
|
|||
"build": "budować",
|
||||
"builds": "buduje",
|
||||
"builds {p0} {p1} factories": "buduje {p0} {p1} fabryk",
|
||||
"builds {p0} {p1} factory": "buduje {p0} {p1} fabrykę",
|
||||
"builds a {p0} factory": "buduje fabrykę {p0}",
|
||||
"builds {p0} {p1} factory": "buduje {p0} fabrykę {p1}",
|
||||
"button": "przycisk",
|
||||
"buy": "kupić",
|
||||
"buy factory": "kup fabrykę",
|
||||
"buy population": "kup populację",
|
||||
"buy res-": "kup zasób-",
|
||||
"buy res-{type}": "kup zasób-{type}",
|
||||
"buy res-": "buy res-",
|
||||
"buy res-{type}": "buy res-{type}",
|
||||
"buy robots": "kup roboty",
|
||||
"buying": "kupowanie",
|
||||
"buying {p0} New Chemicals factories requires spending {p2} research card": "zakup {p0} fabryk Nowych Chemikaliów wymaga wydania {p2} karty badań",
|
||||
|
|
@ -569,7 +570,7 @@
|
|||
"cannot take {p0} mega {p1} card(s)": "nie można wziąć {p0} megakart(y) {p1}",
|
||||
"cantbid": "nie można licytować",
|
||||
"caption": "podpis",
|
||||
"caption kicker-caption": "podpis nagłówek-podpis",
|
||||
"caption kicker-caption": "caption kicker-caption",
|
||||
"card": "karta",
|
||||
"card each round (per copy)": "karta w każdej rundzie (za kopię)",
|
||||
"card each round when manned": "karta w każdej rundzie, gdy obsadzona",
|
||||
|
|
@ -584,19 +585,19 @@
|
|||
"cards). −5 on": "kart). −5 na",
|
||||
"cards); comes with a free one.": "kart); zawiera darmową.",
|
||||
"cash": "gotówka",
|
||||
"cash dim": "gotówka przygaszona",
|
||||
"cash dim selfrange": "gotówka przygaszona własny zakres",
|
||||
"cash dim": "cash dim",
|
||||
"cash dim selfrange": "cash dim selfrange",
|
||||
"chat": "czat",
|
||||
"checkbox": "pole wyboru",
|
||||
"chip": "żeton",
|
||||
"chip fchip res-": "żeton fżeton zasób-",
|
||||
"chip fchip res-{token.f}": "żeton fżeton zasób-{token.f}",
|
||||
"chip kchip": "żeton kżeton",
|
||||
"chip rchip res-": "żeton rżeton zasób-",
|
||||
"chip rchip res-{token.card}": "żeton rżeton zasób-{token.card}",
|
||||
"chip rchip res-{token.r}": "żeton rżeton zasób-{token.r}",
|
||||
"chip uchip era-": "żeton użeton era-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "żeton użeton era-{upgradeEra(token.u)}",
|
||||
"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": "kliknij",
|
||||
"colonist": "kolonista",
|
||||
"colonist(s)": "kolonista(koloniści)",
|
||||
|
|
@ -626,7 +627,7 @@
|
|||
"done": "gotowe",
|
||||
"dot": "kropka",
|
||||
"each,": "każdy,",
|
||||
"ecoplants": "ekorośliny",
|
||||
"ecoplants": "ekoplanty",
|
||||
"edited": "edytowany",
|
||||
"empty": "pusty",
|
||||
"end": "koniec",
|
||||
|
|
@ -637,8 +638,8 @@
|
|||
"entry {p0} / {p1}": "wpis {p0} / {p1}",
|
||||
"entry {p1} / {p2}": "wpis {p1} / {p2}",
|
||||
"era": "era",
|
||||
"eramark era-": "znacznik ery era-",
|
||||
"eramark era-{era === 'II' ? 2 : 3}": "znacznik ery era-{era === 'II' ? 2 : 3}",
|
||||
"eramark era-": "eramark era-",
|
||||
"eramark era-{era === 'II' ? 2 : 3}": "eramark era-{era === 'II' ? 2 : 3}",
|
||||
"es": "y",
|
||||
"exchange": "wymiana",
|
||||
"expected an object": "oczekiwano obiektu",
|
||||
|
|
@ -658,13 +659,13 @@
|
|||
"fdot": "fkropka",
|
||||
"fdots": "fkropki",
|
||||
"feed": "zasilanie",
|
||||
"fgroup res-": "fgrupa zasób-",
|
||||
"fgroup res-{group.type}": "fgrupa zasób-{group.type}",
|
||||
"fgroup res-": "fgroup res-",
|
||||
"fgroup res-{group.type}": "fgroup res-{group.type}",
|
||||
"fill": "wypełnij",
|
||||
"finish": "zakończ",
|
||||
"flow": "przepływ",
|
||||
"flow mega-flow": "przepływ mega-przepływ",
|
||||
"flow wrap": "przepływ zawijanie",
|
||||
"flow mega-flow": "flow mega-flow",
|
||||
"flow wrap": "flow wrap",
|
||||
"fly": "lataj",
|
||||
"focus": "skupienie",
|
||||
"footprint": "ślad",
|
||||
|
|
@ -676,18 +677,18 @@
|
|||
"group": "grupa",
|
||||
"hand": "ręka",
|
||||
"hand capacity (per copy)": "limit ręki (na kopię)",
|
||||
"hand cards counting toward capacity / hand capacity (research and microbiotics are exempt)": "karty na ręce liczące się do limitu / limit ręki (badania i mikrobiotyki są zwolnione)",
|
||||
"hand cards counting toward capacity / hand capacity (research and microbiotics are exempt)": "karty na ręce liczące się do limitu / limit ręki (badania i mikrobiotyka nie liczą się do limitu)",
|
||||
"has dropped": "odpadł",
|
||||
"has ended their turn this round": "zakończył swoją turę w tej rundzie",
|
||||
"has no": "nie ma",
|
||||
"hcount res-": "hcount zas-",
|
||||
"hcount res-{res}": "hcount zas-{res}",
|
||||
"hcount res-": "hcount res-",
|
||||
"hcount res-{res}": "hcount res-{res}",
|
||||
"head": "głowa",
|
||||
"height": "wysokość",
|
||||
"hint": "podpowiedź",
|
||||
"hint dim": "podpowiedź przyciemnij",
|
||||
"hint gold-hint": "podpowiedź złoto-podpowiedź",
|
||||
"hint warn": "podpowiedź ostrzeżenie",
|
||||
"hint dim": "hint dim",
|
||||
"hint gold-hint": "hint gold-hint",
|
||||
"hint warn": "hint warn",
|
||||
"icon": "ikona",
|
||||
"identity": "tożsamość",
|
||||
"ies": "ie",
|
||||
|
|
@ -710,9 +711,9 @@
|
|||
"is less than the required": "jest mniejsza niż wymagana",
|
||||
"is too large": "jest za duży",
|
||||
"item": "przedmiot",
|
||||
"item dim": "przedmiot przyciemnij",
|
||||
"item era": "przedmiot era",
|
||||
"item phase": "przedmiot faza",
|
||||
"item dim": "item dim",
|
||||
"item era": "item era",
|
||||
"item phase": "item phase",
|
||||
"kcount": "kcount",
|
||||
"kicker": "dopalacz",
|
||||
"label": "etykieta",
|
||||
|
|
@ -750,7 +751,7 @@
|
|||
"mega production card": "karta megaprodukcji",
|
||||
"mega production cards": "karty mega produkcji",
|
||||
"mention": "wzmianka",
|
||||
"microbiotics": "mikrobiotyki",
|
||||
"microbiotics": "mikrobiotyka",
|
||||
"min ◈": "min ◈",
|
||||
"min ◈ {p0}": "min ◈ {p0}",
|
||||
"min ◈ {p0} {p1}": "min ◈ {p0} {p1}",
|
||||
|
|
@ -820,8 +821,8 @@
|
|||
"pay at most": "zapłać najwyżej",
|
||||
"payment of": "zapłata",
|
||||
"payment of {p0} is less than the required {p1}": "zapłata {p0} jest mniejsza niż wymagana {p1}",
|
||||
"pcard res-": "pkarta zas-",
|
||||
"pcard res-{card.t}": "pkarta zas-{card.t}",
|
||||
"pcard res-": "pcard res-",
|
||||
"pcard res-{card.t}": "pcard res-{card.t}",
|
||||
"per": "za",
|
||||
"per factory (◈": "za fabrykę (◈",
|
||||
"per factory (◈ {p0} research)": "za fabrykę (◈ {p0} badań)",
|
||||
|
|
@ -843,8 +844,8 @@
|
|||
"produced:": "wyprodukowano:",
|
||||
"production": "produkcja",
|
||||
"production per round: one card per manned factory plus free cards from producing upgrades (average in parentheses)": "produkcja na rundę: jedna karta za każdą obsadzoną fabrykę plus darmowe karty z ulepszeń produkcyjnych (średnia w nawiasie)",
|
||||
"purchase order: buys": "zlecenie zakupu: kupuje",
|
||||
"purchase order: buys {orderPos}{orderPos === 1": "zlecenie zakupu: kupuje {orderPos}{orderPos === 1",
|
||||
"purchase order: buys": "kolejność zakupów: kupuje",
|
||||
"purchase order: buys {orderPos}{orderPos === 1": "kolejność zakupów: kupuje {orderPos}{orderPos === 1",
|
||||
"purchase order: buys {p15}{p16} this round": "kolejność zakupów: kupuje {p15}{p16} w tej rundzie",
|
||||
"puts": "kładzie",
|
||||
"px": "px",
|
||||
|
|
@ -875,22 +876,22 @@
|
|||
"robot(s)": "robot(y)",
|
||||
"robots": "roboty",
|
||||
"robot{p61}: {p62} selected": "robot{p61}: wybrano {p62}",
|
||||
"rock r1": "skała r1",
|
||||
"rock r2": "skała r2",
|
||||
"rock r3": "skała r3",
|
||||
"rock r1": "rock r1",
|
||||
"rock r2": "rock r2",
|
||||
"rock r3": "rock r3",
|
||||
"role": "rola",
|
||||
"roof": "dach",
|
||||
"rotate(-18 12 12)": "obróć(-18 12 12)",
|
||||
"rotate(-22 12 12)": "obróć(-22 12 12)",
|
||||
"rotate(120 12 12)": "obróć(120 12 12)",
|
||||
"rotate(60 12 12)": "obróć(60 12 12)",
|
||||
"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": "runda",
|
||||
"row chips": "żetony rzędu",
|
||||
"row hand": "ręka rzędu",
|
||||
"row hand pending": "ręka rzędu oczekująca",
|
||||
"row picksum": "suma wyboru rzędu",
|
||||
"row stats": "statystyki rzędu",
|
||||
"row tags": "tagi rzędu",
|
||||
"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": "trwający",
|
||||
"scene": "scena",
|
||||
"scientists": "naukowcy",
|
||||
|
|
@ -898,7 +899,7 @@
|
|||
"seal": "pieczęć",
|
||||
"section": "sekcja",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "widzisz swoje dobrania. Każde kosztuje grupę 4 obsadzonych fabryk; reszta twoich dobrań jest zatrzymywana jako pojedyncze.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "zobaczysz wartości nowych kart. Każda karta Mega zastępuje produkcję 4 obsadzonych fabryk; pozostałe fabryki produkują pojedyncze karty.",
|
||||
"selected": "wybrany",
|
||||
"selected · ◈": "wybrane · ◈",
|
||||
"side": "strona",
|
||||
|
|
@ -912,15 +913,15 @@
|
|||
"span": "rozpiętość",
|
||||
"st": "st",
|
||||
"staffing": "obsada",
|
||||
"stag dim": "przyciemnienie etapu",
|
||||
"stag era-": "era etapu-",
|
||||
"stag era-{x.era}": "era etapu-{x.era}",
|
||||
"stag era-{x.era} ks-era": "era etapu-{x.era} era-ks",
|
||||
"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": "gwiazda",
|
||||
"station": "stacja",
|
||||
"status": "status",
|
||||
"step": "krok",
|
||||
"still": "nieruchomo",
|
||||
"still": "jeszcze",
|
||||
"still to bid": "wciąż do licytacji",
|
||||
"still to bid{p10} : {p11}{p12}": "nadal do licytacji{p10} : {p11}{p12}",
|
||||
"still {p0} cards over the hand capacity of {p1}": "liczba kart ponad limit {p1}: {p0}",
|
||||
|
|
@ -932,13 +933,13 @@
|
|||
"style": "styl",
|
||||
"summary": "podsumowanie",
|
||||
"supply": "podaż",
|
||||
"supply ksupply": "podaż kpodaż",
|
||||
"supply ksupply": "supply ksupply",
|
||||
"surface": "powierzchnia",
|
||||
"svelte": "smukły",
|
||||
"svelte": "svelte",
|
||||
"svg": "svg",
|
||||
"system": "system",
|
||||
"tail": "ogon",
|
||||
"take.{p0}": "bierze.{p0}",
|
||||
"take.{p0}": "take.{p0}",
|
||||
"takes": "bierze",
|
||||
"takes part in the sealed auction": "bierze udział w licytacji zamkniętej",
|
||||
"takes their production as single cards": "bierze swoją produkcję jako pojedyncze karty",
|
||||
|
|
@ -968,7 +969,7 @@
|
|||
"total": "razem",
|
||||
"total hand value in credits": "łączna wartość ręki w kredytach",
|
||||
"track": "tor",
|
||||
"trade": "handel",
|
||||
"trade": "wymiana",
|
||||
"trade here: they must hand back a higher-valued card of the offered type": "handluj tutaj: musi oddać kartę o wyższej wartości w oferowanym typie",
|
||||
"trade target: they must hand back a higher-valued card of the offered type": "cel wymiany: musi oddać kartę o wyższej wartości w oferowanym typie",
|
||||
"trade with": "handluj z",
|
||||
|
|
@ -977,13 +978,13 @@
|
|||
"trades": "handluje",
|
||||
"tradetarget": "cel handlu",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "przesuń({b.x} {b.y})",
|
||||
"true": "prawda",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "true",
|
||||
"turn": "tura",
|
||||
"ucard": "ukarta",
|
||||
"ucard kcard era-": "ukarta karta era-",
|
||||
"ucard kcard era-{spec.era}": "ukarta karta era-{spec.era}",
|
||||
"ueffect": "uefekt",
|
||||
"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)}",
|
||||
|
|
@ -1019,8 +1020,8 @@
|
|||
"watch": "obserwuj",
|
||||
"water": "woda",
|
||||
"width": "szerokość",
|
||||
"width:": "szerokość:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "szerokość: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; tło: {playerColor(",
|
||||
"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": "wygraj z",
|
||||
"winner": "zwycięzca",
|
||||
"wins": "wygrywa",
|
||||
|
|
@ -1039,7 +1040,7 @@
|
|||
"{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]} karta{n === 1 ? '' : 'y'}",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} karta{n === 1 ? '' : 's'}",
|
||||
"{p0} +1 card/round ({p1}–{p2})": "{p0} +1 karta/runda ({p1}–{p2})",
|
||||
"{p0} Cards must cover the payment; excess card value is not returned.": "{p0} Karty muszą pokryć zapłatę; nadwyżka wartości karty nie jest zwracana.",
|
||||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} Najwyższa oferta wygrywa za drugą najwyższą + 1; remisy rozstrzyga kolejność tur.",
|
||||
|
|
@ -1057,9 +1058,9 @@
|
|||
"{p0} colonists": "{p0} kolonistów",
|
||||
"{p0} discards {p1} card(s)": "{p0} odrzuca {p1} kart(y)",
|
||||
"{p0} entry": "wpis {p0}",
|
||||
"{p0} factory": "fabryka {p0}",
|
||||
"{p0} factory: ◈ {p1}, {p2} VP manned, produces a ◈ {p3}–{p4} card each round when manned": "{p0} fabryka: ◈ {p1}, {p2} PZ obsadzona, produkuje kartę ◈ {p3}–{p4} co rundę, gdy obsadzona",
|
||||
"{p0} free factory": "{p0} darmowa fabryka",
|
||||
"{p0} factory": "fabryka „{p0}”",
|
||||
"{p0} factory: ◈ {p1}, {p2} VP manned, produces a ◈ {p3}–{p4} card each round when manned": "Fabryka „{p0}”: ◈ {p1}; gdy jest obsadzona, daje {p2} PZ i co rundę produkuje kartę o wartości ◈ {p3}–{p4}",
|
||||
"{p0} free factory": "darmowa fabryka „{p0}”",
|
||||
"{p0} has no {p1} card to exchange": "{p0} nie ma karty {p1} do wymiany",
|
||||
"{p0} is too large": "{p0} jest za duży",
|
||||
"{p0} moves": "liczba ruchów: {p0}",
|
||||
|
|
@ -1086,7 +1087,7 @@
|
|||
"{p0} won {p1} for {p2}": "{p0} wygrał {p1} za {p2}",
|
||||
"{p0} {p1} (paid {p2}) and {p3}": "{p0} {p1} (zapłacono {p2}) i {p3}",
|
||||
"{p0} {p1} VP": "{p0} {p1} PZ",
|
||||
"{p0} {p1} factories": "{p0} {p1} fabryk",
|
||||
"{p0} {p1} factories": "{p0} × fabryka „{p1}”",
|
||||
"{p0} · you hold ◈ {p1}": "{p0} · masz ◈ {p1}",
|
||||
"{p0}: Biosphere": "{p0}: Biosfera",
|
||||
"{p0}: duplicate indices": "{p0}: zduplikowane indeksy",
|
||||
|
|
@ -1096,7 +1097,7 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0}: fabryka {p1} (obsadzona)",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0}: fabryka {p1} (nieobsadzona)",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Runda {p1}: przybywa statek kolonizacyjny: {p2}",
|
||||
"{p0}deg": "{p0}st.",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "karta {p10}",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} PZ, cena bazowa ◈ {p119}): {p120} ×{p121} zostało w stosie ery {p122}{p123}",
|
||||
|
|
@ -1110,7 +1111,7 @@
|
|||
"{p23} (Era {p24})": "{p23} (Era {p24})",
|
||||
"{p2} VP · list ◈ {p3}": "{p2} PZ · cena bazowa ◈ {p3}",
|
||||
"{p42} {p43} Also confirms: {p44}. {p45}": "{p42} {p43} Potwierdza również: {p44}. {p45}",
|
||||
"{p50} Building": "{p50} Budynek",
|
||||
"{p50} Building": "{p50} Budowa",
|
||||
"{p52} Your bid: raise to at least ◈ {p53} or pass. {p54} Waiting for {p55} to bid… {p56}": "{p52} Twoja oferta: podbij do co najmniej ◈ {p53} lub spasuj. {p54} Oczekiwanie na ofertę gracza {p55}… {p56}",
|
||||
"{p57} ({p58} VP, list ◈ {p59}): {p60} ×{p61} left in the supply — Era {p62} upgrade (card #{p63}){p64}": "{p57} ({p58} PZ, cena bazowa ◈ {p59}): {p60} ×{p61} zostało w zasobach — ulepszenie ery {p62} (karta #{p63}){p64}",
|
||||
"{p66} factories: {p67} VP each and a ◈ {p68}–{p69} card each round when manned": "{p66} fabryk: {p67} PZ każda i karta ◈ {p68}–{p69} w każdej rundzie, gdy obsadzone",
|
||||
|
|
@ -1174,10 +1175,16 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Obsadzone fabryki: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Produkcja: 1 Mega na 4 obsadzone fabryki.",
|
||||
"Purchase order this round: {p0}": "Kolejność zakupów w tej rundzie: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Nowa fabryka",
|
||||
"How to buy": "Jak kupować",
|
||||
"Remaining upgrades": "Pozostałe ulepszenia",
|
||||
"Remaining Kicker cards": "Pozostałe karty Kicker",
|
||||
"{p0}: {p1} credits": "{p0} — kredyty: {p1}",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} PZ, cena bazowa ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Zapłać najwyżej ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Wybrano ◈ {p0} / ◈ {p1}.",
|
||||
"{p0} mans {p1} factory": "{p0} obsadza {p1} fabrykę",
|
||||
"{p0} mans {p1} factories": "{p0} obsadza fabryki; liczba: {p1}",
|
||||
"Pass auctions I can't afford": "Pasuj w aukcjach, na które mnie nie stać",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Automatycznie pasuj w licytacji, gdy twoje karty i zniżki nie wystarczają na wymaganą ofertę. Może to ujawnić, że twoja ręka jest zbyt słaba.",
|
||||
"Choices stay hidden until everyone has confirmed.": "Wybory pozostają ukryte, dopóki wszyscy ich nie zatwierdzą.",
|
||||
|
|
@ -1208,7 +1215,7 @@
|
|||
"Max": "Maks.",
|
||||
"Quantity": "Liczba",
|
||||
"Selected cards cover {p0}.": "Wybrane karty wystarczą na {p0}.",
|
||||
"{p0} {p1} factory": "{p0} fabryka {p1}",
|
||||
"{p0} {p1} factory": "{p0} × fabryka „{p1}”",
|
||||
"◈ {p0} lost (no change).": "◈ {p0} stracone (bez reszty).",
|
||||
"These cards can buy {p0}. Buy fewer anyway?": "Te karty wystarczą na {p0}. Mimo to kupić mniej?",
|
||||
"Buy {p0} anyway · ◈ {p1}": "Kup {p0} mimo to · ◈ {p1}",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; fundo:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(desconto de Ecoplantas)",
|
||||
"(Era": "(Era",
|
||||
"(Kicker)": "(Impulsionador)",
|
||||
|
|
@ -194,7 +194,7 @@
|
|||
"Game over": "Fim de jogo",
|
||||
"Game over:": "Fim de jogo:",
|
||||
"Game over: {p0}": "Fim de jogo: {p0}",
|
||||
"Game over: {p0} win with {p2} VP": "Fim de jogo: {p0} vence com {p2} PV",
|
||||
"Game over: {p0} win with {p2} VP": "Fim de jogo: {p0} vencem com {p2} PV",
|
||||
"Game over: {p0} wins with {p2} VP": "Fim de jogo: {p0} vence com {p2} PV",
|
||||
"Game sounds": "Sons do jogo",
|
||||
"Game started with": "Jogo iniciado com",
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
"Produces an": "Produz uma",
|
||||
"Production": "Produção",
|
||||
"Production: choose Mega cards": "Produção: escolha cartas Mega",
|
||||
"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.": "Produção: escolha cartas Mega {p0} vendo suas compras. Cada uma custa um grupo de 4 fábricas operadas; o restante das suas compras é mantido como cartas avulsas.",
|
||||
"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.": "Produção: escolha cartas Mega {p0} de ver os valores das cartas recebidas. Cada Mega substitui a produção de 4 fábricas com operadores; as demais fábricas produzem cartas avulsas.",
|
||||
"Progress cannot be saved in this browser": "O progresso não pode ser salvo neste navegador",
|
||||
"Put a robot to work": "Coloque um robô para trabalhar",
|
||||
"Put up for auction": "Colocar em leilão",
|
||||
|
|
@ -341,7 +341,7 @@
|
|||
"Research funds your next expansion": "Pesquisa financia sua próxima expansão",
|
||||
"Research has two uses": "Pesquisa tem dois usos",
|
||||
"Research opens new industry": "Pesquisa abre nova indústria",
|
||||
"Ring Ore": "Minério em Anel",
|
||||
"Ring Ore": "Minério dos Anéis",
|
||||
"Robot Prototype": "Protótipo de Robô",
|
||||
"Robot · ◈ 10": "Robô · ◈ 10",
|
||||
"Robots": "Robôs",
|
||||
|
|
@ -503,13 +503,13 @@
|
|||
"avatar": "avatar",
|
||||
"avatar fallback": "avatar reserva",
|
||||
"avg": "média",
|
||||
"background:": "fundo:",
|
||||
"background: {playerColor(row.i)}": "fundo: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "distintivo",
|
||||
"badge res-": "distintivo rec-",
|
||||
"badge res-{spec.freeFactory}": "distintivo rec-{spec.freeFactory}",
|
||||
"badge res-{spec.produces}": "distintivo rec-{spec.produces}",
|
||||
"badge res-{type}": "distintivo rec-{type}",
|
||||
"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": "distintivos",
|
||||
"banner": "faixa",
|
||||
"bar": "barra",
|
||||
|
|
@ -518,7 +518,7 @@
|
|||
"before": "antes",
|
||||
"begins": "começa",
|
||||
"begins —": "começa —",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-menções-{p0}",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-mentions-{p0}",
|
||||
"bid": "lance",
|
||||
"bid must be at least": "o lance deve ser de pelo menos",
|
||||
"bid must be at least {p0}": "o lance deve ser de pelo menos {p0}",
|
||||
|
|
@ -526,7 +526,7 @@
|
|||
"bid must be higher than {p0}": "o lance deve ser maior que {p0}",
|
||||
"bidbox": "caixa de lance",
|
||||
"bidrow": "linha de lance",
|
||||
"bids": "lances",
|
||||
"bids": "dá lance de",
|
||||
"bids (per copy).": "lances (por cópia).",
|
||||
"bids. Draw 1 extra": "lances. Compre 1 extra",
|
||||
"biosphere": "biosfera",
|
||||
|
|
@ -538,6 +538,7 @@
|
|||
"build": "construir",
|
||||
"builds": "constrói",
|
||||
"builds {p0} {p1} factories": "constrói {p0} fábricas de {p1}",
|
||||
"builds a {p0} factory": "constrói uma fábrica de {p0}",
|
||||
"builds {p0} {p1} factory": "constrói {p0} fábrica de {p1}",
|
||||
"button": "botão",
|
||||
"buy": "comprar",
|
||||
|
|
@ -589,14 +590,14 @@
|
|||
"chat": "chat",
|
||||
"checkbox": "caixa de seleção",
|
||||
"chip": "ficha",
|
||||
"chip fchip res-": "ficha fficha rec-",
|
||||
"chip fchip res-{token.f}": "ficha fficha rec-{token.f}",
|
||||
"chip kchip": "ficha kficha",
|
||||
"chip rchip res-": "ficha rficha rec-",
|
||||
"chip rchip res-{token.card}": "ficha rficha rec-{token.card}",
|
||||
"chip rchip res-{token.r}": "ficha rficha rec-{token.r}",
|
||||
"chip uchip era-": "ficha uficha era-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "ficha uficha era-{upgradeEra(token.u)}",
|
||||
"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": "clicar",
|
||||
"colonist": "colono",
|
||||
"colonist(s)": "colono(s)",
|
||||
|
|
@ -734,6 +735,8 @@
|
|||
"mans": "atribui operadores",
|
||||
"mans {p0} factories": "atribui operadores a {p0} fábricas",
|
||||
"mans {p0} factory": "atribui um operador a {p0} fábrica",
|
||||
"{p0} mans {p1} factory": "{p0} atribui um operador a {p1} fábrica",
|
||||
"{p0} mans {p1} factories": "{p0} atribui operadores a {p1} fábricas",
|
||||
"mark": "marca",
|
||||
"market": "mercado",
|
||||
"marks": "marcas",
|
||||
|
|
@ -794,7 +797,7 @@
|
|||
"numeric": "numérico",
|
||||
"object": "objeto",
|
||||
"off": "desligado",
|
||||
"offers": "ofertas",
|
||||
"offers": "oferece",
|
||||
"only": "apenas",
|
||||
"only {p0} operators available": "apenas {p0} operadores disponíveis",
|
||||
"open": "abrir",
|
||||
|
|
@ -880,10 +883,10 @@
|
|||
"rock r3": "rocha r3",
|
||||
"role": "papel",
|
||||
"roof": "teto",
|
||||
"rotate(-18 12 12)": "rotacionar(-18 12 12)",
|
||||
"rotate(-22 12 12)": "rotacionar(-22 12 12)",
|
||||
"rotate(120 12 12)": "rotacionar(120 12 12)",
|
||||
"rotate(60 12 12)": "rotacionar(60 12 12)",
|
||||
"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": "rodada",
|
||||
"row chips": "fichas da fileira",
|
||||
"row hand": "mão da fileira",
|
||||
|
|
@ -898,7 +901,7 @@
|
|||
"seal": "selo",
|
||||
"section": "seção",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "ver suas compras. Cada uma custa um grupo de 4 fábricas operadas; o restante das suas compras é mantido como cartas avulsas.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "de ver os valores das cartas recebidas. Cada Mega substitui a produção de 4 fábricas com operadores; as demais fábricas produzem cartas avulsas.",
|
||||
"selected": "selecionado",
|
||||
"selected · ◈": "selecionado · ◈",
|
||||
"side": "lado",
|
||||
|
|
@ -912,10 +915,10 @@
|
|||
"span": "extensão",
|
||||
"st": "st",
|
||||
"staffing": "lotação",
|
||||
"stag dim": "esmaecer estágio",
|
||||
"stag era-": "era de estágio-",
|
||||
"stag era-{x.era}": "era de estágio-{x.era}",
|
||||
"stag era-{x.era} ks-era": "era de estágio-{x.era} ks-era",
|
||||
"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": "estrela",
|
||||
"station": "estação",
|
||||
"status": "status",
|
||||
|
|
@ -968,7 +971,7 @@
|
|||
"total": "total",
|
||||
"total hand value in credits": "valor total da mão em créditos",
|
||||
"track": "trilha",
|
||||
"trade": "comércio",
|
||||
"trade": "trocar",
|
||||
"trade here: they must hand back a higher-valued card of the offered type": "negocie aqui: ele deve devolver uma carta de valor maior do tipo oferecido",
|
||||
"trade target: they must hand back a higher-valued card of the offered type": "alvo da negociação: ele deve devolver uma carta de valor maior do tipo oferecido",
|
||||
"trade with": "negociar com",
|
||||
|
|
@ -977,17 +980,17 @@
|
|||
"trades": "negocia",
|
||||
"tradetarget": "alvo de negociação",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "traduzir({b.x} {b.y})",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "verdadeiro",
|
||||
"turn": "turno",
|
||||
"ucard": "ucarta",
|
||||
"ucard kcard era-": "ucarta kcarta era-",
|
||||
"ucard kcard era-{spec.era}": "ucarta kcarta era-{spec.era}",
|
||||
"ueffect": "uefeito",
|
||||
"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": "unome",
|
||||
"uname": "uname",
|
||||
"undefined": "indefinido",
|
||||
"unit": "unidade",
|
||||
"unknown action": "ação desconhecida",
|
||||
|
|
@ -1004,7 +1007,7 @@
|
|||
"upgrade (card #": "melhoria (carta #",
|
||||
"upgrade (counts against your robot limit once you own one).": "melhoria (conta contra seu limite de robôs assim que você possuir uma).",
|
||||
"uprice": "upreço",
|
||||
"url(#moonbody)": "url(#corpolunar)",
|
||||
"url(#moonbody)": "url(#moonbody)",
|
||||
"utag": "uetiqueta",
|
||||
"utag ktag era-": "uetiqueta ketiqueta era-",
|
||||
"utag ktag era-{spec.era}": "uetiqueta ketiqueta era-{spec.era}",
|
||||
|
|
@ -1019,8 +1022,8 @@
|
|||
"watch": "observar",
|
||||
"water": "água",
|
||||
"width": "largura",
|
||||
"width:": "largura:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "largura: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; fundo: {playerColor(",
|
||||
"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": "vencer com",
|
||||
"winner": "vencedor",
|
||||
"wins": "vence",
|
||||
|
|
@ -1037,13 +1040,13 @@
|
|||
"{RESOURCE_LABELS[group.type]} factories: {FACTORIES[group.type].vp} VP each and a ◈ {MIN_CARD_VALUE[": "fábricas de {RESOURCE_LABELS[group.type]}: {FACTORIES[group.type].vp} PV cada e uma carta ◈ {MIN_CARD_VALUE[",
|
||||
"{RESOURCE_LABELS[token.card]} card": "carta de {RESOURCE_LABELS[token.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": "{`O",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} carta{n === 1 ? '' : 's'} de {RESOURCE_LABELS[res]}",
|
||||
"{p0} +1 card/round ({p1}–{p2})": "{p0} +1 carta/rodada ({p1}–{p2})",
|
||||
"{p0} Cards must cover the payment; excess card value is not returned.": "{p0} As cartas devem cobrir o pagamento; o valor excedente da carta não é devolvido.",
|
||||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} O maior lance vence pelo segundo maior + 1; empates vão para o primeiro na ordem de turno.",
|
||||
"{p0} OUTPOST": "{p0} POSTO AVANÇADO",
|
||||
"{p0} OUTPOST": "{p0} OUTPOST",
|
||||
"{p0} VP": "{p0} PV",
|
||||
"{p0} VP to next era": "{p0} PV para a próxima era",
|
||||
"{p0} VP · finish the round": "{p0} PV · terminar a rodada",
|
||||
|
|
@ -1066,7 +1069,7 @@
|
|||
"{p0} must be an array": "{p0} deve ser um array",
|
||||
"{p0} must be an integer in [{p1}, {p2}]": "{p0} deve ser um inteiro em [{p1}, {p2}]",
|
||||
"{p0} offers {p1} to {p2}, who has nothing higher to trade back": "{p0} oferece {p1} a {p2}, que não tem nada maior para trocar de volta",
|
||||
"{p0} overpaid": "{p0} pagou a mais",
|
||||
"{p0} overpaid": "{p0} pagos a mais",
|
||||
"{p0} passes on the auction": "{p0} passa no leilão",
|
||||
"{p0} passes on the exchange": "{p0} passa na troca",
|
||||
"{p0} passes — {p1} wins the sealed auction at {p2}": "{p0} passa — {p1} vence o leilão fechado por {p2}",
|
||||
|
|
@ -1096,11 +1099,11 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0}: {p1} fábrica (operada)",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0}: {p1} fábrica (não operada)",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Rodada {p1}: nave colonial chega: {p2}",
|
||||
"{p0}deg": "{p0}°",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "{p10} carta",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} PV, preço base ◈ {p119}): {p120} ×{p121} restantes na pilha da Era {p122}{p123}",
|
||||
"{p123} overpaid": "{p123} pagou a mais",
|
||||
"{p123} overpaid": "{p123} pagos a mais",
|
||||
"{p126} card{p127} selected · ◈ {p128}": "{p126} carta{p127} selecionada · ◈ {p128}",
|
||||
"{p15} {p16} factories (manned)": "{p15} {p16} fábricas (operadas)",
|
||||
"{p162} {p163} card{p164}": "{p162} {p163} carta{p164}",
|
||||
|
|
@ -1117,8 +1120,8 @@
|
|||
"{p7}: Biosphere": "{p7}: Biosfera",
|
||||
"{p86} VP": "{p86} PV",
|
||||
"{p9} VP · finish the round": "{p9} PV · terminar a rodada",
|
||||
"{parked": "{estacionado",
|
||||
"{reason": "{motivo",
|
||||
"{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} PV, preço base ◈ {spec.price}): {effectToText(",
|
||||
"{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1": "{spec.name}: {spec.vp} PV, preço base {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1",
|
||||
|
|
@ -1167,17 +1170,17 @@
|
|||
"Comes with a free {p0} (no {p1} needed).": "Fornece {p0} grátis, sem precisar de {p1}.",
|
||||
"Colonists to recruit: {p0}": "Colonos a recrutar: {p0}",
|
||||
"Robots to buy: {p0}": "Robôs a comprar: {p0}",
|
||||
"Hand limit exceeded. Cards still to discard: {p0} (selected: {p1}; Research and Microbiotics do not count).": "Limite de cartas excedido. Cartas ainda a descartar: {p0} (selecionadas: {p1}; Pesquisa e Microbiotecnologia não contam).",
|
||||
"Hand limit exceeded. Cards still to discard: {p0} (selected: {p1}; Research and Microbiotics do not count).": "Limite de cartas excedido. Cartas ainda a descartar: {p0} (selecionadas: {p1}; Pesquisa e Microbiótica não contam).",
|
||||
"← Assign operators: {p0}": "← Atribuir operadores: {p0}",
|
||||
"Selected cards: {p0} · ◈ {p1}": "Cartas selecionadas: {p0} · ◈ {p1}",
|
||||
"{p0} cards: {p1}": "Cartas de {p0}: {p1}",
|
||||
"Factories staffed: {p0}/{p1}.": "Fábricas com operadores: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Produção: 1 Mega para cada 4 fábricas com operadores.",
|
||||
"Purchase order this round: {p0}": "Ordem de compra nesta rodada: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Nova fábrica",
|
||||
"How to buy": "Como comprar",
|
||||
"Remaining upgrades": "Melhorias restantes",
|
||||
"Remaining Kicker cards": "Cartas Kicker restantes",
|
||||
"Pass auctions I can't afford": "Passar em leilões que não posso pagar",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Passe automaticamente em um leilão quando suas cartas e descontos não cobrirem o lance necessário. Isso pode revelar que sua mão é fraca demais.",
|
||||
"Choices stay hidden until everyone has confirmed.": "As escolhas ficam ocultas até que todos tenham confirmado.",
|
||||
|
|
@ -1218,5 +1221,9 @@
|
|||
"Choose a card": "Escolha uma carta",
|
||||
"Choose a player": "Escolha um jogador",
|
||||
"Trade rules": "Regras de troca",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "O jogador escolhido devolve uma carta do mesmo recurso de valor maior, se tiver uma."
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "O jogador escolhido devolve uma carta do mesmo recurso de valor maior, se tiver uma.",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} créditos",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} PV, preço base ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Pague no máximo ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Selecionado: ◈ {p0} / ◈ {p1}."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"%; background:": "%; fundal:",
|
||||
"(Ecoplants discount)": "(reducere Ecoplants)",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(reducere Ecoplante)",
|
||||
"(Era": "(Eră",
|
||||
"(Kicker)": "(Kicker)",
|
||||
"(Kicker, era": "(Kicker, eră",
|
||||
|
|
@ -144,7 +144,7 @@
|
|||
"Colonists cost 5 instead of 10": "Coloniștii costă 5 în loc de 10",
|
||||
"Colonists cost 5 instead of 10. −10 on": "Coloniștii costă 5 în loc de 10. −10 la",
|
||||
"Colony upgrades for auction": "Upgrade-uri de colonie pentru licitație",
|
||||
"Comes with a free": "Vine cu un/o",
|
||||
"Comes with a free": "Include gratuit",
|
||||
"Comes with a free robot you can operate even without a": "Vine cu un robot gratuit pe care îl poți opera chiar și fără un/o",
|
||||
"Comes with a free {RESOURCE_LABELS[spec.freeFactory]} factory": "Vine cu o fabrică {RESOURCE_LABELS[spec.freeFactory]} gratuită",
|
||||
"Comes with a free {p18} factory": "Vine cu o fabrică gratuită de {p18}",
|
||||
|
|
@ -255,8 +255,8 @@
|
|||
"New Chemicals": "Produse Chimice Noi",
|
||||
"New Chemicals Factory Prototype": "Prototip de Fabrică de Produse Chimice Noi",
|
||||
"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.": "Cartonașele de Produse Chimice Noi valorează 14–26 de credite. Fiecare fabrică nouă costă 60 și consumă cel puțin un cartonaș de Cercetare. Nu trebuie să deții un Laborator dacă obții Cercetare altfel, de exemplu prin Oameni de Știință.",
|
||||
"New Chemicals factories requires spending": "Noile fabrici de produse chimice necesită cheltuirea",
|
||||
"New Chemicals factory requires spending": "Noua fabrică de produse chimice necesită cheltuirea",
|
||||
"New Chemicals factories requires spending": "fabricile de Produse Chimice Noi necesită cheltuirea",
|
||||
"New Chemicals factory requires spending": "fabrica de Produse Chimice Noi necesită cheltuirea",
|
||||
"New era": "Eră nouă",
|
||||
"New factory:": "Fabrică nouă:",
|
||||
"Next chapter": "Capitolul următor",
|
||||
|
|
@ -341,7 +341,7 @@
|
|||
"Research funds your next expansion": "Cercetarea finanțează următoarea ta expansiune",
|
||||
"Research has two uses": "Cercetarea are două utilizări",
|
||||
"Research opens new industry": "Cercetarea deschide o industrie nouă",
|
||||
"Ring Ore": "Minereu Inelar",
|
||||
"Ring Ore": "Minereu din Inele",
|
||||
"Robot Prototype": "Prototip de Robot",
|
||||
"Robot · ◈ 10": "Robot · ◈ 10",
|
||||
"Robots": "Roboți",
|
||||
|
|
@ -399,7 +399,7 @@
|
|||
"Unknown Outpost chapter": "Capitol Outpost necunoscut",
|
||||
"Unlocks": "Deblochează",
|
||||
"Unlocks {RESOURCE_LABELS[type]} factories (◈ {FACTORIES[type].cost} each, {FACTORIES[type].vp} VP manned)": "Deblochează fabrici {RESOURCE_LABELS[type]} (◈ {FACTORIES[type].cost} fiecare, {FACTORIES[type].vp} PV operate)",
|
||||
"Unlocks {p10} factories (◈ {p11} each, {p12} VP manned)": "Deblochează {p10} fabrici (◈ {p11} fiecare, {p12} PV operate)",
|
||||
"Unlocks {p10} factories (◈ {p11} each, {p12} VP manned)": "Deblochează fabrici de {p10} (◈ {p11} fiecare, {p12} PV cu operator)",
|
||||
"Unspent cards add no VP. Points come from staffed factories and upgrades.": "Cartonașele necheltuite nu adaugă PV. Punctele vin din fabricile cu personal și upgrade-uri.",
|
||||
"Unstaffed factories do nothing": "Fabricile fără personal nu fac nimic",
|
||||
"Upgrades": "Upgrade-uri",
|
||||
|
|
@ -503,13 +503,13 @@
|
|||
"avatar": "avatar",
|
||||
"avatar fallback": "înlocuitor avatar",
|
||||
"avg": "medie",
|
||||
"background:": "fundal:",
|
||||
"background: {playerColor(row.i)}": "fundal: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "insignă",
|
||||
"badge res-": "insignă res-",
|
||||
"badge res-{spec.freeFactory}": "insignă res-{spec.freeFactory}",
|
||||
"badge res-{spec.produces}": "insignă res-{spec.produces}",
|
||||
"badge res-{type}": "insignă res-{type}",
|
||||
"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": "insigne",
|
||||
"banner": "banner",
|
||||
"bar": "bară",
|
||||
|
|
@ -518,7 +518,7 @@
|
|||
"before": "înainte",
|
||||
"begins": "începe",
|
||||
"begins —": "începe —",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-mențiuni-{p0}",
|
||||
"bgs-chat-mentions-{p0}": "bgs-chat-mentions-{p0}",
|
||||
"bid": "ofertă",
|
||||
"bid must be at least": "oferta trebuie să fie de cel puțin",
|
||||
"bid must be at least {p0}": "oferta trebuie să fie de cel puțin {p0}",
|
||||
|
|
@ -526,7 +526,7 @@
|
|||
"bid must be higher than {p0}": "oferta trebuie să fie mai mare decât {p0}",
|
||||
"bidbox": "cutie de licitație",
|
||||
"bidrow": "rând de licitație",
|
||||
"bids": "oferte",
|
||||
"bids": "licitează",
|
||||
"bids (per copy).": "licitații (pe copie).",
|
||||
"bids. Draw 1 extra": "licitații. Trage 1 în plus",
|
||||
"biosphere": "biosferă",
|
||||
|
|
@ -538,7 +538,8 @@
|
|||
"build": "construiește",
|
||||
"builds": "construiește",
|
||||
"builds {p0} {p1} factories": "construiește {p0} {p1} fabrici",
|
||||
"builds {p0} {p1} factory": "construiește {p0} {p1} fabrică",
|
||||
"builds a {p0} factory": "construiește o fabrică de {p0}",
|
||||
"builds {p0} {p1} factory": "construiește {p0} fabrică de {p1}",
|
||||
"button": "buton",
|
||||
"buy": "cumpără",
|
||||
"buy factory": "cumpără fabrică",
|
||||
|
|
@ -589,14 +590,14 @@
|
|||
"chat": "chat",
|
||||
"checkbox": "casetă de bifat",
|
||||
"chip": "jeton",
|
||||
"chip fchip res-": "jeton fchip res-",
|
||||
"chip fchip res-{token.f}": "jeton fchip res-{token.f}",
|
||||
"chip kchip": "jeton kchip",
|
||||
"chip rchip res-": "jeton rchip res-",
|
||||
"chip rchip res-{token.card}": "jeton rchip res-{token.card}",
|
||||
"chip rchip res-{token.r}": "jeton rchip res-{token.r}",
|
||||
"chip uchip era-": "jeton uchip era-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "jeton uchip era-{upgradeEra(token.u)}",
|
||||
"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": "clic",
|
||||
"colonist": "colonist",
|
||||
"colonist(s)": "colonist(ști)",
|
||||
|
|
@ -731,9 +732,11 @@
|
|||
"lowpass": "lowpass",
|
||||
"main": "principal",
|
||||
"manned": "cu personal",
|
||||
"mans": "operează",
|
||||
"mans {p0} factories": "operează {p0} fabrici",
|
||||
"mans {p0} factory": "operează {p0} fabrică",
|
||||
"mans": "alocă operatori la",
|
||||
"mans {p0} factories": "alocă operatori la {p0} fabrici",
|
||||
"mans {p0} factory": "alocă un operator la {p0} fabrică",
|
||||
"{p0} mans {p1} factory": "{p0} alocă un operator la {p1} fabrică",
|
||||
"{p0} mans {p1} factories": "{p0} alocă operatori la {p1} fabrici",
|
||||
"mark": "marcaj",
|
||||
"market": "piață",
|
||||
"marks": "marcaje",
|
||||
|
|
@ -880,10 +883,10 @@
|
|||
"rock r3": "stâncă r3",
|
||||
"role": "rol",
|
||||
"roof": "acoperiș",
|
||||
"rotate(-18 12 12)": "rotiți(-18 12 12)",
|
||||
"rotate(-22 12 12)": "rotiți(-22 12 12)",
|
||||
"rotate(120 12 12)": "rotiți(120 12 12)",
|
||||
"rotate(60 12 12)": "rotiți(60 12 12)",
|
||||
"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": "rundă",
|
||||
"row chips": "jetoane rând",
|
||||
"row hand": "rând mână",
|
||||
|
|
@ -898,7 +901,7 @@
|
|||
"seal": "sigiliu",
|
||||
"section": "secțiune",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "vezi extragerile tale. Fiecare costă un grup de 4 fabrici operate; restul extragerilor tale sunt păstrate ca individuale.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "să vezi valorile cărților noi. Fiecare înlocuiește producția a 4 fabrici cu operatori; celelalte fabrici produc cărți individuale.",
|
||||
"selected": "selectat",
|
||||
"selected · ◈": "selectat · ◈",
|
||||
"side": "lateral",
|
||||
|
|
@ -912,10 +915,10 @@
|
|||
"span": "întindere",
|
||||
"st": "st",
|
||||
"staffing": "personal",
|
||||
"stag dim": "dim estompare",
|
||||
"stag era-": "eră stag-",
|
||||
"stag era-{x.era}": "eră stag-{x.era}",
|
||||
"stag era-{x.era} ks-era": "eră stag-{x.era} eră-ks",
|
||||
"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": "stea",
|
||||
"station": "stație",
|
||||
"status": "stare",
|
||||
|
|
@ -968,7 +971,7 @@
|
|||
"total": "total",
|
||||
"total hand value in credits": "valoarea totală a mâinii în credite",
|
||||
"track": "pistă",
|
||||
"trade": "comerț",
|
||||
"trade": "schimbă",
|
||||
"trade here: they must hand back a higher-valued card of the offered type": "schimb aici: trebuie să dea înapoi o carte cu valoare mai mare de tipul oferit",
|
||||
"trade target: they must hand back a higher-valued card of the offered type": "ținta schimbului: trebuie să dea înapoi o carte cu valoare mai mare de tipul oferit",
|
||||
"trade with": "comerț cu",
|
||||
|
|
@ -977,17 +980,17 @@
|
|||
"trades": "face schimb",
|
||||
"tradetarget": "țintă comerț",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "tradu({b.x} {b.y})",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "adevărat",
|
||||
"turn": "tură",
|
||||
"ucard": "ucard",
|
||||
"ucard kcard era-": "ucard kcard eră-",
|
||||
"ucard kcard era-{spec.era}": "ucard kcard eră-{spec.era}",
|
||||
"ueffect": "uefect",
|
||||
"uera era-": "ueră eră-",
|
||||
"uera era-{spec.era}": "ueră eră-{spec.era}",
|
||||
"uera era-{upgradeEra(upgrade)}": "ueră eră-{upgradeEra(upgrade)}",
|
||||
"uname": "unume",
|
||||
"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": "nedefinit",
|
||||
"unit": "unitate",
|
||||
"unknown action": "acțiune necunoscută",
|
||||
|
|
@ -1004,7 +1007,7 @@
|
|||
"upgrade (card #": "îmbunătățire (carte #",
|
||||
"upgrade (counts against your robot limit once you own one).": "upgrade (se ia în calcul la limita ta de roboți odată ce deții unul).",
|
||||
"uprice": "upreț",
|
||||
"url(#moonbody)": "url(#corplună)",
|
||||
"url(#moonbody)": "url(#moonbody)",
|
||||
"utag": "uetiquetă",
|
||||
"utag ktag era-": "uetiquetă ketiquetă eră-",
|
||||
"utag ktag era-{spec.era}": "uetiquetă ketiquetă eră-{spec.era}",
|
||||
|
|
@ -1019,8 +1022,8 @@
|
|||
"watch": "urmărește",
|
||||
"water": "apă",
|
||||
"width": "lățime",
|
||||
"width:": "lățime:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "lățime: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; fundal: {playerColor(",
|
||||
"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": "câștigă cu",
|
||||
"winner": "câștigător",
|
||||
"wins": "câștigă",
|
||||
|
|
@ -1029,7 +1032,7 @@
|
|||
"wins with": "câștigă cu",
|
||||
"with": "cu",
|
||||
"won": "câștigat",
|
||||
"xMidYMax slice": "felie xMidYMax",
|
||||
"xMidYMax slice": "xMidYMax slice",
|
||||
"y requires": "y necesită",
|
||||
"your discount on this upgrade": "reducerea ta la acest upgrade",
|
||||
"{#each Array.from({p17}) as _, j (j)}": "{#each Array.from({p17}) as _, j (j)}",
|
||||
|
|
@ -1096,11 +1099,11 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0}: fabrică {p1} (operată)",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0}: fabrică {p1} (neoperată)",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Runda {p1}: sosește nava colonială: {p2}",
|
||||
"{p0}deg": "{p0}grade",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "{p10} carte",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} PV, preț de bază ◈ {p119}): {p120} ×{p121} rămase în teancul Erei {p122}{p123}",
|
||||
"{p123} overpaid": "{p123} a plătit în plus",
|
||||
"{p123} overpaid": "{p123} plătite în plus",
|
||||
"{p126} card{p127} selected · ◈ {p128}": "{p126} carte{p127} selectată · ◈ {p128}",
|
||||
"{p15} {p16} factories (manned)": "{p15} {p16} fabrici (cu personal)",
|
||||
"{p162} {p163} card{p164}": "{p162} {p163} carte{p164}",
|
||||
|
|
@ -1117,8 +1120,8 @@
|
|||
"{p7}: Biosphere": "{p7}: Biosferă",
|
||||
"{p86} VP": "{p86} PV",
|
||||
"{p9} VP · finish the round": "{p9} PV · termină runda",
|
||||
"{parked": "{parcat",
|
||||
"{reason": "{motiv",
|
||||
"{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} PV, preț de bază ◈ {spec.price}): {effectToText(",
|
||||
"{spec.name}: {spec.vp} VP, list {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1": "{spec.name}: {spec.vp} PV, preț de bază {spec.price}. {effectToText(UPGRADE_EFFECTS[x.u])}{x.n > 1",
|
||||
|
|
@ -1174,10 +1177,10 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Fabrici cu operatori: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Producție: 1 Mega la 4 fabrici cu operatori.",
|
||||
"Purchase order this round: {p0}": "Ordinea cumpărăturilor în această rundă: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Fabrică nouă",
|
||||
"How to buy": "Cum să cumperi",
|
||||
"Remaining upgrades": "Upgrade-uri rămase",
|
||||
"Remaining Kicker cards": "Cărți Kicker rămase",
|
||||
"Pass auctions I can't afford": "Pas la licitațiile pe care nu mi le permit",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Pasează automat la o licitație când cărțile și reducerile tale nu acoperă oferta necesară. Asta poate dezvălui că mâna ta este prea slabă.",
|
||||
"Choices stay hidden until everyone has confirmed.": "Alegerile rămân ascunse până când toți au confirmat.",
|
||||
|
|
@ -1218,5 +1221,9 @@
|
|||
"Choose a card": "Alege o carte",
|
||||
"Choose a player": "Alege un jucător",
|
||||
"Trade rules": "Reguli de schimb",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Jucătorul ales oferă în schimb o carte din aceeași resursă, cu o valoare mai mare, dacă are una."
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "Jucătorul ales oferă în schimb o carte din aceeași resursă, cu o valoare mai mare, dacă are una.",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} credite",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} PV, preț de bază ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Plătește cel mult ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Selectat: ◈ {p0} / ◈ {p1}."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; фон:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(скидка Экозаводов)",
|
||||
"(Era": "(Эра",
|
||||
"(Kicker)": "(Кикер)",
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
"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} за раунд при укомплектовании):",
|
||||
"Building {p0} {p1} factor{p2} (produces ◈ {p3}–{p4} per round when manned):": "Строительство {p0} фабрик{p2} «{p1}» (каждая производит ◈ {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 кредитов",
|
||||
|
|
@ -203,8 +203,8 @@
|
|||
"Heavy Equipment": "Тяжёлое оборудование",
|
||||
"Heavy Equipment is yours": "Тяжёлое оборудование твоё",
|
||||
"Hide": "Скрыть",
|
||||
"High bid": "Высокая ставка",
|
||||
"High bid {p0} by {p1}": "Высокая ставка {p0} от {p1}",
|
||||
"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?": "Сколько роботов могут работать?",
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
"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}, видя свои взятые карты. Каждая стоит группы из 4 работающих фабрик; остальные взятые карты остаются одиночными.",
|
||||
"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} просмотра значений новых карт. Каждая заменяет продукцию 4 фабрик с операторами; остальные фабрики производят отдельные карты.",
|
||||
"Progress cannot be saved in this browser": "Прогресс не может быть сохранён в этом браузере",
|
||||
"Put a robot to work": "Задействуй робота",
|
||||
"Put up for auction": "Выставить на аукцион",
|
||||
|
|
@ -353,7 +353,7 @@
|
|||
"Sealed bids": "Закрытые ставки",
|
||||
"Sealed bids and discounts": "Закрытые ставки и скидки",
|
||||
"Sealed bids —": "Закрытые ставки —",
|
||||
"Sealed bids — {p0} still to bid{p1}": "Закрытые ставки — {p0} ещё не став{p1}",
|
||||
"Sealed bids — {p0} still to bid{p1}": "Закрытые ставки — ещё не сделали ставку: {p0}{p1}",
|
||||
"Sealed bids: waiting for": "Закрытые ставки: ожидание",
|
||||
"Sealed bids: waiting for {p0}…": "Закрытые ставки: ожидание {p0}…",
|
||||
"See the result": "Посмотреть результат",
|
||||
|
|
@ -388,7 +388,7 @@
|
|||
"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.": "Десять карт руды и две карты воды занимают 12 мест. Обе карты исследований не занимают места.",
|
||||
"Titanium": "Титан",
|
||||
"Trade": "Торговля",
|
||||
"Trade": "Обмен",
|
||||
"Trade four random production cards for one fixed-value Mega card.": "Обменяйте четыре случайные карты производства на одну Мега-карту с фиксированной ценностью.",
|
||||
"Tutorial": "Обучение",
|
||||
"Tutorial navigation": "Навигация по обучению",
|
||||
|
|
@ -399,7 +399,7 @@
|
|||
"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} ПО с персоналом)",
|
||||
"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": "Улучшения",
|
||||
|
|
@ -503,13 +503,13 @@
|
|||
"avatar": "аватар",
|
||||
"avatar fallback": "запасной аватар",
|
||||
"avg": "средн.",
|
||||
"background:": "фон:",
|
||||
"background: {playerColor(row.i)}": "фон: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "значок",
|
||||
"badge res-": "значок рес-",
|
||||
"badge res-{spec.freeFactory}": "значок рес-{spec.freeFactory}",
|
||||
"badge res-{spec.produces}": "значок рес-{spec.produces}",
|
||||
"badge res-{type}": "значок рес-{type}",
|
||||
"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": "значки",
|
||||
"banner": "баннер",
|
||||
"bar": "бар",
|
||||
|
|
@ -538,13 +538,14 @@
|
|||
"build": "строить",
|
||||
"builds": "строит",
|
||||
"builds {p0} {p1} factories": "строит {p0} {p1} фабрик",
|
||||
"builds {p0} {p1} factory": "строит {p0} {p1} фабрику",
|
||||
"builds a {p0} factory": "строит фабрику {p0}",
|
||||
"builds {p0} {p1} factory": "строит {p0} фабрику {p1}",
|
||||
"button": "кнопка",
|
||||
"buy": "купить",
|
||||
"buy factory": "купить фабрику",
|
||||
"buy population": "купить население",
|
||||
"buy res-": "купить рес-",
|
||||
"buy res-{type}": "купить рес-{type}",
|
||||
"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} исследовательской карты",
|
||||
|
|
@ -569,7 +570,7 @@
|
|||
"cannot take {p0} mega {p1} card(s)": "нельзя взять столько мегакарт: {p0} ({p1})",
|
||||
"cantbid": "нельзя сделать ставку",
|
||||
"caption": "подпись",
|
||||
"caption kicker-caption": "подпись кикер-подпись",
|
||||
"caption kicker-caption": "caption kicker-caption",
|
||||
"card": "карта",
|
||||
"card each round (per copy)": "карта каждый раунд (за копию)",
|
||||
"card each round when manned": "карта каждый раунд при наличии оператора",
|
||||
|
|
@ -584,19 +585,19 @@
|
|||
"cards). −5 on": "карт). −5 на",
|
||||
"cards); comes with a free one.": "карт); идёт с одной бесплатной.",
|
||||
"cash": "наличные",
|
||||
"cash dim": "наличные тускл.",
|
||||
"cash dim selfrange": "наличные тускл. свойдиапазон",
|
||||
"cash dim": "cash dim",
|
||||
"cash dim selfrange": "cash dim selfrange",
|
||||
"chat": "чат",
|
||||
"checkbox": "флажок",
|
||||
"chip": "фишка",
|
||||
"chip fchip res-": "фишка fфишка рес-",
|
||||
"chip fchip res-{token.f}": "фишка fфишка рес-{token.f}",
|
||||
"chip kchip": "фишка kфишка",
|
||||
"chip rchip res-": "фишка rфишка рес-",
|
||||
"chip rchip res-{token.card}": "фишка rфишка рес-{token.card}",
|
||||
"chip rchip res-{token.r}": "фишка rфишка рес-{token.r}",
|
||||
"chip uchip era-": "фишка uфишка эра-",
|
||||
"chip uchip era-{upgradeEra(token.u)}": "фишка uфишка эра-{upgradeEra(token.u)}",
|
||||
"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)": "колонист(ы)",
|
||||
|
|
@ -626,7 +627,7 @@
|
|||
"done": "готово",
|
||||
"dot": "точка",
|
||||
"each,": "каждый,",
|
||||
"ecoplants": "экорастения",
|
||||
"ecoplants": "экозаводы",
|
||||
"edited": "изменено",
|
||||
"empty": "пусто",
|
||||
"end": "конец",
|
||||
|
|
@ -637,12 +638,12 @@
|
|||
"entry {p0} / {p1}": "запись {p0} / {p1}",
|
||||
"entry {p1} / {p2}": "запись {p1} / {p2}",
|
||||
"era": "эра",
|
||||
"eramark era-": "метка эры эра-",
|
||||
"eramark era-{era === 'II' ? 2 : 3}": "метка эры эра-{era === 'II' ? 2 : 3}",
|
||||
"eramark era-": "eramark era-",
|
||||
"eramark era-{era === 'II' ? 2 : 3}": "eramark era-{era === 'II' ? 2 : 3}",
|
||||
"es": "ие",
|
||||
"exchange": "обмен",
|
||||
"expected an object": "ожидался объект",
|
||||
"factor": "множитель",
|
||||
"factor": "фабрик",
|
||||
"factories": "фабрики",
|
||||
"factories (manned)": "фабрики (с экипажем)",
|
||||
"factories (◈": "фабрики (◈",
|
||||
|
|
@ -653,7 +654,7 @@
|
|||
"factory (manned)": "фабрика (укомплектована)",
|
||||
"factory (unmanned)": "фабрика (неукомплектована)",
|
||||
"factory: ◈": "фабрика: ◈",
|
||||
"factor{p53} (produces ◈ {p54}–{p55} per round when manned): {p56} Recruiting": "множитель {p53} (производит ◈ {p54}–{p55} за раунд при наличии работника): {p56} Найм",
|
||||
"factor{p53} (produces ◈ {p54}–{p55} per round when manned): {p56} Recruiting": "фабрик{p53} (производит ◈ {p54}–{p55} за раунд при наличии оператора): {p56} Найм",
|
||||
"false": "ложь",
|
||||
"fdot": "fdot",
|
||||
"fdots": "fdots",
|
||||
|
|
@ -663,8 +664,8 @@
|
|||
"fill": "заполнить",
|
||||
"finish": "завершить",
|
||||
"flow": "поток",
|
||||
"flow mega-flow": "поток мега-поток",
|
||||
"flow wrap": "перенос потока",
|
||||
"flow mega-flow": "flow mega-flow",
|
||||
"flow wrap": "flow wrap",
|
||||
"fly": "летать",
|
||||
"focus": "фокус",
|
||||
"footprint": "след",
|
||||
|
|
@ -685,9 +686,9 @@
|
|||
"head": "голова",
|
||||
"height": "высота",
|
||||
"hint": "подсказка",
|
||||
"hint dim": "подсказка тусклая",
|
||||
"hint gold-hint": "подсказка золотая",
|
||||
"hint warn": "подсказка предупреждение",
|
||||
"hint dim": "hint dim",
|
||||
"hint gold-hint": "hint gold-hint",
|
||||
"hint warn": "hint warn",
|
||||
"icon": "значок",
|
||||
"identity": "личность",
|
||||
"ies": "ие",
|
||||
|
|
@ -710,9 +711,9 @@
|
|||
"is less than the required": "меньше требуемого",
|
||||
"is too large": "слишком велико",
|
||||
"item": "предмет",
|
||||
"item dim": "предмет тусклый",
|
||||
"item era": "предмет эпоха",
|
||||
"item phase": "предмет фаза",
|
||||
"item dim": "item dim",
|
||||
"item era": "item era",
|
||||
"item phase": "item phase",
|
||||
"kcount": "kcount",
|
||||
"kicker": "кикер",
|
||||
"label": "метка",
|
||||
|
|
@ -843,8 +844,8 @@
|
|||
"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": "порядок покупок: покупает",
|
||||
"purchase order: buys {orderPos}{orderPos === 1": "порядок покупок: покупает {orderPos}{orderPos === 1",
|
||||
"purchase order: buys {p15}{p16} this round": "порядок покупки: покупает {p15}{p16} в этом раунде",
|
||||
"puts": "кладёт",
|
||||
"px": "px",
|
||||
|
|
@ -875,22 +876,22 @@
|
|||
"robot(s)": "робот(ы)",
|
||||
"robots": "роботы",
|
||||
"robot{p61}: {p62} selected": "робот{p61}: выбран {p62}",
|
||||
"rock r1": "камень r1",
|
||||
"rock r2": "камень r2",
|
||||
"rock r3": "камень r3",
|
||||
"rock r1": "rock r1",
|
||||
"rock r2": "rock r2",
|
||||
"rock r3": "rock r3",
|
||||
"role": "роль",
|
||||
"roof": "крыша",
|
||||
"rotate(-18 12 12)": "повернуть(-18 12 12)",
|
||||
"rotate(-22 12 12)": "повернуть(-22 12 12)",
|
||||
"rotate(120 12 12)": "повернуть(120 12 12)",
|
||||
"rotate(60 12 12)": "повернуть(60 12 12)",
|
||||
"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 hand": "ряд рука",
|
||||
"row hand pending": "ряд рука ожидание",
|
||||
"row picksum": "ряд выбор суммы",
|
||||
"row stats": "ряд статистика",
|
||||
"row tags": "ряд метки",
|
||||
"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": "сцена",
|
||||
"scientists": "учёные",
|
||||
|
|
@ -898,7 +899,7 @@
|
|||
"seal": "печать",
|
||||
"section": "раздел",
|
||||
"seedrandom": "seedrandom",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "просмотр ваших доборов. Каждый стоит группы из 4 задействованных фабрик; остальные ваши доборы остаются одиночными.",
|
||||
"seeing your draws. Each costs a group of 4 operated factories; the rest of your draws are kept as singles.": "просмотра значений новых карт. Каждая мега-карта заменяет продукцию 4 фабрик с операторами; остальные фабрики производят отдельные карты.",
|
||||
"selected": "выбрано",
|
||||
"selected · ◈": "выбрано · ◈",
|
||||
"side": "сторона",
|
||||
|
|
@ -912,15 +913,15 @@
|
|||
"span": "диапазон",
|
||||
"st": "ул",
|
||||
"staffing": "укомплектование",
|
||||
"stag dim": "олень тусклый",
|
||||
"stag era-": "олень эпоха-",
|
||||
"stag era-{x.era}": "олень эпоха-{x.era}",
|
||||
"stag era-{x.era} ks-era": "олень эпоха-{x.era} ks-эпоха",
|
||||
"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": "звезда",
|
||||
"station": "станция",
|
||||
"status": "статус",
|
||||
"step": "шаг",
|
||||
"still": "неподвижно",
|
||||
"still": "ещё",
|
||||
"still to bid": "ещё торгуются",
|
||||
"still to bid{p10} : {p11}{p12}": "ещё должны сделать ставку{p10}: {p11}{p12}",
|
||||
"still {p0} cards over the hand capacity of {p1}": "всё ещё {p0} карт сверх лимита руки {p1}",
|
||||
|
|
@ -932,13 +933,13 @@
|
|||
"style": "стиль",
|
||||
"summary": "сводка",
|
||||
"supply": "резерв",
|
||||
"supply ksupply": "запас kзапас",
|
||||
"supply ksupply": "supply ksupply",
|
||||
"surface": "поверхность",
|
||||
"svelte": "компактный",
|
||||
"svelte": "svelte",
|
||||
"svg": "svg",
|
||||
"system": "система",
|
||||
"tail": "хвост",
|
||||
"take.{p0}": "взять.{p0}",
|
||||
"take.{p0}": "take.{p0}",
|
||||
"takes": "берёт",
|
||||
"takes part in the sealed auction": "участвует в закрытом аукционе",
|
||||
"takes their production as single cards": "берёт своё производство отдельными картами",
|
||||
|
|
@ -968,7 +969,7 @@
|
|||
"total": "итого",
|
||||
"total hand value in credits": "общая ценность руки в кредитах",
|
||||
"track": "трек",
|
||||
"trade": "торговля",
|
||||
"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": "торговать с",
|
||||
|
|
@ -977,18 +978,18 @@
|
|||
"trades": "обменивает",
|
||||
"tradetarget": "цель торговли",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "переместить({b.x} {b.y})",
|
||||
"true": "истина",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "true",
|
||||
"turn": "ход",
|
||||
"ucard": "uкарта",
|
||||
"ucard kcard era-": "uкарта kкарта эпоха-",
|
||||
"ucard kcard era-{spec.era}": "uкарта kкарта эпоха-{spec.era}",
|
||||
"ueffect": "uэффект",
|
||||
"uera era-": "uэпоха эпоха-",
|
||||
"uera era-{spec.era}": "uэпоха эпоха-{spec.era}",
|
||||
"uera era-{upgradeEra(upgrade)}": "uэпоха эпоха-{upgradeEra(upgrade)}",
|
||||
"uname": "uимя",
|
||||
"undefined": "не определено",
|
||||
"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": "юнит",
|
||||
"unknown action": "неизвестное действие",
|
||||
"unknown action {p0}": "неизвестное действие {p0}",
|
||||
|
|
@ -1003,12 +1004,12 @@
|
|||
"upgrade": "улучшение",
|
||||
"upgrade (card #": "улучшение (карта №",
|
||||
"upgrade (counts against your robot limit once you own one).": "улучшение (учитывается в лимите роботов, как только оно у тебя появится).",
|
||||
"uprice": "uцена",
|
||||
"uprice": "uprice",
|
||||
"url(#moonbody)": "url(#moonbody)",
|
||||
"utag": "uметка",
|
||||
"utag ktag era-": "uметка kметка эпоха-",
|
||||
"utag ktag era-{spec.era}": "uметка kметка эпоха-{spec.era}",
|
||||
"uvp": "uпобедные очки",
|
||||
"utag": "utag",
|
||||
"utag ktag era-": "utag ktag era-",
|
||||
"utag ktag era-{spec.era}": "utag ktag era-{spec.era}",
|
||||
"uvp": "uvp",
|
||||
"value": "значение",
|
||||
"victory": "победа",
|
||||
"victory points": "победные очки",
|
||||
|
|
@ -1019,17 +1020,17 @@
|
|||
"watch": "смотреть",
|
||||
"water": "вода",
|
||||
"width": "ширина",
|
||||
"width:": "ширина:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "ширина: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; фон: {playerColor(",
|
||||
"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 at": "выигрывает за",
|
||||
"wins the sealed auction at": "выигрывает закрытый аукцион за",
|
||||
"wins with": "выигрывает с",
|
||||
"with": "с",
|
||||
"won": "выиграл",
|
||||
"xMidYMax slice": "xMidYMax срез",
|
||||
"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)}",
|
||||
|
|
@ -1039,33 +1040,33 @@
|
|||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (Эпоха {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} карта{n === 1 ? '' : 'ы'}",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} карта{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} АВАНПОСТ",
|
||||
"{p0} VP": "{p0} ПО",
|
||||
"{p0} VP to next era": "{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": "карта «{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} 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} 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} предлагает {p1} игроку {p2}, которому нечем ответить",
|
||||
"{p0} offers {p1} to {p2}, who has nothing higher to trade back": "{p0} предлагает {p1} игроку {p2}, у которого нет более ценной карты того же типа для обмена",
|
||||
"{p0} overpaid": "{p0} переплачено",
|
||||
"{p0} passes on the auction": "{p0} пасует на аукционе",
|
||||
"{p0} passes on the exchange": "{p0} пасует при обмене",
|
||||
|
|
@ -1086,7 +1087,7 @@
|
|||
"{p0} won {p1} for {p2}": "{p0} выиграл {p1} за {p2}",
|
||||
"{p0} {p1} (paid {p2}) and {p3}": "{p0} {p1} (заплатил {p2}) и {p3}",
|
||||
"{p0} {p1} VP": "{p0} {p1} ПО",
|
||||
"{p0} {p1} factories": "{p0} {p1} фабрик",
|
||||
"{p0} {p1} factories": "{p0} × фабрика «{p1}»",
|
||||
"{p0} · you hold ◈ {p1}": "{p0} · у тебя ◈ {p1}",
|
||||
"{p0}: Biosphere": "{p0}: Биосфера",
|
||||
"{p0}: duplicate indices": "{p0}: повторяющиеся индексы",
|
||||
|
|
@ -1096,8 +1097,8 @@
|
|||
"{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}°",
|
||||
"{p0}px": "{p0}пкс",
|
||||
"{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} переплачено",
|
||||
|
|
@ -1110,7 +1111,7 @@
|
|||
"{p23} (Era {p24})": "{p23} (Эпоха {p24})",
|
||||
"{p2} VP · list ◈ {p3}": "{p2} ПО · базовая цена ◈ {p3}",
|
||||
"{p42} {p43} Also confirms: {p44}. {p45}": "{p42} {p43} Также подтверждает: {p44}. {p45}",
|
||||
"{p50} Building": "{p50} Здание",
|
||||
"{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} каждый раунд при укомплектовании",
|
||||
|
|
@ -1174,10 +1175,16 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Заводы с операторами: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Производство: 1 мегакарта на 4 фабрики с операторами.",
|
||||
"Purchase order this round: {p0}": "Порядок покупок в этом раунде: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Новая фабрика",
|
||||
"How to buy": "Как покупать",
|
||||
"Remaining upgrades": "Оставшиеся улучшения",
|
||||
"Remaining Kicker cards": "Оставшиеся карты-усилители",
|
||||
"{p0}: {p1} credits": "{p0} — кредитов: {p1}",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} ПО, базовая цена ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Заплатить не более ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Выбрано ◈ {p0} / ◈ {p1}.",
|
||||
"{p0} mans {p1} factory": "{p0} назначает оператора на {p1} фабрику",
|
||||
"{p0} mans {p1} factories": "{p0} назначает операторов на фабрики; количество: {p1}",
|
||||
"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.": "Выбор остаётся скрытым, пока все его не подтвердят.",
|
||||
|
|
@ -1208,7 +1215,7 @@
|
|||
"Max": "Макс.",
|
||||
"Quantity": "Количество",
|
||||
"Selected cards cover {p0}.": "Выбранных карт хватит на {p0}.",
|
||||
"{p0} {p1} factory": "{p0} фабрика {p1}",
|
||||
"{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}",
|
||||
|
|
|
|||
|
|
@ -39,16 +39,23 @@ export function resolveLocale(value) {
|
|||
return Object.keys(languages).find((locale) => locale === tag.split("-")[0]) ?? "en";
|
||||
}
|
||||
|
||||
const normalize = (text) => text.replace(/\s+/g, " ").trim();
|
||||
const normalize = (text) => text.replaceAll("\u00ad", "").replace(/\s+/g, " ").trim();
|
||||
|
||||
export function createTranslator(catalogs, initialLocale = "en") {
|
||||
let locale = resolveLocale(initialLocale);
|
||||
let names = new Set();
|
||||
let patterns = [];
|
||||
let upperCase = new Map();
|
||||
let templates = new Map();
|
||||
const cache = new Map();
|
||||
function prepare() {
|
||||
cache.clear();
|
||||
templates = new Map();
|
||||
for (const [source, value] of Object.entries(catalogs[locale] ?? {})) {
|
||||
const keys = [...new Set(source.match(/\{p\d+\}/g) ?? [])];
|
||||
const renumber = (text) => text.replace(/\{p\d+\}/g, (key) => `{p${keys.indexOf(key)}}`);
|
||||
templates.set(renumber(source), renumber(value));
|
||||
}
|
||||
upperCase = new Map(
|
||||
Object.entries(catalogs[locale] ?? {})
|
||||
.filter(([source]) => !/\{p\d+\}/.test(source))
|
||||
|
|
@ -62,6 +69,12 @@ export function createTranslator(catalogs, initialLocale = "en") {
|
|||
pieces.every((piece, i) => i === 0 || i === pieces.length - 1 || i % 2 !== 0 || piece.length > 0)
|
||||
);
|
||||
}
|
||||
function format(source, parameters = []) {
|
||||
const catalog = catalogs[locale] ?? {};
|
||||
const template =
|
||||
locale === "en" ? source : Object.hasOwn(catalog, source) ? catalog[source] : (templates.get(source) ?? source);
|
||||
return template.replace(/\{p(\d+)\}/g, (placeholder, index) => String(parameters[Number(index)] ?? placeholder));
|
||||
}
|
||||
function translate(value, depth = 0) {
|
||||
if (typeof value !== "string" || locale === "en") {
|
||||
return value;
|
||||
|
|
@ -71,14 +84,15 @@ export function createTranslator(catalogs, initialLocale = "en") {
|
|||
return value;
|
||||
}
|
||||
const catalog = catalogs[locale] ?? {};
|
||||
let translated = Object.prototype.hasOwnProperty.call(catalog, text) ? catalog[text] : undefined;
|
||||
const cacheKey = `${depth}:${text}`;
|
||||
let translated = Object.hasOwn(catalog, text) ? catalog[text] : undefined;
|
||||
if (translated === undefined && text === text.toLocaleUpperCase()) {
|
||||
translated = upperCase.get(text);
|
||||
}
|
||||
if (translated === undefined && cache.has(text)) {
|
||||
translated = cache.get(text);
|
||||
if (translated === undefined && cache.has(cacheKey)) {
|
||||
translated = cache.get(cacheKey);
|
||||
}
|
||||
if (translated === undefined && depth < 2 && text.length <= 2500) {
|
||||
if (translated === undefined && depth < 6 && text.length <= 2500) {
|
||||
for (const { source, pieces } of patterns) {
|
||||
if (!text.startsWith(pieces[0])) {
|
||||
continue;
|
||||
|
|
@ -94,9 +108,13 @@ export function createTranslator(catalogs, initialLocale = "en") {
|
|||
? text.length - delimiter.length
|
||||
: -1
|
||||
: text.indexOf(delimiter, offset);
|
||||
if (i === 1 && source === "{p0} {p1} (paid {p2}) and {p3}") {
|
||||
const player = [...names].sort((a, b) => b.length - a.length).find((name) => text.startsWith(name + " "));
|
||||
if (i === 1 && pieces[0] === "" && delimiter) {
|
||||
const player = [...names].sort((a, b) => b.length - a.length).find((name) => text.startsWith(`${name} `));
|
||||
if (player) {
|
||||
if (!text.startsWith(player + delimiter)) {
|
||||
matches = false;
|
||||
break;
|
||||
}
|
||||
end = player.length;
|
||||
}
|
||||
}
|
||||
|
|
@ -110,6 +128,15 @@ export function createTranslator(catalogs, initialLocale = "en") {
|
|||
if (!matches || offset !== text.length) {
|
||||
continue;
|
||||
}
|
||||
if (/^\{p\d+\} \{p\d+\} (?:factor(?:y|ies)|card)/.test(source)) {
|
||||
if (!/^(?:\d+|a)$/.test(parameters[pieces[1]]) || !Object.hasOwn(catalog, parameters[pieces[3]])) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
const pluralSuffix = /card(\{p\d+\})/.exec(source)?.[1];
|
||||
if (pluralSuffix && !/^(?:s)?$/.test(parameters[pluralSuffix])) {
|
||||
continue;
|
||||
}
|
||||
translated = catalog[source].replace(/\{p\d+\}/g, (key) => {
|
||||
const parameter = parameters[key] ?? key;
|
||||
if (source === "{p0}Round {p1}: colony ship arrives: {p2}" && key === "{p2}") {
|
||||
|
|
@ -153,12 +180,13 @@ export function createTranslator(catalogs, initialLocale = "en") {
|
|||
if (cache.size > 5000) {
|
||||
cache.clear();
|
||||
}
|
||||
cache.set(text, translated);
|
||||
cache.set(cacheKey, translated);
|
||||
return value.slice(0, value.indexOf(value.trimStart())) + translated + value.slice(value.trimEnd().length);
|
||||
}
|
||||
prepare();
|
||||
return {
|
||||
translate,
|
||||
format,
|
||||
get locale() {
|
||||
return locale;
|
||||
},
|
||||
|
|
@ -189,7 +217,7 @@ export function mountLocalization(target, catalogs, initialLocale = "en") {
|
|||
const originals = new WeakMap();
|
||||
const attributes = ["title", "aria-label", "placeholder", "alt"];
|
||||
const excluded =
|
||||
'script,style,code,pre,[contenteditable="true"],[translate="no"],[data-bgs-player],[data-message-id],.chat-message-text,.chat-message-body,.chat-content,.message-text,.chat-author,.chat-segment';
|
||||
'script,style,code,pre,[contenteditable="true"],[translate="no"],[data-bgs-player],.chat-message-text,.chat-message-body,.chat-content,.message-text,.chat-author,.chat-segment';
|
||||
let destroyed = false;
|
||||
function apply(node, attribute) {
|
||||
const element = node.nodeType === 3 ? node.parentElement : node;
|
||||
|
|
@ -281,19 +309,6 @@ export function mountLocalization(target, catalogs, initialLocale = "en") {
|
|||
refresh();
|
||||
}
|
||||
},
|
||||
setNames(names) {
|
||||
if (translator.setNames(names)) {
|
||||
refresh();
|
||||
}
|
||||
},
|
||||
setState(state) {
|
||||
const players = state?.players ?? state?.game?.players;
|
||||
if (players && typeof players === "object") {
|
||||
if (translator.setNames(Object.values(players).flatMap((player) => [player?.name, player?.username]))) {
|
||||
refresh();
|
||||
}
|
||||
}
|
||||
},
|
||||
refresh,
|
||||
destroy() {
|
||||
destroyed = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"%; background:": "%; nền:",
|
||||
"%; background:": "%; background:",
|
||||
"(Ecoplants discount)": "(Giảm giá Nhà máy sinh thái)",
|
||||
"(Era": "(Kỷ nguyên",
|
||||
"(Kicker)": "(Kicker)",
|
||||
|
|
@ -296,7 +296,7 @@
|
|||
"Over hand capacity: discard {p19} more card{p20} (selected {p21}; research and microbiotics don't count).": "Vượt giới hạn bài trên tay: bỏ thêm {p19} lá{p20} (đã chọn {p21}; nghiên cứu và vi sinh học không tính).",
|
||||
"Owns": "Sở hữu",
|
||||
"Owns {p0} copies.": "Sở hữu {p0} bản.",
|
||||
"Pass": "Bỏ lượt",
|
||||
"Pass": "Bỏ qua",
|
||||
"Pay": "Trả",
|
||||
"Pay 31, keep the rest": "Trả 31, giữ phần còn lại",
|
||||
"Pay at most": "Trả tối đa",
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
"Produces an": "Sản xuất một",
|
||||
"Production": "Sản xuất",
|
||||
"Production: choose Mega cards": "Sản xuất: chọn các lá Mega",
|
||||
"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.": "Sản xuất: chọn các lá Mega {p0} khi thấy các lá bạn rút. Mỗi lá tốn một nhóm 4 nhà máy đang vận hành; phần còn lại của các lá rút được giữ làm lá đơn.",
|
||||
"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.": "Sản xuất: chọn các lá Mega {p0} khi xem các lá vừa rút. Mỗi lá Mega thay thế sản lượng thường của 4 nhà máy có người vận hành; phần còn lại được nhận dưới dạng các lá đơn.",
|
||||
"Progress cannot be saved in this browser": "Không thể lưu tiến trình trong trình duyệt này",
|
||||
"Put a robot to work": "Đưa một robot vào làm việc",
|
||||
"Put up for auction": "Đưa ra đấu giá",
|
||||
|
|
@ -444,7 +444,7 @@
|
|||
"Yes, money becomes VP": "Có, tiền trở thành Điểm thắng",
|
||||
"You": "Bạn",
|
||||
"You also hold a 60-credit Moon Ore card. Does keeping it in your hand add 60 VP?": "Bạn cũng đang giữ một lá Quặng Mặt trăng trị giá 60 tín dụng. Việc giữ nó trong tay có cộng thêm 60 Điểm thắng không?",
|
||||
"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?": "Bạn trả 60, Leo trả 50 và Ada trả 40. Giá là mức trả cao thứ hai cộng 1, ở đây là 51. Trừ đi 20 tín dụng giảm giá từ hai Thư viện Dữ liệu của bạn. Bạn phải trả bao nhiêu?",
|
||||
"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?": "Bạn đặt giá 60, Leo đặt giá 50 và Ada đặt giá 40. Giá đấu giá là mức giá cao thứ hai cộng 1, ở đây là 51. Trừ đi 20 tín dụng giảm giá từ hai Thư viện Dữ liệu của bạn. Bạn phải thanh toán bao nhiêu?",
|
||||
"You can't beat the high bid (your max is ◈": "Bạn không thể vượt mức trả cao nhất (tối đa của bạn là ◈",
|
||||
"You can't beat the high bid (your max is ◈ {p0}).": "Bạn không thể vượt mức trả cao nhất (tối đa của bạn là ◈ {p0}).",
|
||||
"You can't beat the high bid (your max is ◈ {p59}).": "Bạn không thể vượt mức trả cao nhất (tối đa của bạn là ◈ {p59}).",
|
||||
|
|
@ -452,7 +452,7 @@
|
|||
"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?": "Bạn có 21 tín dụng trong bốn lá. Việc mua tiêu thụ toàn bộ lá và không trả lại tiền thừa. Nếu bạn chi cả 21 cho một nhà máy Nước giá 20, bao nhiêu tín dụng được trả lại?",
|
||||
"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.": "Bạn có 70 Điểm thắng: 65 từ nâng cấp và 5 từ các nhà máy Nước có người vận hành. Nhà máy Sinh thái cộng thêm 5 Điểm thắng. Đạt 75 và đây sẽ là vòng cuối. Người chơi có nhiều Điểm thắng nhất khi vòng kết thúc sẽ thắng.",
|
||||
"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.": "Bạn có sáu nhà máy nhưng chỉ có ba người khai hoang. Ba nhà máy Titan đang rảnh: chúng không sản xuất gì và không ghi Điểm thắng. Bạn đã sở hữu nâng cấp Robot, nên bạn có thể mua thẻ robot với giá 10 mỗi thẻ.",
|
||||
"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.": "Bạn đang giữ 40 tín dụng và có 20 tín dụng giảm giá, nên bạn có thể trả tối đa 60. Nhập 60 và nộp. Những người trả giá khác phải trả ít nhất 41, cao hơn một so với giá cơ bản của Nhà khoa học. Số tiền của họ vẫn ẩn cho đến khi mọi người phản hồi.",
|
||||
"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.": "Bạn đang giữ 40 tín dụng và có mức giảm giá 20 tín dụng, nên có thể đặt giá tối đa 60. Nhập 60 và gửi giá thầu. Những người đấu giá khác phải đặt giá ít nhất 41, cao hơn giá cơ bản của Nhà khoa học một tín dụng. Giá thầu của họ được giữ kín cho đến khi mọi người phản hồi.",
|
||||
"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?": "Bạn đang giữ mười bốn lá: mười Quặng, hai Nước và hai Nghiên cứu. Nghiên cứu và Vi sinh không dùng sức chứa tay. Bao nhiêu lá của bạn tính vào giới hạn?",
|
||||
"You hold ◈": "Bạn đang giữ ◈",
|
||||
"You hold ◈ {p0} {p1} {p2}": "Bạn đang giữ ◈ {p0} {p1} {p2}",
|
||||
|
|
@ -503,8 +503,8 @@
|
|||
"avatar": "hình đại diện",
|
||||
"avatar fallback": "hình đại diện dự phòng",
|
||||
"avg": "trung bình",
|
||||
"background:": "nền:",
|
||||
"background: {playerColor(row.i)}": "nền: {playerColor(row.i)}",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "huy hiệu",
|
||||
"badge res-": "huy hiệu tài nguyên-",
|
||||
"badge res-{spec.freeFactory}": "huy hiệu tài nguyên-{spec.freeFactory}",
|
||||
|
|
@ -560,7 +560,7 @@
|
|||
"cannot afford a bid of": "không đủ khả năng trả giá",
|
||||
"cannot afford a bid of {p0} (needs {p1}, holds {p2})": "không đủ khả năng trả giá {p0} (cần {p1}, đang có {p2})",
|
||||
"cannot build": "không thể xây",
|
||||
"cannot build {p0} factories": "không thể xây {p0} nhà máy",
|
||||
"cannot build {p0} factories": "không thể xây nhà máy {p0}",
|
||||
"cannot offer a": "không thể đưa ra một",
|
||||
"cannot offer a mega": "không thể đưa ra một mega",
|
||||
"cannot offer a mega {p1} card in an exchange": "không thể đưa ra một thẻ mega {p1} trong một cuộc trao đổi",
|
||||
|
|
@ -801,7 +801,7 @@
|
|||
"opening bid must be at least": "giá mở đầu phải ít nhất",
|
||||
"opening bid must be at least {p0}": "giá mở đầu phải ít nhất {p0}",
|
||||
"operator": "người vận hành",
|
||||
"operators available": "toán tử khả dụng",
|
||||
"operators available": "người vận hành sẵn có",
|
||||
"option": "tùy chọn",
|
||||
"or pass.": "hoặc bỏ qua.",
|
||||
"order": "thứ tự",
|
||||
|
|
@ -811,7 +811,7 @@
|
|||
"overpaid credits are lost: the colony gives no change": "tín dụng trả thừa bị mất: thuộc địa không trả lại tiền thừa",
|
||||
"page": "trang",
|
||||
"panel": "bảng",
|
||||
"pass": "bỏ lượt",
|
||||
"pass": "bỏ qua",
|
||||
"passes on the auction": "bỏ qua phiên đấu giá",
|
||||
"passes on the exchange": "bỏ qua trao đổi",
|
||||
"passes —": "bỏ qua —",
|
||||
|
|
@ -880,10 +880,10 @@
|
|||
"rock r3": "đá r3",
|
||||
"role": "vai trò",
|
||||
"roof": "mái",
|
||||
"rotate(-18 12 12)": "xoay(-18 12 12)",
|
||||
"rotate(-22 12 12)": "xoay(-22 12 12)",
|
||||
"rotate(120 12 12)": "xoay(120 12 12)",
|
||||
"rotate(60 12 12)": "xoay(60 12 12)",
|
||||
"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": "vòng",
|
||||
"row chips": "chip hàng",
|
||||
"row hand": "bài trên tay theo hàng",
|
||||
|
|
@ -934,11 +934,11 @@
|
|||
"supply": "nguồn cung",
|
||||
"supply ksupply": "nguồn cung ksupply",
|
||||
"surface": "bề mặt",
|
||||
"svelte": "mảnh mai",
|
||||
"svelte": "svelte",
|
||||
"svg": "svg",
|
||||
"system": "system",
|
||||
"tail": "đuôi",
|
||||
"take.{p0}": "lấy.{p0}",
|
||||
"take.{p0}": "take.{p0}",
|
||||
"takes": "lấy",
|
||||
"takes part in the sealed auction": "tham gia đấu giá kín",
|
||||
"takes their production as single cards": "nhận sản phẩm của mình dưới dạng các lá đơn",
|
||||
|
|
@ -964,11 +964,11 @@
|
|||
"to take their turn…": "để đến lượt…",
|
||||
"to trade…": "để trao đổi…",
|
||||
"toggle": "bật/tắt",
|
||||
"toggle operator": "chuyển đổi toán tử",
|
||||
"toggle operator": "phân công hoặc rút người vận hành",
|
||||
"total": "tổng cộng",
|
||||
"total hand value in credits": "tổng giá trị bài trên tay tính bằng tín dụng",
|
||||
"track": "theo dõi",
|
||||
"trade": "traoĐổi",
|
||||
"trade": "trao đổi",
|
||||
"trade here: they must hand back a higher-valued card of the offered type": "trao đổi tại đây: họ phải trả lại một lá bài có giá trị cao hơn cùng loại được đề nghị",
|
||||
"trade target: they must hand back a higher-valued card of the offered type": "mục tiêu trao đổi: họ phải trả lại một lá bài có giá trị cao hơn cùng loại được đề nghị",
|
||||
"trade with": "trao đổi với",
|
||||
|
|
@ -976,8 +976,8 @@
|
|||
"trade with {player.name}": "trao đổi với {player.name}",
|
||||
"trades": "các giao dịch",
|
||||
"tradetarget": "mục tiêu trao đổi",
|
||||
"translate(": "dịchChuyển(",
|
||||
"translate({b.x} {b.y})": "dịch({b.x} {b.y})",
|
||||
"translate(": "translate(",
|
||||
"translate({b.x} {b.y})": "translate({b.x} {b.y})",
|
||||
"true": "đúng",
|
||||
"turn": "lượt",
|
||||
"ucard": "thẻ nâng cấp",
|
||||
|
|
@ -1019,8 +1019,8 @@
|
|||
"watch": "theo dõi",
|
||||
"water": "nước",
|
||||
"width": "chiều rộng",
|
||||
"width:": "chiều rộng:",
|
||||
"width: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; background: {playerColor(": "chiều rộng: {Math.round(((scores[row.i] ?? 0) / maxScore) * 100)}%; nền: {playerColor(",
|
||||
"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": "thắng với",
|
||||
"winner": "người thắng",
|
||||
"wins": "thắng",
|
||||
|
|
@ -1039,7 +1039,7 @@
|
|||
"{UPGRADE_SPECS[token.u].name} (Era {['', 'I', 'II', 'III'][upgradeEra(token.u)]})": "{UPGRADE_SPECS[token.u].name} (Kỷ nguyên {['', 'I', 'II', 'III'][upgradeEra(token.u)]})",
|
||||
"{`The": "{`The",
|
||||
"{groundHeight}px": "{groundHeight}px",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} thẻ {RESOURCE_LABELS[res]}{n === 1 ? '' : ''}",
|
||||
"{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}": "{n} {RESOURCE_LABELS[res]} card{n === 1 ? '' : 's'}",
|
||||
"{p0} +1 card/round ({p1}–{p2})": "{p0} +1 thẻ/vòng ({p1}–{p2})",
|
||||
"{p0} Cards must cover the payment; excess card value is not returned.": "{p0} Các lá bài phải đủ để thanh toán; giá trị bài dư không được hoàn lại.",
|
||||
"{p0} Highest bid wins at second-highest + 1; ties go to the earliest in turn order.": "{p0} Người trả giá cao nhất thắng ở mức giá cao thứ hai + 1; hòa thì ưu tiên người sớm nhất theo thứ tự lượt.",
|
||||
|
|
@ -1057,12 +1057,12 @@
|
|||
"{p0} colonists": "{p0} người khai hoang",
|
||||
"{p0} discards {p1} card(s)": "{p0} bỏ {p1} lá bài",
|
||||
"{p0} entry": "mục {p0}",
|
||||
"{p0} factory": "nhà máy của {p0}",
|
||||
"{p0} factory": "nhà máy {p0}",
|
||||
"{p0} factory: ◈ {p1}, {p2} VP manned, produces a ◈ {p3}–{p4} card each round when manned": "nhà máy {p0}: ◈ {p1}, {p2} VP khi có người vận hành, sản xuất một thẻ ◈ {p3}–{p4} mỗi vòng khi có người vận hành",
|
||||
"{p0} free factory": "nhà máy miễn phí {p0}",
|
||||
"{p0} has no {p1} card to exchange": "{p0} không có thẻ {p1} để trao đổi",
|
||||
"{p0} is too large": "{p0} quá lớn",
|
||||
"{p0} moves": "{p0} nước đi",
|
||||
"{p0} moves": "{p0} thực hiện một nước đi",
|
||||
"{p0} must be an array": "{p0} phải là một mảng",
|
||||
"{p0} must be an integer in [{p1}, {p2}]": "{p0} phải là số nguyên trong [{p1}, {p2}]",
|
||||
"{p0} offers {p1} to {p2}, who has nothing higher to trade back": "{p0} đề nghị {p1} cho {p2}, người không có gì cao hơn để trao đổi lại",
|
||||
|
|
@ -1096,7 +1096,7 @@
|
|||
"{p0}: {p1} factory (manned)": "{p0}: {p1} nhà máy (có người vận hành)",
|
||||
"{p0}: {p1} factory (unmanned)": "{p0}: {p1} nhà máy (không người vận hành)",
|
||||
"{p0}Round {p1}: colony ship arrives: {p2}": "{p0}Vòng {p1}: tàu thuộc địa đến: {p2}",
|
||||
"{p0}deg": "{p0}độ",
|
||||
"{p0}deg": "{p0}deg",
|
||||
"{p0}px": "{p0}px",
|
||||
"{p10} card": "{p10} lá bài",
|
||||
"{p117} ({p118} VP, list ◈ {p119}): {p120} ×{p121} left in the Era {p122} pile{p123}": "{p117} ({p118} VP, giá cơ bản ◈ {p119}): {p120} ×{p121} còn lại trong chồng Kỷ {p122}{p123}",
|
||||
|
|
@ -1174,10 +1174,17 @@
|
|||
"Factories staffed: {p0}/{p1}.": "Nhà máy có người vận hành: {p0}/{p1}.",
|
||||
"Production: 1 Mega per 4 staffed factories.": "Sản xuất: 1 Mega cho mỗi 4 nhà máy có người vận hành.",
|
||||
"Purchase order this round: {p0}": "Thứ tự mua trong vòng này: {p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "Nhà máy mới",
|
||||
"How to buy": "Cách mua",
|
||||
"Remaining upgrades": "Các nâng cấp còn lại",
|
||||
"Remaining Kicker cards": "Các lá Kicker còn lại",
|
||||
"builds a {p0} factory": "xây một nhà máy {p0}",
|
||||
"{p0} mans {p1} factory": "{p0} bố trí người vận hành cho {p1} nhà máy",
|
||||
"{p0} mans {p1} factories": "{p0} bố trí người vận hành cho {p1} nhà máy",
|
||||
"{p0}: {p1} credits": "{p0}: {p1} tín dụng",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0} ({p1} VP, giá niêm yết ◈ {p2}): {p3}",
|
||||
"Pay at most ◈ {p0}": "Trả tối đa ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "Đã chọn ◈ {p0} / ◈ {p1}.",
|
||||
"Pass auctions I can't afford": "Bỏ qua đấu giá khi không đủ tiền",
|
||||
"Automatically pass an auction when your cards and discounts cannot cover the required bid. This can reveal that your hand is too weak.": "Tự động bỏ lượt đấu giá khi bài và mức giảm giá của bạn không đủ cho giá thầu cần thiết. Điều này có thể tiết lộ rằng bài trên tay bạn quá yếu.",
|
||||
"Choices stay hidden until everyone has confirmed.": "Các lựa chọn được giữ kín cho đến khi mọi người xác nhận.",
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@
|
|||
"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}看到抽牌结果时选择巨型牌。每张需要四座运作中的工厂;其余产出保留为普通单牌。",
|
||||
"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": "发起拍卖",
|
||||
|
|
@ -560,7 +560,7 @@
|
|||
"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 build {p0} factories": "无法建造 {p0} 工厂",
|
||||
"cannot offer a": "无法提供",
|
||||
"cannot offer a mega": "无法提供巨型牌",
|
||||
"cannot offer a mega {p1} card in an exchange": "交换时不能提供巨型 {p1} 牌",
|
||||
|
|
@ -938,7 +938,7 @@
|
|||
"svg": "svg",
|
||||
"system": "system",
|
||||
"tail": "tail",
|
||||
"take.{p0}": "领取。{p0}",
|
||||
"take.{p0}": "take.{p0}",
|
||||
"takes": "领取",
|
||||
"takes part in the sealed auction": "参与密封竞价",
|
||||
"takes their production as single cards": "领取普通单牌产出",
|
||||
|
|
@ -1062,7 +1062,7 @@
|
|||
"{p0} free factory": "免费 {p0} 工厂",
|
||||
"{p0} has no {p1} card to exchange": "{p0} 没有 {p1} 牌可交换",
|
||||
"{p0} is too large": "{p0} 过大",
|
||||
"{p0} moves": "{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},但对方没有价值更高的同类牌可交换",
|
||||
|
|
@ -1217,6 +1217,13 @@
|
|||
"Auto Megas paused: production exceeds your hand limit. Choose this round.": "自动巨型牌已暂停:产出超过手牌上限。请为本轮手动选择。",
|
||||
"Choose a card": "选择一张卡牌",
|
||||
"Choose a player": "选择一名玩家",
|
||||
"builds a {p0} factory": "建造一座 {p0} 工厂",
|
||||
"{p0} mans {p1} factory": "{p0} 为 {p1} 座工厂分配操作员",
|
||||
"{p0} mans {p1} factories": "{p0} 为 {p1} 座工厂分配操作员",
|
||||
"{p0}: {p1} credits": "{p0}:{p1} 信用点",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0}({p1} 胜利分,标价 ◈ {p2}):{p3}",
|
||||
"Pay at most ◈ {p0}": "最多支付 ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "已选择 ◈ {p0}/◈ {p1}。",
|
||||
"Trade rules": "交换规则",
|
||||
"The chosen player returns a higher-valued card of the same resource, if they have one.": "所选玩家若持有同种资源且价值更高的卡牌,就必须用该卡牌交换。"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@
|
|||
"Leo": "Leo",
|
||||
"Lesson answers": "課程答案",
|
||||
"Like": "如同",
|
||||
"Live": "直播",
|
||||
"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": "為生產騰出空間",
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
"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} 查看你的抽牌。每張花費一組 4 間已運作的工廠;其餘抽牌保留為單卡。",
|
||||
"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}選擇巨型卡。每張巨型卡取代 4 座已配置操作員工廠的普通產出;其餘仍以單張卡領取。",
|
||||
"Progress cannot be saved in this browser": "此瀏覽器無法儲存進度",
|
||||
"Put a robot to work": "讓機器人上工",
|
||||
"Put up for auction": "拍賣",
|
||||
|
|
@ -504,7 +504,7 @@
|
|||
"avatar fallback": "頭像備用",
|
||||
"avg": "平均",
|
||||
"background:": "background:",
|
||||
"background: {playerColor(row.i)}": "背景:{playerColor(row.i)}",
|
||||
"background: {playerColor(row.i)}": "background: {playerColor(row.i)}",
|
||||
"badge": "徽章",
|
||||
"badge res-": "徽章 資源-",
|
||||
"badge res-{spec.freeFactory}": "徽章 資源-{spec.freeFactory}",
|
||||
|
|
@ -560,7 +560,7 @@
|
|||
"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 build {p0} factories": "無法建造 {p0} 工廠",
|
||||
"cannot offer a": "無法提供",
|
||||
"cannot offer a mega": "無法提供巨型",
|
||||
"cannot offer a mega {p1} card in an exchange": "無法在交換中提供巨型 {p1} 卡",
|
||||
|
|
@ -938,7 +938,7 @@
|
|||
"svg": "svg",
|
||||
"system": "系統",
|
||||
"tail": "尾部",
|
||||
"take.{p0}": "拿取.{p0}",
|
||||
"take.{p0}": "take.{p0}",
|
||||
"takes": "拿取",
|
||||
"takes part in the sealed auction": "參與密封競標",
|
||||
"takes their production as single cards": "以單張卡牌拿取其生產",
|
||||
|
|
@ -1061,10 +1061,10 @@
|
|||
"{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} is too large",
|
||||
"{p0} is too large": "{p0} 過大",
|
||||
"{p0} moves": "{p0} 行動",
|
||||
"{p0} must be an array": "{p0} must be an array",
|
||||
"{p0} must be an integer in [{p1}, {p2}]": "{p0} must be an integer in [{p1}, {p2}]",
|
||||
"{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} 退出競標",
|
||||
|
|
@ -1089,9 +1089,9 @@
|
|||
"{p0} {p1} factories": "{p0} 座 {p1} 工廠",
|
||||
"{p0} · you hold ◈ {p1}": "{p0} · 你持有 ◈ {p1}",
|
||||
"{p0}: Biosphere": "{p0}:生物圈",
|
||||
"{p0}: duplicate indices": "{p0}: duplicate indices",
|
||||
"{p0}: expected an array of card indices": "{p0}: expected an array of card indices",
|
||||
"{p0}: invalid index {p1}": "{p0}: invalid index {p1}",
|
||||
"{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} 工廠(未配置操作員)",
|
||||
|
|
@ -1174,10 +1174,17 @@
|
|||
"Factories staffed: {p0}/{p1}.": "已配置操作員的工廠:{p0}/{p1}。",
|
||||
"Production: 1 Mega per 4 staffed factories.": "生產:每 4 座已配置操作員的工廠可生產 1 張巨型牌。",
|
||||
"Purchase order this round: {p0}": "本回合購買順位:{p0}",
|
||||
"New factory": "New factory",
|
||||
"How to buy": "How to buy",
|
||||
"Remaining upgrades": "Remaining upgrades",
|
||||
"Remaining Kicker cards": "Remaining Kicker cards",
|
||||
"New factory": "新工廠",
|
||||
"How to buy": "購買方式",
|
||||
"Remaining upgrades": "剩餘升級",
|
||||
"Remaining Kicker cards": "剩餘加成卡",
|
||||
"builds a {p0} factory": "建造一座 {p0} 工廠",
|
||||
"{p0} mans {p1} factory": "{p0} 為 {p1} 座工廠配置操作員",
|
||||
"{p0} mans {p1} factories": "{p0} 為 {p1} 座工廠配置操作員",
|
||||
"{p0}: {p1} credits": "{p0}:{p1} 信用點",
|
||||
"{p0} ({p1} VP, list ◈ {p2}): {p3}": "{p0}({p1} VP,標價 ◈ {p2}):{p3}",
|
||||
"Pay at most ◈ {p0}": "最多支付 ◈ {p0}",
|
||||
"Selected ◈ {p0} / ◈ {p1}.": "已選擇 ◈ {p0}/◈ {p1}。",
|
||||
"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.": "所有人確認前,選擇都會保持隱藏。",
|
||||
|
|
@ -1187,7 +1194,7 @@
|
|||
"Ask each round": "每回合詢問",
|
||||
"Always take singles": "一律選擇普通卡",
|
||||
"Automatically submits each round, including this round if you haven't chosen yet.": "每回合自動確認,若本回合尚未選擇,也會自動確認。",
|
||||
"Megas: ask each round": "Mega:每回合詢問",
|
||||
"Megas: ask each round": "巨型卡:每輪詢問",
|
||||
"Your sealed bid": "你的秘密出價",
|
||||
"Your bid": "你的出價",
|
||||
"Min ◈ {p0} · Max ◈ {p1}": "最低 ◈ {p0} · 最高 ◈ {p1}",
|
||||
|
|
@ -1213,8 +1220,8 @@
|
|||
"These cards can buy {p0}. Buy fewer anyway?": "這些卡牌可購買 {p0}。仍要買更少嗎?",
|
||||
"Buy {p0} anyway · ◈ {p1}": "仍然購買 {p0} · ◈ {p1}",
|
||||
"Undo my move": "撤回我的行動",
|
||||
"Maximum Megas (ask if over limit)": "最多 Mega(超過手牌上限時詢問)",
|
||||
"Auto Megas paused: production exceeds your hand limit. Choose this round.": "已暫停自動選擇 Mega:本輪產出將超過手牌上限。請選擇本輪的生產方式。",
|
||||
"Maximum Megas (ask if over limit)": "最多巨型卡(超過手牌上限時詢問)",
|
||||
"Auto Megas paused: production exceeds your hand limit. Choose this round.": "已暫停自動選擇巨型卡:本輪產出將超過手牌上限。請選擇本輪的生產方式。",
|
||||
"Choose a card": "選擇一張卡牌",
|
||||
"Choose a player": "選擇一名玩家",
|
||||
"Trade rules": "交換規則",
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ registerViewer<GameState, ViewerMove>(
|
|||
},
|
||||
async onState(state) {
|
||||
await localization.ready;
|
||||
localization.setState(state);
|
||||
sounds.onState(state);
|
||||
store.setState(state);
|
||||
await tick();
|
||||
|
|
|
|||
|
|
@ -1,37 +1,65 @@
|
|||
import assert from "node:assert/strict";
|
||||
import { readFile } from "node:fs/promises";
|
||||
import { join } from "node:path";
|
||||
import { languages } from "../packages/viewer/src/localization/runtime.js";
|
||||
|
||||
const directory = process.argv[2];
|
||||
if (!directory) {
|
||||
throw Error("Usage: node check-locales.mjs <localization 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",
|
||||
"zh-CN",
|
||||
"vi",
|
||||
"it",
|
||||
"nl",
|
||||
"fa",
|
||||
];
|
||||
function placeholders(text) {
|
||||
const tokens = [];
|
||||
let start = -1;
|
||||
let depth = 0;
|
||||
let quote = "";
|
||||
for (let i = 0; i < text.length; i++) {
|
||||
const char = text[i];
|
||||
if (quote) {
|
||||
if (char === "\\") {
|
||||
i++;
|
||||
} else if (char === quote) {
|
||||
quote = "";
|
||||
}
|
||||
} else if (depth > 0 && (char === '"' || char === "'" || char === "`")) {
|
||||
quote = char;
|
||||
} else if (char === "{") {
|
||||
if (depth++ === 0) {
|
||||
start = i;
|
||||
}
|
||||
} else if (char === "}") {
|
||||
if (depth === 0) {
|
||||
tokens.push(char);
|
||||
} else if (--depth === 0) {
|
||||
tokens.push(text.slice(start, i + 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
// Legacy extraction left unfinished expressions; preserve those verbatim too.
|
||||
if (depth > 0) {
|
||||
tokens.push(text.slice(start));
|
||||
}
|
||||
return tokens.sort();
|
||||
}
|
||||
|
||||
async function readCatalog(locale) {
|
||||
const bytes = await readFile(join(directory, `${locale}.json`));
|
||||
const catalog = JSON.parse(new TextDecoder("utf-8", { fatal: true }).decode(bytes));
|
||||
assert.ok(catalog && typeof catalog === "object" && !Array.isArray(catalog), `${locale}: expected a catalog object`);
|
||||
for (const [key, text] of Object.entries(catalog)) {
|
||||
assert.equal(typeof text, "string", `${locale}: non-string translation of ${key}`);
|
||||
assert.ok(text.trim(), `${locale}: empty translation of ${key}`);
|
||||
assert.ok(text.isWellFormed(), `${locale}: invalid Unicode in ${key}`);
|
||||
assert.ok(!/[\p{Cc}\ufffd]/u.test(text.replace(/[\t\n\r]/g, "")), `${locale}: malformed text in ${key}`);
|
||||
}
|
||||
return catalog;
|
||||
}
|
||||
|
||||
const source = await readCatalog("en");
|
||||
const locales = Object.keys(languages);
|
||||
for (const locale of locales) {
|
||||
const catalog = JSON.parse(await readFile(join(directory, `${locale}.json`), "utf8"));
|
||||
const catalog = locale === "en" ? source : await readCatalog(locale);
|
||||
assert.deepEqual(Object.keys(catalog).sort(), Object.keys(source).sort(), `${locale}: missing or extra strings`);
|
||||
for (const [key, text] of Object.entries(catalog)) {
|
||||
assert.equal(typeof text, "string", `${locale}: ${key}`);
|
||||
assert.ok(text.trim(), `${locale}: empty translation of ${key}`);
|
||||
assert.deepEqual(placeholders(text), placeholders(source[key]), `${locale}: changed placeholders in ${key}`);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -155,6 +155,60 @@ test("colony ship lists translate each upgrade without rewriting player names",
|
|||
assert.equal(t.translate(input), input);
|
||||
});
|
||||
|
||||
test("explicit message formatting reorders opaque values without interpreting them", () => {
|
||||
const t = createTranslator(catalogs, "nl");
|
||||
assert.equal(t.format("Build {p0} for {p1}", ["Draw {p1}", 0]), "Bouw voor 0: Draw {p1}");
|
||||
assert.equal(t.format("{p0} buys {p1}", ["Ore", "Draw"]), "Ore koopt Draw");
|
||||
assert.equal(t.format("Unknown {p0}", ["Round"]), "Unknown Round");
|
||||
t.setLocale("en");
|
||||
assert.equal(t.format("Build {p0} for {p1}", ["Ore", 10]), "Build Ore for 10");
|
||||
});
|
||||
|
||||
test("explicit formatting supports legacy placeholder offsets without guessing rendered values", () => {
|
||||
const t = createTranslator({ fr: { "{p23} (Era {p24})": "{p23} (Ère {p24})" } }, "fr");
|
||||
assert.equal(t.format("{p0} (Era {p1})", ["Water", "II"]), "Water (Ère II)");
|
||||
assert.equal(t.format("Unknown {p0}", ["Water (Era II)"]), "Unknown Water (Era II)");
|
||||
});
|
||||
|
||||
test("soft hyphens do not prevent resource labels from matching", () => {
|
||||
const t = createTranslator({ fr: { "New Chemicals": "Nouvelle chimie" } }, "fr");
|
||||
assert.equal(t.translate("New Chemi\u00adcals"), "Nouvelle chimie");
|
||||
});
|
||||
|
||||
test("staffing events cannot match generic factory labels in any language", async () => {
|
||||
const { languages } = await import("../packages/viewer/src/localization/runtime.js");
|
||||
for (const locale of Object.keys(languages)) {
|
||||
const catalog = JSON.parse(
|
||||
await readFile(new URL(`../packages/viewer/src/localization/${locale}.json`, import.meta.url), "utf8")
|
||||
);
|
||||
const t = createTranslator({ [locale]: catalog }, locale);
|
||||
for (const name of ["not2cool", "Heavy Equipment", "Alice mans 5 factories"]) {
|
||||
t.setNames([name]);
|
||||
for (const count of [0, 1, 9, 99]) {
|
||||
const key = count === 1 ? "{p0} mans {p1} factory" : "{p0} mans {p1} factories";
|
||||
const input = `${name} mans ${count} ${count === 1 ? "factory" : "factories"}`;
|
||||
const expected = catalog[key].replace(/\{p([01])\}/g, (_, i) => [name, count][i]);
|
||||
assert.equal(t.translate(input), expected, `${locale}: ${input}`);
|
||||
assert.equal(t.format(key, [name, count]), expected, `${locale}: explicit ${input}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
test("generic factory labels require a quantity instead of consuming arbitrary sentences", () => {
|
||||
const t = createTranslator({ fr: { "{p0} {p1} factories": "{p0} usines de {p1}", Water: "Eau" } }, "fr");
|
||||
assert.equal(t.translate("9 Water factories"), "9 usines de Eau");
|
||||
assert.equal(t.translate("Unknown statement about factories"), "Unknown statement about factories");
|
||||
});
|
||||
|
||||
test("nested translation cache entries do not poison standalone messages", () => {
|
||||
const t = createTranslator({ nl: { "Layer {p0}": "Laag {p0}", "Round {p0}": "Ronde {p0}" } }, "nl");
|
||||
t.translate("Layer ".repeat(6) + "Round 2");
|
||||
assert.equal(t.translate("Round 2"), "Ronde 2");
|
||||
t.translate("Layer ".repeat(5) + "Round 3");
|
||||
assert.equal(t.translate("Round 3"), "Ronde 3");
|
||||
});
|
||||
|
||||
test("Persian regional tags select Farsi", () => {
|
||||
assert.equal(resolveLocale("fa-IR"), "fa");
|
||||
assert.equal(resolveLocale("fa_IR"), "fa");
|
||||
|
|
|
|||
191
tests/localization-browser.mjs
Normal file
191
tests/localization-browser.mjs
Normal file
|
|
@ -0,0 +1,191 @@
|
|||
import assert from "node:assert/strict";
|
||||
import { readFile } from "node:fs/promises";
|
||||
import { chromium } from "playwright";
|
||||
import { initGame, describeLogEntry } from "../packages/engine/dist/index.js";
|
||||
import { stripSecret } from "../packages/engine/dist/wrapper.js";
|
||||
import { createTranslator, languages } from "../packages/viewer/src/localization/runtime.js";
|
||||
import { previewServer } from "./tutorial-preview.mjs";
|
||||
|
||||
const catalogs = Object.fromEntries(
|
||||
await Promise.all(
|
||||
Object.keys(languages).map(async (locale) => [
|
||||
locale,
|
||||
JSON.parse(await readFile(new URL(`../packages/viewer/src/localization/${locale}.json`, import.meta.url))),
|
||||
])
|
||||
)
|
||||
);
|
||||
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 });
|
||||
const plain = (text) =>
|
||||
text
|
||||
.replace(/[\u2066-\u2069]/g, "")
|
||||
.replace(/\s+/g, " ")
|
||||
.trim();
|
||||
try {
|
||||
for (const width of [390, 1400]) {
|
||||
const page = await browser.newPage({ viewport: { width, height: 950 } });
|
||||
const errors = [];
|
||||
page.on("pageerror", (error) => errors.push(error.message));
|
||||
await page.setContent('<div id="app"></div>');
|
||||
await page.addStyleTag({ path: "packages/viewer/dist/outpost-viewer.css" });
|
||||
await page.addScriptTag({ url: base + "/bundle.js" });
|
||||
const state = initGame(3, { fastBid: false, kicker: true }, "translation-audit");
|
||||
state.players.forEach((player, i) => {
|
||||
player.name = ["not2cool", "Water", "Alice bids 5"][i];
|
||||
});
|
||||
state.players[0].hand = [
|
||||
{ t: "water", v: 7 },
|
||||
{ t: "newChemicals", v: 22 },
|
||||
{ t: "water", v: 30, m: true },
|
||||
];
|
||||
state.players[0].upgrades.heavyEquipment = 1;
|
||||
state.players[0].kickers.wilyTrader = 2;
|
||||
state.phase = "auctionPayment";
|
||||
state.auction = {
|
||||
marketIndex: 0,
|
||||
upgrade: "warehouse",
|
||||
auctioneer: 0,
|
||||
highBid: 30,
|
||||
highBidder: 0,
|
||||
passed: [1, 2],
|
||||
activeBidder: 0,
|
||||
};
|
||||
state.log.push(
|
||||
{ type: "move", player: 0, move: { action: "endTurn", manned: Array.from({ length: 9 }, (_, i) => i) } },
|
||||
{
|
||||
type: "move",
|
||||
player: 1,
|
||||
move: { action: "endTurn", buys: [{ buy: "factory", factory: "water", count: 2, cards: [] }], manned: [0] },
|
||||
info: { paid: 40 },
|
||||
},
|
||||
{
|
||||
type: "move",
|
||||
player: 2,
|
||||
move: { action: "bid", amount: 25 },
|
||||
info: { autoPassed: [1] },
|
||||
}
|
||||
);
|
||||
const visible = stripSecret(state, 0);
|
||||
await page.evaluate((state) => {
|
||||
window.events = [];
|
||||
window.emitter = window.outpost.launch("#app");
|
||||
emitter.on("ready", () => events.push("ready"));
|
||||
emitter.emit("player", { index: 0 });
|
||||
emitter.emit("state", state);
|
||||
emitter.emit("chat:state", { canSend: true });
|
||||
emitter.emit("chat:messages", [{ text: "Water buys Robots", author: "Heavy Equipment", type: "text" }]);
|
||||
}, visible);
|
||||
await page.waitForFunction(() => events.includes("ready"));
|
||||
for (const locale of [...Object.keys(languages).filter((locale) => locale !== "en"), "en"]) {
|
||||
const t = createTranslator(catalogs, locale);
|
||||
await page.evaluate((locale) => emitter.emit("preferences", { locale, sound: false }), locale);
|
||||
const expected = visible.log
|
||||
.slice(-3)
|
||||
.map((entry) => describeLogEntry(visible, entry, 0, locale === "en" ? undefined : t.format));
|
||||
await page.waitForFunction((expected) => {
|
||||
const lines = [...document.querySelectorAll(".side .entries > .entry")].slice(-3);
|
||||
return lines.length === 3 && lines.every((line, i) => line.textContent === expected[i]);
|
||||
}, expected);
|
||||
assert.deepEqual(
|
||||
await page.locator(".identity .name").allTextContents(),
|
||||
state.players.map((p) => p.name)
|
||||
);
|
||||
assert.equal(plain(await page.locator(".chat .text").textContent()), "Water buys Robots");
|
||||
assert.equal(plain(await page.locator(".chat .author").textContent()), "Heavy Equipment");
|
||||
const resources = await page.locator(".pcard.res-water .label").allTextContents();
|
||||
assert.ok(
|
||||
resources.some((label) => plain(label) === t.format("Water")),
|
||||
`${locale}: resource label vs player name`
|
||||
);
|
||||
assert.equal(
|
||||
plain(await page.locator('[data-tutorial="auction"] .turn').textContent()),
|
||||
t.format("You won: select hand cards worth at least ◈ {p0} and confirm below (bid {p1}{p2}).", [
|
||||
25,
|
||||
30,
|
||||
` ${t.format("− {p0} discount", [5])}`,
|
||||
]),
|
||||
`${locale}: complete auction payment instruction`
|
||||
);
|
||||
assert.equal(
|
||||
await page.locator(".panel.me .pcard.res-newChemicals").getAttribute("title"),
|
||||
t.format("{p0}: {p1} credits", [t.format("New Chemicals"), 22]),
|
||||
`${locale}: ordinary card tooltip`
|
||||
);
|
||||
assert.equal(
|
||||
await page.locator(".panel.me .pcard.mega").getAttribute("title"),
|
||||
`${t.format("{p0}: {p1} credits", [t.format("Mega {p0}", [t.format("Water")]), 30])} ${t.format("(counts as 4 cards toward hand capacity)")}`,
|
||||
`${locale}: Mega card tooltip`
|
||||
);
|
||||
assert.equal(
|
||||
plain(await page.locator(".panel.me .pcard.res-newChemicals .label").textContent()),
|
||||
t.format("New Chemicals")
|
||||
);
|
||||
for (const selector of [".panel.me .utag", ".market .stag[title]"]) {
|
||||
for (const title of await page.locator(selector).evaluateAll((nodes) => nodes.map((node) => node.title))) {
|
||||
assert.ok(!/\{p\d+\}/.test(title), `${locale}: tooltip placeholder: ${title}`);
|
||||
if (locale !== "en") {
|
||||
assert.ok(
|
||||
!/\b(?:Allows|Produces|Comes with|left in the supply|Owns)\b/.test(title),
|
||||
`${locale}: English effect: ${title}`
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
assert.ok(!(await page.locator("#app").textContent()).match(/\{p\d+\}/), `${locale}: visible placeholder`);
|
||||
assert.equal(
|
||||
await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth),
|
||||
true,
|
||||
`${locale}: horizontal overflow at ${width}px`
|
||||
);
|
||||
}
|
||||
const action = initGame(3, {}, "translation-purchases");
|
||||
action.phase = "actions";
|
||||
action.activeSeat = 0;
|
||||
action.players[0].hand = [
|
||||
{ t: "water", v: 10 },
|
||||
{ t: "newChemicals", v: 20 },
|
||||
];
|
||||
await page.evaluate(
|
||||
(state) => {
|
||||
emitter.emit("preferences", { locale: "fr", sound: false });
|
||||
emitter.emit("state", state);
|
||||
},
|
||||
stripSecret(action, 0)
|
||||
);
|
||||
for (const resource of ["ore", "water"]) {
|
||||
await page.locator(`.buy.res-${resource}`).click();
|
||||
await page.locator(".purchase-flow .confirm").click();
|
||||
}
|
||||
const french = createTranslator(catalogs, "fr");
|
||||
const purchases = ["Ore", "Water"].map((resource) =>
|
||||
french.format("{p0} {p1} factory", [1, french.format(resource)])
|
||||
);
|
||||
await page
|
||||
.getByText(french.format("Staged this turn: {p0} (undo to open an auction).", [purchases.join(", ")]), {
|
||||
exact: true,
|
||||
})
|
||||
.waitFor();
|
||||
await page.locator(".operator-options .end").click();
|
||||
await page.getByText(french.format("Also confirms: {p0}.", [purchases.join(", ")]), { exact: true }).waitFor();
|
||||
|
||||
const ended = initGame(3, {}, "translation-winners");
|
||||
ended.ended = true;
|
||||
ended.players.forEach((player, i) => {
|
||||
player.name = ["Water", "2 colonists", "Ore"][i];
|
||||
});
|
||||
await page.evaluate((state) => emitter.emit("state", state), stripSecret(ended, 0));
|
||||
await page
|
||||
.getByText(french.format("Shared victory: {p0}", ["Water & 2 colonists & Ore"]), { exact: true })
|
||||
.waitFor();
|
||||
assert.deepEqual(errors, []);
|
||||
await page.close();
|
||||
}
|
||||
console.log(
|
||||
`Translation browser regressions passed: ${Object.keys(languages).length} languages, mobile and desktop.`
|
||||
);
|
||||
} finally {
|
||||
await browser.close();
|
||||
await new Promise((resolve) => server.close(resolve));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue