Use Polyglot to add spanish translations

This commit is contained in:
Julian Calvento
2019-05-09 17:04:06 -03:00
parent dd48a879c2
commit c1198070bd
16 changed files with 126 additions and 1139 deletions

16
src/locales/es.json Normal file
View File

@@ -0,0 +1,16 @@
{
"snake": {
"score": "Puntaje",
"gameOver": "¡Se acabó el juego!",
"anyKey": "Presioná cualquier tecla para jugar nuevamente"
},
"tanks": {
"playerWon": "¡Ha ganado el jugador %{name}!",
"player": "Jugador %{number}",
"health": "Salud %{value}",
"angle": "Ángulo %{value}"
},
"spacecraft": {
"score": "Puntaje"
}
}