Skip to content

Commit 64bf372

Browse files
committed
LoA: Change #setup string; Pacru: Tweak convert string
1 parent e84eca6 commit 64bf372

File tree

5 files changed

+17
-1
lines changed

5 files changed

+17
-1
lines changed

locales/en/apgames.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,9 @@
13571357
"classic": {
13581358
"name": "8x8 board"
13591359
},
1360+
"#setup": {
1361+
"name": "Classic setup"
1362+
},
13601363
"scrambled": {
13611364
"description": "Pieces are interspersed with each other instead of starting together on opposite sides of the board.",
13621365
"name": "Scrambled Eggs"

locales/en/apresults.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
"complete": "{{player}} turned a {{what}} into a {{into}} at {{where}}.",
148148
"courtesan": "King and courtesan swapped positions at {{where}}.",
149149
"moonsquad": "{{player}} recruited a squad.",
150+
"pacru": "{{player}} converted {{where}}.",
150151
"paintbucket_one": "{{player}} converted 1 piece at {{where}}.",
151152
"paintbucket_other": "{{player}} converted {{count}} pieces starting at {{where}}.",
152153
"simple": "{{player}} converted a piece at {{where}}.",

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"eslint-plugin-unicorn": "^59.0.1",
4747
"graphology-svg": "^0.1.3",
4848
"graphology-types": "^0.24.7",
49+
"i18next-resources-to-backend": "^1.2.1",
4950
"json-schema-to-typescript": "^15.0.4",
5051
"mocha": "^11.2.2",
5152
"rimraf": "^5.0.1",

src/games/pacru.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ export class PacruGame extends GameBase {
15321532
resolved = true;
15331533
break;
15341534
case "convert":
1535-
node.push(i18next.t("apresults:CONVERT.simple", {player, where: r.where}));
1535+
node.push(i18next.t("apresults:CONVERT.pacru", {player, where: r.where}));
15361536
resolved = true;
15371537
break;
15381538
}

0 commit comments

Comments
 (0)