From fe887246377e76ea1fbd6fa19d99d6b1fdecbc7d Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 1 Jan 2021 03:01:35 +0100
Subject: [PATCH] Fix mispelled Jangqi --> Janggi

---
 TODO                                                    | 4 +---
 client/src/translations/rules/{Jangqi => Janggi}/en.pug | 0
 client/src/translations/rules/{Jangqi => Janggi}/es.pug | 0
 client/src/translations/rules/{Jangqi => Janggi}/fr.pug | 0
 client/src/variants/{Jangqi.js => Janggi.js}            | 2 +-
 server/db/populate.sql                                  | 2 +-
 6 files changed, 3 insertions(+), 5 deletions(-)
 rename client/src/translations/rules/{Jangqi => Janggi}/en.pug (100%)
 rename client/src/translations/rules/{Jangqi => Janggi}/es.pug (100%)
 rename client/src/translations/rules/{Jangqi => Janggi}/fr.pug (100%)
 rename client/src/variants/{Jangqi.js => Janggi.js} (99%)

diff --git a/TODO b/TODO
index 3790c55d..c3bde3fa 100644
--- a/TODO
+++ b/TODO
@@ -42,7 +42,5 @@ https://www.chessvariants.com/play/connected-chess
 Non-chess:
 fanorona https://fr.wikipedia.org/wiki/Fanorona
 Yoté https://fr.wikipedia.org/wiki/Yot%C3%A9 http://www.zillionsofgames.com/cgi-bin/zilligames/submissions.cgi/92187?do=show;id=960
-gess https://en.wikipedia.org/wiki/Gess
-gomoku, reversi
-avalam, qoridor (wider lines in another color, vr.lines [npt static get] for this one ?), draughts, draughts8
+gomoku, avalam, qoridor (wider lines in another color ?), draughts, draughts8
 (puis quand hexaboards peut-être: hexavariants + Hex)
diff --git a/client/src/translations/rules/Jangqi/en.pug b/client/src/translations/rules/Janggi/en.pug
similarity index 100%
rename from client/src/translations/rules/Jangqi/en.pug
rename to client/src/translations/rules/Janggi/en.pug
diff --git a/client/src/translations/rules/Jangqi/es.pug b/client/src/translations/rules/Janggi/es.pug
similarity index 100%
rename from client/src/translations/rules/Jangqi/es.pug
rename to client/src/translations/rules/Janggi/es.pug
diff --git a/client/src/translations/rules/Jangqi/fr.pug b/client/src/translations/rules/Janggi/fr.pug
similarity index 100%
rename from client/src/translations/rules/Jangqi/fr.pug
rename to client/src/translations/rules/Janggi/fr.pug
diff --git a/client/src/variants/Jangqi.js b/client/src/variants/Janggi.js
similarity index 99%
rename from client/src/variants/Jangqi.js
rename to client/src/variants/Janggi.js
index 14204d88..98660a4b 100644
--- a/client/src/variants/Jangqi.js
+++ b/client/src/variants/Janggi.js
@@ -1,6 +1,6 @@
 import { ChessRules, Move, PiPo } from "@/base_rules";
 
-export class JangqiRules extends ChessRules {
+export class JanggiRules extends ChessRules {
 
   static get Monochrome() {
     return true;
diff --git a/server/db/populate.sql b/server/db/populate.sql
index 56a0430c..ce6fd393 100644
--- a/server/db/populate.sql
+++ b/server/db/populate.sql
@@ -64,7 +64,7 @@ insert or ignore into Variants (name, description) values
   ('Hoppelpoppel', 'Knibis and Bisknis'),
   ('Horde', 'A pawns cloud'),
   ('Interweave', 'Interweaved colorbound teams'),
-  ('Jangqi', 'Korean Chess'),
+  ('Janggi', 'Korean Chess'),
   ('Kinglet', 'Protect your pawns'),
   ('Knightmate', 'Mate the knight'),
   ('Knightpawns', 'Knight versus pawns'),
-- 
2.44.0