From: Benjamin Auder Date: Fri, 1 Jan 2021 02:01:35 +0000 (+0100) Subject: Fix mispelled Jangqi --> Janggi X-Git-Url: https://git.auder.net/game/current/app_dev.php/pieces/doc/DESCRIPTION?a=commitdiff_plain;h=fe887246377e76ea1fbd6fa19d99d6b1fdecbc7d;p=vchess.git Fix mispelled Jangqi --> Janggi --- 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'),