OSDN Git Service

English: add colon and space after prompt for last words
authorEric Branlund <ebranlund@fastmail.com>
Fri, 4 Aug 2023 21:42:11 +0000 (15:42 -0600)
committerEric Branlund <ebranlund@fastmail.com>
Fri, 4 Aug 2023 21:42:11 +0000 (15:42 -0600)
Resolves https://github.com/hengband/hengband/issues/3583 .

src/player/player-damage.cpp

index 4f7c84d..3fdbe60 100644 (file)
@@ -471,7 +471,7 @@ int take_hit(PlayerType *player_ptr, int damage_type, int damage, std::string_vi
 
                 auto &death_message = death_message_opt.value();
                 constexpr auto max_last_words = 1024;
-                const auto prompt = winning_seppuku ? _("辞世の句: ", "Haiku") : _("断末魔の叫び: ", "Last words");
+                const auto prompt = winning_seppuku ? _("辞世の句: ", "Haiku: ") : _("断末魔の叫び: ", "Last words: ");
                 while (true) {
                     const auto input_last_words = input_string(prompt, max_last_words, death_message);
                     if (!input_last_words.has_value()) {