mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
EXI: Make HLE BBA panic alerts translatable
Also rewording the messages to make them clearer and fix typos.
This commit is contained in:
@ -483,7 +483,8 @@ void CEXIETHERNET::BuiltInBBAInterface::InitUDPPort(u16 port)
|
|||||||
if (ref->udp_socket.Bind(port, m_current_ip) != sf::Socket::Status::Done)
|
if (ref->udp_socket.Bind(port, m_current_ip) != sf::Socket::Status::Done)
|
||||||
{
|
{
|
||||||
ERROR_LOG_FMT(SP1, "Couldn't open UDP socket");
|
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;
|
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) !=
|
if (ref->udp_socket.Bind(ntohs(udp_header.source_port), m_current_ip) !=
|
||||||
sf::Socket::Status::Done)
|
sf::Socket::Status::Done)
|
||||||
{
|
{
|
||||||
PanicAlertFmt(
|
PanicAlertFmtT(
|
||||||
"Port {:x} is already in use, this game might not work as intented in LAN Mode.",
|
"Port {0} is already in use. This might stop the game's LAN mode from working properly.",
|
||||||
htons(udp_header.source_port));
|
htons(udp_header.source_port));
|
||||||
if (ref->udp_socket.Bind(sf::Socket::AnyPort, m_current_ip) != sf::Socket::Status::Done)
|
if (ref->udp_socket.Bind(sf::Socket::AnyPort, m_current_ip) != sf::Socket::Status::Done)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user