From 2b7e6b4541a81ef78910cb121fa60eb91ee7972d Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Thu, 23 Jul 2020 09:09:42 +0200 Subject: [PATCH] Updated translations --- locales/en.json | 8 +------- locales/fr.json | 14 ++++---------- src/screens/Game/screens/GameStartScreen.js | 2 +- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/locales/en.json b/locales/en.json index dd82a4e..453151e 100644 --- a/locales/en.json +++ b/locales/en.json @@ -377,6 +377,7 @@ "pause": "Game Paused", "pauseMessage": "The game is paused", "resume": "Resume", + "gameOver": "Game Over", "restart": { "text": "Restart", "confirm": "Are you sure you want to restart?", @@ -384,13 +385,6 @@ "confirmYes": "Yes", "confirmNo": "No" }, - "gameOver": { - "text": "Game Over", - "score": "Score: ", - "level": "Level: ", - "time": "Time: ", - "exit": "leave Game" - }, "mascotDialog": { "title": "Play !", "message": "Play.", diff --git a/locales/fr.json b/locales/fr.json index 34152a1..031b4d4 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -376,6 +376,7 @@ "pause": "Pause", "pauseMessage": "T'as fait pause, t'es nul", "resume": "Continuer", + "gameOver": "Game Over", "restart": { "text": "Redémarrer", "confirm": "T'es sûr de vouloir redémarrer ?", @@ -383,17 +384,10 @@ "confirmYes": "Oui", "confirmNo": "Oula non" }, - "gameOver": { - "text": "Game Over", - "score": "Score: ", - "level": "Niveau: ", - "time": "Temps: ", - "exit": "Quitter" - }, "mascotDialog": { - "title": "Jeu !", - "message": "Jouer.", - "button": "Oui !" + "title": "Un secret !", + "message": "Tu as découvert le jeu secret, bravo !\nSi jamais tu as du temps à perdre, ce jeu est là pour toi.", + "button": "Youpi." } }, "debug": { diff --git a/src/screens/Game/screens/GameStartScreen.js b/src/screens/Game/screens/GameStartScreen.js index d86e473..f515b4d 100644 --- a/src/screens/Game/screens/GameStartScreen.js +++ b/src/screens/Game/screens/GameStartScreen.js @@ -168,7 +168,7 @@ class GameStartScreen extends React.Component { }}> {this.isHighScore ? i18n.t("screens.game.newHighScore") - : i18n.t("screens.game.gameOver.text")} + : i18n.t("screens.game.gameOver")}