mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
fix error message
This commit is contained in:
@@ -70,7 +70,6 @@ class Qrbcalc extends CI_Controller {
|
|||||||
$data['latlng2'] = $latlng2;
|
$data['latlng2'] = $latlng2;
|
||||||
|
|
||||||
$data['latlong_info_text'] = __("Negative latitudes are south of the equator, negative longitudes are west of Greenwich.");
|
$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');
|
header('Content-Type: application/json');
|
||||||
echo json_encode($data);
|
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_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_no_states_for_dxcc_available = "<?= __("No states for this DXCC available"); ?>";
|
||||||
var lang_qrbcalc_title = '<?= __("Compute QRB and QTF"); ?>';
|
var lang_qrbcalc_title = '<?= __("Compute QRB and QTF"); ?>';
|
||||||
|
var lang_qrbcalc_errmsg = '<?= __("Error in locators. Please check."); ?>';
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -677,7 +677,7 @@ function calculateQrb() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} 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