Skip to content

Commit e394810

Browse files
committed
Add Pillsbury's mate. Tnx Instit for the tip
1 parent 4e35d93 commit e394810

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

src/search_tab.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub enum TacticalThemes {
5353
Opening, Middlegame, Endgame, RookEndgame, BishopEndgame, PawnEndgame, KnightEndgame, QueenEndgame, QueenRookEndgame,
5454
AdvancedPawn, AtackingF2F7, CapturingDefender, DiscoveredAttack, DoubleCheck, ExposedKing, Fork, HangingPiece, KingsideAttack, Pin, QueensideAttack, Sacrifice, Skewer, TrappedPiece,
5555
Attraction, Clearance, DefensiveMove, Deflection, Interference, Intermezzo, QuietMove, XRayAttack, Zugzwang,
56-
Mate, MateIn1, MateIn2, MateIn3, MateIn4, MateIn5, AnastasiaMate, ArabianMate, BackRankMate, BalestraMate, BlindSwineMate, BodenMate, CornerMate, DoubleBishopMate, DovetailMate, HookMate, KillBoxMate, MorphysMate, OperaMate, TriangleMate, VukovicMate, SmotheredMate,
56+
Mate, MateIn1, MateIn2, MateIn3, MateIn4, MateIn5, AnastasiaMate, ArabianMate, BackRankMate, BalestraMate, BlindSwineMate, BodenMate, CornerMate, DoubleBishopMate, DovetailMate, HookMate, KillBoxMate, PillsburyMate, MorphysMate, OperaMate, TriangleMate, VukovicMate, SmotheredMate,
5757
Castling, EnPassant, Promotion, UnderPromotion,
5858
Equality, Advantage, Crushing,
5959
OneMove, Short, Long, VeryLong,
@@ -62,7 +62,7 @@ pub enum TacticalThemes {
6262

6363
impl TacticalThemes {
6464

65-
const ALL: [TacticalThemes; 69] = [
65+
const ALL: [TacticalThemes; 70] = [
6666
TacticalThemes::All,
6767
TacticalThemes::Opening, TacticalThemes::Middlegame, TacticalThemes::Endgame, TacticalThemes::RookEndgame,
6868
TacticalThemes::BishopEndgame, TacticalThemes::PawnEndgame, TacticalThemes::KnightEndgame,
@@ -82,7 +82,7 @@ impl TacticalThemes {
8282
TacticalThemes::MateIn4, TacticalThemes::MateIn5, TacticalThemes::AnastasiaMate, TacticalThemes::ArabianMate,
8383
TacticalThemes::BackRankMate, TacticalThemes::BalestraMate, TacticalThemes::BlindSwineMate, TacticalThemes::BodenMate,
8484
TacticalThemes::CornerMate, TacticalThemes::DoubleBishopMate, TacticalThemes::DovetailMate, TacticalThemes::HookMate,
85-
TacticalThemes::KillBoxMate, TacticalThemes::MorphysMate, TacticalThemes::OperaMate, TacticalThemes::TriangleMate,
85+
TacticalThemes::KillBoxMate, TacticalThemes::PillsburyMate, TacticalThemes::MorphysMate, TacticalThemes::OperaMate, TacticalThemes::TriangleMate,
8686
TacticalThemes::VukovicMate, TacticalThemes::SmotheredMate,
8787

8888
TacticalThemes::Castling, TacticalThemes::EnPassant, TacticalThemes::Promotion,
@@ -157,6 +157,7 @@ impl TacticalThemes {
157157
TacticalThemes::DovetailMate => "dovetailMate",
158158
TacticalThemes::HookMate => "hookMate",
159159
TacticalThemes::KillBoxMate => "killBoxMate",
160+
TacticalThemes::PillsburyMate => "pillsburysMate",
160161
TacticalThemes::MorphysMate => "morphysMate",
161162
TacticalThemes::OperaMate => "operaMate",
162163
TacticalThemes::TriangleMate => "triangleMate",

translations/cn/ocp.ftl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,11 @@ cornerMate = Corner mate
163163
doubleBishopMate = 双象杀
164164
dovetailMate = 燕尾杀
165165
hookMate = 钩子杀
166+
killBoxMate = 绝杀盒
167+
pillsburysMate = Pillsbury's mate
166168
morphysMate = Morphy's mate
167169
operaMate = Opera mate
168170
triangleMate = Triangle mate
169-
killBoxMate = 绝杀盒
170171
vukovicMate = 武科维奇杀
171172
smotheredMate = 闷杀
172173

translations/en-US/ocp.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ doubleBishopMate = Double bishop mate
160160
dovetailMate = Dovetail mate
161161
hookMate = Hook mate
162162
killBoxMate = Kill Box mate
163+
pillsburysMate = Pillsbury's mate
163164
morphysMate = Morphy's mate
164165
operaMate = Opera mate
165166
triangleMate = Triangle mate

translations/es/ocp.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ doubleBishopMate = Mate de los dos alfiles
160160
dovetailMate = Mate de Cozio
161161
hookMate = Mate del gancho
162162
killBoxMate = Mate del recuadro mortal
163+
pillsburysMate = Mate de Pillsbury
163164
morphysMate = Mate de Morphy
164165
operaMate = Mate de la ópera
165166
triangleMate = Mate del triángulo

translations/fr/ocp.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ doubleBishopMate = Mat des deux Fous
162162
dovetailMate = Mat de Cozio
163163
hookMate = Mat de l'hameçon
164164
killBoxMate = Mat par mise en boîte
165+
pillsburysMate = Mat de Pillsbury
165166
morphysMate = Mat de Morphy
166167
operaMate = Mat de l'opéra
167168
triangleMate = Mat du triangle

translations/pt-BR/ocp.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ doubleBishopMate = Mate de dois bispos
160160
dovetailMate = Mate da cauda de andorinha
161161
hookMate = Mate do gancho
162162
killBoxMate = Mate do caixão
163+
pillsburysMate = Mate de Pillsbury
163164
morphysMate = Mate de Morphy
164165
operaMate = Mate da ópera
165166
triangleMate = Mate do triângulo

0 commit comments

Comments
 (0)