Correct Polish translation for Sanitation advance
This commit is contained in:
parent
c135dea227
commit
54da01f6ed
2 changed files with 8 additions and 1 deletions
|
|
@ -57,6 +57,13 @@ test('visible Svelte punctuation-prefixed prose is inventoried without admitting
|
|||
for (const value of ['button[data-panel-close]', 'action-panel floating-panel', 'Build {p0}{p1}'])
|
||||
assert.equal(sourceMessage(value, { visibleText: true }), null, value);
|
||||
});
|
||||
test('Polish Aqueduct offers the Sanitation advance', () => {
|
||||
const catalog = JSON.parse(fs.readFileSync(new URL('../src/localization/pl.json', import.meta.url), 'utf8'));
|
||||
const description = catalog['You ignore Famine events. Research Sanitation either for 1 action with no resource cost, or for its normal resource cost without spending an action.'];
|
||||
assert.match(description, /Zbadaj Higienę/);
|
||||
assert.doesNotMatch(description, /Kanalizację/);
|
||||
assert.equal(catalog.Sanitation, 'Higiena');
|
||||
});
|
||||
test('extracts current continued engine rules and omits test/technical noise', () => {
|
||||
const directory = fs.mkdtempSync(path.join(os.tmpdir(), 'clash-locales-'));
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -3354,7 +3354,7 @@
|
|||
"You have more complete advance groups than any other player.": "Masz więcej kompletnych grup postępów niż jakikolwiek inny gracz.",
|
||||
"You have settlers on at least 3 spaces outside, and not adjacent to cities": "Masz osadników na co najmniej 3 polach na zewnątrz, nieprzylegających do miast",
|
||||
"You have {p0} unused {p1}.": "Niewykorzystane: {p0} {p1}.",
|
||||
"You ignore Famine events. Research Sanitation either for 1 action with no resource cost, or for its normal resource cost without spending an action.": "Ignorujesz wydarzenia Głodu. Zbadaj Kanalizację za 1 akcję bez zasobów albo za normalny koszt zasobów bez akcji.",
|
||||
"You ignore Famine events. Research Sanitation either for 1 action with no resource cost, or for its normal resource cost without spending an action.": "Ignorujesz wydarzenia Głodu. Zbadaj Higienę za 1 akcję bez zasobów albo za normalny koszt zasobów bez akcji.",
|
||||
"You just built a wonder OR you built have built the only wonder in the last round.": "Właśnie zbudowałeś cud LUB zbudowałeś jedyny cud w ostatniej rundzie.",
|
||||
"You killed a leader and 2 army units in a battle.": "Zabiłeś dowódcę i 2 jednostki armii w bitwie.",
|
||||
"You killed a settler or ship that could have been used for Trade Routes.": "Zabiłeś osadnika lub statek, który mógłby zostać użyty do Szlaków Handlowych.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue