Commit f2f850ec authored by captnfab's avatar captnfab 🦃
Browse files

New splashscreen & translations

parent bd5c19e1
assets/gfx/splashscreen.jpg

208 KB | W: | H:

assets/gfx/splashscreen.jpg

286 KB | W: | H:

assets/gfx/splashscreen.jpg
assets/gfx/splashscreen.jpg
assets/gfx/splashscreen.jpg
assets/gfx/splashscreen.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -41,9 +41,12 @@ class GuiMenu:
# Precompute background
self.bg = pygame.image.load("gfx/splashscreen.jpg").convert()
title_font = pygame.font.Font(FONT, 20)
title = title_font.render(_("Pirate Battleship"), 1, WHITE)
self.bg.blit(title, (30, 100))
title_font = pygame.font.Font(FONT, 35)
subtitle_font = pygame.font.Font(FONT, 18)
title = title_font.render(_("CAP"), 1, WHITE)
subtitle = subtitle_font.render(_("Pirate Battleship"), 1, WHITE)
self.bg.blit(title, (20, 15))
self.bg.blit(subtitle, (20, 70))
# Precompute menu
self.menu_entries = []
......
......@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2020-12-03 13:18+0100\n"
"POT-Creation-Date: 2020-12-03 20:20+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"
......@@ -15,269 +15,281 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
#: capbattleship/pygameui.py:45
#: capbattleship/pygameui.py:46
msgid "CAP"
msgstr ""
#: capbattleship/pygameui.py:47
msgid "Pirate Battleship"
msgstr ""
#: capbattleship/pygameui.py:54
#: capbattleship/pygameui.py:57
msgid "Continue the game"
msgstr ""
#: capbattleship/pygameui.py:55
#: capbattleship/pygameui.py:58
msgid "Restart the game"
msgstr ""
#: capbattleship/pygameui.py:59
#: capbattleship/pygameui.py:62
msgid "Start the game"
msgstr ""
#: capbattleship/pygameui.py:62
#: capbattleship/pygameui.py:65
msgid "Manage options"
msgstr ""
#: capbattleship/pygameui.py:63
#: capbattleship/pygameui.py:66
msgid "See credits"
msgstr ""
#: capbattleship/pygameui.py:64
#: capbattleship/pygameui.py:67
msgid "Quit"
msgstr ""
#: capbattleship/pygameui.py:153 capbattleship/pygameui.py:493
#: capbattleship/pygameui.py:156 capbattleship/pygameui.py:500
msgid "Menu"
msgstr ""
#: capbattleship/pygameui.py:178
#: capbattleship/pygameui.py:181
msgid "Difficulty"
msgstr ""
#: capbattleship/pygameui.py:179
#: capbattleship/pygameui.py:182
msgid "Cheat"
msgstr ""
#: capbattleship/pygameui.py:180
#: capbattleship/pygameui.py:183
msgid "Easy"
msgstr ""
#: capbattleship/pygameui.py:181
#: capbattleship/pygameui.py:184
msgid "Normal"
msgstr ""
#: capbattleship/pygameui.py:182
#: capbattleship/pygameui.py:185
msgid "Hard"
msgstr ""
#: capbattleship/pygameui.py:183
#: capbattleship/pygameui.py:186
msgid "Insane"
msgstr ""
#: capbattleship/pygameui.py:186
#: capbattleship/pygameui.py:189
msgid "Notification speed"
msgstr ""
#: capbattleship/pygameui.py:187
#: capbattleship/pygameui.py:190
msgid "Wait"
msgstr ""
#: capbattleship/pygameui.py:188
#: capbattleship/pygameui.py:191
msgid "2s"
msgstr ""
#: capbattleship/pygameui.py:189
#: capbattleship/pygameui.py:192
msgid "1s"
msgstr ""
#: capbattleship/pygameui.py:190
#: capbattleship/pygameui.py:193
msgid "0.5s"
msgstr ""
#: capbattleship/pygameui.py:191
#: capbattleship/pygameui.py:194
msgid "Skip"
msgstr ""
#: capbattleship/pygameui.py:194
#: capbattleship/pygameui.py:197
msgid "Background Music"
msgstr ""
#: capbattleship/pygameui.py:195 capbattleship/pygameui.py:202
#: capbattleship/pygameui.py:207 capbattleship/pygameui.py:212
#: capbattleship/pygameui.py:198 capbattleship/pygameui.py:205
#: capbattleship/pygameui.py:210 capbattleship/pygameui.py:215
msgid "Disabled"
msgstr ""
#: capbattleship/pygameui.py:196
#: capbattleship/pygameui.py:199
msgid "Menu only"
msgstr ""
#: capbattleship/pygameui.py:197
#: capbattleship/pygameui.py:200
msgid "Play once"
msgstr ""
#: capbattleship/pygameui.py:198
#: capbattleship/pygameui.py:201
msgid "Repeat"
msgstr ""
#: capbattleship/pygameui.py:201
#: capbattleship/pygameui.py:204
msgid "Sfx"
msgstr ""
#: capbattleship/pygameui.py:203 capbattleship/pygameui.py:208
#: capbattleship/pygameui.py:214
#: capbattleship/pygameui.py:206 capbattleship/pygameui.py:211
#: capbattleship/pygameui.py:217
msgid "Enabled"
msgstr ""
#: capbattleship/pygameui.py:206
#: capbattleship/pygameui.py:209
msgid "Animations"
msgstr ""
#: capbattleship/pygameui.py:211
#: capbattleship/pygameui.py:214
msgid "Fullscreen"
msgstr ""
#: capbattleship/pygameui.py:213
#: capbattleship/pygameui.py:216
msgid "Windowed"
msgstr ""
#: capbattleship/pygameui.py:401
#: capbattleship/pygameui.py:404
msgid "Source code development (uses python3, pygame), translation (fr, en)"
msgstr ""
#: capbattleship/pygameui.py:407
#: capbattleship/pygameui.py:410
msgid "Graphism, game design (illustrations, ships, VFX, Map)"
msgstr ""
#: capbattleship/pygameui.py:413
#: capbattleship/pygameui.py:416
msgid "100 Golden Hern piece (Coins)"
msgstr ""
#: capbattleship/pygameui.py:419
#: capbattleship/pygameui.py:422
msgid "Mr. Bumble (Inspiration for 3D model)"
msgstr ""
#: capbattleship/pygameui.py:424
#: capbattleship/pygameui.py:427
msgid "Container Pack (Barrels)"
msgstr ""
#: capbattleship/pygameui.py:430
#: capbattleship/pygameui.py:433
msgid "Titan (Music)"
msgstr ""
#: capbattleship/pygameui.py:436
#: capbattleship/pygameui.py:439
msgid "Stone in the water 080117-002 drop (sound effect)"
msgstr ""
#: capbattleship/pygameui.py:442
#: capbattleship/pygameui.py:445
msgid "Canon Gun - Canon sound_01 (sound effect)"
msgstr ""
#: capbattleship/pygameui.py:447
#: capbattleship/pygameui.py:450
msgid "All the testers"
msgstr ""
#: capbattleship/pygameui.py:448
#: capbattleship/pygameui.py:451
msgid "Thanks! (testing, advices, bugs)"
msgstr ""
#: capbattleship/pygameui.py:616
#: capbattleship/pygameui.py:454
msgid "Contribute!"
msgstr ""
#: capbattleship/pygameui.py:455
msgid "Join us on https://capbattleship.tuxfamily.org/"
msgstr ""
#: capbattleship/pygameui.py:623
msgid "Choose your pirate"
msgstr ""
#: capbattleship/pygameui.py:893 capbattleship/pygameui.py:1315
#: capbattleship/pygameui.py:895 capbattleship/pygameui.py:1310
msgid "Every shipman is only grousing day and night, which drives the captain completely mad. There is one thing you can do to help him unwind, that is be an easy pray. I would advise you not to…"
msgstr ""
#: capbattleship/pygameui.py:893 capbattleship/pygameui.py:1315
#: capbattleship/pygameui.py:895 capbattleship/pygameui.py:1310
msgid "The Anger"
msgstr ""
#: capbattleship/pygameui.py:894 capbattleship/pygameui.py:1316
#: capbattleship/pygameui.py:896 capbattleship/pygameui.py:1311
msgid "The Victory Saber"
msgstr ""
#: capbattleship/pygameui.py:894 capbattleship/pygameui.py:1316
#: capbattleship/pygameui.py:896 capbattleship/pygameui.py:1311
msgid "They were twin brothers, incredibly talentuous swashbucklers, and the fell for a mysterious lady. She said only the most fearsome pirate would be her match. Will you try their cruelty?"
msgstr ""
#: capbattleship/pygameui.py:895 capbattleship/pygameui.py:1317
#: capbattleship/pygameui.py:897 capbattleship/pygameui.py:1312
msgid "The Pirates Storm"
msgstr ""
#: capbattleship/pygameui.py:895 capbattleship/pygameui.py:1317
#: capbattleship/pygameui.py:897 capbattleship/pygameui.py:1312
msgid "This vessel is known for its sneaky attacks during storms. Manœuvrable and fast, no ship can escape her in the raging waters. If the weather is taking a turn for the worse, be sure that you're alone…"
msgstr ""
#: capbattleship/pygameui.py:896 capbattleship/pygameui.py:1318
#: capbattleship/pygameui.py:898 capbattleship/pygameui.py:1313
msgid "Rather than the vessel, 'The Princess' refers to its heartless captain. Famous buccaneer, she is said to be as rich as a king. Well, if she meets you, maybe she well become even richer…"
msgstr ""
#: capbattleship/pygameui.py:896 capbattleship/pygameui.py:1318
#: capbattleship/pygameui.py:898 capbattleship/pygameui.py:1313
msgid "The Princess"
msgstr ""
#: capbattleship/pygameui.py:1306 capbattleship/pygameui.py:1735
#: capbattleship/pygameui.py:1301 capbattleship/pygameui.py:1723
msgid "Shots"
msgstr ""
#: capbattleship/pygameui.py:1307 capbattleship/pygameui.py:1737
#: capbattleship/pygameui.py:1302 capbattleship/pygameui.py:1725
msgid "Miss"
msgstr ""
#: capbattleship/pygameui.py:1308 capbattleship/pygameui.py:1736
#: capbattleship/pygameui.py:1303 capbattleship/pygameui.py:1724
msgid "Hit"
msgstr ""
#: capbattleship/pygameui.py:1309 capbattleship/pygameui.py:1738
#: capbattleship/pygameui.py:1304 capbattleship/pygameui.py:1726
msgid "Sunk"
msgstr ""
#: capbattleship/pygameui.py:1695
#: capbattleship/pygameui.py:1683
msgid "You have won."
msgstr ""
#: capbattleship/pygameui.py:1697
#: capbattleship/pygameui.py:1685
msgid "You have lost."
msgstr ""
#: capbattleship/pygameui.py:1750
#: capbattleship/pygameui.py:1738
msgid "Continue"
msgstr ""
#: capbattleship/pygameui.py:1830
#: capbattleship/pygameui.py:1818
msgid "CAP - Pirate Battleship"
msgstr ""
#: capbattleship/pygameui.py:1838
#: capbattleship/pygameui.py:1826
msgid "CPU hit you."
msgstr ""
#: capbattleship/pygameui.py:1839
#: capbattleship/pygameui.py:1827
msgid "CPU missed you."
msgstr ""
#: capbattleship/pygameui.py:1840
#: capbattleship/pygameui.py:1828
msgid "CPU sunk you."
msgstr ""
#: capbattleship/pygameui.py:1841
#: capbattleship/pygameui.py:1829
msgid "You hit CPU."
msgstr ""
#: capbattleship/pygameui.py:1842
#: capbattleship/pygameui.py:1830
msgid "You missed CPU."
msgstr ""
#: capbattleship/pygameui.py:1843
#: capbattleship/pygameui.py:1831
msgid "You sunk CPU."
msgstr ""
#: capbattleship/pygameui.py:1844
#: capbattleship/pygameui.py:1832
msgid "Already shot there."
msgstr ""
#: capbattleship/pygameui.py:1845
#: capbattleship/pygameui.py:1833
msgid "CPU starts."
msgstr ""
#: capbattleship/pygameui.py:1846
#: capbattleship/pygameui.py:1834
msgid "You start."
msgstr ""
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: contact@capbattleship.tuxfamily.org\n"
"POT-Creation-Date: 2020-12-03 13:18+0100\n"
"POT-Creation-Date: 2020-12-03 20:20+0100\n"
"PO-Revision-Date: 2020-12-02 01:10+0000\n"
"Last-Translator: Fabien Givors <captnfab+wl@chezlefab.net>\n"
"Language-Team: German <https://hosted.weblate.org/projects/capbattleship/"
......@@ -19,176 +19,189 @@ msgstr ""
"X-Generator: Weblate 4.4-dev\n"
"Generated-By: pygettext.py 1.5\n"
#: capbattleship/pygameui.py:45
#: capbattleship/pygameui.py:46
msgid "CAP"
msgstr ""
#: capbattleship/pygameui.py:47
msgid "Pirate Battleship"
msgstr "Piratenschiffe versenken"
#: capbattleship/pygameui.py:54
#: capbattleship/pygameui.py:57
msgid "Continue the game"
msgstr "Die Schlacht beginnen!"
#: capbattleship/pygameui.py:55
#: capbattleship/pygameui.py:58
#, fuzzy
msgid "Restart the game"
msgstr "Die Schlacht beginnen!"
#: capbattleship/pygameui.py:59
#: capbattleship/pygameui.py:62
msgid "Start the game"
msgstr "Die Schlacht beginnen!"
#: capbattleship/pygameui.py:62
#: capbattleship/pygameui.py:65
msgid "Manage options"
msgstr "Optionen verwalten"
#: capbattleship/pygameui.py:63
#: capbattleship/pygameui.py:66
msgid "See credits"
msgstr "Beteiligtenliste ansehen"
#: capbattleship/pygameui.py:64
#: capbattleship/pygameui.py:67
msgid "Quit"
msgstr "Zurück zum festen Boden"
#: capbattleship/pygameui.py:153 capbattleship/pygameui.py:493
#: capbattleship/pygameui.py:156 capbattleship/pygameui.py:500
msgid "Menu"
msgstr "Menü"
#: capbattleship/pygameui.py:178
#: capbattleship/pygameui.py:181
msgid "Difficulty"
msgstr "Schwierigkeit"
#: capbattleship/pygameui.py:179
#: capbattleship/pygameui.py:182
msgid "Cheat"
msgstr "Schummelei"
#: capbattleship/pygameui.py:180
#: capbattleship/pygameui.py:183
msgid "Easy"
msgstr "Einfach"
#: capbattleship/pygameui.py:181
#: capbattleship/pygameui.py:184
msgid "Normal"
msgstr "Normal"
#: capbattleship/pygameui.py:182
#: capbattleship/pygameui.py:185
msgid "Hard"
msgstr ""
#: capbattleship/pygameui.py:183
#: capbattleship/pygameui.py:186
msgid "Insane"
msgstr ""
#: capbattleship/pygameui.py:186
#: capbattleship/pygameui.py:189
msgid "Notification speed"
msgstr "Geschwindigkeit der Benachrichtigungen"
#: capbattleship/pygameui.py:187
#: capbattleship/pygameui.py:190
msgid "Wait"
msgstr "Warten"
#: capbattleship/pygameui.py:188
#: capbattleship/pygameui.py:191
msgid "2s"
msgstr "2 s"
#: capbattleship/pygameui.py:189
#: capbattleship/pygameui.py:192
msgid "1s"
msgstr "1 s"
#: capbattleship/pygameui.py:190
#: capbattleship/pygameui.py:193
msgid "0.5s"
msgstr "0,5 s"
#: capbattleship/pygameui.py:191
#: capbattleship/pygameui.py:194
msgid "Skip"
msgstr "Überspringen"
#: capbattleship/pygameui.py:194
#: capbattleship/pygameui.py:197
msgid "Background Music"
msgstr "Hintergrundmusik"
#: capbattleship/pygameui.py:195 capbattleship/pygameui.py:202
#: capbattleship/pygameui.py:207 capbattleship/pygameui.py:212
#: capbattleship/pygameui.py:198 capbattleship/pygameui.py:205
#: capbattleship/pygameui.py:210 capbattleship/pygameui.py:215
msgid "Disabled"
msgstr "Deaktiviert"
#: capbattleship/pygameui.py:196
#: capbattleship/pygameui.py:199
msgid "Menu only"
msgstr "Spielmenü"
#: capbattleship/pygameui.py:197
#: capbattleship/pygameui.py:200
msgid "Play once"
msgstr "Einmal spielen"
#: capbattleship/pygameui.py:198
#: capbattleship/pygameui.py:201
msgid "Repeat"
msgstr "Wiederholen"
#: capbattleship/pygameui.py:201
#: capbattleship/pygameui.py:204
msgid "Sfx"
msgstr "Klangeffekte"
#: capbattleship/pygameui.py:203 capbattleship/pygameui.py:208
#: capbattleship/pygameui.py:214
#: capbattleship/pygameui.py:206 capbattleship/pygameui.py:211
#: capbattleship/pygameui.py:217
msgid "Enabled"
msgstr "Aktiviert"
#: capbattleship/pygameui.py:206
#: capbattleship/pygameui.py:209
msgid "Animations"
msgstr "Animationen"
#: capbattleship/pygameui.py:211
#: capbattleship/pygameui.py:214
msgid "Fullscreen"
msgstr "Vollbild"
#: capbattleship/pygameui.py:213
#: capbattleship/pygameui.py:216
msgid "Windowed"
msgstr ""
#: capbattleship/pygameui.py:401
#: capbattleship/pygameui.py:404
msgid "Source code development (uses python3, pygame), translation (fr, en)"
msgstr ""
"Quellcode-Entwicklung (verwendet Python 3, pygame), Übersetzung (fr, en)"
#: capbattleship/pygameui.py:407
#: capbattleship/pygameui.py:410
msgid "Graphism, game design (illustrations, ships, VFX, Map)"
msgstr ""
"Grafike, Spieldesign (Illustrationen, Schiffe, visuelle Effekte, Karte)"
#: capbattleship/pygameui.py:413
#: capbattleship/pygameui.py:416
msgid "100 Golden Hern piece (Coins)"
msgstr "100 Golden Hern piece (Münze)"
#: capbattleship/pygameui.py:419
#: capbattleship/pygameui.py:422
msgid "Mr. Bumble (Inspiration for 3D model)"
msgstr "Herr Bumble (Inspiration für 3D-Modell)"
#: capbattleship/pygameui.py:424
#: capbattleship/pygameui.py:427
msgid "Container Pack (Barrels)"
msgstr "Container Pack (Fässer)"
#: capbattleship/pygameui.py:430
#: capbattleship/pygameui.py:433
msgid "Titan (Music)"
msgstr "Titan (Musik)"
#: capbattleship/pygameui.py:436
#: capbattleship/pygameui.py:439
msgid "Stone in the water 080117-002 drop (sound effect)"
msgstr "Stone in the water 080117-002 drop (Klangeffekt)"
#: capbattleship/pygameui.py:442
#: capbattleship/pygameui.py:445
msgid "Canon Gun - Canon sound_01 (sound effect)"
msgstr "Canon Gun - Canon sound_01 (Klangeffekt)"
#: capbattleship/pygameui.py:447
#: capbattleship/pygameui.py:450
msgid "All the testers"
msgstr "All die Tester"
#: capbattleship/pygameui.py:448
#: capbattleship/pygameui.py:451
msgid "Thanks! (testing, advices, bugs)"
msgstr "Danke! (Tests, Ratschläge, Fehler)"
#: capbattleship/pygameui.py:616
#: capbattleship/pygameui.py:454
#, fuzzy
msgid "Contribute!"
msgstr "Fortfahren"
#: capbattleship/pygameui.py:455
msgid "Join us on https://capbattleship.tuxfamily.org/"
msgstr ""
#: capbattleship/pygameui.py:623
msgid "Choose your pirate"
msgstr ""
#: capbattleship/pygameui.py:893 capbattleship/pygameui.py:1315
#: capbattleship/pygameui.py:895 capbattleship/pygameui.py:1310
msgid ""
"Every shipman is only grousing day and night, which drives the captain "
"completely mad. There is one thing you can do to help him unwind, that is be "
......@@ -199,15 +212,15 @@ msgstr ""
"entspannen, nämlich eine einfache Jagdbeute zu sein. Ich würde Ihnen raten, "
"nicht …"
#: capbattleship/pygameui.py:893 capbattleship/pygameui.py:1315
#: capbattleship/pygameui.py:895 capbattleship/pygameui.py:1310
msgid "The Anger"
msgstr "Der Zorn"
#: capbattleship/pygameui.py:894 capbattleship/pygameui.py:1316
#: capbattleship/pygameui.py:896 capbattleship/pygameui.py:1311
msgid "The Victory Saber"
msgstr "Der Siegessäbel"
#: capbattleship/pygameui.py:894 capbattleship/pygameui.py:1316
#: capbattleship/pygameui.py:896 capbattleship/pygameui.py:1311
msgid ""
"They were twin brothers, incredibly talentuous swashbucklers, and the fell "
"for a mysterious lady. She said only the most fearsome pirate would be her "
......@@ -218,11 +231,11 @@ msgstr ""
"furchterregendste Pirat würde ihren Ehemann sein. Wirst du ihre Grausamkeit "
"versuchen?"
#: capbattleship/pygameui.py:895 capbattleship/pygameui.py:1317
#: capbattleship/pygameui.py:897 capbattleship/pygameui.py:1312
msgid "The Pirates Storm"
msgstr "Der Piratensturm"