Skip to content

Commit a07265e

Browse files
committed
Add xiangfu tooltip to the catalog
1 parent 2c8ed17 commit a07265e

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

client/i18n.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export const translatedCustomStartPositions = [
103103
];
104104

105105
export const translatedTooltips = [
106+
_("Martial arts Xiangqi."),
106107
_("Infection game."),
107108
_("Chess, unmodified, as it's played by FIDE standards."),
108109
_("Take captured pieces and drop them back on to the board as your own."),

client/lobby/layer3.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ function proTip (variant: string, chess960: boolean) {
145145
return _('Make sure to consider both forms of each piece.');
146146
case 'spartan':
147147
return _('Spartan kings can be a powerful addition to an offensive.');
148+
case 'xiangfu':
149+
return _('Capturing one of your opponent’s champions will give you a pupil.');
148150
// makruk
149151
case 'makruk':
150152
return _('Maximizing khon and met\'s effectiveness is the key.');

client/variants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ interface VariantConfig {
317317

318318
export const VARIANTS: Record<string, Variant> = {
319319
xiangfu: variant({
320-
name: "xiangfu", displayName: "xiang fu", tooltip: "xiangfu",
320+
name: "xiangfu", displayName: "xiang fu", tooltip: "Martial arts Xiangqi.",
321321
startFen: "2rbm4/2cwn4/2+g1+g4/9/9/9/4+G1+G2/4NWC2/4MBR2[] w - 0 1",
322322
icon: "👊",
323323
boardFamily: "xiangfu9x9", pieceFamily: "xiangfu",

0 commit comments

Comments
 (0)