Add a hint to tell the user how to use ladders
This commit is contained in:
parent
f48377e055
commit
156e4a7e3a
|
@ -57,7 +57,7 @@ Dans le `pack de textures`_ ASCII, il est représenté par le caractère ``8``.
|
||||||
Dans le `pack de textures`_ écureuil, il est représenté par l'émoji ``🧸``.
|
Dans le `pack de textures`_ écureuil, il est représenté par l'émoji ``🧸``.
|
||||||
|
|
||||||
|
|
||||||
Pyguargue
|
Pygargue
|
||||||
---------
|
---------
|
||||||
Son nom est fixé à `eagle`. Il a par défaut une force à **1000** et **5000** points de vie.
|
Son nom est fixé à `eagle`. Il a par défaut une force à **1000** et **5000** points de vie.
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Pack de textures
|
||||||
.. _Bouclier: entities/items.html#bouclier
|
.. _Bouclier: entities/items.html#bouclier
|
||||||
.. _Hazel: ../index.html
|
.. _Hazel: ../index.html
|
||||||
.. _Plastron: ../entities/items.html#plastron
|
.. _Plastron: ../entities/items.html#plastron
|
||||||
.. _Pyguargue: ../entities/monsters.html#Pyguargue
|
.. _Pygargue: ../entities/monsters.html#Pygargue
|
||||||
.. _Casque: ../entities/items.html#Casque
|
.. _Casque: ../entities/items.html#Casque
|
||||||
.. _Anneau: ../entities/items.html#Anneau
|
.. _Anneau: ../entities/items.html#Anneau
|
||||||
.. _Trompette: ../entities/items.html#Trompette
|
.. _Trompette: ../entities/items.html#Trompette
|
||||||
|
@ -64,7 +64,7 @@ Chaque tuile fait un caractère de large.
|
||||||
* Bouclier_ : ``D``
|
* Bouclier_ : ``D``
|
||||||
* Hazel_ : ``¤``
|
* Hazel_ : ``¤``
|
||||||
* Plastron_ : ``(``
|
* Plastron_ : ``(``
|
||||||
* Pyguargue_ : ``µ``
|
* Pygargue_ : ``µ``
|
||||||
* Casque_ : ``0``
|
* Casque_ : ``0``
|
||||||
* Anneau_ : ``o``
|
* Anneau_ : ``o``
|
||||||
* Trompette_ : ``/``
|
* Trompette_ : ``/``
|
||||||
|
@ -95,7 +95,7 @@ Chaque tuile fait 2 caractères de large pour afficher les émojis proprement.
|
||||||
* Bouclier_ : ``🛡️``
|
* Bouclier_ : ``🛡️``
|
||||||
* Hazel_ : ``🌰``
|
* Hazel_ : ``🌰``
|
||||||
* Plastron_ : ``🦺``
|
* Plastron_ : ``🦺``
|
||||||
* Pyguargue_ : ``🦅``
|
* Pygargue_ : ``🦅``
|
||||||
* Casque_ : ``⛑️``
|
* Casque_ : ``⛑️``
|
||||||
* Anneau_ : ``💍``
|
* Anneau_ : ``💍``
|
||||||
* Trompette_ : ``🎺``
|
* Trompette_ : ``🎺``
|
||||||
|
|
|
@ -5,6 +5,7 @@ import curses
|
||||||
|
|
||||||
from ..entities.player import Player
|
from ..entities.player import Player
|
||||||
from ..game import Game
|
from ..game import Game
|
||||||
|
from ..settings import Settings
|
||||||
from ..translations import gettext as _
|
from ..translations import gettext as _
|
||||||
from .display import Display
|
from .display import Display
|
||||||
|
|
||||||
|
@ -14,6 +15,7 @@ class StatsDisplay(Display):
|
||||||
A class to handle the display of the stats of the player.
|
A class to handle the display of the stats of the player.
|
||||||
"""
|
"""
|
||||||
player: Player
|
player: Player
|
||||||
|
settings: Settings
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
@ -21,6 +23,7 @@ class StatsDisplay(Display):
|
||||||
|
|
||||||
def update(self, game: Game) -> None:
|
def update(self, game: Game) -> None:
|
||||||
self.player = game.player
|
self.player = game.player
|
||||||
|
self.settings = game.settings
|
||||||
|
|
||||||
def update_pad(self) -> None:
|
def update_pad(self) -> None:
|
||||||
string2 = f"{_(self.player.name).capitalize()} " \
|
string2 = f"{_(self.player.name).capitalize()} " \
|
||||||
|
@ -77,6 +80,12 @@ class StatsDisplay(Display):
|
||||||
self.addstr(self.pad, 15, 0, _("YOU ARE DEAD"), curses.COLOR_RED,
|
self.addstr(self.pad, 15, 0, _("YOU ARE DEAD"), curses.COLOR_RED,
|
||||||
bold=True, blink=True, standout=True)
|
bold=True, blink=True, standout=True)
|
||||||
|
|
||||||
|
if self.player.map.tiles[self.player.y][self.player.x].is_ladder():
|
||||||
|
msg = _("Use {key} to use the ladder") \
|
||||||
|
.format(key=self.settings.KEY_LADDER)
|
||||||
|
self.addstr(self.pad, self.height - 2, 0, msg,
|
||||||
|
italic=True, reverse=True)
|
||||||
|
|
||||||
def display(self) -> None:
|
def display(self) -> None:
|
||||||
self.pad.erase()
|
self.pad.erase()
|
||||||
self.update_pad()
|
self.update_pad()
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
||||||
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
||||||
"POT-Creation-Date: 2021-01-08 12:03+0100\n"
|
"POT-Creation-Date: 2021-01-08 14:47+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -17,6 +17,12 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
msgid "ring_of_critical_damage"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ring_of_more_experience"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} takes {amount} damage."
|
msgid "{name} takes {amount} damage."
|
||||||
msgstr "{name} nimmt {amount} Schadenspunkte."
|
msgstr "{name} nimmt {amount} Schadenspunkte."
|
||||||
|
@ -43,30 +49,35 @@ msgstr "BESTAND"
|
||||||
msgid "STALL"
|
msgid "STALL"
|
||||||
msgstr "STAND"
|
msgstr "STAND"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:40
|
#: squirrelbattle/display/statsdisplay.py:43
|
||||||
msgid "Inventory:"
|
msgid "Inventory:"
|
||||||
msgstr "Bestand:"
|
msgstr "Bestand:"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:57
|
#: squirrelbattle/display/statsdisplay.py:60
|
||||||
msgid "Equipped main:"
|
msgid "Equipped main:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:61
|
#: squirrelbattle/display/statsdisplay.py:64
|
||||||
msgid "Equipped secondary:"
|
msgid "Equipped secondary:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:66
|
#: squirrelbattle/display/statsdisplay.py:69
|
||||||
msgid "Equipped chestplate:"
|
msgid "Equipped chestplate:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:70
|
#: squirrelbattle/display/statsdisplay.py:73
|
||||||
msgid "Equipped helmet:"
|
msgid "Equipped helmet:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:77
|
#: squirrelbattle/display/statsdisplay.py:80
|
||||||
msgid "YOU ARE DEAD"
|
msgid "YOU ARE DEAD"
|
||||||
msgstr "SIE WURDEN GESTORBEN"
|
msgstr "SIE WURDEN GESTORBEN"
|
||||||
|
|
||||||
|
#: squirrelbattle/display/statsdisplay.py:84
|
||||||
|
#, python-brace-format
|
||||||
|
msgid "Use {key} to use the ladder"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. TODO
|
#. TODO
|
||||||
#: squirrelbattle/entities/friendly.py:33
|
#: squirrelbattle/entities/friendly.py:33
|
||||||
msgid "I don't sell any squirrel"
|
msgid "I don't sell any squirrel"
|
||||||
|
@ -106,7 +117,7 @@ msgstr "Der Spieler klettert auf dem Stock {floor} hinoben."
|
||||||
msgid "The buyer does not have enough money"
|
msgid "The buyer does not have enough money"
|
||||||
msgstr "Der Kaufer hat nicht genug Geld"
|
msgstr "Der Kaufer hat nicht genug Geld"
|
||||||
|
|
||||||
#: squirrelbattle/game.py:347
|
#: squirrelbattle/game.py:349
|
||||||
msgid ""
|
msgid ""
|
||||||
"Some keys are missing in your save file.\n"
|
"Some keys are missing in your save file.\n"
|
||||||
"Your save seems to be corrupt. It got deleted."
|
"Your save seems to be corrupt. It got deleted."
|
||||||
|
@ -114,7 +125,7 @@ msgstr ""
|
||||||
"In Ihrer Speicherdatei fehlen einige Schlüssel.\n"
|
"In Ihrer Speicherdatei fehlen einige Schlüssel.\n"
|
||||||
"Ihre Speicherung scheint korrupt zu sein. Es wird gelöscht."
|
"Ihre Speicherung scheint korrupt zu sein. Es wird gelöscht."
|
||||||
|
|
||||||
#: squirrelbattle/game.py:355
|
#: squirrelbattle/game.py:357
|
||||||
msgid ""
|
msgid ""
|
||||||
"No player was found on this map!\n"
|
"No player was found on this map!\n"
|
||||||
"Maybe you died?"
|
"Maybe you died?"
|
||||||
|
@ -122,7 +133,7 @@ msgstr ""
|
||||||
"Auf dieser Karte wurde kein Spieler gefunden!\n"
|
"Auf dieser Karte wurde kein Spieler gefunden!\n"
|
||||||
"Vielleicht sind Sie gestorben?"
|
"Vielleicht sind Sie gestorben?"
|
||||||
|
|
||||||
#: squirrelbattle/game.py:375
|
#: squirrelbattle/game.py:379
|
||||||
msgid ""
|
msgid ""
|
||||||
"The JSON file is not correct.\n"
|
"The JSON file is not correct.\n"
|
||||||
"Your save seems corrupted. It got deleted."
|
"Your save seems corrupted. It got deleted."
|
||||||
|
@ -130,26 +141,26 @@ msgstr ""
|
||||||
"Die JSON-Datei ist nicht korrekt.\n"
|
"Die JSON-Datei ist nicht korrekt.\n"
|
||||||
"Ihre Speicherung scheint korrumpiert. Sie wurde gelöscht."
|
"Ihre Speicherung scheint korrumpiert. Sie wurde gelöscht."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:712
|
#: squirrelbattle/interfaces.py:718
|
||||||
msgid "It's a critical hit!"
|
msgid "It's a critical hit!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:713
|
#: squirrelbattle/interfaces.py:719
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} hits {opponent}."
|
msgid "{name} hits {opponent}."
|
||||||
msgstr "{name} schlägt {opponent}."
|
msgstr "{name} schlägt {opponent}."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:727
|
#: squirrelbattle/interfaces.py:733
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} takes {damage} damage."
|
msgid "{name} takes {damage} damage."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:729
|
#: squirrelbattle/interfaces.py:735
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} dies."
|
msgid "{name} dies."
|
||||||
msgstr "{name} stirbt."
|
msgstr "{name} stirbt."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:763
|
#: squirrelbattle/interfaces.py:769
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{entity} said: {message}"
|
msgid "{entity} said: {message}"
|
||||||
msgstr "{entity} hat gesagt: {message}"
|
msgstr "{entity} hat gesagt: {message}"
|
||||||
|
@ -284,42 +295,46 @@ msgstr "Teddybär"
|
||||||
msgid "tiger"
|
msgid "tiger"
|
||||||
msgstr "Tiger"
|
msgstr "Tiger"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:71
|
#: squirrelbattle/tests/translations_test.py:70
|
||||||
|
msgid "eagle"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: squirrelbattle/tests/translations_test.py:72
|
||||||
msgid "body snatch potion"
|
msgid "body snatch potion"
|
||||||
msgstr "Leichenfleddererzaubertrank"
|
msgstr "Leichenfleddererzaubertrank"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:72
|
#: squirrelbattle/tests/translations_test.py:73
|
||||||
msgid "bomb"
|
msgid "bomb"
|
||||||
msgstr "Bombe"
|
msgstr "Bombe"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:73
|
#: squirrelbattle/tests/translations_test.py:74
|
||||||
msgid "explosion"
|
msgid "explosion"
|
||||||
msgstr "Explosion"
|
msgstr "Explosion"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:74
|
#: squirrelbattle/tests/translations_test.py:75
|
||||||
msgid "heart"
|
msgid "heart"
|
||||||
msgstr "Herz"
|
msgstr "Herz"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:75
|
#: squirrelbattle/tests/translations_test.py:76
|
||||||
msgid "sword"
|
msgid "sword"
|
||||||
msgstr "schwert"
|
msgstr "schwert"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:76
|
#: squirrelbattle/tests/translations_test.py:77
|
||||||
msgid "helmet"
|
msgid "helmet"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:77
|
#: squirrelbattle/tests/translations_test.py:78
|
||||||
msgid "chestplate"
|
msgid "chestplate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:78
|
#: squirrelbattle/tests/translations_test.py:79
|
||||||
msgid "shield"
|
msgid "shield"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:79
|
#: squirrelbattle/tests/translations_test.py:80
|
||||||
msgid "ring_of_critical_damage"
|
msgid "ring of critical damage"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:81
|
#: squirrelbattle/tests/translations_test.py:82
|
||||||
msgid "ring_of_more_experience"
|
msgid "ring of more experience"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
||||||
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
||||||
"POT-Creation-Date: 2021-01-08 12:03+0100\n"
|
"POT-Creation-Date: 2021-01-08 14:47+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -17,6 +17,12 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
msgid "ring_of_critical_damage"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ring_of_more_experience"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} takes {amount} damage."
|
msgid "{name} takes {amount} damage."
|
||||||
msgstr "{name} recibe {amount} daño."
|
msgstr "{name} recibe {amount} daño."
|
||||||
|
@ -43,30 +49,35 @@ msgstr "INVENTORIO"
|
||||||
msgid "STALL"
|
msgid "STALL"
|
||||||
msgstr "PUESTO"
|
msgstr "PUESTO"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:40
|
#: squirrelbattle/display/statsdisplay.py:43
|
||||||
msgid "Inventory:"
|
msgid "Inventory:"
|
||||||
msgstr "Inventorio :"
|
msgstr "Inventorio :"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:57
|
#: squirrelbattle/display/statsdisplay.py:60
|
||||||
msgid "Equipped main:"
|
msgid "Equipped main:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:61
|
#: squirrelbattle/display/statsdisplay.py:64
|
||||||
msgid "Equipped secondary:"
|
msgid "Equipped secondary:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:66
|
#: squirrelbattle/display/statsdisplay.py:69
|
||||||
msgid "Equipped chestplate:"
|
msgid "Equipped chestplate:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:70
|
#: squirrelbattle/display/statsdisplay.py:73
|
||||||
msgid "Equipped helmet:"
|
msgid "Equipped helmet:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:77
|
#: squirrelbattle/display/statsdisplay.py:80
|
||||||
msgid "YOU ARE DEAD"
|
msgid "YOU ARE DEAD"
|
||||||
msgstr "ERES MUERTO"
|
msgstr "ERES MUERTO"
|
||||||
|
|
||||||
|
#: squirrelbattle/display/statsdisplay.py:84
|
||||||
|
#, python-brace-format
|
||||||
|
msgid "Use {key} to use the ladder"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/entities/friendly.py:33
|
#: squirrelbattle/entities/friendly.py:33
|
||||||
msgid "I don't sell any squirrel"
|
msgid "I don't sell any squirrel"
|
||||||
msgstr "No vendo ninguna ardilla"
|
msgstr "No vendo ninguna ardilla"
|
||||||
|
@ -105,7 +116,7 @@ msgstr ""
|
||||||
msgid "The buyer does not have enough money"
|
msgid "The buyer does not have enough money"
|
||||||
msgstr "El comprador no tiene suficiente dinero"
|
msgstr "El comprador no tiene suficiente dinero"
|
||||||
|
|
||||||
#: squirrelbattle/game.py:347
|
#: squirrelbattle/game.py:349
|
||||||
msgid ""
|
msgid ""
|
||||||
"Some keys are missing in your save file.\n"
|
"Some keys are missing in your save file.\n"
|
||||||
"Your save seems to be corrupt. It got deleted."
|
"Your save seems to be corrupt. It got deleted."
|
||||||
|
@ -113,7 +124,7 @@ msgstr ""
|
||||||
"Algunas claves faltan en su archivo de guarda.\n"
|
"Algunas claves faltan en su archivo de guarda.\n"
|
||||||
"Su guarda parece a ser corruptido. Fue eliminado."
|
"Su guarda parece a ser corruptido. Fue eliminado."
|
||||||
|
|
||||||
#: squirrelbattle/game.py:355
|
#: squirrelbattle/game.py:357
|
||||||
msgid ""
|
msgid ""
|
||||||
"No player was found on this map!\n"
|
"No player was found on this map!\n"
|
||||||
"Maybe you died?"
|
"Maybe you died?"
|
||||||
|
@ -121,7 +132,7 @@ msgstr ""
|
||||||
"No jugador encontrado sobre la carta !\n"
|
"No jugador encontrado sobre la carta !\n"
|
||||||
"¿ Quizas murió ?"
|
"¿ Quizas murió ?"
|
||||||
|
|
||||||
#: squirrelbattle/game.py:375
|
#: squirrelbattle/game.py:379
|
||||||
msgid ""
|
msgid ""
|
||||||
"The JSON file is not correct.\n"
|
"The JSON file is not correct.\n"
|
||||||
"Your save seems corrupted. It got deleted."
|
"Your save seems corrupted. It got deleted."
|
||||||
|
@ -129,26 +140,26 @@ msgstr ""
|
||||||
"El JSON archivo no es correcto.\n"
|
"El JSON archivo no es correcto.\n"
|
||||||
"Su guarda parece corrupta. Fue eliminada."
|
"Su guarda parece corrupta. Fue eliminada."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:712
|
#: squirrelbattle/interfaces.py:718
|
||||||
msgid "It's a critical hit!"
|
msgid "It's a critical hit!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:713
|
#: squirrelbattle/interfaces.py:719
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} hits {opponent}."
|
msgid "{name} hits {opponent}."
|
||||||
msgstr "{name} golpea a {opponent}."
|
msgstr "{name} golpea a {opponent}."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:727
|
#: squirrelbattle/interfaces.py:733
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} takes {damage} damage."
|
msgid "{name} takes {damage} damage."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:729
|
#: squirrelbattle/interfaces.py:735
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} dies."
|
msgid "{name} dies."
|
||||||
msgstr "{name} se muere."
|
msgstr "{name} se muere."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:763
|
#: squirrelbattle/interfaces.py:769
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{entity} said: {message}"
|
msgid "{entity} said: {message}"
|
||||||
msgstr "{entity} dijo : {message}"
|
msgstr "{entity} dijo : {message}"
|
||||||
|
@ -283,42 +294,46 @@ msgstr "osito de peluche"
|
||||||
msgid "tiger"
|
msgid "tiger"
|
||||||
msgstr "tigre"
|
msgstr "tigre"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:71
|
#: squirrelbattle/tests/translations_test.py:70
|
||||||
|
msgid "eagle"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: squirrelbattle/tests/translations_test.py:72
|
||||||
msgid "body snatch potion"
|
msgid "body snatch potion"
|
||||||
msgstr "poción de intercambio"
|
msgstr "poción de intercambio"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:72
|
#: squirrelbattle/tests/translations_test.py:73
|
||||||
msgid "bomb"
|
msgid "bomb"
|
||||||
msgstr "bomba"
|
msgstr "bomba"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:73
|
#: squirrelbattle/tests/translations_test.py:74
|
||||||
msgid "explosion"
|
msgid "explosion"
|
||||||
msgstr "explosión"
|
msgstr "explosión"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:74
|
#: squirrelbattle/tests/translations_test.py:75
|
||||||
msgid "heart"
|
msgid "heart"
|
||||||
msgstr "corazón"
|
msgstr "corazón"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:75
|
#: squirrelbattle/tests/translations_test.py:76
|
||||||
msgid "sword"
|
msgid "sword"
|
||||||
msgstr "espada"
|
msgstr "espada"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:76
|
#: squirrelbattle/tests/translations_test.py:77
|
||||||
msgid "helmet"
|
msgid "helmet"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:77
|
#: squirrelbattle/tests/translations_test.py:78
|
||||||
msgid "chestplate"
|
msgid "chestplate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:78
|
#: squirrelbattle/tests/translations_test.py:79
|
||||||
msgid "shield"
|
msgid "shield"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:79
|
#: squirrelbattle/tests/translations_test.py:80
|
||||||
msgid "ring_of_critical_damage"
|
msgid "ring of critical damage"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:81
|
#: squirrelbattle/tests/translations_test.py:82
|
||||||
msgid "ring_of_more_experience"
|
msgid "ring of more experience"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
||||||
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
||||||
"POT-Creation-Date: 2021-01-08 12:03+0100\n"
|
"POT-Creation-Date: 2021-01-08 14:47+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -43,30 +43,35 @@ msgstr "INVENTAIRE"
|
||||||
msgid "STALL"
|
msgid "STALL"
|
||||||
msgstr "STAND"
|
msgstr "STAND"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:40
|
#: squirrelbattle/display/statsdisplay.py:43
|
||||||
msgid "Inventory:"
|
msgid "Inventory:"
|
||||||
msgstr "Inventaire :"
|
msgstr "Inventaire :"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:57
|
#: squirrelbattle/display/statsdisplay.py:60
|
||||||
msgid "Equipped main:"
|
msgid "Equipped main:"
|
||||||
msgstr "Équipement principal :"
|
msgstr "Équipement principal :"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:61
|
#: squirrelbattle/display/statsdisplay.py:64
|
||||||
msgid "Equipped secondary:"
|
msgid "Equipped secondary:"
|
||||||
msgstr "Équipement secondaire :"
|
msgstr "Équipement secondaire :"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:66
|
#: squirrelbattle/display/statsdisplay.py:69
|
||||||
msgid "Equipped chestplate:"
|
msgid "Equipped chestplate:"
|
||||||
msgstr "Plastron équipé :"
|
msgstr "Plastron équipé :"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:70
|
#: squirrelbattle/display/statsdisplay.py:73
|
||||||
msgid "Equipped helmet:"
|
msgid "Equipped helmet:"
|
||||||
msgstr "Casque équipé :"
|
msgstr "Casque équipé :"
|
||||||
|
|
||||||
#: squirrelbattle/display/statsdisplay.py:77
|
#: squirrelbattle/display/statsdisplay.py:80
|
||||||
msgid "YOU ARE DEAD"
|
msgid "YOU ARE DEAD"
|
||||||
msgstr "VOUS ÊTES MORT"
|
msgstr "VOUS ÊTES MORT"
|
||||||
|
|
||||||
|
#: squirrelbattle/display/statsdisplay.py:84
|
||||||
|
#, python-brace-format
|
||||||
|
msgid "Use {key} to use the ladder"
|
||||||
|
msgstr "Appuyez sur {key} pour utiliser l'échelle"
|
||||||
|
|
||||||
#. TODO
|
#. TODO
|
||||||
#: squirrelbattle/entities/friendly.py:33
|
#: squirrelbattle/entities/friendly.py:33
|
||||||
msgid "I don't sell any squirrel"
|
msgid "I don't sell any squirrel"
|
||||||
|
@ -106,7 +111,7 @@ msgstr "Le joueur monte à l'étage {floor}."
|
||||||
msgid "The buyer does not have enough money"
|
msgid "The buyer does not have enough money"
|
||||||
msgstr "L'acheteur n'a pas assez d'argent"
|
msgstr "L'acheteur n'a pas assez d'argent"
|
||||||
|
|
||||||
#: squirrelbattle/game.py:347
|
#: squirrelbattle/game.py:349
|
||||||
msgid ""
|
msgid ""
|
||||||
"Some keys are missing in your save file.\n"
|
"Some keys are missing in your save file.\n"
|
||||||
"Your save seems to be corrupt. It got deleted."
|
"Your save seems to be corrupt. It got deleted."
|
||||||
|
@ -114,7 +119,7 @@ msgstr ""
|
||||||
"Certaines clés de votre ficher de sauvegarde sont manquantes.\n"
|
"Certaines clés de votre ficher de sauvegarde sont manquantes.\n"
|
||||||
"Votre sauvegarde semble corrompue. Elle a été supprimée."
|
"Votre sauvegarde semble corrompue. Elle a été supprimée."
|
||||||
|
|
||||||
#: squirrelbattle/game.py:355
|
#: squirrelbattle/game.py:357
|
||||||
msgid ""
|
msgid ""
|
||||||
"No player was found on this map!\n"
|
"No player was found on this map!\n"
|
||||||
"Maybe you died?"
|
"Maybe you died?"
|
||||||
|
@ -122,7 +127,7 @@ msgstr ""
|
||||||
"Aucun joueur n'a été trouvé sur la carte !\n"
|
"Aucun joueur n'a été trouvé sur la carte !\n"
|
||||||
"Peut-être êtes-vous mort ?"
|
"Peut-être êtes-vous mort ?"
|
||||||
|
|
||||||
#: squirrelbattle/game.py:375
|
#: squirrelbattle/game.py:379
|
||||||
msgid ""
|
msgid ""
|
||||||
"The JSON file is not correct.\n"
|
"The JSON file is not correct.\n"
|
||||||
"Your save seems corrupted. It got deleted."
|
"Your save seems corrupted. It got deleted."
|
||||||
|
@ -130,26 +135,26 @@ msgstr ""
|
||||||
"Le fichier JSON de sauvegarde est incorrect.\n"
|
"Le fichier JSON de sauvegarde est incorrect.\n"
|
||||||
"Votre sauvegarde semble corrompue. Elle a été supprimée."
|
"Votre sauvegarde semble corrompue. Elle a été supprimée."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:712
|
#: squirrelbattle/interfaces.py:718
|
||||||
msgid "It's a critical hit!"
|
msgid "It's a critical hit!"
|
||||||
msgstr "C'est un coup critique !"
|
msgstr "C'est un coup critique !"
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:713
|
#: squirrelbattle/interfaces.py:719
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} hits {opponent}."
|
msgid "{name} hits {opponent}."
|
||||||
msgstr "{name} frappe {opponent}."
|
msgstr "{name} frappe {opponent}."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:727
|
#: squirrelbattle/interfaces.py:733
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} takes {damage} damage."
|
msgid "{name} takes {damage} damage."
|
||||||
msgstr "{name} prend {damage} dégâts."
|
msgstr "{name} prend {damage} dégâts."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:729
|
#: squirrelbattle/interfaces.py:735
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{name} dies."
|
msgid "{name} dies."
|
||||||
msgstr "{name} meurt."
|
msgstr "{name} meurt."
|
||||||
|
|
||||||
#: squirrelbattle/interfaces.py:763
|
#: squirrelbattle/interfaces.py:769
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{entity} said: {message}"
|
msgid "{entity} said: {message}"
|
||||||
msgstr "{entity} a dit : {message}"
|
msgstr "{entity} a dit : {message}"
|
||||||
|
@ -284,42 +289,46 @@ msgstr "nounours"
|
||||||
msgid "tiger"
|
msgid "tiger"
|
||||||
msgstr "tigre"
|
msgstr "tigre"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:71
|
#: squirrelbattle/tests/translations_test.py:70
|
||||||
|
msgid "eagle"
|
||||||
|
msgstr "pygargue"
|
||||||
|
|
||||||
|
#: squirrelbattle/tests/translations_test.py:72
|
||||||
msgid "body snatch potion"
|
msgid "body snatch potion"
|
||||||
msgstr "potion d'arrachage de corps"
|
msgstr "potion d'arrachage de corps"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:72
|
#: squirrelbattle/tests/translations_test.py:73
|
||||||
msgid "bomb"
|
msgid "bomb"
|
||||||
msgstr "bombe"
|
msgstr "bombe"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:73
|
#: squirrelbattle/tests/translations_test.py:74
|
||||||
msgid "explosion"
|
msgid "explosion"
|
||||||
msgstr "explosion"
|
msgstr "explosion"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:74
|
#: squirrelbattle/tests/translations_test.py:75
|
||||||
msgid "heart"
|
msgid "heart"
|
||||||
msgstr "cœur"
|
msgstr "cœur"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:75
|
#: squirrelbattle/tests/translations_test.py:76
|
||||||
msgid "sword"
|
msgid "sword"
|
||||||
msgstr "épée"
|
msgstr "épée"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:76
|
#: squirrelbattle/tests/translations_test.py:77
|
||||||
msgid "helmet"
|
msgid "helmet"
|
||||||
msgstr "casque"
|
msgstr "casque"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:77
|
#: squirrelbattle/tests/translations_test.py:78
|
||||||
msgid "chestplate"
|
msgid "chestplate"
|
||||||
msgstr "plastron"
|
msgstr "plastron"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:78
|
#: squirrelbattle/tests/translations_test.py:79
|
||||||
msgid "shield"
|
msgid "shield"
|
||||||
msgstr "bouclier"
|
msgstr "bouclier"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:79
|
#: squirrelbattle/tests/translations_test.py:80
|
||||||
msgid "ring of critical damage"
|
msgid "ring of critical damage"
|
||||||
msgstr "anneau de coup critique"
|
msgstr "anneau de coup critique"
|
||||||
|
|
||||||
#: squirrelbattle/tests/translations_test.py:81
|
#: squirrelbattle/tests/translations_test.py:82
|
||||||
msgid "ring of more experience"
|
msgid "ring of more experience"
|
||||||
msgstr "anneau de plus d'expérience"
|
msgstr "anneau de plus d'expérience"
|
||||||
|
|
|
@ -67,6 +67,7 @@ class TestTranslations(unittest.TestCase):
|
||||||
self.assertEqual(_("sunflower"), "tournesol")
|
self.assertEqual(_("sunflower"), "tournesol")
|
||||||
self.assertEqual(_("teddy bear"), "nounours")
|
self.assertEqual(_("teddy bear"), "nounours")
|
||||||
self.assertEqual(_("tiger"), "tigre")
|
self.assertEqual(_("tiger"), "tigre")
|
||||||
|
self.assertEqual(_("eagle"), "pygargue")
|
||||||
|
|
||||||
self.assertEqual(_("body snatch potion"), "potion d'arrachage de corps")
|
self.assertEqual(_("body snatch potion"), "potion d'arrachage de corps")
|
||||||
self.assertEqual(_("bomb"), "bombe")
|
self.assertEqual(_("bomb"), "bombe")
|
||||||
|
|
Loading…
Reference in New Issue