Browse Source

Updated translations

Arnaud Vergnet 3 years ago
parent
commit
2b7e6b4541
3 changed files with 6 additions and 18 deletions
  1. 1
    7
      locales/en.json
  2. 4
    10
      locales/fr.json
  3. 1
    1
      src/screens/Game/screens/GameStartScreen.js

+ 1
- 7
locales/en.json View File

@@ -377,6 +377,7 @@
377 377
       "pause": "Game Paused",
378 378
       "pauseMessage": "The game is paused",
379 379
       "resume": "Resume",
380
+      "gameOver": "Game Over",
380 381
       "restart": {
381 382
         "text": "Restart",
382 383
         "confirm": "Are you sure you want to restart?",
@@ -384,13 +385,6 @@
384 385
         "confirmYes": "Yes",
385 386
         "confirmNo": "No"
386 387
       },
387
-      "gameOver": {
388
-        "text": "Game Over",
389
-        "score": "Score: ",
390
-        "level": "Level: ",
391
-        "time": "Time: ",
392
-        "exit": "leave Game"
393
-      },
394 388
       "mascotDialog": {
395 389
         "title": "Play !",
396 390
         "message": "Play.",

+ 4
- 10
locales/fr.json View File

@@ -376,6 +376,7 @@
376 376
       "pause": "Pause",
377 377
       "pauseMessage": "T'as fait pause, t'es nul",
378 378
       "resume": "Continuer",
379
+      "gameOver": "Game Over",
379 380
       "restart": {
380 381
         "text": "Redémarrer",
381 382
         "confirm": "T'es sûr de vouloir redémarrer ?",
@@ -383,17 +384,10 @@
383 384
         "confirmYes": "Oui",
384 385
         "confirmNo": "Oula non"
385 386
       },
386
-      "gameOver": {
387
-        "text": "Game Over",
388
-        "score": "Score: ",
389
-        "level": "Niveau: ",
390
-        "time": "Temps: ",
391
-        "exit": "Quitter"
392
-      },
393 387
       "mascotDialog": {
394
-        "title": "Jeu !",
395
-        "message": "Jouer.",
396
-        "button": "Oui !"
388
+        "title": "Un secret !",
389
+        "message": "Tu as découvert le jeu secret, bravo !\nSi jamais tu as du temps à perdre, ce jeu est là pour toi.",
390
+        "button": "Youpi."
397 391
       }
398 392
     },
399 393
     "debug": {

+ 1
- 1
src/screens/Game/screens/GameStartScreen.js View File

@@ -168,7 +168,7 @@ class GameStartScreen extends React.Component<Props, State> {
168 168
                             }}>
169 169
                             {this.isHighScore
170 170
                                 ? i18n.t("screens.game.newHighScore")
171
-                                : i18n.t("screens.game.gameOver.text")}
171
+                                : i18n.t("screens.game.gameOver")}
172 172
                         </Headline>
173 173
                         <Divider/>
174 174
                         <View style={{

Loading…
Cancel
Save