From 85ba3fe59c2e3033873512c7d04dc87857065928 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Thu, 21 Jan 2021 03:37:39 +0100
Subject: [PATCH] Prepare space for the last one: Avalam (1 & 2 on usual +
 square boards)

---
 client/src/translations/en.js                | 2 ++
 client/src/translations/es.js                | 2 ++
 client/src/translations/fr.js                | 2 ++
 client/src/translations/rules/Avalam1/en.pug | 2 ++
 client/src/translations/rules/Avalam1/es.pug | 2 ++
 client/src/translations/rules/Avalam1/fr.pug | 2 ++
 client/src/translations/rules/Avalam2/en.pug | 2 ++
 client/src/translations/rules/Avalam2/es.pug | 2 ++
 client/src/translations/rules/Avalam2/fr.pug | 2 ++
 client/src/translations/variants/en.pug      | 2 ++
 client/src/translations/variants/es.pug      | 2 ++
 client/src/translations/variants/fr.pug      | 4 +++-
 server/db/populate.sql                       | 2 ++
 13 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 client/src/translations/rules/Avalam1/en.pug
 create mode 100644 client/src/translations/rules/Avalam1/es.pug
 create mode 100644 client/src/translations/rules/Avalam1/fr.pug
 create mode 100644 client/src/translations/rules/Avalam2/en.pug
 create mode 100644 client/src/translations/rules/Avalam2/es.pug
 create mode 100644 client/src/translations/rules/Avalam2/fr.pug

diff --git a/client/src/translations/en.js b/client/src/translations/en.js
index a52d34ec..176741dc 100644
--- a/client/src/translations/en.js
+++ b/client/src/translations/en.js
@@ -183,6 +183,8 @@ export const translations = {
   "Bishop versus pawns": "Bishop versus pawns",
   "Board upside down": "Board upside down",
   "Both sides of the mirror": "Both sides of the mirror",
+  "Build towers (v1)": "Build towers (v1)",
+  "Build towers (v2)": "Build towers (v2)",
   "Burmese Chess": "Burmese Chess",
   "Capablanca Chess": "Capablanca Chess",
   "Capture all of a kind": "Capture all of a kind",
diff --git a/client/src/translations/es.js b/client/src/translations/es.js
index ce055713..3154983b 100644
--- a/client/src/translations/es.js
+++ b/client/src/translations/es.js
@@ -183,6 +183,8 @@ export const translations = {
   "Bishop versus pawns": "Alfil contra peones",
   "Board upside down": "Tablero al revés",
   "Both sides of the mirror": "Ambos lados del espejo",
+  "Build towers (v1)": "Construir torres (v1)",
+  "Build towers (v2)": "Construir torres (v2)",
   "Burmese Chess": "Ajedrez birmano",
   "Capablanca Chess": "Ajedrez Capablanca",
   "Capture all of a kind": "Capturar todo del mismo tipo",
diff --git a/client/src/translations/fr.js b/client/src/translations/fr.js
index e94e1b29..a0518ee3 100644
--- a/client/src/translations/fr.js
+++ b/client/src/translations/fr.js
@@ -183,6 +183,8 @@ export const translations = {
   "Bishop versus pawns": "Fou contre pions",
   "Board upside down": "Échiquier à l'envers",
   "Both sides of the mirror": "Les deux côté du miroir",
+  "Build towers (v1)": "Bâtissez des tours (v1)",
+  "Build towers (v2)": "Bâtissez des tours (v2)",
   "Burmese Chess": "Échecs birmans",
   "Capablanca Chess": "Échecs Capablanca",
   "Capture all of a kind": "Capturez tout d'un même type",
diff --git a/client/src/translations/rules/Avalam1/en.pug b/client/src/translations/rules/Avalam1/en.pug
new file mode 100644
index 00000000..3a33838b
--- /dev/null
+++ b/client/src/translations/rules/Avalam1/en.pug
@@ -0,0 +1,2 @@
+p.boxed
+  | TODO
diff --git a/client/src/translations/rules/Avalam1/es.pug b/client/src/translations/rules/Avalam1/es.pug
new file mode 100644
index 00000000..3a33838b
--- /dev/null
+++ b/client/src/translations/rules/Avalam1/es.pug
@@ -0,0 +1,2 @@
+p.boxed
+  | TODO
diff --git a/client/src/translations/rules/Avalam1/fr.pug b/client/src/translations/rules/Avalam1/fr.pug
new file mode 100644
index 00000000..3a33838b
--- /dev/null
+++ b/client/src/translations/rules/Avalam1/fr.pug
@@ -0,0 +1,2 @@
+p.boxed
+  | TODO
diff --git a/client/src/translations/rules/Avalam2/en.pug b/client/src/translations/rules/Avalam2/en.pug
new file mode 100644
index 00000000..3a33838b
--- /dev/null
+++ b/client/src/translations/rules/Avalam2/en.pug
@@ -0,0 +1,2 @@
+p.boxed
+  | TODO
diff --git a/client/src/translations/rules/Avalam2/es.pug b/client/src/translations/rules/Avalam2/es.pug
new file mode 100644
index 00000000..3a33838b
--- /dev/null
+++ b/client/src/translations/rules/Avalam2/es.pug
@@ -0,0 +1,2 @@
+p.boxed
+  | TODO
diff --git a/client/src/translations/rules/Avalam2/fr.pug b/client/src/translations/rules/Avalam2/fr.pug
new file mode 100644
index 00000000..3a33838b
--- /dev/null
+++ b/client/src/translations/rules/Avalam2/fr.pug
@@ -0,0 +1,2 @@
+p.boxed
+  | TODO
diff --git a/client/src/translations/variants/en.pug b/client/src/translations/variants/en.pug
index eca4de1a..edb525a3 100644
--- a/client/src/translations/variants/en.pug
+++ b/client/src/translations/variants/en.pug
@@ -439,6 +439,8 @@ p Some games not chess related.
 -
   var varlist = [
     "Atarigo",
+    "Avalam1",
+    "Avalam2",
     "Emergo",
     "Fanorona",
     "Gomoku",
diff --git a/client/src/translations/variants/es.pug b/client/src/translations/variants/es.pug
index 9da45160..28ba251a 100644
--- a/client/src/translations/variants/es.pug
+++ b/client/src/translations/variants/es.pug
@@ -449,6 +449,8 @@ p Algunos juegos no están relacionados con el ajedrez.
 -
   var varlist = [
     "Atarigo",
+    "Avalam1",
+    "Avalam2",
     "Emergo",
     "Fanorona",
     "Gomoku",
diff --git a/client/src/translations/variants/fr.pug b/client/src/translations/variants/fr.pug
index 1f75160c..9c881eb9 100644
--- a/client/src/translations/variants/fr.pug
+++ b/client/src/translations/variants/fr.pug
@@ -443,10 +443,12 @@ ul
 
 h3 Hors Échecs
 
-p Quelques jeux non connectés aux échecs.
+p Quelques jeux a priori sans liens avec les échecs.
 -
   var varlist = [
     "Atarigo",
+    "Avalam1",
+    "Avalam2",
     "Emergo",
     "Fanorona",
     "Gomoku",
diff --git a/server/db/populate.sql b/server/db/populate.sql
index cf0f8c52..142ef4a6 100644
--- a/server/db/populate.sql
+++ b/server/db/populate.sql
@@ -24,6 +24,8 @@ insert or ignore into Variants (name, description) values
   ('Atarigo', 'First capture wins'),
   ('Atomic1', 'Explosive captures (v1)'),
   ('Atomic2', 'Explosive captures (v2)'),
+  ('Avalam1', 'Build towers (v1)'),
+  ('Avalam2', 'Build towers (v2)'),
   ('Avalanche', 'Pawnfalls'),
   ('Ball', 'Score a goal'),
   ('Balaklava', 'Meet the Mammoth'),
-- 
2.44.0