From cab56d11d6a9c89887c8867564b56c35e8af947c Mon Sep 17 00:00:00 2001 From: coyotte508 Date: Wed, 30 Sep 2026 00:29:46 +0200 Subject: [PATCH] perf: split viewer languages and artwork into separate assets --- AGENTS.md | 33 ++--- README.md | 2 + docs/viewer-publishing.md | 11 ++ scripts/prune-locales.mjs | 58 +++++++++ viewer/package.json | 6 +- viewer/scripts/protocol-smoke.mjs | 7 ++ viewer/src/data/faction-art.ts | 36 +++--- viewer/src/game-chat.spec.ts | 3 + viewer/src/game-chat.ts | 9 +- viewer/src/launcher.ts | 7 +- viewer/src/localization/da.json | 10 -- viewer/src/localization/de.json | 10 -- viewer/src/localization/el.json | 10 -- viewer/src/localization/en.json | 10 -- viewer/src/localization/fa.json | 10 -- viewer/src/localization/fr.json | 10 -- viewer/src/localization/hi.json | 10 -- viewer/src/localization/index.d.ts | 5 +- viewer/src/localization/index.js | 113 ++++++++++++------ viewer/src/localization/it.json | 10 -- viewer/src/localization/ko.json | 10 -- viewer/src/localization/nl.json | 10 -- viewer/src/localization/persian.spec.ts | 19 ++- viewer/src/localization/pl.json | 10 -- viewer/src/localization/pt-BR.json | 10 -- viewer/src/localization/ro.json | 10 -- viewer/src/localization/ru.json | 10 -- .../src/localization/shortcut-label.spec.ts | 9 +- viewer/src/localization/vi.json | 10 -- viewer/src/localization/zh-TW.json | 10 -- viewer/src/shims-art.d.ts | 2 +- viewer/vite.config.ts | 5 +- 32 files changed, 232 insertions(+), 253 deletions(-) create mode 100644 docs/viewer-publishing.md create mode 100644 scripts/prune-locales.mjs diff --git a/AGENTS.md b/AGENTS.md index d984c2cc..5bef1261 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -44,31 +44,14 @@ All calls take `Authorization: Bearer `. -H "Content-Type: application/octet-stream" \ --data-binary @gaia-project-engine-.tgz ``` -2. **Viewer files** — upload the freshly built bundle. `npm run package` emits - `dist/package/viewer.umd.js` (already minified) + `viewer.css`; the platform's doc expects the - js under the name `viewer.umd.min.js`, so copy/rename it first. These endpoints take the file - as the **raw request body** (no multipart!), with parameters in the query string; js+css share - a `bundle` id so they belong together: - ```bash - cp dist/package/viewer.umd.js dist/package/viewer.umd.min.js - # (optional) strip the trailing sourceMappingURL - the map isn't uploaded anyway: - # sed -i 's|//# sourceMappingURL=viewer.umd.js.map||' dist/package/viewer.umd.min.js - curl -X POST "$BASE/viewer/file?filename=viewer.umd.min.js&bundle=" \ - -H "Authorization: Bearer $TOKEN" -H "Content-Type: text/javascript" \ - --data-binary @dist/package/viewer.umd.min.js - curl -X POST "$BASE/viewer/file?filename=viewer.css&bundle=" \ - -H "Authorization: Bearer $TOKEN" -H "Content-Type: text/css" \ - --data-binary @dist/package/viewer.css - ``` - No sourcemap upload needed — owner decision (2026-09): the platform doesn't deploy maps - in general. The bundle's trailing sourceMappingURL is harmless (the map 404s quietly). - Get a fresh `` (uuidgen or a timestamped tag) — every upload gets a unique - one, and the doc's `viewer.url` then points at the new bundle's file URL. -3. **Update the doc** — `GET $BASE` to fetch the current gameinfo doc, update the - `viewer.url` and `viewer.dependencies.stylesheets` (and engine fields if they changed), then - `PUT $BASE` with the whole doc. The PUT replaces the stored doc, so send everything back, not - just the changed fields. **Always GET right before PUT** — the engine-upload step mutates the - doc (sets `engine.package`), and a PUT based on an earlier GET silently reverts it. +2. **Viewer files** — upload the complete `viewer/dist/package` directory (entry JS, + CSS, language JSON and faction JPG files). Repeat for `old-ui/dist/package` with + `--alternate`. Use BGS's `scripts/publish-viewer.mjs` or admin **Upload folder**; + see [viewer publishing](docs/viewer-publishing.md). All files must share the same + immutable bundle directory. BGS handles gzip automatically. Sourcemaps stay local. +3. **Update the viewer** only after all files are uploaded and verified. Send + `{ viewer: ... }` to the version PUT endpoint to preserve engine and other metadata. + Read the current viewer immediately before updating to avoid overwriting another release. 4. Verify on a real BGS game page afterwards (hard-reload; the platform may cache the old viewer URL per game). diff --git a/README.md b/README.md index 01a4c144..9b6d2f04 100644 --- a/README.md +++ b/README.md @@ -41,3 +41,5 @@ If the PR's commit history is clean, and commit messages conform to the policy, If you need to squash, take care to add the appropriate gitmoji & scope to the commit message. If the PR has [fixup commmits](https://jordanelver.co.uk/blog/2020/06/04/fixing-commits-with-git-commit-fixup-and-git-rebase-autosquash/) starting with `fixup!`, approve the PR first, let the contributor adjust their PR to remove the fixup commits, and then rebase. + +Viewer releases: see [uploading the complete viewer build](docs/viewer-publishing.md). diff --git a/docs/viewer-publishing.md b/docs/viewer-publishing.md new file mode 100644 index 00000000..ad46c641 --- /dev/null +++ b/docs/viewer-publishing.md @@ -0,0 +1,11 @@ +# Publishing the viewer + +Upload the complete `viewer/dist/package` folder: entry JS, CSS, language JSON and faction JPG files. Repeat for `old-ui/dist/package` with `--alternate`. + +All files in a release must share one BGS `bundle` directory, with their relative paths preserved. Upload everything before saving the new entry URL. A main-JS-only upload will break language or asset loading. Keep engines and test data out of the viewer upload. + +BGS compresses JS, CSS, JSON and WASM automatically during upload. Send the original bytes; do not create `.gz` files. Keep sourcemaps local unless you deliberately want to publish them. Set `viewer.scriptBytes` to the original entry size so BGS can show download progress. + +The BGS admin's **Upload folder** control handles multi-file builds. For scripted releases, use BGS's `scripts/publish-viewer.mjs` with `--dir`, `--entry` and `--style`; it verifies every uploaded file, records the previous viewer, and activates only with `--apply --activate`. The full command and API contract are in the [BGS viewer documentation](https://docs.boardgamers.space/guide/viewer-api#publishing-a-viewer-with-multiple-files). + +English needs no language download; other languages load when selected. Test a cold load and a language change after publishing. Also check the browser Network panel for missing relative assets. diff --git a/scripts/prune-locales.mjs b/scripts/prune-locales.mjs new file mode 100644 index 00000000..253c56fc --- /dev/null +++ b/scripts/prune-locales.mjs @@ -0,0 +1,58 @@ +import { readdir, readFile, writeFile } from "node:fs/promises"; +import { join } from "node:path"; +import ts from "typescript"; + +// Only remove intermediate constant concatenations: the browser renders the complete value. +const partial = new Set(); +const used = new Set(); +const normalize = (text) => text.replace(/\s+/g, " ").trim(); +const concat = (node) => ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.PlusToken; +function constant(node) { + if (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) return node.text; + if (!concat(node)) return undefined; + const left = constant(node.left), + right = constant(node.right); + return left === undefined || right === undefined ? undefined : left + right; +} +async function scan(directory) { + for (const entry of await readdir(directory, { withFileTypes: true })) { + if (["node_modules", "dist", "localization", "tests"].includes(entry.name)) continue; + const path = join(directory, entry.name); + if (entry.isDirectory()) { + await scan(path); + continue; + } + if (!/\.(?:ts|js|vue|svelte)$/.test(path) || /\.(?:spec|test)\./.test(path)) continue; + let source = await readFile(path, "utf8"); + if (/\.(?:vue|svelte)$/.test(path)) + source = [...source.matchAll(/]*>([\s\S]*?)<\/script>/g)].map((m) => m[1]).join("\n"); + const ast = ts.createSourceFile(path, source, ts.ScriptTarget.Latest, true); + function visit(node) { + const value = constant(node); + if (value !== undefined) { + const intermediate = node.parent && concat(node.parent) && constant(node.parent) !== undefined; + (intermediate ? partial : used).add(normalize(value)); + } + ts.forEachChild(node, visit); + } + visit(ast); + } +} +await scan("viewer/src"); +await scan("engine/src"); +const removable = new Set([...partial].filter((key) => key.length >= 100 && !used.has(key))); +let removed = 0, + bytes = 0; +for (const entry of await readdir("viewer/src/localization")) { + if (!entry.endsWith(".json")) continue; + const path = join("viewer/src/localization", entry); + const data = JSON.parse(await readFile(path, "utf8")); + for (const key of removable) { + if (!(key in data)) continue; + bytes += Buffer.byteLength(JSON.stringify({ [key]: data[key] })); + delete data[key]; + removed++; + } + await writeFile(path, JSON.stringify(data, null, 4) + "\n"); +} +console.log(`Removed ${removed} redundant entries (${bytes} bytes across all languages).`); diff --git a/viewer/package.json b/viewer/package.json index fa5dddaf..3fc5b7cd 100644 --- a/viewer/package.json +++ b/viewer/package.json @@ -1,6 +1,6 @@ { "name": "@gaia-project/viewer", - "version": "5.20.40", + "version": "5.20.41", "description": "Functions to visualize the map and boards for gaia project inside html canvas", "contributors": [ "coyotte508", @@ -37,7 +37,9 @@ "dist/package/viewer.umd.*.js", "dist/package/viewer.css", "dist/package/img", - "dist/package/css" + "dist/package/css", + "dist/package/*.json", + "dist/package/*.jpg" ], "dependencies": { "@boardgamers/protocol": "0.6.2", diff --git a/viewer/scripts/protocol-smoke.mjs b/viewer/scripts/protocol-smoke.mjs index 7cab3d35..b86dc094 100644 --- a/viewer/scripts/protocol-smoke.mjs +++ b/viewer/scripts/protocol-smoke.mjs @@ -29,6 +29,13 @@ const server = createServer(async (req, res) => { if (req.url === "/") { res.setHeader("Content-Type", "text/html"); res.end(html); + } else if (/^\/[a-zA-Z0-9-]+\.(json|jpg)$/.test(req.url)) { + res.setHeader("Content-Type", req.url.endsWith(".json") ? "application/json" : "image/jpeg"); + res.end( + await readFile( + fileURLToPath(new URL((mode === "old" ? "old-ui/dist/package" : "viewer/dist/package") + req.url, repo)) + ) + ); } else if (files[req.url]) { res.setHeader("Content-Type", req.url.endsWith(".css") ? "text/css" : "text/javascript; charset=utf-8"); res.end(await readFile(files[req.url])); diff --git a/viewer/src/data/faction-art.ts b/viewer/src/data/faction-art.ts index 1aefe4e3..d9b4a306 100644 --- a/viewer/src/data/faction-art.ts +++ b/viewer/src/data/faction-art.ts @@ -1,21 +1,21 @@ -import ambas from "../assets/factions/ambas.jpg"; -import baltaks from "../assets/factions/baltaks.jpg"; -import bescods from "../assets/factions/bescods.jpg"; -import darkanians from "../assets/factions/darkanians.jpg"; -import firaks from "../assets/factions/firaks.jpg"; -import geodens from "../assets/factions/geodens.jpg"; -import gleens from "../assets/factions/gleens.jpg"; -import hadschHallas from "../assets/factions/hadsch-hallas.jpg"; -import itars from "../assets/factions/itars.jpg"; -import ivits from "../assets/factions/ivits.jpg"; -import lantids from "../assets/factions/lantids.jpg"; -import mowyeds from "../assets/factions/mowyeds.jpg"; -import nevlas from "../assets/factions/nevlas.jpg"; -import spaceGiants from "../assets/factions/space-giants.jpg"; -import taklons from "../assets/factions/taklons.jpg"; -import terrans from "../assets/factions/terrans.jpg"; -import tinkeroids from "../assets/factions/tinkeroids.jpg"; -import xenos from "../assets/factions/xenos.jpg"; +import ambas from "../assets/factions/ambas.jpg?no-inline"; +import baltaks from "../assets/factions/baltaks.jpg?no-inline"; +import bescods from "../assets/factions/bescods.jpg?no-inline"; +import darkanians from "../assets/factions/darkanians.jpg?no-inline"; +import firaks from "../assets/factions/firaks.jpg?no-inline"; +import geodens from "../assets/factions/geodens.jpg?no-inline"; +import gleens from "../assets/factions/gleens.jpg?no-inline"; +import hadschHallas from "../assets/factions/hadsch-hallas.jpg?no-inline"; +import itars from "../assets/factions/itars.jpg?no-inline"; +import ivits from "../assets/factions/ivits.jpg?no-inline"; +import lantids from "../assets/factions/lantids.jpg?no-inline"; +import mowyeds from "../assets/factions/mowyeds.jpg?no-inline"; +import nevlas from "../assets/factions/nevlas.jpg?no-inline"; +import spaceGiants from "../assets/factions/space-giants.jpg?no-inline"; +import taklons from "../assets/factions/taklons.jpg?no-inline"; +import terrans from "../assets/factions/terrans.jpg?no-inline"; +import tinkeroids from "../assets/factions/tinkeroids.jpg?no-inline"; +import xenos from "../assets/factions/xenos.jpg?no-inline"; export const factionArt: Record = { terrans: terrans, lantids: lantids, diff --git a/viewer/src/game-chat.spec.ts b/viewer/src/game-chat.spec.ts index 53ccd677..9203fa48 100644 --- a/viewer/src/game-chat.spec.ts +++ b/viewer/src/game-chat.spec.ts @@ -1,6 +1,8 @@ import { ViewerEmitter } from "@boardgamers/protocol/viewer"; import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; import { mountGameChat } from "./game-chat"; +import { catalogs } from "./localization"; +import frenchCatalog from "./localization/fr.json"; describe("chat beside the mobile action bar", () => { let emitter: ViewerEmitter; @@ -14,6 +16,7 @@ describe("chat beside the mobile action bar", () => { } beforeEach(() => { + catalogs.fr = frenchCatalog; vi.useFakeTimers(); vi.stubGlobal( "IntersectionObserver", diff --git a/viewer/src/game-chat.ts b/viewer/src/game-chat.ts index 1fd19c8e..357fde5f 100644 --- a/viewer/src/game-chat.ts +++ b/viewer/src/game-chat.ts @@ -6,7 +6,7 @@ import { attachChat } from "@boardgamers/protocol/viewer"; import { Faction } from "@gaia-project/engine"; import { factionArt } from "./data/faction-art"; import { factionColor } from "./graphics/utils"; -import { resolveLocale, translateText } from "./localization"; +import { loadLocale, resolveLocale, translateText } from "./localization"; type ChatEmitter = Pick, "on" | "emit">; export function mountGameChat(emitter: ViewerEmitter, host: Element): () => void { const chat = new ChatController(); @@ -74,6 +74,7 @@ export function mountGameChat(emitter: ViewerEmitter, host: Element): `; slot.append(style); let locale = "en"; + let disposed = false; let players: { id: number; name: string; color?: string; faction?: string }[] = []; let localPlayer: number | undefined; let avatars: string[] = []; @@ -155,6 +156,11 @@ export function mountGameChat(emitter: ViewerEmitter, host: Element): detach, emitter.on("preferences", (preferences) => { locale = resolveLocale(preferences.locale); + void loadLocale(locale) + .then(() => { + if (!disposed) updateShortcut(); + }) + .catch(() => {}); analysis = preferences.analysis === true; slot.style.display = analysis ? "none" : ""; updateShortcut(); @@ -196,6 +202,7 @@ export function mountGameChat(emitter: ViewerEmitter, host: Element): () => resize.disconnect() ); return () => { + disposed = true; dispose.forEach((cleanup) => cleanup()); view.destroy(); shortcut.remove(); diff --git a/viewer/src/launcher.ts b/viewer/src/launcher.ts index 01d181d5..41bb9c53 100644 --- a/viewer/src/launcher.ts +++ b/viewer/src/launcher.ts @@ -107,6 +107,7 @@ function launch(selector: string, component: VueConstructor = Game) { return thumbnail.render(app.$el.querySelector(".space-map-canvas, .old-map-canvas"), size, "#10172b"); }, async onState(data) { + await localization.ready; localization.setState(data); await store.dispatch("externalData", data); if (!replaying) viewer.replaceLog(data?.moveHistory || []); @@ -118,8 +119,10 @@ function launch(selector: string, component: VueConstructor = Game) { onSettings(data) { store.commit("playerSettings", data); }, - onPreferences(data) { - localization.setLocale(data.locale); + async onPreferences(data) { + if (!(await localization.setLocale(data.locale))) { + return; + } store.commit("preferences", data); }, onPlayer(data) { diff --git a/viewer/src/localization/da.json b/viewer/src/localization/da.json index 57be1e14..1a178951 100644 --- a/viewer/src/localization/da.json +++ b/viewer/src/localization/da.json @@ -819,7 +819,6 @@ "EXPORT": "EKSPORTÉR", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Hvert træk skal kunne betales med ressourcerne vist på dit fraktionsbræt. Indkomst og konverteringer opdaterer de tilgængelige valg.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Hver spiller vælger først en fraktion i turorden. Når alle fraktioner er valgt, skiftes spillerne til at", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Hver spiller vælger først en fraktion i turorden. Når alle fraktioner er valgt, skiftes spillerne til at byde sejrspoint for at tage en anden valgt fraktion. En overbudt spiller bliver den næste spiller, som", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Hver spiller vælger først en fraktion i turorden. Når alle fraktioner er valgt, skiftes spillerne til at byde sejrspoint for at tage en anden valgt fraktion. En overbudt spiller bliver den næste spiller, som mangler en fraktion, og budrunden fortsætter, indtil alle har én.", "Each tab is an alternative plan:": "Hver fane er en alternativ plan:", "Each terraforming step costs you": "Hvert terraformingtrin koster dig", @@ -1332,11 +1331,8 @@ "Once:": "Én gang:", "Once: free mine with up to 2 free terraforming steps": "Én gang: gratis mine med op til 2 gratis terræformingstrin", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Én gang: modtag 1 teknologibrik efter eget valg (samme regler som Opgrader eksisterende strukturer).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Én gang: modtag en Byg en mine-handling med ubegrænset rækkevidde uden at betale byggeprisen; malm betaler stadig for", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Én gang: modtag en Byg en mine-handling med ubegrænset rækkevidde uden at betale byggeprisen; malm betaler stadig for terrænformning, Q.I.C. kræves stadig for Gaia-planeter.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Én gang: modtag en Byg en mine-handling med op til 2 gratis terræformingstrin og uden at betale prisen for", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Én gang: modtag en Byg en mine-handling med op til 2 gratis terræformingstrin og uden at betale prisen for den mine. Du kan bruge ekstra malm til et 3. terræformingstrin og Q.I.C.s til at øge rækkevidden.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Én gang: modtag en Byg en mine-handling med op til 3 gratis terrænformningstrin uden at betale byggeprisen;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Én gang: modtag en Byg en mine-handling med op til 3 gratis terrænformningstrin uden at betale byggeprisen; Q.I.C.er kan stadig øge rækkevidden.", "Once: {p0}": "Én gang: {p0}", "One picked faction per player, and one fixed pot of": "Én valgt fraktion pr. spiller og én fast pulje af", @@ -1418,8 +1414,6 @@ "Pays": "Betaler", "Pays (VP)": "Betaler (VP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Terræformingsomkostninger pr. planet kommer fra Lost Fleet-terræformingsbrættet - de 7 farve", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Terræformingsomkostninger pr. planet kommer fra Lost Fleet-terræformingsbrættet - de 7 farveprøver nedenfor (også vist øverst til højre på kortet), hver markeret med sin trinomkostning.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Terraformingomkostninger pr. planet kommer fra Lost Fleet Terraforming-brættet - de 7 farveprøver nedenfor (også vist øverst til højre på kortet), hver markeret med sin trinomkostning. Modstandernes hjemmefarver koster altid 3; resten af de tre farver til pris 3 udfyldes fra", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Terraformingomkostninger pr. planet kommer fra Lost Fleet Terraforming-brættet - de 7 farveprøver nedenfor (også vist øverst til højre på kortet), hver markeret med sin trinomkostning. Modstandernes hjemmefarver koster altid 3; resten af de tre farver til pris 3 udfyldes fra rækken venstre mod højre. Dette er foreløbigt, indtil alle fraktioner er valgt.", "Permissive Replay": "Tilladende gentagelse", "Phase 1 candidate-expansion component does not exist in Phase 0": "Fase 1 kandidatekspansionskomponent findes ikke i fase 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Spiller {p0} har allerede indsendt deres bud", "Player {p0} has already submitted their bids (or is not in this auction)": "Spiller {p0} har allerede indsendt deres bud (eller er ikke i denne auktion)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Spiller {p0}s bud er ikke en lovlig opdeling af {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Spillere vælger og byder i samme fase. På din tur kan du enten introducere en ny fraktion uden omkostninger eller byde", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Spillere vælger og byder i samme fase. På din tur kan du enten introducere en ny fraktion uden omkostninger eller byde flere sejrspoint for en, en anden spiller holder. En overbudt spiller bliver den næste spiller, der har brug for en", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Spillere vælger og byder i samme fase. På din tur kan du enten introducere en ny fraktion uden omkostninger eller byde flere sejrspoint for en, en anden spiller holder. En overbudt spiller bliver den næste spiller, der har brug for en fraktion, og auktionen slutter, når alle holder en.", "Playing - Round": "Spiller - Runde", "Playing - Round {p0}": "Spiller - Runde {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "budpoint tilbage at bruge", "bid {p0} {p1}vp": "byd {p0} {p1}vp", "bidding": "byder", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "byder sejrspoint for at tage en anden valgt fraktion. En overbudt spiller bliver den næste spiller, som", "bids": "byder", "bids in": "byder ind", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "minesprednings-arketype", "mines-{p0}-of-{p1}": "miner-{p0}-af-{p1}", "more": "mere", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "flere sejrspoint for en fraktion, en anden spiller har. Spilleren, der bliver overbudt, skal derefter have en", "more than your": "mere end din", "mousedown": "mousedown", "move": "flyt", diff --git a/viewer/src/localization/de.json b/viewer/src/localization/de.json index e4101661..1e5f2bfd 100644 --- a/viewer/src/localization/de.json +++ b/viewer/src/localization/de.json @@ -819,7 +819,6 @@ "EXPORT": "EXPORT", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Jeder Zug muss mit den auf deinem Fraktionstableau angezeigten Ressourcen bezahlbar sein. Einkommen und Umwandlungen aktualisieren die verfügbaren Optionen.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Jeder Spieler wählt zuerst in Zugreihenfolge eine Fraktion. Sobald alle Fraktionen gewählt sind, sind die Spieler abwechselnd an der Reihe", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Jeder Spieler wählt zuerst in Zugreihenfolge eine Fraktion. Sobald jede Fraktion gewählt ist, bieten die Spieler abwechselnd Siegpunkte, um eine andere gewählte Fraktion zu übernehmen. Ein überbotener Spieler wird zum nächsten Spieler, der", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Jeder Spieler wählt zuerst in Zugreihenfolge eine Fraktion. Sobald jede Fraktion gewählt ist, bieten die Spieler abwechselnd Siegpunkte, um eine andere gewählte Fraktion zu übernehmen. Ein überbotener Spieler wird zum nächsten Spieler, der eine Fraktion braucht, und das Bieten geht weiter, bis jeder eine hält.", "Each tab is an alternative plan:": "Jeder Tab ist ein alternativer Plan:", "Each terraforming step costs you": "Jeder Terraforming-Schritt kostet dich", @@ -1332,11 +1331,8 @@ "Once:": "Einmal:", "Once: free mine with up to 2 free terraforming steps": "Einmal: kostenlose Mine mit bis zu 2 kostenlosen Terraforming-Schritten", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Einmal: erhalte 1 Technologieplättchen deiner Wahl (gleiche Regeln wie Bestehende Strukturen aufwerten).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Einmal: Erhalte eine Aktion „Mine bauen“ mit unbegrenzter Reichweite, ohne die Baukosten zu zahlen; Erz zahlt weiterhin für", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Einmal: Erhalte eine Aktion „Mine bauen“ mit unbegrenzter Reichweite, ohne die Baukosten zu zahlen; Erz zahlt weiterhin für Terraforming, Q.I.C. sind für Gaia-Planeten weiterhin erforderlich.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Einmal: erhalte eine Baue-eine-Mine-Aktion mit bis zu 2 kostenlosen Terraforming-Schritten und ohne die Kosten zu zahlen für", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Einmal: Erhalte eine Aktion „Mine bauen“ mit bis zu 2 kostenlosen Terraforming-Schritten und ohne die Kosten für diese Mine zu zahlen. Du darfst zusätzliches Erz für einen 3. Terraforming-Schritt ausgeben und Q.I.C.s, um die Reichweite zu erhöhen.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Einmal: Erhalte eine Aktion „Mine bauen“ mit bis zu 3 kostenlosen Terraforming-Schritten, ohne die Baukosten zu zahlen;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Einmal: Erhalte eine Aktion „Mine bauen“ mit bis zu 3 kostenlosen Terraforming-Schritten, ohne die Baukosten zu zahlen; Q.I.C.s dürfen weiterhin die Reichweite erhöhen.", "Once: {p0}": "Einmal: {p0}", "One picked faction per player, and one fixed pot of": "Eine gewählte Fraktion pro Spieler und ein fester Topf von", @@ -1418,8 +1414,6 @@ "Pays": "Zahlt", "Pays (VP)": "Zahlt (SP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Die Terraforming-Kosten pro Planet stammen vom Lost-Fleet-Terraforming-Plan – die 7. Farbe", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Die Terraforming-Kosten pro Planet stammen vom Terraforming-Plan der Verlorenen Flotte – die 7 Farbfelder unten (auch oben rechts auf der Karte), jeweils mit ihren Schrittkosten markiert.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Die Terraforming-Kosten pro Planet stammen vom Terraforming-Plan der Verlorenen Flotte – die 7 Farbfelder unten (auch oben rechts auf der Karte), jeweils mit ihren Schrittkosten markiert. Heimatfarben der Gegner kosten immer 3; die übrigen der drei Kosten-3-Farben füllen sich aus der", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Die Terraforming-Kosten pro Planet stammen vom Terraforming-Plan der Verlorenen Flotte – die 7 Farbfelder unten (auch oben rechts auf der Karte), jeweils mit ihren Schrittkosten markiert. Heimatfarben der Gegner kosten immer 3; die übrigen der drei Kosten-3-Farben füllen sich aus der Reihe von links nach rechts. Dies ist vorläufig, bis jede Fraktion gewählt ist.", "Permissive Replay": "Permissive Wiederholung", "Phase 1 candidate-expansion component does not exist in Phase 0": "Phase-1-Kandidatenerweiterungs-Komponente existiert in Phase 0 nicht", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Spieler {p0} hat seine Gebote bereits abgegeben", "Player {p0} has already submitted their bids (or is not in this auction)": "Spieler {p0} hat seine Gebote bereits abgegeben (oder ist nicht in dieser Auktion)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Die Gebote von Spieler {p0} sind keine legale Aufteilung von {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Spieler wählen und bieten in derselben Phase. Wenn du am Zug bist, führe entweder eine neue Fraktion kostenlos ein oder biete", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Spieler wählen und bieten in derselben Phase. Wenn du am Zug bist, führe entweder eine neue Fraktion kostenlos ein oder biete mehr Siegpunkte für eine, die ein anderer Spieler hält. Ein überbotener Spieler wird zum nächsten Spieler, der eine", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Spieler wählen und bieten in derselben Phase. Wenn du am Zug bist, führe entweder eine neue Fraktion kostenlos ein oder biete mehr Siegpunkte für eine, die ein anderer Spieler hält. Ein überbotener Spieler wird zum nächsten Spieler, der eine Fraktion braucht, und die Auktion endet, sobald jeder eine hält.", "Playing - Round": "Spielen – Runde", "Playing - Round {p0}": "Spielen – Runde {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "verbleibende Gebotspunkte", "bid {p0} {p1}vp": "biete {p0} {p1} SP", "bidding": "bieten", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "bietet Siegpunkte, um eine andere gewählte Fraktion zu übernehmen. Ein überbotener Spieler wird zum nächsten Spieler, der", "bids": "bietet", "bids in": "bietet in", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "Minen-Streuungs-Archetyp", "mines-{p0}-of-{p1}": "Minen-{p0}-von-{p1}", "more": "mehr", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "weitere Siegpunkte, um eine bereits vergebene Fraktion zu übernehmen. Der überbotene Spieler ist als Nächstes an der Reihe und benötigt eine", "more than your": "mehr als dein", "mousedown": "Mausklick", "move": "ziehen", diff --git a/viewer/src/localization/el.json b/viewer/src/localization/el.json index b3600063..87772247 100644 --- a/viewer/src/localization/el.json +++ b/viewer/src/localization/el.json @@ -819,7 +819,6 @@ "EXPORT": "ΕΞΑΓΩΓΗ", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Κάθε κίνηση πρέπει να είναι οικονομικά εφικτή με τους πόρους που εμφανίζονται στον πίνακα της παράταξής σου. Το εισόδημα και οι μετατροπές ενημερώνουν τις διαθέσιμες επιλογές.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Κάθε παίκτης επιλέγει πρώτα μια παράταξη με σειρά γύρου. Μόλις επιλεγούν όλες οι παρατάξεις, οι παίκτες παίζουν εναλλάξ", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Κάθε παίκτης επιλέγει πρώτα μία παράταξη με τη σειρά. Μόλις επιλεγούν όλες οι παρατάξεις, οι παίκτες προσφέρουν εναλλάξ Πόντους Νίκης για να πάρουν μια διαφορετική επιλεγμένη παράταξη. Ένας παίκτης που ξεπερνιέται γίνεται ο επόμενος παίκτης που", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Κάθε παίκτης επιλέγει πρώτα μία παράταξη με τη σειρά. Μόλις επιλεγούν όλες οι παρατάξεις, οι παίκτες προσφέρουν εναλλάξ Πόντους Νίκης για να πάρουν μια διαφορετική επιλεγμένη παράταξη. Ένας παίκτης που ξεπερνιέται γίνεται ο επόμενος παίκτης που χρειάζεται παράταξη, και οι προσφορές συνεχίζονται μέχρι ο καθένας να κρατά μία.", "Each tab is an alternative plan:": "Κάθε καρτέλα είναι ένα εναλλακτικό πλάνο:", "Each terraforming step costs you": "Κάθε βήμα γαιοπλασίας σου κοστίζει", @@ -1332,11 +1331,8 @@ "Once:": "Μία φορά:", "Once: free mine with up to 2 free terraforming steps": "Μία φορά: δωρεάν ορυχείο με έως 2 δωρεάν βήματα εδαφοδιαμόρφωσης", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Μία φορά: λάβε 1 πλακίδιο τεχνολογίας επιλογής σου (ίδιοι κανόνες με την Αναβάθμιση Υπαρχουσών Δομών).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Μία φορά: λάβε μια ενέργεια Χτισίματος Ορυχείου απεριόριστης εμβέλειας χωρίς να πληρώσεις το κόστος χτισίματος· το μετάλλευμα εξακολουθεί να πληρώνει για", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Μία φορά: λάβε μια ενέργεια Χτισίματος Ορυχείου απεριόριστης εμβέλειας χωρίς να πληρώσεις το κόστος χτισίματος· το μετάλλευμα εξακολουθεί να πληρώνει για τη γαιοπλασία, Q.I.C. εξακολουθεί να απαιτείται για πλανήτες Γαίας.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Μία φορά: λάβε μια ενέργεια Κατασκευής Ορυχείου με έως 2 δωρεάν βήματα εδαφοδιαμόρφωσης και χωρίς να πληρώσεις το κόστος για", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Μία φορά: λάβε μια ενέργεια Χτισίματος Ορυχείου με έως 2 δωρεάν βήματα γαιοπλασίας και χωρίς να πληρώσεις το κόστος για αυτό το ορυχείο. Μπορείς να ξοδέψεις επιπλέον μετάλλευμα για ένα 3ο βήμα γαιοπλασίας και Q.I.C. για να αυξήσεις την εμβέλεια.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Μία φορά: λάβε μια ενέργεια Χτισίματος Ορυχείου με έως 3 δωρεάν βήματα γαιοπλασίας χωρίς να πληρώσεις το κόστος χτισίματος·", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Μία φορά: λάβε μια ενέργεια Χτισίματος Ορυχείου με έως 3 δωρεάν βήματα γαιοπλασίας χωρίς να πληρώσεις το κόστος χτισίματος· τα Q.I.C. μπορούν ακόμη να αυξήσουν την εμβέλεια.", "Once: {p0}": "Μία φορά: {p0}", "One picked faction per player, and one fixed pot of": "Μία επιλεγμένη παράταξη ανά παίκτη και ένα σταθερό ποτ από", @@ -1418,8 +1414,6 @@ "Pays": "Πληρώνει", "Pays (VP)": "Πληρώνει (VP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Το κόστος εδαφοποίησης ανά πλανήτη προέρχεται από τον πίνακα Terraforming του Lost Fleet - το χρώμα 7", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Τα κόστη εδαφοποίησης ανά πλανήτη προέρχονται από τον πίνακα Lost Fleet Terraforming - τα 7 χρωματικά δείγματα παρακάτω (εμφανίζονται επίσης πάνω δεξιά στον χάρτη), το καθένα με το κόστος βήματός του.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Τα κόστη εδαφοποίησης ανά πλανήτη προέρχονται από τον πίνακα Lost Fleet Terraforming - τα 7 χρωματικά δείγματα παρακάτω (εμφανίζονται επίσης πάνω δεξιά στον χάρτη), το καθένα με το κόστος βήματός του. Τα χρώματα έδρας των αντιπάλων κοστίζουν πάντα 3· τα υπόλοιπα τρία χρώματα κόστους 3 συμπληρώνονται από τη", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Τα κόστη εδαφοποίησης ανά πλανήτη προέρχονται από τον πίνακα Lost Fleet Terraforming - τα 7 χρωματικά δείγματα παρακάτω (εμφανίζονται επίσης πάνω δεξιά στον χάρτη), το καθένα με το κόστος βήματός του. Τα χρώματα έδρας των αντιπάλων κοστίζουν πάντα 3· τα υπόλοιπα τρία χρώματα κόστους 3 συμπληρώνονται από τη σειρά αριστερά προς τα δεξιά. Αυτό είναι προσωρινό μέχρι να επιλεγεί κάθε παράταξη.", "Permissive Replay": "Επιτρεπτική Επανάληψη", "Phase 1 candidate-expansion component does not exist in Phase 0": "Το στοιχείο υποψήφιας επέκτασης Φάσης 1 δεν υπάρχει στη Φάση 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Ο παίκτης {p0} έχει ήδη υποβάλει τις προσφορές του", "Player {p0} has already submitted their bids (or is not in this auction)": "Ο παίκτης {p0} έχει ήδη υποβάλει τις προσφορές του (ή δεν συμμετέχει σε αυτή τη δημοπρασία)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Οι προσφορές του παίκτη {p0} δεν αποτελούν νόμιμο διαχωρισμό του {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Οι παίκτες επιλέγουν και υποβάλλουν προσφορές στην ίδια φάση. Στη σειρά σου, είτε εισάγεις μια νέα παράταξη χωρίς κόστος είτε υποβάλλεις προσφορά", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Οι παίκτες επιλέγουν και προσφέρουν στην ίδια φάση. Στη σειρά σου, είτε εισάγεις μια νέα παράταξη χωρίς κόστος είτε προσφέρεις περισσότερους Πόντους Νίκης για μία που κατέχει άλλος παίκτης. Ένας παίκτης που χάνει την προσφορά γίνεται ο επόμενος παίκτης που χρειάζεται μια", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Οι παίκτες επιλέγουν και προσφέρουν στην ίδια φάση. Στη σειρά σου, είτε εισάγεις μια νέα παράταξη χωρίς κόστος είτε προσφέρεις περισσότερους Πόντους Νίκης για μία που κατέχει άλλος παίκτης. Ένας παίκτης που χάνει την προσφορά γίνεται ο επόμενος παίκτης που χρειάζεται μια παράταξη, και η δημοπρασία τελειώνει μόλις όλοι κατέχουν από μία.", "Playing - Round": "Παίζεται - Γύρος", "Playing - Round {p0}": "Παίζεται - Γύρος {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "πόντοι προσφοράς που απομένουν για ξόδεμα", "bid {p0} {p1}vp": "προσφορά {p0} {p1}vp", "bidding": "πλειοδοσία", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "προσφορά Πόντων Νίκης για να πάρεις μια διαφορετική επιλεγμένη παράταξη. Ένας παίκτης που υπερθεματίστηκε γίνεται ο επόμενος παίκτης που", "bids": "κάνει προσφορές", "bids in": "προσφορές σε", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "αρχέτυπο εξάπλωσης ορυχείων", "mines-{p0}-of-{p1}": "ορυχεία-{p0}-από-{p1}", "more": "περισσότερα", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "επιπλέον Πόντους Νίκης για μια παράταξη που κατέχει άλλος παίκτης. Ο παίκτης που χάνει την παράταξή του χρειάζεται στη συνέχεια μια", "more than your": "περισσότερα από το/τη", "mousedown": "mousedown", "move": "μετακινώ", diff --git a/viewer/src/localization/en.json b/viewer/src/localization/en.json index 0eeab03a..61343b00 100644 --- a/viewer/src/localization/en.json +++ b/viewer/src/localization/en.json @@ -819,7 +819,6 @@ "EXPORT": "EXPORT", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Each player first picks a faction in turn order. Once every faction is picked, players take turns", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.", "Each tab is an alternative plan:": "Each tab is an alternative plan:", "Each terraforming step costs you": "Each terraforming step costs you", @@ -1332,11 +1331,8 @@ "Once:": "Once:", "Once: free mine with up to 2 free terraforming steps": "Once: free mine with up to 2 free terraforming steps", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.", "Once: {p0}": "Once: {p0}", "One picked faction per player, and one fixed pot of": "One picked faction per player, and one fixed pot of", @@ -1418,8 +1414,6 @@ "Pays": "Pays", "Pays (VP)": "Pays (VP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.", "Permissive Replay": "Permissive Replay", "Phase 1 candidate-expansion component does not exist in Phase 0": "Phase 1 candidate-expansion component does not exist in Phase 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Player {p0} has already submitted their bids", "Player {p0} has already submitted their bids (or is not in this auction)": "Player {p0} has already submitted their bids (or is not in this auction)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Player {p0}'s bids are not a legal split of {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.", "Playing - Round": "Playing - Round", "Playing - Round {p0}": "Playing - Round {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "bid points left to spend", "bid {p0} {p1}vp": "bid {p0} {p1}vp", "bidding": "bidding", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who", "bids": "bids", "bids in": "bids in", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "mine-spread archetype", "mines-{p0}-of-{p1}": "mines-{p0}-of-{p1}", "more": "more", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "more Victory Points for one another player holds. An outbid player becomes the next player who needs a", "more than your": "more than your", "mousedown": "mousedown", "move": "move", diff --git a/viewer/src/localization/fa.json b/viewer/src/localization/fa.json index 83767381..65cbc6b9 100644 --- a/viewer/src/localization/fa.json +++ b/viewer/src/localization/fa.json @@ -819,7 +819,6 @@ "EXPORT": "خروجی", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "هر حرکت باید با منابع نمایش‌داده‌شده در صفحهٔ جناح قابل پرداخت باشد. درآمد و تبدیل‌ها گزینه‌های موجود را به‌روز می‌کنند.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "ابتدا هر بازیکن به‌ترتیب نوبت یک جناح انتخاب می‌کند. پس از انتخاب همهٔ جناح‌ها، بازیکنان به‌نوبت", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "ابتدا هر بازیکن به‌ترتیب نوبت یک جناح انتخاب می‌کند. سپس برای گرفتن جناح انتخاب‌شدهٔ دیگری، به‌نوبت امتیاز پیشنهاد می‌دهند. بازیکنی که جناحش گرفته شود، بازیکن بعدی است که", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "ابتدا هر بازیکن به‌ترتیب نوبت یک جناح انتخاب می‌کند. سپس برای گرفتن جناح انتخاب‌شدهٔ دیگری، به‌نوبت امتیاز پیشنهاد می‌دهند. بازیکنی که جناحش گرفته شود، نفر بعدیِ نیازمند جناح است؛ مزایده تا زمانی ادامه دارد که همه جناحی داشته باشند.", "Each tab is an alternative plan:": "هر زبانه یک برنامهٔ جایگزین است:", "Each terraforming step costs you": "هزینهٔ هر گام زمین‌سان‌سازی شما:", @@ -1332,11 +1331,8 @@ "Once:": "یک‌بار:", "Once: free mine with up to 2 free terraforming steps": "یک‌بار: معدن رایگان با حداکثر ۲ گام زمین‌سان‌سازی رایگان", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "یک‌بار: ۱ کاشی فناوری دلخواه بگیرید (همان قوانین ارتقای ساختمان‌های موجود).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "یک‌بار: عمل ساخت معدن با برد نامحدود و بدون هزینهٔ ساخت بگیرید؛ سنگ معدن همچنان برای این مورد لازم است:", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "یک‌بار: عمل ساخت معدن با برد نامحدود و بدون هزینهٔ ساخت بگیرید؛ زمین‌سان‌سازی هنوز سنگ معدن و سیارهٔ گایا هنوز Q.I.C. می‌خواهد.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "یک‌بار: عمل ساخت معدن با حداکثر ۲ گام زمین‌سان‌سازی رایگان و بدون هزینهٔ", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "یک‌بار: عمل ساخت معدن با حداکثر ۲ گام زمین‌سان‌سازی رایگان و بدون هزینهٔ خود معدن بگیرید. می‌توانید برای گام سوم سنگ معدن و برای افزایش برد Q.I.C. اضافه خرج کنید.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "یک‌بار: عمل ساخت معدن با حداکثر ۳ گام زمین‌سان‌سازی رایگان و بدون هزینهٔ ساخت بگیرید؛", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "یک‌بار: عمل ساخت معدن با حداکثر ۳ گام زمین‌سان‌سازی رایگان و بدون هزینهٔ ساخت بگیرید؛ Q.I.C. همچنان می‌تواند برد را افزایش دهد.", "Once: {p0}": "یک‌بار: {p0}", "One picked faction per player, and one fixed pot of": "یک جناح انتخاب‌شده برای هر بازیکن و یک بودجهٔ ثابتِ", @@ -1418,8 +1414,6 @@ "Pays": "می‌پردازد", "Pays (VP)": "پرداخت (امتیاز)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "هزینهٔ زمین‌سان‌سازی هر سیاره از صفحهٔ زمین‌سان‌سازی ناوگان گمشده می‌آید؛ ۷ نمونه‌رنگِ", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "هزینهٔ زمین‌سان‌سازی هر سیاره از صفحهٔ زمین‌سان‌سازی ناوگان گمشده می‌آید؛ ۷ نمونه‌رنگ پایین (همچنین بالای سمت راست نقشه) که هزینهٔ گام روی هرکدام نوشته شده است.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "هزینهٔ زمین‌سان‌سازی هر سیاره از صفحهٔ زمین‌سان‌سازی ناوگان گمشده می‌آید؛ ۷ نمونه‌رنگ پایین (همچنین بالای سمت راست نقشه) با هزینهٔ گام. رنگ زادگاه حریفان همیشه ۳ هزینه دارد؛ باقیِ سه رنگِ هزینهٔ ۳ از اینجا تکمیل می‌شود:", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "هزینهٔ زمین‌سان‌سازی هر سیاره از صفحهٔ زمین‌سان‌سازی ناوگان گمشده می‌آید؛ ۷ نمونه‌رنگ پایین (همچنین بالای سمت راست نقشه) با هزینهٔ گام. رنگ زادگاه حریفان همیشه ۳ هزینه دارد؛ باقیِ سه رنگِ هزینهٔ ۳ از چپ به راست ردیف تکمیل می‌شود. تا انتخاب همهٔ جناح‌ها این وضعیت موقت است.", "Permissive Replay": "بازپخش آسان‌گیر", "Phase 1 candidate-expansion component does not exist in Phase 0": "Phase 1 candidate-expansion component does not exist in Phase 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "بازیکن {p0} قبلاً پیشنهادهایش را ثبت کرده", "Player {p0} has already submitted their bids (or is not in this auction)": "بازیکن {p0} قبلاً پیشنهادهایش را ثبت کرده (یا در این مزایده نیست)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "پیشنهادهای بازیکن {p0} تقسیم مجازِ {p1} نیستند: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "بازیکنان در یک مرحله انتخاب و پیشنهاد می‌کنند. در نوبت خود جناح تازه‌ای رایگان معرفی کنید یا پیشنهاد بدهید", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "بازیکنان در یک مرحله انتخاب و پیشنهاد می‌کنند. در نوبت خود جناح تازه‌ای رایگان معرفی کنید یا برای جناح بازیکن دیگر امتیاز بیشتری پیشنهاد دهید. بازیکنی که جناحش گرفته شود نفر بعدیِ نیازمند", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "بازیکنان در یک مرحله انتخاب و پیشنهاد می‌کنند. در نوبت خود جناح تازه‌ای رایگان معرفی کنید یا برای جناح بازیکن دیگر امتیاز بیشتری پیشنهاد دهید. بازیکنی که جناحش گرفته شود نفر بعدیِ نیازمند جناح است؛ وقتی همه جناح داشته باشند مزایده تمام می‌شود.", "Playing - Round": "در حال بازی ـ دور", "Playing - Round {p0}": "در حال بازی ـ دور {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "امتیاز پیشنهادِ باقی‌مانده برای خرج‌کردن", "bid {p0} {p1}vp": "bid {p0} {p1}vp", "bidding": "پیشنهاد دادن", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "پیشنهاد امتیاز برای گرفتن جناح انتخاب‌شدهٔ دیگر. بازیکنی که جناحش گرفته شود نفر بعدی است که", "bids": "پیشنهادها", "bids in": "پیشنهادها ثبت شده", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "الگوی گسترش معدن", "mines-{p0}-of-{p1}": "mines-{p0}-of-{p1}", "more": "بیشتر", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "امتیاز بیشتر برای جناح بازیکن دیگر. بازیکنی که جناحش گرفته شود نفر بعدیِ نیازمند", "more than your": "بیشتر از", "mousedown": "mousedown", "move": "حرکت", diff --git a/viewer/src/localization/fr.json b/viewer/src/localization/fr.json index b989dc27..77e9b503 100644 --- a/viewer/src/localization/fr.json +++ b/viewer/src/localization/fr.json @@ -819,7 +819,6 @@ "EXPORT": "EXPORTER", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Vous devez disposer des ressources nécessaires à chaque coup. Les revenus et conversions actualisent les choix disponibles.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Chaque joueur choisit d'abord une faction dans l'ordre du tour. Une fois toutes les factions choisies, les joueurs jouent à tour de rôle", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Chaque joueur choisit d'abord une faction dans l'ordre du tour. Une fois toutes les factions choisies, les joueurs enchérissent à tour de rôle des points de victoire pour prendre une faction choisie différente. Un joueur surenchéri devient le joueur suivant qui", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Chacun choisit d’abord une faction dans l’ordre du tour. Les joueurs enchérissent ensuite en PV pour prendre une autre faction choisie. Un joueur délogé devient le prochain à choisir une faction. Les enchères continuent jusqu’à ce que chacun en détienne une.", "Each tab is an alternative plan:": "Chaque onglet est un plan alternatif :", "Each terraforming step costs you": "Chaque étape de terraformation vous coûte", @@ -1332,11 +1331,8 @@ "Once:": "Une fois :", "Once: free mine with up to 2 free terraforming steps": "Une fois : mine gratuite avec jusqu'à 2 étapes de terraformation gratuites", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Une fois : recevez 1 tuile Technologie au choix (mêmes règles que Améliorer les structures existantes).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Une fois : recevez une action Construire une mine à portée illimitée sans payer le coût de construction ; le minerai paie toujours pour", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Une seule fois : construisez une mine à portée illimitée sans payer son coût de construction. La terraformation reste payante en minerai, et coloniser Gaia nécessite toujours des C.I.Q.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Une fois : recevez une action Construire une mine avec jusqu'à 2 étapes de terraformation gratuites et sans payer le coût de", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Une seule fois : construisez une mine sans payer son coût, avec jusqu’à 2 étapes de terraformation gratuites. Vous pouvez payer une troisième étape en minerai et augmenter la portée avec des C.I.Q.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Une fois : recevez une action Construire une mine avec jusqu'à 3 étapes de terraformation gratuites sans payer le coût de construction ;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Une seule fois : construisez une mine sans payer son coût, avec jusqu’à 3 étapes de terraformation gratuites. Des C.I.Q. peuvent augmenter votre portée.", "Once: {p0}": "Une fois : {p0}", "One picked faction per player, and one fixed pot of": "Une faction choisie par joueur, et une cagnotte fixe de", @@ -1418,8 +1414,6 @@ "Pays": "Paie", "Pays (VP)": "Paie (PV)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Les coûts de terraformation par planète proviennent du plateau de terraformation de la Flotte perdue - les 7 couleurs", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Les coûts de terraformation par planète proviennent du plateau de terraformation de la Flotte perdue - les 7 pastilles de couleur ci-dessous (également affichées en haut à droite de la carte), chacune marquée de son coût d'étape.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Les coûts de terraformation par planète proviennent du plateau de terraformation de la Flotte perdue - les 7 pastilles de couleur ci-dessous (également affichées en haut à droite de la carte), chacune marquée de son coût d'étape. Les couleurs d'origine des adversaires coûtent toujours 3 ; le reste des trois couleurs à coût 3 se remplit depuis le", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Les sept couleurs indiquent le nombre d’étapes de terraformation demandé par le plateau Lost Fleet ; elles figurent aussi en haut à droite de la carte. Les couleurs d’origine adverses coûtent toujours 3 étapes. Complétez les trois couleurs de coût 3 dans l’ordre de la rangée, de gauche à droite. Ce calcul reste provisoire jusqu’au choix de toutes les factions.", "Permissive Replay": "Relecture permissive", "Phase 1 candidate-expansion component does not exist in Phase 0": "Le composant d'expansion candidat de la phase 1 n'existe pas en phase 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Le joueur {p0} a déjà soumis ses enchères", "Player {p0} has already submitted their bids (or is not in this auction)": "Le joueur {p0} a déjà soumis ses enchères (ou ne participe pas à cette vente aux enchères)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Les enchères du joueur {p0} ne sont pas une répartition légale de {p1} : {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Les joueurs choisissent et enchérissent dans la même phase. À votre tour, soit introduisez une nouvelle faction sans coût, soit enchérissez", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Les joueurs choisissent et enchérissent dans la même phase. À votre tour, soit introduisez une nouvelle faction sans coût, soit enchérissez plus de points de victoire pour une faction qu'un autre joueur détient. Un joueur surenchéri devient le prochain joueur qui a besoin d'une", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Le choix des factions et les enchères ont lieu ensemble. À votre tour, prenez gratuitement une faction non choisie ou surenchérissez en PV pour prendre celle d’un autre joueur. Le joueur délogé devient le prochain à choisir. L’enchère se termine quand chacun détient une faction.", "Playing - Round": "En cours — manche", "Playing - Round {p0}": "En cours — manche {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "points d'enchère restants à dépenser", "bid {p0} {p1}vp": "enchère {p0} {p1}pv", "bidding": "enchérit", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "enchérir des points de victoire pour prendre une faction choisie différente. Un joueur surenchéri devient le joueur suivant qui", "bids": "enchères", "bids in": "enchères dans", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "archétype de dispersion de mines", "mines-{p0}-of-{p1}": "mines-{p0}-sur-{p1}", "more": "plus", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "plus de points de victoire pour un autre joueur. Un joueur surenchéri devient le joueur suivant qui a besoin d'un", "more than your": "plus que ton", "mousedown": "clic souris", "move": "coup", diff --git a/viewer/src/localization/hi.json b/viewer/src/localization/hi.json index ac4e08e9..6563dbd0 100644 --- a/viewer/src/localization/hi.json +++ b/viewer/src/localization/hi.json @@ -819,7 +819,6 @@ "EXPORT": "निर्यात करें", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "प्रत्येक चाल आपके गुट बोर्ड पर दिखाए गए संसाधनों से वहनीय होनी चाहिए। आय और रूपांतरण उपलब्ध विकल्पों को अपडेट करते हैं।", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "प्रत्येक खिलाड़ी पहले बारी क्रम में एक गुट चुनता है। एक बार हर गुट चुने जाने के बाद, खिलाड़ी बारी-बारी से", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "प्रत्येक खिलाड़ी पहले बारी क्रम में एक गुट चुनता है। एक बार हर गुट चुने जाने के बाद, खिलाड़ी बारी-बारी से एक अलग चुने हुए गुट को लेने के लिए विजय अंकों की बोली लगाते हैं। आउटबिड खिलाड़ी अगला खिलाड़ी बन जाता है जिसे", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "प्रत्येक खिलाड़ी पहले बारी क्रम में एक गुट चुनता है। एक बार हर गुट चुने जाने के बाद, खिलाड़ी बारी-बारी से एक अलग चुने हुए गुट को लेने के लिए विजय अंकों की बोली लगाते हैं। आउटबिड खिलाड़ी अगला खिलाड़ी बन जाता है जिसे गुट चाहिए, और बोली तब तक जारी रहती है जब तक हर किसी के पास एक न हो।", "Each tab is an alternative plan:": "प्रत्येक टैब एक वैकल्पिक योजना है:", "Each terraforming step costs you": "प्रत्येक टेराफॉर्मिंग चरण की लागत", @@ -1332,11 +1331,8 @@ "Once:": "एक बार:", "Once: free mine with up to 2 free terraforming steps": "एक बार: 2 निःशुल्क भू-रूपांतरण चरणों के साथ निःशुल्क खदान", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "एक बार: अपनी पसंद की 1 तकनीक टाइल प्राप्त करें (मौजूदा संरचनाओं के उन्नयन के समान नियम)।", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "एक बार: निर्माण लागत चुकाए बिना असीमित सीमा की खदान बनाएँ क्रिया प्राप्त करें; अयस्क फिर भी भुगतान करता है", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "एक बार: निर्माण लागत चुकाए बिना असीमित सीमा की खदान बनाएँ क्रिया प्राप्त करें; अयस्क फिर भी टेराफॉर्मिंग के लिए भुगतान करता है, गैया ग्रहों के लिए Q.I.C. फिर भी आवश्यक है।", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "एक बार: 2 निःशुल्क भू-रूपांतरण चरणों के साथ और बिना लागत चुकाए एक खदान बनाएँ क्रिया प्राप्त करें", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "एक बार: 2 निःशुल्क भू-रूपांतरण चरणों के साथ और उस खदान की लागत चुकाए बिना एक खदान बनाएँ क्रिया प्राप्त करें। तीसरे भू-रूपांतरण चरण के लिए अतिरिक्त अयस्क और सीमा बढ़ाने के लिए Q.I.C. खर्च कर सकते हैं।", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "एक बार: निर्माण लागत चुकाए बिना 3 मुफ्त टेराफॉर्मिंग चरणों तक की खदान बनाएँ क्रिया प्राप्त करें;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "एक बार: निर्माण लागत चुकाए बिना 3 मुफ्त टेराफॉर्मिंग चरणों तक की खदान बनाएँ क्रिया प्राप्त करें; Q.I.C. फिर भी सीमा बढ़ा सकते हैं।", "Once: {p0}": "एक बार: {p0}", "One picked faction per player, and one fixed pot of": "प्रति खिलाड़ी एक चुना हुआ गुट, और एक निश्चित पॉट", @@ -1418,8 +1414,6 @@ "Pays": "भुगतान करता है", "Pays (VP)": "भुगतान करता है (VP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "प्रति-ग्रह भू-रूपांतरण लागत लॉस्ट फ्लीट भू-रूपांतरण बोर्ड से आती है - 7 रंग", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "प्रति-ग्रह भू-रूपांतरण लागत लॉस्ट फ्लीट भू-रूपांतरण बोर्ड से आती है - नीचे दिए गए 7 रंग स्वैच (मानचित्र के ऊपरी-दाएँ भी दिखाए गए हैं), प्रत्येक पर उसकी चरण लागत अंकित है।", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "प्रति-ग्रह टेराफ़ॉर्मिंग लागतें लॉस्ट फ्लीट टेराफ़ॉर्मिंग बोर्ड से आती हैं - नीचे 7 रंग स्वैच (मानचित्र के ऊपर-दाएँ भी दिखाए गए), हर एक पर उसकी चरण लागत अंकित है। विरोधियों के घरेलू रंगों की कीमत हमेशा 3 होती है; बाकी तीन लागत-3 रंग भरते हैं", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "प्रति-ग्रह टेराफ़ॉर्मिंग लागतें लॉस्ट फ्लीट टेराफ़ॉर्मिंग बोर्ड से आती हैं - नीचे 7 रंग स्वैच (मानचित्र के ऊपर-दाएँ भी दिखाए गए), हर एक पर उसकी चरण लागत अंकित है। विरोधियों के घरेलू रंगों की कीमत हमेशा 3 होती है; बाकी तीन लागत-3 रंग पंक्ति से बाएँ-से-दाएँ भरते हैं। यह तब तक अस्थायी है जब तक हर गुट चुना नहीं जाता।", "Permissive Replay": "अनुमतिपूर्ण रीप्ले", "Phase 1 candidate-expansion component does not exist in Phase 0": "चरण 1 उम्मीदवार-विस्तार घटक चरण 0 में मौजूद नहीं है", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "खिलाड़ी {p0} पहले ही अपनी बोलियाँ जमा कर चुका है", "Player {p0} has already submitted their bids (or is not in this auction)": "खिलाड़ी {p0} पहले ही अपनी बोलियाँ जमा कर चुका है (या इस नीलामी में नहीं है)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "खिलाड़ी {p0} की बोलियाँ {p1} का वैध विभाजन नहीं हैं: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "खिलाड़ी एक ही चरण में चुनते और बोली लगाते हैं। अपनी बारी पर, या तो बिना किसी लागत के नया गुट पेश करें या बोली लगाएं", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "खिलाड़ी एक ही चरण में चुनते और बोली लगाते हैं। अपनी बारी पर, या तो बिना किसी लागत के नया गुट पेश करें या किसी अन्य खिलाड़ी के पास मौजूद गुट के लिए अधिक विजय अंकों की बोली लगाएं। आउटबिड खिलाड़ी अगला खिलाड़ी बन जाता है जिसे एक चाहिए", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "खिलाड़ी एक ही चरण में चुनते और बोली लगाते हैं। अपनी बारी पर, या तो बिना किसी लागत के नया गुट पेश करें या किसी अन्य खिलाड़ी के पास मौजूद गुट के लिए अधिक विजय अंकों की बोली लगाएं। आउटबिड खिलाड़ी अगला खिलाड़ी बन जाता है जिसे गुट चाहिए, और नीलामी तब समाप्त होती है जब सभी के पास एक हो।", "Playing - Round": "खेल - राउंड", "Playing - Round {p0}": "खेल - राउंड {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "खर्च करने के लिए शेष बोली अंक", "bid {p0} {p1}vp": "बोली {p0} {p1}vp", "bidding": "बोली लगाना", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "एक अलग चुनी गई टुकड़ी लेने के लिए विजय अंकों की बोली। एक आउटबिड खिलाड़ी अगला खिलाड़ी बन जाता है जो", "bids": "बोलियाँ", "bids in": "में बोलियाँ", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "खदान-प्रसार आदिरूप", "mines-{p0}-of-{p1}": "खदानें-{p0}-में-से-{p1}", "more": "अधिक", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "अतिरिक्त विजय अंक देकर दूसरे खिलाड़ी के पास मौजूद गुट ले सकते हैं। जिसकी बोली पार हो जाए, उसे फिर चुनना होगा एक", "more than your": "तुम्हारे से अधिक", "mousedown": "माउसडाउन", "move": "चाल", diff --git a/viewer/src/localization/index.d.ts b/viewer/src/localization/index.d.ts index ab851eeb..d83310ae 100644 --- a/viewer/src/localization/index.d.ts +++ b/viewer/src/localization/index.d.ts @@ -2,7 +2,8 @@ import type { TutorialMount } from "@boardgamers/protocol/tutorial"; export interface Localization { readonly locale: string; translate(text: string): string; - setLocale(locale: unknown): void; + readonly ready: Promise; + setLocale(locale: unknown): Promise; setState(state: unknown): void; setNames(names: unknown[]): void; refresh(): void; @@ -14,3 +15,5 @@ export function resolveLocale(value: unknown): string; export function translateText(text: string, locale?: string): string; export function mountLocalization(target: Element, locale?: unknown): Localization; export function localizeTutorial(mount: TutorialMount): TutorialMount; + +export function loadLocale(locale: unknown): Promise; diff --git a/viewer/src/localization/index.js b/viewer/src/localization/index.js index 436edc21..3275ae57 100644 --- a/viewer/src/localization/index.js +++ b/viewer/src/localization/index.js @@ -1,41 +1,48 @@ -import catalog8 from "./da.json"; -import catalog1 from "./de.json"; -import catalog5 from "./el.json"; -import catalog0 from "./en.json"; -import catalogFa from "./fa.json"; -import catalog2 from "./fr.json"; -import catalog6 from "./hi.json"; -import catalog13 from "./it.json"; -import catalog10 from "./ko.json"; -import catalog14 from "./nl.json"; -import catalog3 from "./pl.json"; -import catalog9 from "./pt-BR.json"; -import catalog4 from "./ro.json"; import "./rtl.css"; -import catalog7 from "./ru.json"; -import { createTranslator, mountLocalization as mount } from "./runtime.js"; -import catalog12 from "./vi.json"; -import catalog11 from "./zh-TW.json"; +import { createTranslator, mountLocalization as mount, resolveLocale } from "./runtime.js"; export { languages, resolveLocale } from "./runtime.js"; -export const catalogs = { - en: catalog0, - de: catalog1, - fr: catalog2, - pl: catalog3, - ro: catalog4, - el: catalog5, - hi: catalog6, - ru: catalog7, - da: catalog8, - "pt-BR": catalog9, - ko: catalog10, - "zh-TW": catalog11, - vi: catalog12, - it: catalog13, - nl: catalog14, - fa: catalogFa, -}; + +const catalogUrls = import.meta.glob(["./*.json", "!./en.json"], { + eager: true, + query: "?url&no-inline", + import: "default", +}); +async function fetchCatalog(locale) { + const controller = new AbortController(); + const timeout = setTimeout(() => controller.abort(), 20000); + try { + const response = await fetch(catalogUrls[`./${locale}.json`], { signal: controller.signal }); + if (!response.ok) { + throw new Error(`Language ${locale}: HTTP ${response.status}`); + } + return { default: await response.json() }; + } finally { + clearTimeout(timeout); + } +} +export const catalogs = { en: {} }; +const pending = new Map(); const translators = new Map(); +export function loadLocale(value) { + const locale = resolveLocale(value); + if (catalogs[locale]) return Promise.resolve(locale); + if (!pending.has(locale)) { + pending.set( + locale, + fetchCatalog(locale) + .then((module) => { + catalogs[locale] = module.default; + translators.delete(locale); + return locale; + }) + .catch((error) => { + pending.delete(locale); + throw error; + }) + ); + } + return pending.get(locale); +} export function translateText(text, locale = "en") { if (!translators.has(locale)) { translators.set(locale, createTranslator(catalogs, locale)); @@ -43,12 +50,46 @@ export function translateText(text, locale = "en") { return translators.get(locale).translate(text); } export function mountLocalization(target, locale) { - return mount(target, catalogs, locale ?? target.ownerDocument.documentElement.lang ?? "en"); + const localization = mount(target, catalogs, "en"); + let revision = 0; + let ready = Promise.resolve(true); + function setLocale(value) { + const attempt = ++revision; + ready = loadLocale(value) + .then((loaded) => { + if (attempt !== revision) return false; + localization.setLocale(loaded); + return true; + }) + .catch((error) => { + console.warn("Could not load game language", error); + if (attempt !== revision) return false; + localization.setLocale("en"); + return true; + }); + return ready; + } + setLocale(locale ?? target.ownerDocument.documentElement.lang ?? "en"); + return { + ...localization, + setLocale, + get locale() { + return localization.locale; + }, + get ready() { + return ready; + }, + destroy() { + revision++; + localization.destroy(); + }, + }; } export function localizeTutorial(mountTutorial) { return async (target, options) => { const localization = mountLocalization(target, options.locale); try { + await localization.ready; const dispose = await mountTutorial(target, options); localization.refresh(); return () => { diff --git a/viewer/src/localization/it.json b/viewer/src/localization/it.json index 9513b08e..3a34cddf 100644 --- a/viewer/src/localization/it.json +++ b/viewer/src/localization/it.json @@ -819,7 +819,6 @@ "EXPORT": "ESPORTA", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Ogni mossa deve essere sostenibile con le risorse mostrate sulla tua plancia fazione. Reddito e conversioni aggiornano le scelte disponibili.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Ogni giocatore sceglie prima una fazione in ordine di turno. Una volta scelte tutte le fazioni, i giocatori procedono a turno", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Ogni giocatore sceglie prima una fazione in ordine di turno. Una volta scelte tutte le fazioni, i giocatori procedono a turno offrendo Punti Vittoria per prendere una fazione diversa già scelta. Un giocatore superato diventa il giocatore successivo che", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Ogni giocatore sceglie prima una fazione in ordine di turno. Una volta scelte tutte le fazioni, i giocatori procedono a turno offrendo Punti Vittoria per prendere una fazione diversa già scelta. Un giocatore superato diventa il giocatore successivo che ha bisogno di una fazione, e le offerte continuano finché ognuno ne possiede una.", "Each tab is an alternative plan:": "Ogni scheda è un piano alternativo:", "Each terraforming step costs you": "Ogni passo di terraformazione ti costa", @@ -1332,11 +1331,8 @@ "Once:": "Una volta:", "Once: free mine with up to 2 free terraforming steps": "Una volta: miniera gratuita con fino a 2 passi di terraformazione gratuiti", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Una volta: ricevi 1 tessera tecnologia a scelta (stesse regole di Potenzia Strutture Esistenti).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Una volta: ricevi un'azione Costruisci una Miniera di raggio illimitato senza pagare il costo di costruzione; il minerale paga comunque per", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Una volta: ricevi un'azione Costruisci una Miniera di raggio illimitato senza pagare il costo di costruzione; il minerale paga comunque per la terraformazione, i Q.I.C. sono ancora richiesti per i pianeti Gaia.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Una volta: ricevi un'azione Costruisci una Miniera con fino a 2 passi di terraformazione gratuiti e senza pagare il costo per", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Una volta: ricevi un'azione Costruisci una Miniera con fino a 2 passi di terraformazione gratuiti e senza pagare il costo per quella miniera. Puoi spendere minerale aggiuntivo per un 3° passo di terraformazione, e Q.I.C. per aumentare il raggio.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Una volta: ricevi un'azione Costruisci una Miniera con fino a 3 passi di terraformazione gratuiti senza pagare il costo di costruzione;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Una volta: ricevi un'azione Costruisci una Miniera con fino a 3 passi di terraformazione gratuiti senza pagare il costo di costruzione; i Q.I.C. possono comunque aumentare il raggio.", "Once: {p0}": "Una volta: {p0}", "One picked faction per player, and one fixed pot of": "Una fazione scelta per giocatore, e un piatto fisso di", @@ -1418,8 +1414,6 @@ "Pays": "Paga", "Pays (VP)": "Paga (PV)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "I costi di terraformazione per pianeta provengono dalla plancia Terraformazione della Flotta Perduta - i 7 colori", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "I costi di terraformazione per pianeta provengono dalla plancia Terraformazione della Flotta Perduta - i 7 campioni di colore qui sotto (mostrati anche in alto a destra della mappa), ciascuno con il suo costo in passi.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "I costi di terraformazione per pianeta provengono dalla plancia Terraformazione della Flotta Perduta - i 7 campioni di colore qui sotto (mostrati anche in alto a destra della mappa), ciascuno con il suo costo in passi. I colori di origine degli avversari costano sempre 3; il resto dei tre colori a costo 3 si riempie dalla", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "I costi di terraformazione per pianeta provengono dalla plancia Terraformazione della Flotta Perduta - i 7 campioni di colore qui sotto (mostrati anche in alto a destra della mappa), ciascuno con il suo costo in passi. I colori di origine degli avversari costano sempre 3; il resto dei tre colori a costo 3 si riempie dalla riga da sinistra a destra. Questo è provvisorio finché ogni fazione non è scelta.", "Permissive Replay": "Replay permissivo", "Phase 1 candidate-expansion component does not exist in Phase 0": "Il componente di espansione candidato della Fase 1 non esiste nella Fase 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Il giocatore {p0} ha già inviato le sue offerte", "Player {p0} has already submitted their bids (or is not in this auction)": "Il giocatore {p0} ha già inviato le sue offerte (o non partecipa a quest'asta)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Le offerte del giocatore {p0} non sono una divisione legale di {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "I giocatori scelgono e fanno offerte nella stessa fase. Al tuo turno, introduci una nuova fazione senza costo oppure fai un'offerta", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "I giocatori scelgono e fanno offerte nella stessa fase. Al tuo turno, introduci una nuova fazione senza costo oppure offri più Punti Vittoria per una fazione posseduta da un altro giocatore. Un giocatore superato diventa il prossimo giocatore che ha bisogno di una", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "I giocatori scelgono e fanno offerte nella stessa fase. Al tuo turno, introduci una nuova fazione senza costo oppure offri più Punti Vittoria per una fazione posseduta da un altro giocatore. Un giocatore superato diventa il prossimo giocatore che ha bisogno di una fazione, e l'asta termina quando tutti ne possiedono una.", "Playing - Round": "In gioco - Round", "Playing - Round {p0}": "In gioco - Round {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "punti rimasti da spendere", "bid {p0} {p1}vp": "offri {p0} {p1}pv", "bidding": "offerte", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "offrire Punti Vittoria per prendere una fazione scelta diversa. Un giocatore superato diventa il prossimo giocatore che", "bids": "offre", "bids in": "offre in", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "archetipo diffusione-miniere", "mines-{p0}-of-{p1}": "miniere-{p0}-di-{p1}", "more": "altro", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Punti Vittoria in più per una fazione detenuta da un altro giocatore. Il giocatore superato deve poi scegliere una", "more than your": "più del tuo", "mousedown": "pressione del mouse", "move": "muovi", diff --git a/viewer/src/localization/ko.json b/viewer/src/localization/ko.json index a13aa9b5..c8af4332 100644 --- a/viewer/src/localization/ko.json +++ b/viewer/src/localization/ko.json @@ -819,7 +819,6 @@ "EXPORT": "내보내기", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "각 행동은 진영 보드에 표시된 자원으로 감당할 수 있어야 합니다. 수입과 변환은 사용 가능한 선택지를 갱신합니다.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "각 플레이어는 먼저 턴 순서대로 진영을 선택합니다. 모든 진영이 선택되면 플레이어들은 차례로", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "각 플레이어는 먼저 턴 순서대로 진영을 선택합니다. 모든 진영이 선택되면 플레이어들은 차례로 승점을 입찰하여 선택된 다른 진영을 가져갑니다. 입찰에서 밀린 플레이어는 다음 플레이어가 되어", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "각 플레이어는 먼저 턴 순서대로 진영을 선택합니다. 모든 진영이 선택되면 플레이어들은 차례로 승점을 입찰하여 선택된 다른 진영을 가져갑니다. 입찰에서 밀린 플레이어는 진영이 필요한 다음 플레이어가 되고, 모든 사람이 하나씩 가질 때까지 입찰이 계속됩니다.", "Each tab is an alternative plan:": "각 탭은 대안 계획입니다:", "Each terraforming step costs you": "각 테라포밍 단계 비용은", @@ -1332,11 +1331,8 @@ "Once:": "한 번:", "Once: free mine with up to 2 free terraforming steps": "한 번: 최대 2단계 무료 테라포밍이 포함된 무료 광산", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "한 번: 원하는 기술 타일 1개 획득 (기존 구조물 업그레이드와 동일한 규칙).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "한 번: 건설 비용을 지불하지 않고 무제한 사거리의 광산 건설 행동 획득; 광석은 여전히", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "한 번: 건설 비용을 지불하지 않고 무제한 사거리의 광산 건설 행동 획득; 광석은 여전히 테라포밍 비용을 지불하고, 가이아 행성에는 Q.I.C.가 여전히 필요합니다.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "한 번: 최대 2단계 무료 테라포밍이 포함되고 비용을 지불하지 않는 광산 건설 행동 획득:", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "한 번: 최대 2단계 무료 테라포밍이 포함되고 그 광산 비용을 지불하지 않는 광산 건설 행동 획득. 3번째 테라포밍 단계를 위해 추가 광석을 사용할 수 있고, 사거리 증가를 위해 Q.I.C.를 사용할 수 있습니다.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "한 번: 건설 비용을 지불하지 않고 최대 3단계 무료 테라포밍이 포함된 광산 건설 행동 획득;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "한 번: 건설 비용을 지불하지 않고 최대 3단계 무료 테라포밍이 포함된 광산 건설 행동 획득; Q.I.C.로 사거리를 늘릴 수 있습니다.", "Once: {p0}": "한 번: {p0}", "One picked faction per player, and one fixed pot of": "플레이어당 하나씩 선택한 진영과 고정된 공동 자금", @@ -1418,8 +1414,6 @@ "Pays": "지불", "Pays (VP)": "지불 (VP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "행성별 테라포밍 비용은 Lost Fleet Terraforming 보드에서 가져옵니다 - 아래 7가지 색상", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "행성별 테라포밍 비용은 Lost Fleet Terraforming 보드에서 가져옵니다 - 아래 7가지 색상 견본(지도 오른쪽 상단에도 표시)에서 각각 단계 비용이 표시됩니다.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "행성별 테라포밍 비용은 Lost Fleet Terraforming 보드에서 가져옵니다 - 아래 7가지 색상 견본(지도 오른쪽 상단에도 표시)에서 각각 단계 비용이 표시됩니다. 상대의 홈 색상은 항상 3이 듭니다. 나머지 세 가지 비용-3 색상은", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "행성별 테라포밍 비용은 Lost Fleet Terraforming 보드에서 가져옵니다 - 아래 7가지 색상 견본(지도 오른쪽 상단에도 표시)에서 각각 단계 비용이 표시됩니다. 상대의 홈 색상은 항상 3이 듭니다. 나머지 세 가지 비용-3 색상은 왼쪽에서 오른쪽으로 채워집니다. 모든 진영이 선택될 때까지 잠정적입니다.", "Permissive Replay": "자유로운 다시보기", "Phase 1 candidate-expansion component does not exist in Phase 0": "1단계 후보 확장 구성요소가 0단계에 존재하지 않습니다", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "플레이어 {p0}이(가) 이미 입찰을 제출했습니다", "Player {p0} has already submitted their bids (or is not in this auction)": "플레이어 {p0}이(가) 이미 입찰을 제출했습니다 (또는 이 경매에 참여하지 않음)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "플레이어 {p0}의 입찰이 {p1}의 합법적 분할이 아닙니다: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "플레이어는 같은 단계에서 선택하고 입찰합니다. 당신의 턴에 비용 없이 새 진영을 소개하거나 입찰하세요", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "플레이어는 같은 단계에서 선택하고 입찰합니다. 당신의 턴에 비용 없이 새 진영을 소개하거나 다른 플레이어가 보유한 진영에 더 많은 승점을 입찰하세요. 입찰에서 밀린 플레이어는 진영이 필요한 다음 플레이어가 됩니다,", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "플레이어는 같은 단계에서 선택하고 입찰합니다. 당신의 턴에 비용 없이 새 진영을 소개하거나 다른 플레이어가 보유한 진영에 더 많은 승점을 입찰하세요. 입찰에서 밀린 플레이어는 진영이 필요한 다음 플레이어가 되고, 모두가 하나씩 보유하면 경매가 끝납니다.", "Playing - Round": "플레이 중 - 라운드", "Playing - Round {p0}": "플레이 중 - 라운드 {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "사용할 입찰 점수 남음", "bid {p0} {p1}vp": "입찰 {p0} {p1}vp", "bidding": "입찰 중", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "다른 선택된 종족을 가져가기 위해 승점을 입찰합니다. 입찰에서 밀린 플레이어가 다음 플레이어가 됩니다", "bids": "입찰합니다", "bids in": "입찰", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "광산-분산 원형", "mines-{p0}-of-{p1}": "광산-{p0}-의-{p1}", "more": "더 보기", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "승점을 더 내면 다른 플레이어가 보유한 진영을 가져올 수 있습니다. 밀려난 플레이어는 다음으로 진영을 선택해야 합니다:", "more than your": "당신의 것보다 많음", "mousedown": "mousedown", "move": "행동", diff --git a/viewer/src/localization/nl.json b/viewer/src/localization/nl.json index ba0e9d2b..60905f02 100644 --- a/viewer/src/localization/nl.json +++ b/viewer/src/localization/nl.json @@ -819,7 +819,6 @@ "EXPORT": "EXPORTEREN", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Elke zet moet betaalbaar zijn met de grondstoffen op je factiebord. Inkomen en conversies werken de beschikbare keuzes bij.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Elke speler kiest eerst een factie in beurtvolgorde. Zodra elke factie is gekozen, nemen spelers om beurten", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Elke speler kiest eerst een factie in beurtvolgorde. Zodra elke factie is gekozen, bieden spelers om beurten overwinningspunten om een andere gekozen factie te nemen. Een overboden speler wordt de volgende speler die", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Elke speler kiest eerst een factie in beurtvolgorde. Zodra elke factie is gekozen, bieden spelers om beurten overwinningspunten om een andere gekozen factie te nemen. Een overboden speler wordt de volgende speler die een factie nodig heeft, en het bieden gaat door totdat iedereen er één heeft.", "Each tab is an alternative plan:": "Elk tabblad is een alternatief plan:", "Each terraforming step costs you": "Elke terraformingstap kost je", @@ -1332,11 +1331,8 @@ "Once:": "Eenmalig:", "Once: free mine with up to 2 free terraforming steps": "Eenmalig: gratis mijn met maximaal 2 gratis terraformingstappen", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Eenmalig: ontvang 1 Tech-tegel naar keuze (zelfde regels als Bestaande Structuren Upgraden).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Eén keer: ontvang een Bouw een mijn-actie met onbeperkt bereik zonder de bouwkosten te betalen; erts betaalt nog steeds voor", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Eén keer: ontvang een Bouw een mijn-actie met onbeperkt bereik zonder de bouwkosten te betalen; erts betaalt nog steeds voor terraformen, Q.I.C. blijft vereist voor Gaia-planeten.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Eenmalig: ontvang een Bouw een Mijn-actie met maximaal 2 gratis terraformingstappen en zonder de kosten te betalen voor", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Eenmalig: ontvang een Bouw een Mijn-actie met maximaal 2 gratis terraformingstappen en zonder de kosten voor die mijn te betalen. Je mag extra erts uitgeven voor een 3e terraformingstap, en Q.I.C.'s om het bereik te vergroten.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Eén keer: ontvang een Bouw een mijn-actie met maximaal 3 gratis terraformstappen zonder de bouwkosten te betalen;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Eén keer: ontvang een Bouw een mijn-actie met maximaal 3 gratis terraformstappen zonder de bouwkosten te betalen; Q.I.C.'s mogen nog steeds het bereik vergroten.", "Once: {p0}": "Eenmalig: {p0}", "One picked faction per player, and one fixed pot of": "Eén gekozen factie per speler, en één vaste pot van", @@ -1418,8 +1414,6 @@ "Pays": "Betaalt", "Pays (VP)": "Betaalt (VP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Per-planeet terraformingkosten komen van het Lost Fleet Terraforming-bord - de 7 kleur", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "De terraformingkosten per planeet komen van het Lost Fleet Terraforming-bord - de 7 kleurvlakken hieronder (ook rechtsboven op de kaart), elk met zijn stapkosten.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Terraformkosten per planeet komen van het Lost Fleet-terraformbord - de 7 kleurstalen hieronder (ook rechtsboven op de kaart getoond), elk gemarkeerd met zijn stapkosten. Thuiskleuren van tegenstanders kosten altijd 3; de rest van de drie kosten-3-kleuren vult zich vanaf de", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Terraformkosten per planeet komen van het Lost Fleet-terraformbord - de 7 kleurstalen hieronder (ook rechtsboven op de kaart getoond), elk gemarkeerd met zijn stapkosten. Thuiskleuren van tegenstanders kosten altijd 3; de rest van de drie kosten-3-kleuren vult zich vanaf de rij van links naar rechts. Dit is voorlopig totdat elke factie is gekozen.", "Permissive Replay": "Permissive Replay", "Phase 1 candidate-expansion component does not exist in Phase 0": "Fase 1 kandidaat-expansiecomponent bestaat niet in Fase 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Speler {p0} heeft zijn biedingen al ingediend", "Player {p0} has already submitted their bids (or is not in this auction)": "Speler {p0} heeft zijn biedingen al ingediend (of zit niet in deze veiling)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "De biedingen van speler {p0} zijn geen geldige verdeling van {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Spelers kiezen en bieden in dezelfde fase. In jouw beurt introduceer je ofwel een nieuwe factie zonder kosten, of je biedt", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Spelers kiezen en bieden in dezelfde fase. In jouw beurt introduceer je ofwel een nieuwe factie zonder kosten, of bied je meer overwinningspunten voor een factie die een andere speler vasthoudt. Een overboden speler wordt de volgende speler die een", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Spelers kiezen en bieden in dezelfde fase. In jouw beurt introduceer je ofwel een nieuwe factie zonder kosten, of bied je meer overwinningspunten voor een factie die een andere speler vasthoudt. Een overboden speler wordt de volgende speler die een factie nodig heeft, en de veiling eindigt zodra iedereen er één heeft.", "Playing - Round": "Bezig - Ronde", "Playing - Round {p0}": "Bezig - Ronde {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "biedpunten over om te besteden", "bid {p0} {p1}vp": "bied {p0} {p1}op", "bidding": "bieden", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "biedt overwinningspunten om een andere gekozen factie te nemen. Een overboden speler wordt de volgende speler die", "bids": "biedt", "bids in": "biedt in", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "mijnspreidingsarchetype", "mines-{p0}-of-{p1}": "mijnen-{p0}-van-{p1}", "more": "meer", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "meer overwinningspunten voor één andere speler heeft. Een overboden speler wordt de volgende speler die een", "more than your": "meer dan jouw", "mousedown": "muisknop ingedrukt", "move": "verplaatsen", diff --git a/viewer/src/localization/persian.spec.ts b/viewer/src/localization/persian.spec.ts index 57eda266..0106f751 100644 --- a/viewer/src/localization/persian.spec.ts +++ b/viewer/src/localization/persian.spec.ts @@ -1,10 +1,19 @@ -import { afterEach, describe, expect, it } from "vitest"; +import { afterAll, afterEach, beforeAll, describe, expect, it, vi } from "vitest"; import Vue from "vue"; -import { catalogs, mountLocalization, resolveLocale, translateText } from "."; +import { catalogs, loadLocale, mountLocalization, resolveLocale, translateText } from "."; import { makeStore } from "../store"; import { createResourceText } from "../tutorial/resource-text"; +import persianCatalog from "./fa.json"; describe("Persian viewer localization", () => { + beforeAll(async () => { + vi.stubGlobal( + "fetch", + vi.fn(async () => new Response(JSON.stringify(persianCatalog))) + ); + await loadLocale("fa"); + }); + afterAll(() => vi.unstubAllGlobals()); afterEach(() => document.body.replaceChildren()); it("resolves regional preferences and preserves display parameters and machine strings", () => { @@ -37,6 +46,7 @@ describe("Persian viewer localization", () => { target.append(app.$el); const group = target.querySelector("g"); const localization = mountLocalization(target, "fa-IR"); + await localization.ready; expect(target.querySelector("p")?.textContent).toBe("دور ۱"); expect(target.querySelector("p")?.title).toBe("یک آزمایشگاه پژوهشی بسازید"); expect(target.querySelector("[data-bgs-player]")?.textContent).toBe("Mine"); @@ -50,7 +60,7 @@ describe("Persian viewer localization", () => { expect(target.querySelector("p")?.textContent).toBe("دور ۲"); expect(target.querySelector("g")).toBe(group); expect(group?.getAttribute("transform")).toBe("translate(2, 3)"); - localization.setLocale("en"); + await localization.setLocale("en"); expect(target.querySelector("p")?.textContent).toBe("Round 2"); expect(target.querySelector("p")?.title).toBe("Build a Research Lab"); localization.destroy(); @@ -59,10 +69,11 @@ describe("Persian viewer localization", () => { app.$destroy(); }); - it("protects player names in Persian dynamic messages", () => { + it("protects player names in Persian dynamic messages", async () => { const target = document.createElement("div"); target.textContent = "Mine's turn"; const localization = mountLocalization(target, "fa"); + await localization.ready; localization.setNames(["Mine"]); expect(target.textContent).toBe("نوبت Mine"); localization.destroy(); diff --git a/viewer/src/localization/pl.json b/viewer/src/localization/pl.json index cd940654..b5aa2c1e 100644 --- a/viewer/src/localization/pl.json +++ b/viewer/src/localization/pl.json @@ -819,7 +819,6 @@ "EXPORT": "EKSPORT", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Każdy ruch musi dać się opłacić zasobami na twojej planszy frakcji. Dochód i wymiana zasobów zmieniają dostępne opcje.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Każdy gracz najpierw wybiera frakcję w kolejności tur. Gdy wszystkie frakcje zostaną wybrane, gracze wykonują tury", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Każdy gracz najpierw wybiera frakcję w kolejności tur. Gdy każda frakcja zostanie wybrana, gracze na zmianę licytują punkty zwycięstwa, aby przejąć inną wybraną frakcję. Przebity gracz staje się następnym graczem, który", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Każdy gracz najpierw wybiera frakcję w kolejności tur. Gdy każda frakcja zostanie wybrana, gracze na zmianę licytują punkty zwycięstwa, aby przejąć inną wybraną frakcję. Przebity gracz staje się następnym graczem, który potrzebuje frakcji, a licytacja trwa, dopóki każdy nie ma jednej.", "Each tab is an alternative plan:": "Każda karta to alternatywny plan:", "Each terraforming step costs you": "Każdy krok terraformowania kosztuje cię", @@ -1332,11 +1331,8 @@ "Once:": "Raz:", "Once: free mine with up to 2 free terraforming steps": "Raz: darmowa kopalnia z maksymalnie 2 darmowymi krokami terraformowania", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Raz: otrzymaj 1 płytkę technologii do wyboru (te same zasady co Ulepszanie Istniejących Struktur).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Raz: otrzymaj akcję Zbuduj kopalnię o nieograniczonym zasięgu bez płacenia kosztu budowy; ruda nadal pokrywa", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Raz: otrzymaj akcję Zbuduj kopalnię o nieograniczonym zasięgu bez płacenia kosztu budowy; ruda nadal pokrywa terraformowanie, Q.I.C. nadal wymagane dla planet Gaia.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Raz: otrzymaj akcję Budowy Kopalni z maksymalnie 2 darmowymi krokami terraformowania i bez płacenia kosztu za", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Raz: otrzymaj akcję Zbuduj kopalnię z maksymalnie 2 darmowymi krokami terraformowania i bez płacenia kosztu tej kopalni. Możesz wydać dodatkową rudę na 3. krok terraformowania oraz Q.I.C., aby zwiększyć zasięg.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Raz: otrzymaj akcję Zbuduj kopalnię z maksymalnie 3 darmowymi krokami terraformowania bez płacenia kosztu budowy;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Raz: otrzymaj akcję Zbuduj kopalnię z maksymalnie 3 darmowymi krokami terraformowania bez płacenia kosztu budowy; Q.I.C. mogą nadal zwiększać zasięg.", "Once: {p0}": "Raz: {p0}", "One picked faction per player, and one fixed pot of": "Jedna wybrana frakcja na gracza i jedna stała pula", @@ -1418,8 +1414,6 @@ "Pays": "Płaci", "Pays (VP)": "Płaci (PZ)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Koszty terraformowania na planetę pochodzą z planszy Terraformowania Zaginionej Floty - 7 kolorów", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Koszty terraformowania poszczególnych planet pochodzą z planszy Terraformowania Utraconej Floty – 7 próbek kolorów poniżej (pokazanych również w prawym górnym rogu mapy), każda oznaczona kosztem kroku.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Koszty terraformowania poszczególnych planet pochodzą z planszy Terraformowania Utraconej Floty – 7 próbek kolorów poniżej (pokazanych również w prawym górnym rogu mapy), każda oznaczona kosztem kroku. Kolory macierzyste przeciwników zawsze kosztują 3; pozostałe trzy kolory o koszcie 3 wypełniają się od", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Koszty terraformowania poszczególnych planet pochodzą z planszy Terraformowania Utraconej Floty – 7 próbek kolorów poniżej (pokazanych również w prawym górnym rogu mapy), każda oznaczona kosztem kroku. Kolory macierzyste przeciwników zawsze kosztują 3; pozostałe trzy kolory o koszcie 3 wypełniają się od lewej do prawej w rzędzie. Jest to tymczasowe, dopóki nie zostaną wybrane wszystkie frakcje.", "Permissive Replay": "Swobodna powtórka", "Phase 1 candidate-expansion component does not exist in Phase 0": "Komponent ekspansji kandydatów fazy 1 nie istnieje w fazie 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Gracz {p0} już przesłał swoje oferty", "Player {p0} has already submitted their bids (or is not in this auction)": "Gracz {p0} już złożył swoje oferty (lub nie bierze udziału w tej aukcji)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Oferty gracza {p0} nie są legalnym podziałem {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Gracze wybierają i licytują w tej samej fazie. W swojej turze albo wprowadź nową frakcję bez kosztu, albo zalicytuj", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Gracze wybierają i licytują w tej samej fazie. W swojej turze albo wprowadź nową frakcję bez kosztu, albo zalicytuj więcej punktów zwycięstwa za frakcję trzymaną przez innego gracza. Przebity gracz staje się kolejnym graczem, który potrzebuje", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Gracze wybierają i licytują w tej samej fazie. W swojej turze albo wprowadź nową frakcję bez kosztu, albo zalicytuj więcej punktów zwycięstwa za frakcję trzymaną przez innego gracza. Przebity gracz staje się kolejnym graczem, który potrzebuje frakcji, a aukcja kończy się, gdy każdy ma jedną.", "Playing - Round": "Granie - Runda", "Playing - Round {p0}": "Granie - Runda {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "pozostałe punkty licytacji do wydania", "bid {p0} {p1}vp": "licytacja {p0} {p1} PZ", "bidding": "licytacja", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "licytowanie Punktów Zwycięstwa, aby przejąć inną wybraną frakcję. Przelicytowany gracz staje się następnym graczem, który", "bids": "oferty", "bids in": "licytuje w", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "archetyp rozprzestrzeniania kopalń", "mines-{p0}-of-{p1}": "kopalnie-{p0}-z-{p1}", "more": "więcej", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Punktów Zwycięstwa więcej za frakcję zajętą przez innego gracza. Przelicytowany gracz musi następnie zdobyć", "more than your": "więcej niż twoje", "mousedown": "naciśnięcie myszy", "move": "ruch", diff --git a/viewer/src/localization/pt-BR.json b/viewer/src/localization/pt-BR.json index 9ac55908..bea2fc42 100644 --- a/viewer/src/localization/pt-BR.json +++ b/viewer/src/localization/pt-BR.json @@ -819,7 +819,6 @@ "EXPORT": "EXPORTAR", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Cada movimento deve ser pagável com os recursos mostrados no seu tabuleiro de facção. Renda e conversões atualizam as escolhas disponíveis.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Cada jogador primeiro escolhe uma facção em ordem de turno. Uma vez que todas as facções foram escolhidas, os jogadores se revezam", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Cada jogador primeiro escolhe uma facção em ordem de turno. Uma vez que todas as facções foram escolhidas, os jogadores se revezam dando lances de Pontos de Vitória para pegar uma facção escolhida diferente. Um jogador superado se torna o próximo jogador que", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Cada jogador primeiro escolhe uma facção em ordem de turno. Uma vez que todas as facções foram escolhidas, os jogadores se revezam dando lances de Pontos de Vitória para pegar uma facção escolhida diferente. Um jogador superado se torna o próximo jogador que precisa de uma facção, e os lances continuam até que todos tenham uma.", "Each tab is an alternative plan:": "Cada aba é um plano alternativo:", "Each terraforming step costs you": "Cada passo de terraformação custa a você", @@ -1332,11 +1331,8 @@ "Once:": "Uma vez:", "Once: free mine with up to 2 free terraforming steps": "Uma vez: mina grátis com até 2 passos de terraformação grátis", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Uma vez: receba 1 peça de tecnologia à sua escolha (mesmas regras de Melhorar Estruturas Existentes).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Uma vez: receba uma ação de Construir uma Mina de alcance ilimitado sem pagar o custo de construção; o minério ainda paga por", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Uma vez: receba uma ação de Construir uma Mina de alcance ilimitado sem pagar o custo de construção; o minério ainda paga pela terraformação, Q.I.C. ainda é necessário para planetas de Gaia.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Uma vez: receba uma ação de Construir uma Mina com até 2 passos de terraformação grátis e sem pagar o custo por", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Uma vez: receba uma ação de Construir uma Mina com até 2 passos de terraformação grátis e sem pagar o custo por aquela mina. Você pode gastar minério adicional para um 3º passo de terraformação, e Q.I.C.s para aumentar o alcance.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Uma vez: receba uma ação de Construir uma Mina com até 3 passos de terraformação grátis sem pagar o custo de construção;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Uma vez: receba uma ação de Construir uma Mina com até 3 passos de terraformação grátis sem pagar o custo de construção; Q.I.C.s ainda podem aumentar o alcance.", "Once: {p0}": "Uma vez: {p0}", "One picked faction per player, and one fixed pot of": "Uma facção escolhida por jogador e um pote fixo de", @@ -1418,8 +1414,6 @@ "Pays": "Paga", "Pays (VP)": "Paga (PV)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Os custos de terraformação por planeta vêm do tabuleiro de Terraformação da Frota Perdida - as 7 cores", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Os custos de terraformação por planeta vêm do tabuleiro de Terraformação da Frota Perdida - as 7 amostras de cor abaixo (também mostradas no canto superior direito do mapa), cada uma marcada com seu custo de passo.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Os custos de terraformação por planeta vêm do tabuleiro de Terraformação da Frota Perdida - as 7 amostras de cor abaixo (também mostradas no canto superior direito do mapa), cada uma marcada com seu custo de passo. As cores natais dos oponentes sempre custam 3; o restante das três cores de custo 3 preenche a partir da", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Os custos de terraformação por planeta vêm do tabuleiro de Terraformação da Frota Perdida - as 7 amostras de cor abaixo (também mostradas no canto superior direito do mapa), cada uma marcada com seu custo de passo. As cores natais dos oponentes sempre custam 3; o restante das três cores de custo 3 preenche a partir da linha da esquerda para a direita. Isso é provisório até que todas as facções sejam escolhidas.", "Permissive Replay": "Replay permissivo", "Phase 1 candidate-expansion component does not exist in Phase 0": "Componente de expansão candidato da Fase 1 não existe na Fase 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "O jogador {p0} já enviou seus lances", "Player {p0} has already submitted their bids (or is not in this auction)": "O jogador {p0} já enviou seus lances (ou não está neste leilão)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Os lances do jogador {p0} não são uma divisão legal de {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Os jogadores escolhem e dão lances na mesma fase. No seu turno, introduza uma nova facção sem custo ou dê um lance", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Os jogadores escolhem e dão lances na mesma fase. No seu turno, introduza uma nova facção sem custo ou dê um lance maior em Pontos de Vitória por uma que outro jogador possua. Um jogador superado torna-se o próximo jogador que precisa de uma", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Os jogadores escolhem e dão lances na mesma fase. No seu turno, introduza uma nova facção sem custo ou dê um lance maior em Pontos de Vitória por uma que outro jogador possua. Um jogador superado torna-se o próximo jogador que precisa de uma facção, e o leilão termina quando todos possuírem uma.", "Playing - Round": "Jogando - Rodada", "Playing - Round {p0}": "Jogando - Rodada {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "pontos de lance restantes para gastar", "bid {p0} {p1}vp": "lance {p0} {p1}pv", "bidding": "dando lances", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "dando lances em Pontos de Vitória para pegar uma facção escolhida diferente. Um jogador superado torna-se o próximo jogador que", "bids": "lances", "bids in": "lances em", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "arquétipo de dispersão de minas", "mines-{p0}-of-{p1}": "minas-{p0}-de-{p1}", "more": "mais", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Pontos de Vitória a mais por uma facção que outro jogador tenha. O jogador superado precisa então obter uma", "more than your": "mais do que seu", "mousedown": "mousedown", "move": "mover", diff --git a/viewer/src/localization/ro.json b/viewer/src/localization/ro.json index 9dc68aea..3f5079f5 100644 --- a/viewer/src/localization/ro.json +++ b/viewer/src/localization/ro.json @@ -819,7 +819,6 @@ "EXPORT": "EXPORTĂ", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Fiecare mutare trebuie să fie accesibilă cu resursele afișate pe tabla ta de facțiune. Venitul și conversiile actualizează opțiunile disponibile.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Fiecare jucător alege mai întâi o facțiune în ordinea turei. Odată ce fiecare facțiune este aleasă, jucătorii fac ture pe rând", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Fiecare jucător alege mai întâi o facțiune în ordinea turei. Odată ce fiecare facțiune este aleasă, jucătorii licitează pe rând Puncte de Victorie pentru a lua o altă facțiune aleasă. Un jucător supralicitat devine următorul jucător care", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Fiecare jucător alege mai întâi o facțiune în ordinea turei. Odată ce fiecare facțiune este aleasă, jucătorii licitează pe rând Puncte de Victorie pentru a lua o altă facțiune aleasă. Un jucător supralicitat devine următorul jucător care are nevoie de o facțiune, iar licitarea continuă până când fiecare deține una.", "Each tab is an alternative plan:": "Fiecare filă este un plan alternativ:", "Each terraforming step costs you": "Fiecare pas de terraformare te costă", @@ -1332,11 +1331,8 @@ "Once:": "O dată:", "Once: free mine with up to 2 free terraforming steps": "O dată: mină gratuită cu până la 2 pași de terraformare gratuiți", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "O dată: primești 1 placă de Tehnologie la alegere (aceleași reguli ca la Îmbunătățirea Structurilor Existente).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "O dată: primești o acțiune Construiește o mină cu rază nelimitată fără a plăti costul de construcție; minereul plătește în continuare pentru", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "O dată: primești o acțiune Construiește o mină cu rază nelimitată fără a plăti costul de construcție; minereul plătește în continuare pentru terraformare, Q.I.C. rămâne necesar pentru planetele Gaia.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "O dată: primești o acțiune Construiește o Mină cu până la 2 pași de terraformare gratuiți și fără a plăti costul pentru", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "O dată: primești o acțiune Construiește o mină cu până la 2 pași de terraformare gratuiți și fără a plăti costul pentru acea mină. Poți cheltui minereu suplimentar pentru un al 3-lea pas de terraformare și Q.I.C. pentru a crește raza.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "O dată: primești o acțiune Construiește o mină cu până la 3 pași de terraformare gratuiți fără a plăti costul de construcție;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "O dată: primești o acțiune Construiește o mină cu până la 3 pași de terraformare gratuiți fără a plăti costul de construcție; Q.I.C. pot crește în continuare raza.", "Once: {p0}": "O dată: {p0}", "One picked faction per player, and one fixed pot of": "O facțiune aleasă per jucător și un pot fix de", @@ -1418,8 +1414,6 @@ "Pays": "Plătește", "Pays (VP)": "Plătește (PV)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Costurile de terraformare per planetă provin de pe tabla de Terraformare a Flotei Pierdute - cele 7 culori", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Costurile de terraformare per planetă provin de pe tabla Lost Fleet Terraforming - cele 7 mostre de culoare de mai jos (afișate și sus-dreapta pe hartă), fiecare marcată cu costul pasului său.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Costurile de terraformare per planetă provin de pe tabla Lost Fleet Terraforming - cele 7 mostre de culoare de mai jos (afișate și sus-dreapta pe hartă), fiecare marcată cu costul pasului său. Culorile de origine ale adversarilor costă întotdeauna 3; restul celor trei culori cu cost 3 se completează din", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Costurile de terraformare per planetă provin de pe tabla Lost Fleet Terraforming - cele 7 mostre de culoare de mai jos (afișate și sus-dreapta pe hartă), fiecare marcată cu costul pasului său. Culorile de origine ale adversarilor costă întotdeauna 3; restul celor trei culori cu cost 3 se completează din rând de la stânga la dreapta. Acest lucru este provizoriu până când fiecare facțiune este aleasă.", "Permissive Replay": "Rejucare permisivă", "Phase 1 candidate-expansion component does not exist in Phase 0": "Componenta de extindere a candidaților din Faza 1 nu există în Faza 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Jucătorul {p0} și-a trimis deja licitațiile", "Player {p0} has already submitted their bids (or is not in this auction)": "Jucătorul {p0} și-a trimis deja ofertele (sau nu este în această licitație)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Licitațiile jucătorului {p0} nu sunt o împărțire legală a {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Jucătorii aleg și licitează în aceeași fază. La tura ta, fie introduci o facțiune nouă fără cost, fie licitezi", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Jucătorii aleg și licitează în aceeași fază. La tura ta, fie introduci o facțiune nouă fără cost, fie licitezi mai multe Puncte de Victorie pentru una pe care o deține alt jucător. Un jucător supralicitat devine următorul jucător care are nevoie de o", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Jucătorii aleg și licitează în aceeași fază. La tura ta, fie introduci o facțiune nouă fără cost, fie licitezi mai multe Puncte de Victorie pentru una pe care o deține alt jucător. Un jucător supralicitat devine următorul jucător care are nevoie de o facțiune, iar licitația se încheie odată ce fiecare deține una.", "Playing - Round": "Se joacă - Runda", "Playing - Round {p0}": "Se joacă - Runda {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "puncte de licitație rămase de cheltuit", "bid {p0} {p1}vp": "licitează {p0} {p1}pv", "bidding": "ofertare", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "licitezi puncte de victorie pentru a lua o facțiune aleasă diferită. Un jucător supralicitat devine următorul jucător care", "bids": "oferte", "bids in": "licitează în", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "arhetip de răspândire a minelor", "mines-{p0}-of-{p1}": "mine-{p0}-din-{p1}", "more": "mai mult", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Puncte de Victorie în plus pentru o facțiune deținută de alt jucător. Jucătorul supralicitat trebuie apoi să obțină o", "more than your": "mai mult decât", "mousedown": "apăsare mouse", "move": "mută", diff --git a/viewer/src/localization/ru.json b/viewer/src/localization/ru.json index f2d24612..39704ee8 100644 --- a/viewer/src/localization/ru.json +++ b/viewer/src/localization/ru.json @@ -819,7 +819,6 @@ "EXPORT": "ЭКСПОРТ", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Каждый ход должен быть оплачен ресурсами, указанными на планшете вашей фракции. Доход и преобразования обновляют доступные варианты.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Каждый игрок сначала выбирает фракцию в порядке хода. Когда все фракции выбраны, игроки ходят по очереди", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Каждый игрок сначала выбирает фракцию в порядке хода. Когда все фракции выбраны, игроки по очереди делают ставки победными очками, чтобы взять другую выбранную фракцию. Игрок, которого перебили, становится следующим игроком, который", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Каждый игрок сначала выбирает фракцию в порядке хода. Когда все фракции выбраны, игроки по очереди делают ставки победными очками, чтобы взять другую выбранную фракцию. Игрок, которого перебили, становится следующим игроком, которому нужна фракция, и торги продолжаются, пока у каждого не будет по одной.", "Each tab is an alternative plan:": "Каждая вкладка — альтернативный план:", "Each terraforming step costs you": "Каждый шаг терраформирования стоит вам", @@ -1332,11 +1331,8 @@ "Once:": "Один раз:", "Once: free mine with up to 2 free terraforming steps": "Один раз: бесплатная шахта с до 2 бесплатными шагами терраформирования", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Один раз: получите 1 техно-тайл на выбор (по тем же правилам, что и Улучшение Существующих Структур).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Один раз: получите действие «Построить шахту» без ограничения дальности, не оплачивая стоимость постройки; руда по-прежнему оплачивает", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Один раз: получите действие «Построить шахту» без ограничения дальности, не оплачивая стоимость постройки; руда по-прежнему оплачивает терраформирование, Q.I.C. по-прежнему требуется для планет Геи.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Один раз: получите действие Построй Шахту с до 2 бесплатными шагами терраформирования и без оплаты стоимости", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Один раз: получите действие Построй Шахту с до 2 бесплатными шагами терраформирования и без оплаты стоимости этой шахты. Вы можете потратить дополнительную руду на 3-й шаг терраформирования и Q.I.C. для увеличения дальности.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Один раз: получите действие «Построить шахту» с до 3 бесплатными шагами терраформирования, не оплачивая стоимость постройки;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Один раз: получите действие «Построить шахту» с до 3 бесплатными шагами терраформирования, не оплачивая стоимость постройки; Q.I.C. по-прежнему могут увеличивать дальность.", "Once: {p0}": "Один раз: {p0}", "One picked faction per player, and one fixed pot of": "Одна выбранная фракция на игрока и один фиксированный банк из", @@ -1418,8 +1414,6 @@ "Pays": "Платит", "Pays (VP)": "Платит (ПО)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Стоимость терраформирования за планету берётся с доски терраформирования Потерянного Флота — 7 цветных", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Стоимость терраформирования за планету берётся с доски терраформирования Потерянного Флота — 7 цветных образцов ниже (также показаны в правом верхнем углу карты), каждый с указанием стоимости шага.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Стоимость терраформирования каждой планеты берётся с планшета терраформирования Потерянного Флота — 7 цветовых образцов ниже (также показаны в правом верхнем углу карты), каждый с указанием стоимости шага. Домашние цвета соперников всегда стоят 3; остальные три цвета стоимостью 3 заполняются из", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Стоимость терраформирования каждой планеты берётся с планшета терраформирования Потерянного Флота — 7 цветовых образцов ниже (также показаны в правом верхнем углу карты), каждый с указанием стоимости шага. Домашние цвета соперников всегда стоят 3; остальные три цвета стоимостью 3 заполняются из ряда слева направо. Это предварительно, пока не выбраны все фракции.", "Permissive Replay": "Разрешительный повтор", "Phase 1 candidate-expansion component does not exist in Phase 0": "Компонент расширения кандидатов Фазы 1 не существует в Фазе 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Игрок {p0} уже отправил свои ставки", "Player {p0} has already submitted their bids (or is not in this auction)": "Игрок {p0} уже отправил свои ставки (или не участвует в этом аукционе)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Ставки игрока {p0} не являются легальным разделением {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Игроки выбирают и делают ставки в одной фазе. В свой ход либо введи новую фракцию бесплатно, либо сделай ставку", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Игроки выбирают и делают ставки в одной фазе. В свой ход либо введи новую фракцию бесплатно, либо поставь больше победных очков за фракцию, которую держит другой игрок. Перебитый игрок становится следующим, кому нужна", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Игроки выбирают и делают ставки в одной фазе. В свой ход либо введите новую фракцию бесплатно, либо поставьте больше победных очков за фракцию, которую держит другой игрок. Перебитый игрок становится следующим, кому нужна фракция, и аукцион заканчивается, когда у каждого есть одна.", "Playing - Round": "Игра — Раунд", "Playing - Round {p0}": "Игра — Раунд {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "осталось очков ставок для траты", "bid {p0} {p1}vp": "ставка {p0} {p1}по", "bidding": "торги", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "ставки победными очками, чтобы взять другую выбранную фракцию. Игрок, которого перебили, становится следующим игроком, который", "bids": "ставит", "bids in": "ставит в", "bl-{p0}": "бл-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "архетип распространения шахт", "mines-{p0}-of-{p1}": "шахты-{p0}-из-{p1}", "more": "ещё", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "победных очков больше за фракцию другого игрока. Игроку, чью ставку перебили, затем нужна", "more than your": "больше, чем твой", "mousedown": "mousedown", "move": "переместить", diff --git a/viewer/src/localization/shortcut-label.spec.ts b/viewer/src/localization/shortcut-label.spec.ts index 669a9831..16f5a9de 100644 --- a/viewer/src/localization/shortcut-label.spec.ts +++ b/viewer/src/localization/shortcut-label.spec.ts @@ -1,7 +1,14 @@ import { describe, expect, it } from "vitest"; -import { translateText } from "."; +import { catalogs, translateText } from "."; +import de from "./de.json"; +import fr from "./fr.json"; +import ko from "./ko.json"; +import pl from "./pl.json"; +import ptBR from "./pt-BR.json"; import { translateShortcutLabel } from "./shortcut-label"; +Object.assign(catalogs, { fr, de, pl, ko, "pt-BR": ptBR }); + describe("translated keyboard labels", () => { const french = (label: string) => translateText(label, "fr"); diff --git a/viewer/src/localization/vi.json b/viewer/src/localization/vi.json index 13ad0b54..6164f567 100644 --- a/viewer/src/localization/vi.json +++ b/viewer/src/localization/vi.json @@ -819,7 +819,6 @@ "EXPORT": "XUẤT KHẨU", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "Mỗi nước đi phải đủ khả năng chi trả bằng tài nguyên hiển thị trên bảng phe của bạn. Thu nhập và chuyển đổi cập nhật các lựa chọn khả dụng.", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "Mỗi người chơi trước tiên chọn một phe theo thứ tự lượt. Khi mọi phe đã được chọn, người chơi lần lượt", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "Mỗi người chơi trước tiên chọn một phe theo thứ tự lượt. Khi mọi phe đã được chọn, người chơi lần lượt đặt giá Điểm Chiến thắng để lấy một phe đã chọn khác. Người chơi bị trả giá cao hơn trở thành người chơi tiếp theo", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "Mỗi người chơi trước tiên chọn một phe theo thứ tự lượt. Khi mọi phe đã được chọn, người chơi lần lượt đặt giá Điểm Chiến thắng để lấy một phe đã chọn khác. Người chơi bị trả giá cao hơn trở thành người chơi tiếp theo cần một phe, và việc đặt giá tiếp tục cho đến khi mọi người giữ một phe.", "Each tab is an alternative plan:": "Mỗi tab là một kế hoạch thay thế:", "Each terraforming step costs you": "Mỗi bước địa khai hóa tốn của bạn", @@ -1332,11 +1331,8 @@ "Once:": "Một lần:", "Once: free mine with up to 2 free terraforming steps": "Một lần: mỏ miễn phí với tối đa 2 bước địa khai hóa miễn phí", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "Một lần: nhận 1 ô công nghệ tùy chọn (cùng quy tắc như Nâng Cấp Công Trình Hiện Có).", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "Một lần: nhận hành động Xây Mỏ với tầm không giới hạn mà không trả chi phí xây; quặng vẫn trả cho", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "Một lần: nhận hành động Xây Mỏ với tầm không giới hạn mà không trả chi phí xây; quặng vẫn trả cho địa khai hóa, Q.I.C. vẫn cần cho hành tinh Gaia.", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "Một lần: nhận hành động Xây Mỏ với tối đa 2 bước địa khai hóa miễn phí và không trả chi phí cho", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "Một lần: nhận hành động Xây Mỏ với tối đa 2 bước địa khai hóa miễn phí và không trả chi phí cho mỏ đó. Bạn có thể chi thêm quặng cho bước địa khai hóa thứ 3, và Q.I.C. để tăng tầm.", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "Một lần: nhận hành động Xây Mỏ với tối đa 3 bước địa khai hóa miễn phí mà không trả chi phí xây;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "Một lần: nhận hành động Xây Mỏ với tối đa 3 bước địa khai hóa miễn phí mà không trả chi phí xây; Q.I.C. vẫn có thể tăng tầm.", "Once: {p0}": "Một lần: {p0}", "One picked faction per player, and one fixed pot of": "Một phe đã chọn cho mỗi người chơi, và một quỹ cố định gồm", @@ -1418,8 +1414,6 @@ "Pays": "Trả", "Pays (VP)": "Trả (VP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "Chi phí địa khai hóa từng hành tinh lấy từ bảng Địa khai hóa Lost Fleet - 7 màu", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "Chi phí địa khai hóa từng hành tinh lấy từ bảng Địa khai hóa Lost Fleet - 7 ô màu bên dưới (cũng hiển thị ở góc trên phải bản đồ), mỗi ô ghi chi phí bước.", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "Chi phí địa khai hóa từng hành tinh lấy từ bảng Địa khai hóa Lost Fleet - 7 ô màu bên dưới (cũng hiển thị ở góc trên phải bản đồ), mỗi ô ghi chi phí bước. Màu nhà của đối thủ luôn tốn 3; phần còn lại của ba màu tốn-3 điền từ", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "Chi phí địa khai hóa từng hành tinh lấy từ bảng Địa khai hóa Lost Fleet - 7 ô màu bên dưới (cũng hiển thị ở góc trên phải bản đồ), mỗi ô ghi chi phí bước. Màu nhà của đối thủ luôn tốn 3; phần còn lại của ba màu tốn-3 điền từ hàng trái sang phải. Đây là tạm thời cho đến khi mọi phe được chọn.", "Permissive Replay": "Phát lại tùy ý", "Phase 1 candidate-expansion component does not exist in Phase 0": "Thành phần mở rộng ứng viên Giai đoạn 1 không tồn tại trong Giai đoạn 0", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "Người chơi {p0} đã gửi giá của họ", "Player {p0} has already submitted their bids (or is not in this auction)": "Người chơi {p0} đã gửi giá của họ (hoặc không tham gia phiên đấu giá này)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "Giá của người chơi {p0} không phải là cách chia hợp lệ của {p1}: {p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "Người chơi chọn và đặt giá trong cùng một giai đoạn. Đến lượt bạn, hoặc giới thiệu một phe mới miễn phí hoặc đặt giá", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Người chơi chọn và đặt giá trong cùng một giai đoạn. Đến lượt bạn, hoặc giới thiệu một phe mới miễn phí hoặc đặt giá thêm Điểm Chiến thắng cho một phe mà người chơi khác đang giữ. Người chơi bị trả giá cao hơn trở thành người chơi tiếp theo cần một", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "Người chơi chọn và đặt giá trong cùng một giai đoạn. Đến lượt bạn, hoặc giới thiệu một phe mới miễn phí hoặc đặt giá thêm Điểm Chiến thắng cho một phe mà người chơi khác đang giữ. Người chơi bị trả giá cao hơn trở thành người chơi tiếp theo cần một phe, và phiên đấu giá kết thúc khi mọi người đều giữ một phe.", "Playing - Round": "Đang chơi - Vòng", "Playing - Round {p0}": "Đang chơi - Vòng {p0}", @@ -2443,7 +2435,6 @@ "bid points left to spend": "điểm cược còn lại để chi", "bid {p0} {p1}vp": "cược {p0} {p1}vp", "bidding": "đang trả giá", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "cược Điểm Chiến Thắng để lấy một phe đã chọn khác. Người chơi bị vượt cược trở thành người chơi tiếp theo", "bids": "trả giá", "bids in": "cược vào", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "nguyên mẫu lan mỏ", "mines-{p0}-of-{p1}": "mỏ-{p0}-trên-{p1}", "more": "thêm", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "Điểm Chiến thắng nữa cho một phe mà người chơi khác đang giữ. Người bị vượt giá phải chọn một", "more than your": "nhiều hơn của bạn", "mousedown": "nhấn chuột", "move": "di chuyển", diff --git a/viewer/src/localization/zh-TW.json b/viewer/src/localization/zh-TW.json index cb872fe4..dd115e8c 100644 --- a/viewer/src/localization/zh-TW.json +++ b/viewer/src/localization/zh-TW.json @@ -819,7 +819,6 @@ "EXPORT": "匯出", "Each move must be affordable with the resources shown on your faction board. Income and conversions update the available choices.": "每個移動必須能用你派系板上顯示的資源支付。收入和轉換會更新可用選擇。", "Each player first picks a faction in turn order. Once every faction is picked, players take turns": "每位玩家先依回合順序選擇一個派系。所有派系選定後,玩家輪流", - "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "每位玩家先依回合順序選擇一個派系。所有派系選定後,玩家輪流出價勝利點數以取得另一個已選派系。被超越的玩家成為下一位", "Each player first picks a faction in turn order. Once every faction is picked, players take turns bidding Victory Points to take a different picked faction. An outbid player becomes the next player who needs a faction, and bidding continues until everyone holds one.": "每位玩家先依回合順序選擇一個派系。所有派系選定後,玩家輪流出價勝利點數以取得另一個已選派系。被超越的玩家成為下一位需要派系的玩家,競標持續到每人持有一個派系為止。", "Each tab is an alternative plan:": "每個分頁都是一個替代方案:", "Each terraforming step costs you": "每個地形改造步驟花費", @@ -1332,11 +1331,8 @@ "Once:": "一次:", "Once: free mine with up to 2 free terraforming steps": "一次:免費礦場,最多2次免費地形改造步驟", "Once: receive 1 Tech tile of choice (same rules as Upgrade Existing Structures).": "一次:獲得1個自選科技板塊(規則與升級現有建築相同)。", - "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for": "一次:獲得一個無限距離的建造礦場行動,無需支付建造費用;礦石仍需支付", "Once: receive a Build a Mine action of limitless range without paying the build cost; ore still pays for terraforming, Q.I.C. still required for Gaia planets.": "一次:獲得一個無限距離的建造礦場行動,無需支付建造費用;礦石仍需支付地形改造費用,蓋亞星球仍需Q.I.C.。", - "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for": "一次:獲得一個建造礦場行動,最多2次免費地形改造步驟,且無需支付", "Once: receive a Build a Mine action with up to 2 free terraforming steps and without paying the cost for that mine. You may spend additional ore for a 3rd terraforming step, and Q.I.C.s to increase range.": "一次:獲得一個建造礦場行動,最多2次免費地形改造步驟,且無需支付該礦場的費用。你可以花費額外礦石進行第3次地形改造步驟,並使用Q.I.C.增加距離。", - "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost;": "一次:獲得一個建造礦場行動,最多3次免費地形改造步驟,無需支付建造費用;", "Once: receive a Build a Mine action with up to 3 free terraforming steps without paying the build cost; Q.I.C.s may still increase range.": "一次:獲得一個建造礦場行動,最多3次免費地形改造步驟,無需支付建造費用;Q.I.C.仍可增加距離。", "Once: {p0}": "一次:{p0}", "One picked faction per player, and one fixed pot of": "每位玩家一個已選派系,以及一組固定的", @@ -1418,8 +1414,6 @@ "Pays": "支付", "Pays (VP)": "支付(VP)", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour": "每星球地形改造成本來自失落艦隊地形改造板——7種顏色", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost.": "每星球地形改造成本來自失落艦隊地形改造板——下方7個色塊(也顯示在地圖右上角),每個都標有其步驟成本。", - "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the": "每星球地形改造成本來自失落艦隊地形改造板——下方7個色塊(也顯示在地圖右上角),每個都標有其步驟成本。對手的母星顏色始終花費3;其餘三種花費3的顏色從", "Per-planet terraforming costs come from the Lost Fleet Terraforming board - the 7 colour swatches below (also shown top-right of the map), each marked with its step cost. Opponents' home colours always cost 3; the rest of the three cost-3 colours fill from the row left-to-right. This is provisional until every faction is chosen.": "地形改造板上的七個色塊標示各種行星所需的改造步數,也顯示在地圖右上角。對手的母星顏色一律需要 3 步;再依色列由左至右補足,直到共有三種顏色需要 3 步。所有派系選定前,此配置仍可能改變。", "Permissive Replay": "寬容重播", "Phase 1 candidate-expansion component does not exist in Phase 0": "階段1候選擴充組件在階段0中不存在", @@ -1492,8 +1486,6 @@ "Player {p0} has already submitted their bids": "玩家 {p0} 已提交出價", "Player {p0} has already submitted their bids (or is not in this auction)": "玩家 {p0} 已提交出價(或不在本次拍賣中)", "Player {p0}'s bids are not a legal split of {p1}: {p2}": "玩家 {p0} 的出價不是 {p1} 的合法分配:{p2}", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid": "玩家在同一階段選擇並出價。輪到你時,可以免費引入一個新派系,或出價", - "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "玩家在同一階段選擇並出價。輪到你時,可以免費引入一個新派系,或為另一名玩家持有的派系出更高的勝利點數。被超過出價的玩家成為下一位需要", "Players choose and bid in the same phase. On your turn, either introduce a new faction at no cost or bid more Victory Points for one another player holds. An outbid player becomes the next player who needs a faction, and the auction ends once everyone holds one.": "玩家在同一階段選擇並出價。輪到你時,可以免費引入一個新派系,或為另一名玩家持有的派系出更高的勝利點數。被超過出價的玩家成為下一位需要派系的人,拍賣在每人都持有一個派系時結束。", "Playing - Round": "進行中 - 輪", "Playing - Round {p0}": "進行中 - 第 {p0} 輪", @@ -2443,7 +2435,6 @@ "bid points left to spend": "剩餘可花費的出價點數", "bid {p0} {p1}vp": "出價 {p0} {p1}vp", "bidding": "出價中", - "bidding Victory Points to take a different picked faction. An outbid player becomes the next player who": "以勝利點數出價來選擇不同的派系。被超越的玩家成為下一位玩家,", "bids": "出價", "bids in": "出價於", "bl-{p0}": "bl-{p0}", @@ -3045,7 +3036,6 @@ "mine-spread archetype": "礦場擴散原型", "mines-{p0}-of-{p1}": "礦場-{p0}-共-{p1}", "more": "更多", - "more Victory Points for one another player holds. An outbid player becomes the next player who needs a": "點額外勝利點數,即可取得另一位玩家持有的派系。被超越的玩家接著需要選擇", "more than your": "超過你的", "mousedown": "mousedown", "move": "行動", diff --git a/viewer/src/shims-art.d.ts b/viewer/src/shims-art.d.ts index a0406d48..58932255 100644 --- a/viewer/src/shims-art.d.ts +++ b/viewer/src/shims-art.d.ts @@ -1,4 +1,4 @@ -declare module "*.jpg" { +declare module "*.jpg?no-inline" { const url: string; export default url; } diff --git a/viewer/vite.config.ts b/viewer/vite.config.ts index 74464c56..82858da7 100644 --- a/viewer/vite.config.ts +++ b/viewer/vite.config.ts @@ -10,14 +10,14 @@ const root = dirname(fileURLToPath(import.meta.url)); * Lib build (replaces `vue-cli-service build --target lib src/wrapper.ts`). * * Contract to keep byte-compatible with the boardgamers.space host page: - * - ONE self-contained IIFE file exposing `window.gaiaViewer = { launch, launchSelfContained }` + * - One IIFE entry exposing `window.gaiaViewer = { launch, launchSelfContained }` * (the platform's iframe wrapper reads `viewer.topLevelVariable` = "gaiaViewer"). * - `vue` and `bootstrap-vue` stay EXTERNAL - the host page provides them * (`window.Vue`, `window.BootstrapVue`). Vite's iife externals resolve them as * plain global reads with no `.default` unwrapping, which is exactly what the * CDN-provided Vue 2 needs (the old TS `vue_1.default` interop crash cannot happen here). * - All svg assets inline as data URIs (Vite's default below assetsInlineLimit), so the - * UMD is one portable file with no img/ directory to host. + * SVG icons stay inline; language JSON and faction JPG files are emitted separately. * - CSS extracts to viewer.css alongside the bundle; the sourcemap's relative * sourceMappingURL keeps working because js+map share the BGS bundle directory. */ @@ -43,6 +43,7 @@ export default defineConfig({ "process.env.NODE_ENV": JSON.stringify(building ? "production" : "development"), "process.env": "({})", }, + base: "./", plugins: [vue()], build: { outDir: "dist/package",