Inventory title
This commit is contained in:
parent
cdd527a7fd
commit
fbfcd5dae0
@ -1,6 +1,6 @@
|
||||
# Copyright (C) 2020 by ÿnérant, eichhornchen, nicomarg, charlse
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import curses
|
||||
from typing import List
|
||||
|
||||
from squirrelbattle.menus import Menu, MainMenu
|
||||
@ -104,4 +104,6 @@ class MainMenuDisplay(Display):
|
||||
|
||||
class InventoryDisplay(MenuDisplay):
|
||||
def update_pad(self) -> None:
|
||||
pass
|
||||
message = _("== INVENTORY ==")
|
||||
self.addstr(self.pad, 0, (self.width - len(message)) // 2, message,
|
||||
curses.A_BOLD | curses.A_ITALIC)
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
||||
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
||||
"POT-Creation-Date: 2020-12-04 14:18+0100\n"
|
||||
"POT-Creation-Date: 2020-12-04 15:59+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -18,7 +18,8 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: squirrelbattle/tests/translations_test.py:16
|
||||
#: squirrelbattle/tests/game_test.py:290
|
||||
#: squirrelbattle/tests/game_test.py:290 squirrelbattle/tests/game_test.py:285
|
||||
#: squirrelbattle/tests/game_test.py:288 squirrelbattle/tests/game_test.py:291
|
||||
msgid "New game"
|
||||
msgstr "Neu Spiel"
|
||||
|
||||
@ -145,7 +146,7 @@ msgstr "{name} stirbt."
|
||||
msgid "Back"
|
||||
msgstr "Zurück"
|
||||
|
||||
#: squirrelbattle/game.py:148
|
||||
#: squirrelbattle/game.py:148 squirrelbattle/game.py:160
|
||||
msgid ""
|
||||
"Some keys are missing in your save file.\n"
|
||||
"Your save seems to be corrupt. It got deleted."
|
||||
@ -153,7 +154,7 @@ msgstr ""
|
||||
"In Ihrer Speicherdatei fehlen einige Schlüssel.\n"
|
||||
"Ihre Speicherung scheint korrupt zu sein. Es wird gelöscht."
|
||||
|
||||
#: squirrelbattle/game.py:156
|
||||
#: squirrelbattle/game.py:156 squirrelbattle/game.py:168
|
||||
msgid ""
|
||||
"No player was found on this map!\n"
|
||||
"Maybe you died?"
|
||||
@ -161,10 +162,14 @@ msgstr ""
|
||||
"Auf dieser Karte wurde kein Spieler gefunden!\n"
|
||||
"Vielleicht sind Sie gestorben?"
|
||||
|
||||
#: squirrelbattle/game.py:176
|
||||
#: squirrelbattle/game.py:176 squirrelbattle/game.py:188
|
||||
msgid ""
|
||||
"The JSON file is not correct.\n"
|
||||
"Your save seems corrupted. It got deleted."
|
||||
msgstr ""
|
||||
"Die JSON-Datei ist nicht korrekt.\n"
|
||||
"Ihre Speicherung scheint korrumpiert. Sie wurde gelöscht."
|
||||
|
||||
#: squirrelbattle/display/menudisplay.py:107
|
||||
msgid "== INVENTORY =="
|
||||
msgstr "== BESTAND =="
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
||||
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
||||
"POT-Creation-Date: 2020-12-04 14:18+0100\n"
|
||||
"POT-Creation-Date: 2020-12-04 15:59+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -38,7 +38,8 @@ msgstr ""
|
||||
#: squirrelbattle/menus.py:45 squirrelbattle/tests/translations_test.py:14
|
||||
#: squirrelbattle/tests/game_test.py:284 squirrelbattle/tests/game_test.py:287
|
||||
#: squirrelbattle/tests/translations_test.py:16
|
||||
#: squirrelbattle/tests/game_test.py:290
|
||||
#: squirrelbattle/tests/game_test.py:290 squirrelbattle/tests/game_test.py:285
|
||||
#: squirrelbattle/tests/game_test.py:288 squirrelbattle/tests/game_test.py:291
|
||||
msgid "New game"
|
||||
msgstr ""
|
||||
|
||||
@ -72,18 +73,21 @@ msgid "Back"
|
||||
msgstr ""
|
||||
|
||||
#: squirrelbattle/game.py:147 squirrelbattle/game.py:148
|
||||
#: squirrelbattle/game.py:160
|
||||
msgid ""
|
||||
"Some keys are missing in your save file.\n"
|
||||
"Your save seems to be corrupt. It got deleted."
|
||||
msgstr ""
|
||||
|
||||
#: squirrelbattle/game.py:155 squirrelbattle/game.py:156
|
||||
#: squirrelbattle/game.py:168
|
||||
msgid ""
|
||||
"No player was found on this map!\n"
|
||||
"Maybe you died?"
|
||||
msgstr ""
|
||||
|
||||
#: squirrelbattle/game.py:175 squirrelbattle/game.py:176
|
||||
#: squirrelbattle/game.py:188
|
||||
msgid ""
|
||||
"The JSON file is not correct.\n"
|
||||
"Your save seems corrupted. It got deleted."
|
||||
@ -207,3 +211,7 @@ msgstr ""
|
||||
#: squirrelbattle/tests/translations_test.py:45
|
||||
msgid "Key used to open the inventory"
|
||||
msgstr ""
|
||||
|
||||
#: squirrelbattle/display/menudisplay.py:107
|
||||
msgid "== INVENTORY =="
|
||||
msgstr ""
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: squirrelbattle 3.14.1\n"
|
||||
"Report-Msgid-Bugs-To: squirrel-battle@crans.org\n"
|
||||
"POT-Creation-Date: 2020-12-04 14:18+0100\n"
|
||||
"POT-Creation-Date: 2020-12-04 15:59+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -35,34 +35,29 @@ msgstr "{name} frappe {opponent}."
|
||||
msgid "{name} takes {amount} damage."
|
||||
msgstr "{name} prend {amount} points de dégât."
|
||||
|
||||
#: squirrelbattle/menus.py:45
|
||||
#: squirrelbattle/tests/translations_test.py:16
|
||||
#: squirrelbattle/tests/game_test.py:290
|
||||
#: squirrelbattle/menus.py:45 squirrelbattle/tests/translations_test.py:16
|
||||
#: squirrelbattle/tests/game_test.py:290 squirrelbattle/tests/game_test.py:285
|
||||
#: squirrelbattle/tests/game_test.py:288 squirrelbattle/tests/game_test.py:291
|
||||
msgid "New game"
|
||||
msgstr "Nouvelle partie"
|
||||
|
||||
#: squirrelbattle/menus.py:46
|
||||
#: squirrelbattle/tests/translations_test.py:17
|
||||
#: squirrelbattle/menus.py:46 squirrelbattle/tests/translations_test.py:17
|
||||
msgid "Resume"
|
||||
msgstr "Continuer"
|
||||
|
||||
#: squirrelbattle/menus.py:47
|
||||
#: squirrelbattle/tests/translations_test.py:19
|
||||
#: squirrelbattle/menus.py:47 squirrelbattle/tests/translations_test.py:19
|
||||
msgid "Save"
|
||||
msgstr "Sauvegarder"
|
||||
|
||||
#: squirrelbattle/menus.py:48
|
||||
#: squirrelbattle/tests/translations_test.py:18
|
||||
#: squirrelbattle/menus.py:48 squirrelbattle/tests/translations_test.py:18
|
||||
msgid "Load"
|
||||
msgstr "Charger"
|
||||
|
||||
#: squirrelbattle/menus.py:49
|
||||
#: squirrelbattle/tests/translations_test.py:20
|
||||
#: squirrelbattle/menus.py:49 squirrelbattle/tests/translations_test.py:20
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: squirrelbattle/menus.py:50
|
||||
#: squirrelbattle/tests/translations_test.py:21
|
||||
#: squirrelbattle/menus.py:50 squirrelbattle/tests/translations_test.py:21
|
||||
msgid "Exit"
|
||||
msgstr "Quitter"
|
||||
|
||||
@ -71,6 +66,7 @@ msgid "Back"
|
||||
msgstr "Retour"
|
||||
|
||||
#: squirrelbattle/game.py:147 squirrelbattle/game.py:148
|
||||
#: squirrelbattle/game.py:160
|
||||
msgid ""
|
||||
"Some keys are missing in your save file.\n"
|
||||
"Your save seems to be corrupt. It got deleted."
|
||||
@ -78,7 +74,7 @@ msgstr ""
|
||||
"Certaines clés de votre ficher de sauvegarde sont manquantes.\n"
|
||||
"Votre sauvegarde semble corrompue. Elle a été supprimée."
|
||||
|
||||
#: squirrelbattle/game.py:156
|
||||
#: squirrelbattle/game.py:156 squirrelbattle/game.py:168
|
||||
msgid ""
|
||||
"No player was found on this map!\n"
|
||||
"Maybe you died?"
|
||||
@ -86,7 +82,7 @@ msgstr ""
|
||||
"Aucun joueur n'a été trouvé sur la carte !\n"
|
||||
"Peut-être êtes-vous mort ?"
|
||||
|
||||
#: squirrelbattle/game.py:176
|
||||
#: squirrelbattle/game.py:176 squirrelbattle/game.py:188
|
||||
msgid ""
|
||||
"The JSON file is not correct.\n"
|
||||
"Your save seems corrupted. It got deleted."
|
||||
@ -94,48 +90,39 @@ msgstr ""
|
||||
"Le fichier JSON de sauvegarde est incorrect.\n"
|
||||
"Votre sauvegarde semble corrompue. Elle a été supprimée."
|
||||
|
||||
#: squirrelbattle/settings.py:21
|
||||
#: squirrelbattle/tests/translations_test.py:27
|
||||
#: squirrelbattle/settings.py:21 squirrelbattle/tests/translations_test.py:27
|
||||
msgid "Main key to move up"
|
||||
msgstr "Touche principale pour aller vers le haut"
|
||||
|
||||
#: squirrelbattle/settings.py:22
|
||||
#: squirrelbattle/tests/translations_test.py:29
|
||||
#: squirrelbattle/settings.py:22 squirrelbattle/tests/translations_test.py:29
|
||||
msgid "Secondary key to move up"
|
||||
msgstr "Touche secondaire pour aller vers le haut"
|
||||
|
||||
#: squirrelbattle/settings.py:23
|
||||
#: squirrelbattle/tests/translations_test.py:31
|
||||
#: squirrelbattle/settings.py:23 squirrelbattle/tests/translations_test.py:31
|
||||
msgid "Main key to move down"
|
||||
msgstr "Touche principale pour aller vers le bas"
|
||||
|
||||
#: squirrelbattle/settings.py:24
|
||||
#: squirrelbattle/tests/translations_test.py:33
|
||||
#: squirrelbattle/settings.py:24 squirrelbattle/tests/translations_test.py:33
|
||||
msgid "Secondary key to move down"
|
||||
msgstr "Touche secondaire pour aller vers le bas"
|
||||
|
||||
#: squirrelbattle/settings.py:25
|
||||
#: squirrelbattle/tests/translations_test.py:35
|
||||
#: squirrelbattle/settings.py:25 squirrelbattle/tests/translations_test.py:35
|
||||
msgid "Main key to move left"
|
||||
msgstr "Touche principale pour aller vers la gauche"
|
||||
|
||||
#: squirrelbattle/settings.py:26
|
||||
#: squirrelbattle/tests/translations_test.py:37
|
||||
#: squirrelbattle/settings.py:26 squirrelbattle/tests/translations_test.py:37
|
||||
msgid "Secondary key to move left"
|
||||
msgstr "Touche secondaire pour aller vers la gauche"
|
||||
|
||||
#: squirrelbattle/settings.py:27
|
||||
#: squirrelbattle/tests/translations_test.py:39
|
||||
#: squirrelbattle/settings.py:27 squirrelbattle/tests/translations_test.py:39
|
||||
msgid "Main key to move right"
|
||||
msgstr "Touche principale pour aller vers la droite"
|
||||
|
||||
#: squirrelbattle/settings.py:29
|
||||
#: squirrelbattle/tests/translations_test.py:41
|
||||
#: squirrelbattle/settings.py:29 squirrelbattle/tests/translations_test.py:41
|
||||
msgid "Secondary key to move right"
|
||||
msgstr "Touche secondaire pour aller vers la droite"
|
||||
|
||||
#: squirrelbattle/settings.py:30
|
||||
#: squirrelbattle/tests/translations_test.py:43
|
||||
#: squirrelbattle/settings.py:30 squirrelbattle/tests/translations_test.py:43
|
||||
msgid "Key to validate a menu"
|
||||
msgstr "Touche pour valider un menu"
|
||||
|
||||
@ -143,13 +130,11 @@ msgstr "Touche pour valider un menu"
|
||||
msgid "Key used to open the inventory"
|
||||
msgstr "Touche utilisée pour ouvrir l'inventaire"
|
||||
|
||||
#: squirrelbattle/settings.py:31
|
||||
#: squirrelbattle/tests/translations_test.py:47
|
||||
#: squirrelbattle/settings.py:31 squirrelbattle/tests/translations_test.py:47
|
||||
msgid "Texture pack"
|
||||
msgstr "Pack de textures"
|
||||
|
||||
#: squirrelbattle/settings.py:32
|
||||
#: squirrelbattle/tests/translations_test.py:48
|
||||
#: squirrelbattle/settings.py:32 squirrelbattle/tests/translations_test.py:48
|
||||
msgid "Language"
|
||||
msgstr "Langue"
|
||||
|
||||
@ -185,3 +170,7 @@ msgstr "bombe"
|
||||
#: squirrelbattle/tests/translations_test.py:59
|
||||
msgid "heart"
|
||||
msgstr "cœur"
|
||||
|
||||
#: squirrelbattle/display/menudisplay.py:107
|
||||
msgid "== INVENTORY =="
|
||||
msgstr "== INVENTAIRE =="
|
||||
|
Loading…
Reference in New Issue
Block a user