diff options
| author | JosJuice <josjuice@gmail.com> | 2025-03-23 15:43:16 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2025-03-23 15:43:16 +0100 |
| commit | c1990bc687dded312c415fb51b9ada6bb41e8471 (patch) | |
| tree | 32344957b89d3e875f39173445efbb74962dcb5b /Source/Core | |
| parent | 049e52ce1cd3f075f6992d591bdf2ce5ecbdea0f (diff) | |
EXI: Make HLE BBA panic alerts translatable
Also rewording the messages to make them clearer and fix typos.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp b/Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp index 0ebfe8b4af..305ab6ee0c 100644 --- a/Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp +++ b/Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp @@ -483,7 +483,8 @@ void CEXIETHERNET::BuiltInBBAInterface::InitUDPPort(u16 port) if (ref->udp_socket.Bind(port, m_current_ip) != sf::Socket::Status::Done) { ERROR_LOG_FMT(SP1, "Couldn't open UDP socket"); - PanicAlertFmt("Could't open port {:x}, this game might not work proprely in LAN mode.", port); + PanicAlertFmtT( + "Couldn't open port {0}. This might stop the game's LAN mode from working properly.", port); return; } } @@ -513,8 +514,8 @@ void CEXIETHERNET::BuiltInBBAInterface::HandleUDPFrame(const Common::UDPPacket& if (ref->udp_socket.Bind(ntohs(udp_header.source_port), m_current_ip) != sf::Socket::Status::Done) { - PanicAlertFmt( - "Port {:x} is already in use, this game might not work as intented in LAN Mode.", + PanicAlertFmtT( + "Port {0} is already in use. This might stop the game's LAN mode from working properly.", htons(udp_header.source_port)); if (ref->udp_socket.Bind(sf::Socket::AnyPort, m_current_ip) != sf::Socket::Status::Done) { |
