mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Fix Mobile GPS Typo
Fix misleading error message on mobile GPS settings validation
This commit is contained in:
parent
f2d9f61fa0
commit
efb68b17ef
|
|
@ -79,7 +79,7 @@ bool CMobileGPSSet::Validate()
|
||||||
wxString address = getAddress();
|
wxString address = getAddress();
|
||||||
|
|
||||||
if (address.IsEmpty()) {
|
if (address.IsEmpty()) {
|
||||||
wxMessageDialog dialog(this, _("The Repeater Address is not valid"), m_title + _(" Error"), wxICON_ERROR);
|
wxMessageDialog dialog(this, _("The Mobile GPS Address is not valid"), m_title + _(" Error"), wxICON_ERROR);
|
||||||
dialog.ShowModal();
|
dialog.ShowModal();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
@ -87,7 +87,7 @@ bool CMobileGPSSet::Validate()
|
||||||
unsigned int port = getPort();
|
unsigned int port = getPort();
|
||||||
|
|
||||||
if (port == 0U || port > 65535U) {
|
if (port == 0U || port > 65535U) {
|
||||||
wxMessageDialog dialog(this, _("The Repeater Port is not valid"), m_title + _(" Error"), wxICON_ERROR);
|
wxMessageDialog dialog(this, _("The Mobile GPS Port is not valid"), m_title + _(" Error"), wxICON_ERROR);
|
||||||
dialog.ShowModal();
|
dialog.ShowModal();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue