Fix Mobile GPS Typo

Fix misleading error message on mobile GPS settings validation
This commit is contained in:
Geoffrey Merck 2019-04-21 08:45:29 +02:00 committed by GitHub
parent f2d9f61fa0
commit efb68b17ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }