From f2672b41658aa0ceb79ba7156e3068c990283c80 Mon Sep 17 00:00:00 2001 From: Jeremie Pardou-Piquemal <571533+jrmi@users.noreply.github.com> Date: Sun, 20 Dec 2020 15:56:53 +0100 Subject: [PATCH] Add translations --- cypress/integration/selection.spec.js | 1 - src/i18n/en.json | 23 ++++++++++++++--------- src/i18n/fr.json | 11 ++++++++--- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/cypress/integration/selection.spec.js b/cypress/integration/selection.spec.js index 537fa04..adc3058 100644 --- a/cypress/integration/selection.spec.js +++ b/cypress/integration/selection.spec.js @@ -24,7 +24,6 @@ describe("Selection action", () => { button: 0, clientX: 350, clientY: 500, - button: 0, isPrimary: true, }) .trigger("pointermove", { diff --git a/src/i18n/en.json b/src/i18n/en.json index 42c8bff..a2348d1 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -152,13 +152,18 @@ "Switch to move mode": "Switch to move mode", "Select mode": "Select mode", "Switch to select mode": "Switch to select mode", - "Color 1": "__NOT_TRANSLATED__", - "Color 2": "__NOT_TRANSLATED__", - "Column count": "__NOT_TRANSLATED__", - "Row count": "__NOT_TRANSLATED__", - "Pawn": "__NOT_TRANSLATED__", - "Checkerboard": "__NOT_TRANSLATED__", - "Magnetic Grid size": "__NOT_TRANSLATED__", - "Start a game now": "__NOT_TRANSLATED__", - "<0>Play board games online<1>with your friends - for free!<1>Choose from our selection or create your own.<1>No need to sign up. Just start a game and share the link with your friends.": "<0>Play board games online<1>with your friends - for free!<1>Choose from our selection or create your own.<1>No need to sign up. Just start a game and share the link with your friends." + "Color 1": "Color 1", + "Color 2": "Color 2", + "Column count": "Column count", + "Row count": "Row count", + "Pawn": "Pawn", + "Checkerboard": "Checkerboard", + "Magnetic Grid size": "Magnetic grid size", + "Start a game now": "Start a game now", + "Rotate randomly 30": "Rotate randomly 30°", + "Rotate randomly 45": "Rotate randomly 45°", + "Rotate randomly 90": "Rotate randomly 90°", + "Rotate randomly 180": "Rotate randomly 180°", + "Baseline": "Baseline", + "baseline": "<0>Play board games online<1>with your friends - for free!<1>Choose from our selection or create your own.<1>No need to sign up. Just start a game and share the link with your friends." } diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 4195421..21afedb 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -98,7 +98,7 @@ "No image": "Pas d'image", "Sending file...": "Envoi en cours…", "Click or drag'n'drop file here": "Cliquez ou déposez des fichiers dans cette zone", - "Create new game": "Créer un jeu", + "Create new game": "Nouveau jeu", "Game loading...": "Chargement…", "Go to home": "Accueil", "Configure game": "Configurer le jeu", @@ -159,5 +159,10 @@ "Checkerboard": "Damier", "Magnetic Grid size": "Taille de la grille", "Start a game now": "Commencez à jouer", - "baseline": "<0>Jouez aux jeux de société en ligne<1>avec vos amis - gratuitement !<1>Choisissez parmi notre sélection ou ajoutez le votre.<1>Pas besoin de compte, démarrez un jeu et partagez le lien avec vos amis." -} \ No newline at end of file + "baseline": "<0>Jouez aux jeux de société en ligne<1>avec vos amis - gratuitement !<1>Choisissez parmi notre sélection ou ajoutez le votre.<1>Pas besoin de compte, démarrez un jeu et partagez le lien avec vos amis.", + "Rotate randomly 30": "Rotation aléatoire de 30°", + "Rotate randomly 45": "Rotation aléatoire de 45°", + "Rotate randomly 90": "Rotation aléatoire de 90°", + "Rotate randomly 180": "Rotation aléatoire de 180°", + "Baseline": "Baseline" +}