mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
fix error message
This commit is contained in:
@@ -70,7 +70,6 @@ class Qrbcalc extends CI_Controller {
|
||||
$data['latlng2'] = $latlng2;
|
||||
|
||||
$data['latlong_info_text'] = __("Negative latitudes are south of the equator, negative longitudes are west of Greenwich.");
|
||||
$data['error_msg'] = __("Error in locators. Please check.");
|
||||
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($data);
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
var lang_lotw_propmode_hint = "<?= __("Propagation mode is not supported by LoTW. LoTW QSL fields disabled."); ?>";
|
||||
var lang_no_states_for_dxcc_available = "<?= __("No states for this DXCC available"); ?>";
|
||||
var lang_qrbcalc_title = '<?= __("Compute QRB and QTF"); ?>';
|
||||
var lang_qrbcalc_errmsg = '<?= __("Error in locators. Please check."); ?>';
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@@ -677,7 +677,7 @@ function calculateQrb() {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$('.qrbResult').html('<div class="qrbalert alert alert-danger" role="alert">' + html['error_msg'] + '</div>');
|
||||
$('.qrbResult').html('<div class="qrbalert alert alert-danger" role="alert">' + lang_qrbcalc_errmsg + '</div>');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user