fix(charges): make waits final until earlier decisions resolve
This commit is contained in:
parent
a196050723
commit
988b145e67
31 changed files with 311 additions and 56 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gaia-project/engine",
|
||||
"version": "4.17.6",
|
||||
"version": "4.17.7",
|
||||
"description": "Javascript engine for project gaia",
|
||||
"main": "dist/index.js",
|
||||
"types": "index.ts",
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ import {
|
|||
changeChargeWait,
|
||||
chargeDecisionSeats,
|
||||
chargeFor,
|
||||
chargesToWaitFor,
|
||||
hasConcurrentCharges,
|
||||
pendingChargeCommands,
|
||||
waitingForCharges,
|
||||
|
|
@ -320,6 +321,10 @@ export type SpaceshipActions = {
|
|||
[key in Spaceship]?: { [key in SpaceshipActionType]?: PlayerEnum };
|
||||
};
|
||||
|
||||
// Constructor history reconstruction may include retired wait cancellations. Keep this
|
||||
// context outside serialized state and independent of permissive replay validation.
|
||||
const reconstructingHistory = new WeakSet<Engine>();
|
||||
|
||||
export default class Engine {
|
||||
map: SpaceMap;
|
||||
players: Player[] = [];
|
||||
|
|
@ -496,7 +501,17 @@ export default class Engine {
|
|||
this.options.factionVariantVersion = latestVariantVersion(this.options.factionVariant);
|
||||
}
|
||||
this.sanitizeOptions();
|
||||
this.loadMoves(moves);
|
||||
reconstructingHistory.add(this);
|
||||
try {
|
||||
this.loadMoves(moves);
|
||||
} finally {
|
||||
reconstructingHistory.delete(this);
|
||||
}
|
||||
}
|
||||
|
||||
/** Only historical reconstruction can execute the retired resume command. */
|
||||
get allowsHistoricalChargeResume(): boolean {
|
||||
return this.replay || reconstructingHistory.has(this);
|
||||
}
|
||||
|
||||
/** Fix old options passed. To remove when legacy data is no more in database */
|
||||
|
|
@ -543,6 +558,22 @@ export default class Engine {
|
|||
}
|
||||
|
||||
move(_move: string, allowIncomplete = true) {
|
||||
// Validate wait controls before pendingMove, log entries or any other state changes.
|
||||
const [slug, command] = _move.trim().split(/\s+/);
|
||||
if (command === Command.ResumeCharges) {
|
||||
assert(this.allowsHistoricalChargeResume, "Wait for the pending charge decisions");
|
||||
}
|
||||
if (hasConcurrentCharges(this) && command === Command.WaitForCharges) {
|
||||
const seat = /^p[1-7]$/.test(slug)
|
||||
? ((+slug[1] - 1) as PlayerEnum)
|
||||
: this.players.find((player) => player.faction === slug)?.player;
|
||||
assert(seat !== undefined, "Unknown player");
|
||||
assert(_move.trim().split(/\s+/).length === 2, "Unexpected wait arguments");
|
||||
assert(
|
||||
chargesToWaitFor(this, seat).length > 0 && !waitingForCharges(this, seat),
|
||||
"No earlier charge decisions to wait for"
|
||||
);
|
||||
}
|
||||
if (this.replay) {
|
||||
this.newTurn = true;
|
||||
} else {
|
||||
|
|
@ -1029,6 +1060,11 @@ export default class Engine {
|
|||
engine.clearAvailableCommands();
|
||||
}
|
||||
|
||||
// Saved command caches from before waits became final may still offer Resume.
|
||||
if (engine.availableCommands?.some((command) => command.name === Command.ResumeCharges)) {
|
||||
engine.clearAvailableCommands();
|
||||
}
|
||||
|
||||
repairBannedRandomFactions(engine);
|
||||
return engine;
|
||||
}
|
||||
|
|
@ -1215,7 +1251,7 @@ export default class Engine {
|
|||
this.clearAvailableCommands();
|
||||
return true;
|
||||
}
|
||||
assert(!waitingForCharges(this, seat), "Resume or wait for the pending charge decisions");
|
||||
assert(!waitingForCharges(this, seat), "Wait for the pending charge decisions");
|
||||
const charge = chargeFor(this, seat);
|
||||
if (command === Command.ChargePower || command === Command.Decline) {
|
||||
assert(charge, "No pending charge for this player");
|
||||
|
|
|
|||
|
|
@ -68,22 +68,115 @@ describe("independent charge decisions", () => {
|
|||
expect(engine.playerToMove).to.equal(3);
|
||||
});
|
||||
|
||||
it("persists optional waits without deadlocking, and allows cancelling the wait", () => {
|
||||
it("persists committed waits without deadlocking and clears them automatically", () => {
|
||||
const engine = game();
|
||||
engine.move("terrans build ts 8A2.");
|
||||
answer(engine, 1, true);
|
||||
let waited = hostedMove(engine, "nevlas waitForCharges", 1);
|
||||
const waited = hostedMove(engine, "nevlas waitForCharges", 1);
|
||||
expect(waitingForCharges(waited, 1)).to.equal(true);
|
||||
expect(currentPlayer(JSON.parse(JSON.stringify(waited)))).to.equal(3);
|
||||
expect(waited.automation.turns[1]).to.equal(0);
|
||||
expect(canMoveOutOfTurn(waited, "nevlas resumeCharges", 1)).to.equal(true);
|
||||
waited = hostedMove(waited, "nevlas resumeCharges", 1);
|
||||
expect(waitingForCharges(waited, 1)).to.equal(false);
|
||||
expect(canMoveOutOfTurn(waited, "nevlas resumeCharges", 1)).to.equal(false);
|
||||
expect(waited.generateAvailableCommandsIfNeeded().some((command) => command.player === 1)).to.equal(false);
|
||||
const before = JSON.stringify(waited);
|
||||
for (const move of ["nevlas resumeCharges", "p2 resumeCharges", "nevlas waitForCharges", "p2 waitForCharges"]) {
|
||||
for (let attempt = 0; attempt < 3; attempt++) {
|
||||
expect(() => hostedMove(waited, move, 1)).to.throw();
|
||||
expect(JSON.stringify(waited)).to.equal(before);
|
||||
expect(() => waited.move(move)).to.throw();
|
||||
expect(JSON.stringify(waited)).to.equal(before);
|
||||
}
|
||||
}
|
||||
expect(() => Engine.fromData(JSON.parse(JSON.stringify(waited))).move("hadsch-hallas waitForCharges")).to.throw();
|
||||
waited.move("nevlas waitForCharges");
|
||||
answer(waited, 3, true);
|
||||
expect(waitingForCharges(waited, 1)).to.equal(false);
|
||||
expect(waited.playerToMove).to.equal(1);
|
||||
expect(waited.chargeWaits).to.deep.equal({});
|
||||
});
|
||||
|
||||
it("replays historical wait/resume cycles without rewriting history", () => {
|
||||
const history = [
|
||||
...setup,
|
||||
"terrans build ts 8A2.",
|
||||
"nevlas decline 1pw @1",
|
||||
"nevlas waitForCharges",
|
||||
"nevlas resumeCharges",
|
||||
"nevlas waitForCharges",
|
||||
];
|
||||
const strict = new Engine(history, { concurrentCharges: true });
|
||||
expect(strict.moveHistory.slice(-3)).to.deep.equal(history.slice(-3));
|
||||
expect(strict.replay).not.to.equal(true);
|
||||
expect(strict.allowsHistoricalChargeResume).to.equal(false);
|
||||
expect(waitingForCharges(strict, 1)).to.equal(true);
|
||||
const strictBefore = JSON.stringify(strict);
|
||||
expect(() => strict.move("nevlas resumeCharges")).to.throw();
|
||||
expect(() => strict.loadMoves(["nevlas resumeCharges"])).to.throw();
|
||||
expect(() => hostedMove(strict, "p2 resumeCharges", 1)).to.throw();
|
||||
expect(JSON.stringify(strict)).to.equal(strictBefore);
|
||||
// The compatibility context must not bypass ordinary strict move validation.
|
||||
expect(() => new Engine([...history, "hadsch-hallas up eco"], { concurrentCharges: true })).to.throw();
|
||||
expect(() => new Engine([...history.slice(0, -2), "firaks resumeCharges"], { concurrentCharges: true })).to.throw(
|
||||
"You are not waiting for charges"
|
||||
);
|
||||
const replay = new Engine(history, { concurrentCharges: true }, undefined, true);
|
||||
expect(replay.moveHistory.slice(-3)).to.deep.equal(history.slice(-3));
|
||||
expect(waitingForCharges(replay, 1)).to.equal(true);
|
||||
const resumed = replay.replayedTo(history.length - 1, false);
|
||||
expect(waitingForCharges(resumed, 1)).to.equal(false);
|
||||
expect(resumed.moveHistory).to.deep.equal(replay.moveHistory.slice(0, -1));
|
||||
resumed.move("nevlas waitForCharges");
|
||||
const before = JSON.stringify(resumed);
|
||||
expect(() => resumed.move("nevlas resumeCharges")).to.throw();
|
||||
expect(JSON.stringify(resumed)).to.equal(before);
|
||||
const replayBefore = JSON.stringify(replay);
|
||||
expect(() => hostedMove(replay, "p2 resumeCharges", 1)).to.throw();
|
||||
expect(JSON.stringify(replay)).to.equal(replayBefore);
|
||||
const serialized = JSON.parse(replayBefore);
|
||||
expect(() => hostedMove(serialized, "nevlas resumeCharges", 1)).to.throw();
|
||||
expect(JSON.stringify(serialized)).to.equal(replayBefore);
|
||||
|
||||
const saved = JSON.parse(JSON.stringify(replay));
|
||||
saved.availableCommands = [{ name: Command.ResumeCharges, player: 1 }];
|
||||
const restored = Engine.fromData(saved);
|
||||
expect(restored.generateAvailableCommandsIfNeeded().some((c) => c.name === Command.ResumeCharges)).to.equal(false);
|
||||
expect(restored.moveHistory).to.deep.equal(replay.moveHistory);
|
||||
answer(restored, 3, true);
|
||||
expect(waitingForCharges(restored, 1)).to.equal(false);
|
||||
});
|
||||
|
||||
it("allows only earlier offers to be waited on, preventing cycles", () => {
|
||||
const engine = game();
|
||||
engine.move("terrans build ts 8A2.");
|
||||
answer(engine, 1, true);
|
||||
engine.move("nevlas build ts 8B1.");
|
||||
engine.move("firaks waitForCharges");
|
||||
expect(engine.chargeWaits[2]).to.deep.equal([chargeFor(engine, 3).id]);
|
||||
expect(() => hostedMove(engine, "hadsch-hallas waitForCharges", 3)).to.throw();
|
||||
answer(engine, 3, true);
|
||||
expect(waitingForCharges(engine, 2)).to.equal(false);
|
||||
expect(chargeFor(engine, 0)).not.to.equal(undefined);
|
||||
expect(
|
||||
engine.generateAvailableCommandsIfNeeded().some((c) => c.player === 2 && c.name === Command.ChargePower)
|
||||
).to.equal(true);
|
||||
});
|
||||
|
||||
it("waits for every referenced offer, but not offers added later", () => {
|
||||
const engine = game();
|
||||
engine.move("terrans build ts 8A2.");
|
||||
answer(engine, 1, true);
|
||||
engine.move("nevlas build ts 8B1.");
|
||||
engine.move("terrans waitForCharges");
|
||||
const ids = engine.chargeWaits[0].slice();
|
||||
expect(ids).to.have.length(2);
|
||||
// A later offer for the same opponent must not extend this committed wait.
|
||||
engine.pendingCharges.push({ ...chargeFor(engine, 3), id: engine.nextChargeId++ });
|
||||
answer(engine, 3, true);
|
||||
expect(waitingForCharges(engine, 0)).to.equal(true);
|
||||
expect(engine.chargeWaits[0]).to.deep.equal(ids);
|
||||
answer(engine, 2, true);
|
||||
expect(waitingForCharges(engine, 0)).to.equal(false);
|
||||
expect(engine.chargeWaits[0]).to.equal(undefined);
|
||||
expect(chargeFor(engine, 3)).not.to.equal(undefined);
|
||||
});
|
||||
|
||||
it("rejects a stale answer instead of consuming the next offer", () => {
|
||||
|
|
|
|||
|
|
@ -63,10 +63,7 @@ export function pendingChargeCommands(engine: Engine): AvailableCommand[] {
|
|||
for (const seat of [...new Set(engine.pendingCharges.map((charge) => charge.player)), engine.currentPlayer]) {
|
||||
if (seat === undefined) continue;
|
||||
if (commands.some((command) => command.player === seat)) continue;
|
||||
if (waitingForCharges(engine, seat)) {
|
||||
commands.push({ name: Command.ResumeCharges, player: seat });
|
||||
continue;
|
||||
}
|
||||
if (waitingForCharges(engine, seat)) continue;
|
||||
const charge = chargeFor(engine, seat);
|
||||
if (charge) {
|
||||
commands.push(
|
||||
|
|
@ -82,7 +79,10 @@ export function pendingChargeCommands(engine: Engine): AvailableCommand[] {
|
|||
}
|
||||
|
||||
export function changeChargeWait(engine: Engine, seat: Seat, command: Command) {
|
||||
// Historical move streams may contain cancellations. Keep replaying them, but never
|
||||
// offer ResumeCharges or accept it through the hosted live-move boundary.
|
||||
if (command === Command.ResumeCharges) {
|
||||
assert(engine.allowsHistoricalChargeResume, "Wait for the pending charge decisions");
|
||||
assert(waitingForCharges(engine, seat), "You are not waiting for charges");
|
||||
delete engine.chargeWaits[seat];
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import Engine from "./engine";
|
||||
import { Phase, Round } from "./enums";
|
||||
import { Command, Phase, Round } from "./enums";
|
||||
import { canTakeTurn, hasConcurrentCharges } from "./pending-charges";
|
||||
import { assertPremovePower, capturePremovePower, validatePremovePower } from "./premove-power";
|
||||
import assert from "./utils/assert";
|
||||
|
|
@ -96,7 +96,8 @@ export function premoveHistoryAfterReplay(plans: AutomationState["plans"], moveC
|
|||
|
||||
export function assertOwnMove(engine: Engine, move: string, seat: number) {
|
||||
assert(typeof move === "string" && move.length <= 8000, "Invalid move");
|
||||
const actor = move.trim().split(/\s+/)[0];
|
||||
const [actor, command] = move.trim().split(/\s+/);
|
||||
assert(command !== Command.ResumeCharges, "Wait for the pending charge decisions");
|
||||
assert(actor === `p${seat + 1}` || actor === engine.players[seat]?.faction, "You may only play your own moves");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -128,6 +128,16 @@ export function move(engine: Engine, move: string | PremoveCommand, player: numb
|
|||
engine = Engine.fromData(engine);
|
||||
}
|
||||
|
||||
if (typeof move === "string") {
|
||||
const command = move.trim().split(/\s+/)[1];
|
||||
// Engine.move also reconstructs historical games containing resumeCharges.
|
||||
// Reject new cancellations here, before touching history, resources or automation.
|
||||
assert(command !== Command.ResumeCharges, "Wait for the pending charge decisions");
|
||||
if (command === Command.WaitForCharges) {
|
||||
assert(!waitingForCharges(engine, player), "Already waiting for charge decisions");
|
||||
}
|
||||
}
|
||||
|
||||
automation(engine).liveUpdate = false;
|
||||
if (typeof move !== "string") {
|
||||
assert(move?.type === "premoves", "Unknown move");
|
||||
|
|
@ -141,8 +151,7 @@ export function move(engine: Engine, move: string | PremoveCommand, player: numb
|
|||
const round = engine.round;
|
||||
const command = move.trim().split(/\s+/)[1];
|
||||
const charge = hasConcurrentCharges(engine) && [Command.ChargePower, Command.Decline].includes(command as Command);
|
||||
const waiting =
|
||||
hasConcurrentCharges(engine) && [Command.WaitForCharges, Command.ResumeCharges].includes(command as Command);
|
||||
const waiting = hasConcurrentCharges(engine) && command === Command.WaitForCharges;
|
||||
const phase = charge ? Phase.RoundLeech : engine.phase;
|
||||
const backup = JSON.stringify(engine);
|
||||
|
||||
|
|
@ -224,10 +233,6 @@ function canReviseSealedBid(data: Engine, move: unknown, player: number): boolea
|
|||
export function canMoveOutOfTurn(engine: Engine, move: string | PremoveCommand, player: number): boolean {
|
||||
return (
|
||||
canReviseSealedBid(engine, move, player) ||
|
||||
(typeof move === "string" &&
|
||||
waitingForCharges(engine instanceof Engine ? engine : Engine.fromData(engine), player) &&
|
||||
(move.trim() === `p${player + 1} ${Command.ResumeCharges}` ||
|
||||
move.trim() === `${engine.players[player]?.faction} ${Command.ResumeCharges}`)) ||
|
||||
(typeof move === "object" && move?.type === "premoves" && canQueue(engine, player))
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gaia-project/old-ui",
|
||||
"version": "1.2.30",
|
||||
"version": "1.2.31",
|
||||
"scripts": {
|
||||
"serve": "vite --port 5193",
|
||||
"build": "vite build",
|
||||
|
|
|
|||
|
|
@ -183,3 +183,22 @@ test("power safeguards and direct stopped-plan review are localized in every cat
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
test("committed charge wait status and new errors are localized in every catalogue", async () => {
|
||||
for (const locale of Object.keys(languages)) {
|
||||
const catalog = JSON.parse(
|
||||
await readFile(new URL(`../viewer/src/localization/${locale}.json`, import.meta.url), "utf8")
|
||||
);
|
||||
const translator = createTranslator({ [locale]: catalog }, locale);
|
||||
for (const text of [
|
||||
"Waiting for charges",
|
||||
"Pending charges",
|
||||
"Wait for the pending charge decisions",
|
||||
"Already waiting for charge decisions",
|
||||
"Unexpected wait arguments",
|
||||
]) {
|
||||
assert.ok(catalog[text], `${locale}: ${text}`);
|
||||
if (locale !== "en") assert.notEqual(translator.translate(text), text, `${locale}: ${text}`);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gaia-project/viewer",
|
||||
"version": "5.22.30",
|
||||
"version": "5.22.31",
|
||||
"description": "Functions to visualize the map and boards for gaia project inside html canvas",
|
||||
"contributors": [
|
||||
"coyotte508",
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
<template>
|
||||
<div v-if="visible" class="charge-wait">
|
||||
<span
|
||||
>{{ waiting ? "Waiting for charges" : "Pending charges" }}: <span>{{ names }}</span></span
|
||||
>
|
||||
<button v-if="canWait || waiting" type="button" class="btn btn-link btn-sm" @click="changeWait">
|
||||
{{ waiting ? "Resume" : "Wait" }}
|
||||
</button>
|
||||
<span>
|
||||
<span>{{ waiting ? "Waiting for charges" : "Pending charges" }}</span
|
||||
>: <span>{{ names }}</span>
|
||||
</span>
|
||||
<button v-if="canWait" type="button" class="btn btn-link btn-sm" @click="changeWait">Wait</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -33,16 +32,14 @@ export default class ChargeWait extends Vue {
|
|||
return waitingForCharges(this.engine, this.seat);
|
||||
}
|
||||
get canWait() {
|
||||
return chargesToWaitFor(this.engine, this.seat).length > 0;
|
||||
return !this.waiting && chargesToWaitFor(this.engine, this.seat).length > 0;
|
||||
}
|
||||
get names() {
|
||||
return [...new Set(this.others.map((charge) => factionName(this.engine.player(charge.player).faction)))].join(", ");
|
||||
}
|
||||
changeWait() {
|
||||
this.$emit(
|
||||
"command",
|
||||
`${this.engine.player(this.seat).faction} ${this.waiting ? Command.ResumeCharges : Command.WaitForCharges}`
|
||||
);
|
||||
if (!this.canWait) return;
|
||||
this.$emit("command", `${this.engine.player(this.seat).faction} ${Command.WaitForCharges}`);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ describe("concurrent charge controls", () => {
|
|||
}
|
||||
});
|
||||
|
||||
it("lets the turn player wait and resume, while the charging seat sees only its own decisions", async () => {
|
||||
it("commits the turn player to waiting until the other charge resolves", async () => {
|
||||
let saved = position();
|
||||
const vm = mountGame(1, Engine.fromData(JSON.parse(JSON.stringify(saved))));
|
||||
const pending = mountGame(3, Engine.fromData(JSON.parse(JSON.stringify(saved))));
|
||||
|
|
@ -89,9 +89,15 @@ describe("concurrent charge controls", () => {
|
|||
expect(actions).to.deep.equal(["nevlas waitForCharges"]);
|
||||
expect(vm.canPlay).to.equal(false);
|
||||
expect(button(vm, "Research")).to.equal(undefined);
|
||||
await fireEvent.click(button(vm, "Resume"));
|
||||
expect(button(vm, "Resume")).to.equal(undefined);
|
||||
expect(button(vm, "Wait")).to.equal(undefined);
|
||||
expect(vm.$el.querySelector(".charge-wait").textContent).to.contain("Waiting for charges");
|
||||
// Keep the status in its own text node so the DOM localizer can match its catalog key.
|
||||
expect(vm.$el.querySelector(".charge-wait > span > span").textContent).to.equal("Waiting for charges");
|
||||
saved = hostedMove(saved, "hadsch-hallas decline 1pw @2", 3);
|
||||
vm.handleData(Engine.fromData(JSON.parse(JSON.stringify(saved))));
|
||||
await Vue.nextTick();
|
||||
expect(actions[1]).to.equal("nevlas resumeCharges");
|
||||
expect(actions).to.deep.equal(["nevlas waitForCharges"]);
|
||||
expect(vm.canPlay).to.equal(true);
|
||||
expect(button(vm, "Research")).not.to.equal(undefined);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@ describe("Advanced log details", () => {
|
|||
data.tiles.techs[AdvTechTilePos.GaiaProject] = { tile: AdvTechTile.AdvTech4, count: 1 };
|
||||
|
||||
describe("moves", () => {
|
||||
it("uses lowercase wait and historical resume labels", () => {
|
||||
expect(replaceMove(data, parsedMove("nevlas waitForCharges")).move).to.equal("nevlas wait");
|
||||
expect(replaceMove(data, parsedMove("nevlas resumeCharges")).move).to.equal("nevlas resume");
|
||||
});
|
||||
it("federation tile", () => {
|
||||
expect(replaceMove(data, parsedMove("ivits spend 4pw for 1q. action qic2. fedtile fed4.")).move).to.equal(
|
||||
"ivits spend 4pw for 1q. action qic2. fedtile fed4 (7vp,2o)."
|
||||
|
|
|
|||
|
|
@ -66,8 +66,8 @@ export function replaceMove(data: Engine, move: ParsedMove): ParsedMove {
|
|||
`${faction} · Automa${draw === "pass" ? "" : ` (${draw.includes(",") ? "cards" : "card"} ${draw})`}: ${actions}`
|
||||
)
|
||||
.replace(/(\b(?:charge|decline) [^ .]+) @\d+/g, "$1")
|
||||
.replace(/\bwaitForCharges\b/g, "Wait for charges")
|
||||
.replace(/\bresumeCharges\b/g, "Resume")
|
||||
.replace(/\bwaitForCharges\b/g, "wait")
|
||||
.replace(/\bresumeCharges\b/g, "resume")
|
||||
.replace(/\b(tech|cover) [a-z0-9-]+|fed[0-9]+|booster[0-9]+/g, (match, _group, offset: number, full: string) => {
|
||||
// The Lost Fleet federation token "ship-fed-tech" ends in "-tech", and a hyphen is a
|
||||
// non-word char, so \b still fires right there - a "using areaX: N" power-usage suffix
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Denne handling ville spilde flere kraftopladninger end planlagt. Denne ældre plan har ingen kraftreference; gennemgå den og sæt den i kø igen.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Denne handling ville fjerne kraftbrikker fra skål II eller III i stedet for skål I som planlagt. Denne ældre plan har ingen kraftreference; gennemgå den og sæt den i kø igen.",
|
||||
"Premoves stopped.": "Forudtræk stoppet.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Vent på de udestående opladningsbeslutninger",
|
||||
"Already waiting for charge decisions": "Venter allerede på opladningsbeslutninger",
|
||||
"Unexpected wait arguments": "Uventede venteargumenter"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Diese Aktion würde mehr Machtladungen als geplant verschwenden. Dieser ältere Plan hat keine Machtvergleichswerte; prüfe ihn und reihe ihn erneut ein.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Diese Aktion würde Machtsteine aus Schale II oder III statt wie geplant aus Schale I entfernen. Dieser ältere Plan hat keine Machtvergleichswerte; prüfe ihn und reihe ihn erneut ein.",
|
||||
"Premoves stopped.": "Vorabzüge gestoppt.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Warte auf die ausstehenden Machtentscheidungen",
|
||||
"Already waiting for charge decisions": "Warte bereits auf Machtentscheidungen",
|
||||
"Unexpected wait arguments": "Unerwartete Warteargumente"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Αυτή η ενέργεια θα σπαταλούσε περισσότερες φορτίσεις ισχύος από όσες σχεδιάστηκαν. Αυτό το παλιότερο σχέδιο δεν έχει βάση αναφοράς ισχύος· ελέγξτε το και βάλτε το ξανά στην ουρά.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Αυτή η ενέργεια θα αφαιρούσε μάρκες ισχύος από τα μπολ II ή III αντί για το μπολ I όπως σχεδιάστηκε. Αυτό το παλιότερο σχέδιο δεν έχει βάση αναφοράς ισχύος· ελέγξτε το και βάλτε το ξανά στην ουρά.",
|
||||
"Premoves stopped.": "Οι προκινήσεις σταμάτησαν.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Περιμένετε τις εκκρεμείς αποφάσεις φόρτισης",
|
||||
"Already waiting for charge decisions": "Ήδη σε αναμονή αποφάσεων φόρτισης",
|
||||
"Unexpected wait arguments": "Μη αναμενόμενα ορίσματα αναμονής"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.",
|
||||
"Premoves stopped.": "Premoves stopped.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Wait for the pending charge decisions",
|
||||
"Already waiting for charge decisions": "Already waiting for charge decisions",
|
||||
"Unexpected wait arguments": "Unexpected wait arguments"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "این حرکت بیش از مقدار برنامهریزیشده شارژ قدرت هدر میدهد. این برنامهٔ قدیمی مبنای قدرت ندارد؛ آن را بررسی کنید و دوباره در صف قرار دهید.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "این حرکت بهجای کاسهٔ I طبق برنامه، مهرههای قدرت را از کاسهٔ II یا III حذف میکند. این برنامهٔ قدیمی مبنای قدرت ندارد؛ آن را بررسی کنید و دوباره در صف قرار دهید.",
|
||||
"Premoves stopped.": "پیشحرکتها متوقف شدند.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "منتظر تصمیمهای شارژ معلق بمانید",
|
||||
"Already waiting for charge decisions": "از قبل منتظر تصمیمهای شارژ هستید",
|
||||
"Unexpected wait arguments": "آرگومانهای انتظار غیرمنتظره"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Cette action gaspillerait plus de charges de puissance que prévu. Cet ancien plan ne contient pas de référence de puissance ; vérifiez-le et programmez-le à nouveau.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Cette action retirerait des jetons de puissance des bols II ou III au lieu du bol I prévu. Cet ancien plan ne contient pas de référence de puissance ; vérifiez-le et programmez-le à nouveau.",
|
||||
"Premoves stopped.": "Programmation interrompue .",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Attendez les décisions de charge en attente",
|
||||
"Already waiting for charge decisions": "Déjà en attente des décisions de charge",
|
||||
"Unexpected wait arguments": "Arguments d’attente inattendus"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "यह कार्रवाई योजना से अधिक शक्ति चार्ज बर्बाद करेगी। इस पुरानी योजना में शक्ति का आधार नहीं है; इसकी समीक्षा करके इसे फिर से कतार में डालें।",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "यह कार्रवाई योजना के अनुसार कटोरे I के बजाय कटोरे II या III से शक्ति टोकन हटाएगी। इस पुरानी योजना में शक्ति का आधार नहीं है; इसकी समीक्षा करके इसे फिर से कतार में डालें।",
|
||||
"Premoves stopped.": "प्रीमूव रोके गए.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "लंबित शक्ति चार्ज निर्णयों की प्रतीक्षा करें",
|
||||
"Already waiting for charge decisions": "पहले से शक्ति चार्ज निर्णयों की प्रतीक्षा है",
|
||||
"Unexpected wait arguments": "अप्रत्याशित प्रतीक्षा तर्क"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Questa azione sprecherebbe più cariche di potere del previsto. Questo vecchio piano non ha un riferimento di potere; rivedilo e rimettilo in coda.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Questa azione rimuoverebbe segnalini potere dalle ciotole II o III invece che dalla ciotola I come previsto. Questo vecchio piano non ha un riferimento di potere; rivedilo e rimettilo in coda.",
|
||||
"Premoves stopped.": "Premosse fermate.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Attendi le decisioni di carica in sospeso",
|
||||
"Already waiting for charge decisions": "Già in attesa delle decisioni di carica",
|
||||
"Unexpected wait arguments": "Argomenti di attesa imprevisti"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "이 행동은 계획보다 더 많은 파워 충전을 낭비합니다. 이전 계획에는 파워 기준값이 없습니다. 검토한 후 다시 대기열에 넣으세요.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "이 행동은 계획한 영역 I 대신 영역 II 또는 III에서 파워 토큰을 제거합니다. 이전 계획에는 파워 기준값이 없습니다. 검토한 후 다시 대기열에 넣으세요.",
|
||||
"Premoves stopped.": "프리무브 중지됨.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "대기 중인 충전 결정을 기다리세요",
|
||||
"Already waiting for charge decisions": "이미 충전 결정을 기다리는 중입니다",
|
||||
"Unexpected wait arguments": "예상하지 못한 대기 인수"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Deze actie zou meer krachtladingen verspillen dan gepland. Dit oudere plan heeft geen krachtreferentie; controleer het en zet het opnieuw in de wachtrij.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Deze actie zou krachtstenen uit schaal II of III verwijderen in plaats van schaal I zoals gepland. Dit oudere plan heeft geen krachtreferentie; controleer het en zet het opnieuw in de wachtrij.",
|
||||
"Premoves stopped.": "Voorzetten gestopt.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Wacht op de openstaande krachtbeslissingen",
|
||||
"Already waiting for charge decisions": "Wacht al op krachtbeslissingen",
|
||||
"Unexpected wait arguments": "Onverwachte wachtargumenten"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Ta akcja zmarnowałaby więcej ładowań mocy niż planowano. Ten starszy plan nie ma punktu odniesienia mocy; sprawdź go i dodaj ponownie do kolejki.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Ta akcja usunęłaby znaczniki mocy z mis II lub III zamiast z misy I, jak planowano. Ten starszy plan nie ma punktu odniesienia mocy; sprawdź go i dodaj ponownie do kolejki.",
|
||||
"Premoves stopped.": "Ruchy wstępne zatrzymane.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Poczekaj na oczekujące decyzje ładowania mocy",
|
||||
"Already waiting for charge decisions": "Już oczekujesz na decyzje ładowania mocy",
|
||||
"Unexpected wait arguments": "Nieoczekiwane argumenty oczekiwania"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Esta ação desperdiçaria mais cargas de poder do que o planejado. Este plano antigo não tem uma referência de poder; revise-o e coloque-o na fila novamente.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Esta ação removeria fichas de poder das áreas II ou III em vez da área I, como planejado. Este plano antigo não tem uma referência de poder; revise-o e coloque-o na fila novamente.",
|
||||
"Premoves stopped.": "Pré-movimentos interrompidos.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Aguarde as decisões de carga pendentes",
|
||||
"Already waiting for charge decisions": "Já aguardando decisões de carga",
|
||||
"Unexpected wait arguments": "Argumentos de espera inesperados"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Această acțiune ar irosi mai multe încărcări de putere decât era planificat. Acest plan vechi nu are o referință de putere; verifică-l și pune-l din nou în coadă.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Această acțiune ar elimina jetoane de putere din bolurile II sau III în loc de bolul I, cum era planificat. Acest plan vechi nu are o referință de putere; verifică-l și pune-l din nou în coadă.",
|
||||
"Premoves stopped.": "Premutări oprite.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Așteaptă deciziile de încărcare în așteptare",
|
||||
"Already waiting for charge decisions": "Se așteaptă deja deciziile de încărcare",
|
||||
"Unexpected wait arguments": "Argumente de așteptare neașteptate"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Это действие потратит впустую больше зарядов силы, чем планировалось. В этом старом плане нет исходных данных силы; проверьте его и снова поставьте в очередь.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Это действие удалит жетоны силы из чаш II или III вместо чаши I, как планировалось. В этом старом плане нет исходных данных силы; проверьте его и снова поставьте в очередь.",
|
||||
"Premoves stopped.": "Предходы остановлены.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Дождитесь ожидающих решений о зарядке силы",
|
||||
"Already waiting for charge decisions": "Уже ожидаются решения о зарядке силы",
|
||||
"Unexpected wait arguments": "Неожиданные аргументы ожидания"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "Hành động này sẽ lãng phí nhiều lần nạp năng lượng hơn dự kiến. Kế hoạch cũ này không có mức năng lượng tham chiếu; hãy xem lại và xếp hàng lại.",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "Hành động này sẽ loại bỏ token năng lượng từ bát II hoặc III thay vì bát I như dự kiến. Kế hoạch cũ này không có mức năng lượng tham chiếu; hãy xem lại và xếp hàng lại.",
|
||||
"Premoves stopped.": "Đã dừng nước đi đặt trước.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "Chờ các quyết định nạp năng lượng đang chờ xử lý",
|
||||
"Already waiting for charge decisions": "Đã đang chờ quyết định nạp năng lượng",
|
||||
"Unexpected wait arguments": "Tham số chờ không mong đợi"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "此行动会比计划浪费更多能量充能。 此旧计划没有能量基准;请检查并重新加入队列。",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "此行动会移除区域 II 或 III 的能量标记,而非计划中的区域 I。 此旧计划没有能量基准;请检查并重新加入队列。",
|
||||
"Premoves stopped.": "预行动已停止.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "请等待待定的充能决定",
|
||||
"Already waiting for charge decisions": "已在等待充能决定",
|
||||
"Unexpected wait arguments": "意外的等待参数"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4166,5 +4166,8 @@
|
|||
"This action would waste more power charges than planned. This older plan has no power baseline; review and queue it again.": "此行動會比計畫浪費更多能量充能。 此舊計畫沒有能量基準;請檢查並重新加入佇列。",
|
||||
"This action would remove power tokens from bowls II or III instead of bowl I as planned. This older plan has no power baseline; review and queue it again.": "此行動會移除區域 II 或 III 的能量標記,而非計畫中的區域 I。 此舊計畫沒有能量基準;請檢查並重新加入佇列。",
|
||||
"Premoves stopped.": "預先行動已停止.",
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again."
|
||||
"plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.": "plays the first immediately. The rest run on your following turns, even with the browser closed. Moves for later rounds wait for their round and phase. You can view or cancel them at any time. If a move cannot be played with your actual resources when your turn arrives, the queue stops. The remaining plan opens with the reason it stopped, unless you are already editing. The stopped-plan button in the action bar opens it directly. The last ten queues stay available across devices; use Review remaining to edit a stopped queue before submitting it again.",
|
||||
"Wait for the pending charge decisions": "請等待待定的充能決定",
|
||||
"Already waiting for charge decisions": "已在等待充能決定",
|
||||
"Unexpected wait arguments": "非預期的等待參數"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,49 @@ describe("self-contained setup", () => {
|
|||
expect(JSON.parse(JSON.stringify(restored))).to.deep.equal(JSON.parse(JSON.stringify(engine)));
|
||||
});
|
||||
|
||||
it("strictly imports historical charge resumes without allowing new cancellations", () => {
|
||||
const history = [
|
||||
"init 4 concurrent-charge-test",
|
||||
"p1 faction terrans",
|
||||
"p2 faction nevlas",
|
||||
"p3 faction firaks",
|
||||
"p4 faction hadsch-hallas",
|
||||
"p1 build m 8A2",
|
||||
"p2 build m 8B1",
|
||||
"p3 build m 8B3",
|
||||
"p4 build m 7B5",
|
||||
"p4 build m 1A2",
|
||||
"p3 build m 7A4",
|
||||
"p2 build m 5A2",
|
||||
"p1 build m 4A4",
|
||||
"p4 booster booster2",
|
||||
"p3 booster booster4",
|
||||
"p2 booster booster5",
|
||||
"p1 booster booster6",
|
||||
"hadsch-hallas income 2t",
|
||||
"terrans build ts 8A2.",
|
||||
"nevlas decline 1pw @1",
|
||||
"nevlas waitForCharges",
|
||||
"nevlas resumeCharges",
|
||||
"nevlas waitForCharges",
|
||||
];
|
||||
const engineData = { moveHistory: history, options: { concurrentCharges: true } };
|
||||
const restored = loadEngineFromData({ engineData, type: LoadFromJsonType.strictReplay });
|
||||
expect(restored.moveHistory.slice(-3)).to.deep.equal(history.slice(-3));
|
||||
expect(restored.replay).not.to.equal(true);
|
||||
const before = JSON.stringify(restored);
|
||||
expect(() => restored.move("nevlas resumeCharges")).to.throw();
|
||||
expect(JSON.stringify(restored)).to.equal(before);
|
||||
|
||||
// This incomplete turn is accepted by permissive replay, but not strict import.
|
||||
const invalid = {
|
||||
...engineData,
|
||||
moveHistory: [...history, "hadsch-hallas decline 1pw @2", "nevlas up eco", "nevlas ."],
|
||||
};
|
||||
expect(() => loadEngineFromData({ engineData: invalid, type: LoadFromJsonType.strictReplay })).to.throw();
|
||||
expect(() => loadEngineFromData({ engineData: invalid, type: LoadFromJsonType.permissiveReplay })).not.to.throw();
|
||||
});
|
||||
|
||||
it("supports stopMove with a shared state URL by replaying to an earlier move", () => {
|
||||
const engine = new Engine(["init 2 lf-share-stop", "p1 faction terrans", "p2 faction xenos"], { lostFleet: true });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue