Small changes in header search: patch adding Caro-Kann variations

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Small changes in header search: patch adding Caro-Kann variations

Igor Sosa Mayor

the small dialog which appears in the header search to select openings
has a rather arbitrary selection of openings. For instance there is only
the advance variation in the caro-kann. I wrote a small patch to include
other (most used, by the way) variations.

Maybe it is possible to apply it...

Many thanks in advance.

Igor Sosa Mayor

diff --git a/tcl/lang/english.tcl b/tcl/lang/english.tcl
index b779af1..d4631f1 100644
--- a/tcl/lang/english.tcl
+++ b/tcl/lang/english.tcl
@@ -1513,6 +1513,9 @@ translate E AlekhineDefence {Alekhine Defence}
 translate E Pirc {Pirc}
 translate E CaroKann {Caro-Kann}
 translate E CaroKannAdvance {Caro-Kann Advance}
+translate E CaroKannExchange {Caro-Kann Exchange}
+translate E CaroKannPannov {Caro-Kann Pannov}
+translate E CaroKannClassical {Caro-Kann Classical}
 translate E Sicilian {Sicilian}
 translate E SicilianAlapin {Sicilian Alapin}
 translate E SicilianClosed {Sicilian Closed}
diff --git a/tcl/search/header.tcl b/tcl/search/header.tcl
index 62b3059..9886992 100644
--- a/tcl/search/header.tcl
+++ b/tcl/search/header.tcl
@@ -636,6 +636,9 @@ proc chooseEcoRange {} {
       "B07-B09     [tr Pirc]: 1.e4 d6" \
       "B10-B19     [tr CaroKann]: 1.e4 c6" \
       "B12i-B12z      [tr CaroKannAdvance]: 1.e4 c6 2.d4 d5 3.e5" \
+      "B13-B13        [tr CaroKannExchange]: 1.e4 c6 2.d4 d5 3.exd5" \
+      "B14-B14        [tr CaroKannPannov]: 1.e4 c6 2.d4 d5 3.exd5 cxd5 4.c4" \
+      "B18-B19        [tr CaroKannClassical]: 1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Bf5" \
       "B20-B99  [tr Sicilian]: 1.e4 c5" \
       "B22-B22     [tr SicilianAlapin]: 1.e4 c5 2.c3" \
       "B23-B26     [tr SicilianClosed]: [trans [list 1.e4 c5 2.Nc3]]" \


Scid-users mailing list
[hidden email]