From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 6 Apr 2021 23:19:36 +0000 (+0200)
Subject: Adjustments
X-Git-Url: https://git.auder.net/doc/html/pieces/img/vendor/index.css?a=commitdiff_plain;h=a57faf48c575029ecbba41de0f87bfe11d8c4e4b;p=vchess.git

Adjustments
---

diff --git a/client/src/translations/fr.js b/client/src/translations/fr.js
index 48029dce..7f5f8fd6 100644
--- a/client/src/translations/fr.js
+++ b/client/src/translations/fr.js
@@ -343,7 +343,7 @@ export const translations = {
   // Variants by categories:
   "What is a chess variant?": "Qu'est-ce qu'une variante ?",
   "Why play chess variants?": "Pourquoi jouer aux variantes ?",
-  "chess_v": "&nbsp;: pour jouer avec les règles standard, depuis une position initiale aléatoire (ou non) symétrique (ou non).",
+  "chess_v": " : pour jouer avec les règles standard, depuis une position initiale aléatoire (ou non) symétrique (ou non).",
   "vt0": "Jeux simplifiés pour apprendre les échecs",
   "vg0": "Variantes avec très peu de pièces différentes, et un but simplifié.",
   "vt1": "Captures obligatoires",
diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue
index 4374fd04..8e28e500 100644
--- a/client/src/views/Variants.vue
+++ b/client/src/views/Variants.vue
@@ -19,7 +19,7 @@ main
           li(v-for="v of variantGroup.get(g)")
             a(:href="getLink(v)") {{ v.display }}
             | &nbsp&ndash;&nbsp;
-            | {{ v.description }}
+            | {{ st.tr[v.description] }}
 </template>
 
 <script>
diff --git a/server/db/populate.sql b/server/db/populate.sql
index 9af2bacb..6f67cc11 100644
--- a/server/db/populate.sql
+++ b/server/db/populate.sql
@@ -65,7 +65,7 @@ insert or ignore into Variants (name, description, groupe, display) values
   ('Doublemove1', 'Double moves (v1)', 24, 'Doublemove 1'),
   ('Doublemove2', 'Double moves (v2)', 24, 'Doublemove 2'),
   ('Dynamo', 'Push and pull', 11, 'Dynamo'),
-  ('Eightpieces', 'Each piece is unique', 7, 'Eightpieces'),
+  ('Eightpieces', 'Each piece is unique', 7, '8 pieces'),
   ('Emergo', 'Stacking Checkers variant', 28, 'Emergo'),
   ('Empire', 'Empire versus Kingdom', 5, 'Empire Chess'),
   ('Enpassant', 'Capture en passant', 10, 'En-passant'),
@@ -91,7 +91,7 @@ insert or ignore into Variants (name, description, groupe, display) values
   ('Isardam', 'No paralyzed pieces', 21, 'Isardam'),
   ('Janggi', 'Korean Chess', 22, 'Janggi'),
   ('Joker', 'Replace pieces', 26, 'Joker'),
-  ('Karouk', 'Thai Chess (v3)', 22, 'Karouk'),
+  ('Karouk', 'Thai Chess (v3)', 22, 'Kar-Ouk'),
   ('Kinglet', 'Protect your pawns', 27, 'Kinglet'),
   ('Kingsmaker', 'Promote into kings', 31, 'Kingsmaker'),
   ('Knightmate1', 'Mate the knight (v1)', 15, 'Knightmate 1'),
@@ -129,7 +129,7 @@ insert or ignore into Variants (name, description, groupe, display) values
   ('Parachute', 'Landing on the board', 19, 'Parachute'),
   ('Pawnmassacre', 'Pieces upside down', 16, 'Pawn Massacre'),
   ('Pawns', 'Reach the last rank (v1)', 0, 'Pawns'),
-  ('Pawnsking', 'Reach the last rank (v2)', 0, 'Pawns King'),
+  ('Pawnsking', 'Reach the last rank (v2)', 0, 'Pawns & King'),
   ('Perfect', 'Powerful pieces', 7, 'Perfect Chess'),
   ('Pocketknight', 'Knight in pocket', 17, 'Pocket Knight'),
   ('Progressive1', 'Play more and more moves (v1)', 24, 'Progressive 1'),