Fixed title translation

This commit is contained in:
Andreas Kristiansen
2026-01-18 10:01:37 +01:00
parent 95fb40b937
commit 79fee09d08
2 changed files with 6 additions and 4 deletions

View File

@@ -937,6 +937,8 @@ class Logbookadvanced extends CI_Controller {
$data['grids'] = $this->logbookadvanced_model->getGridsForDxcc($dxcc);
$data['dxcc'] = $dxcc;
$data['gridsquare'] = $this->input->post('gridsquare', true);
$dxccname = $this->input->post('dxccname', true);
$data['title'] = sprintf(__("Map for DXCC %s and gridsquare %s."), $dxccname, $data['gridsquare']);
header("Content-Type: application/json");
print json_encode($data);