Harmonize LoTW abbreviation

pull/2083/head
phl0 2023-04-26 05:44:54 +02:00
rodzic 73d14f0bc8
commit 2370ee2bfe
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48EA1E640798CA9A
11 zmienionych plików z 27 dodań i 27 usunięć

Wyświetl plik

@ -268,7 +268,7 @@ class Awards extends CI_Controller {
$qsltype[] = "QSL"; $qsltype[] = "QSL";
} }
if (strpos($qsl, "L") !== false) { if (strpos($qsl, "L") !== false) {
$qsltype[] = "LotW"; $qsltype[] = "LoTW";
} }
if (strpos($qsl, "E") !== false) { if (strpos($qsl, "E") !== false) {
$qsltype[] = "eQSL"; $qsltype[] = "eQSL";

Wyświetl plik

@ -16,7 +16,7 @@ class Dashboard extends CI_Controller {
$this->load->model('logbook_model'); $this->load->model('logbook_model');
$this->load->model('user_model'); $this->load->model('user_model');
// LotW infos // LoTW infos
$this->load->model('LotwCert'); $this->load->model('LotwCert');
if($this->optionslib->get_option('version2_trigger') == "false") { if($this->optionslib->get_option('version2_trigger') == "false") {

Wyświetl plik

@ -222,15 +222,15 @@ class Lotw extends CI_Controller {
continue; continue;
} }
// Check if LotW certificate itself is valid // Check if LoTW certificate itself is valid
// Validty of QSO dates will be checked later // Validty of QSO dates will be checked later
$current_date = date('Y-m-d H:i:s'); $current_date = date('Y-m-d H:i:s');
if ($current_date <= $data['lotw_cert_info']->date_created) { if ($current_date <= $data['lotw_cert_info']->date_created) {
echo $data['lotw_cert_info']->callsign.": LotW certificate not valid yet!"; echo $data['lotw_cert_info']->callsign.": LoTW certificate not valid yet!";
continue; continue;
} }
if ($current_date >= $data['lotw_cert_info']->date_expires) { if ($current_date >= $data['lotw_cert_info']->date_expires) {
echo $data['lotw_cert_info']->callsign.": LotW certificate expired!"; echo $data['lotw_cert_info']->callsign.": LoTW certificate expired!";
continue; continue;
} }
@ -577,7 +577,7 @@ class Lotw extends CI_Controller {
return $tableheaders.$table; return $tableheaders.$table;
} }
} else { } else {
echo "Downloaded LotW report contains no matches."; echo "Downloaded LoTW report contains no matches.";
} }
} }
@ -639,7 +639,7 @@ class Lotw extends CI_Controller {
} }
file_put_contents($file, file_get_contents($lotw_url)); file_put_contents($file, file_get_contents($lotw_url));
if (file_get_contents($file, false, null, 0, 39) != "ARRL Logbook of the World Status Report") { if (file_get_contents($file, false, null, 0, 39) != "ARRL Logbook of the World Status Report") {
return "LotW downloading failed either due to it being down or incorrect logins."; return "LoTW downloading failed either due to it being down or incorrect logins.";
} }
ini_set('memory_limit', '-1'); ini_set('memory_limit', '-1');

Wyświetl plik

@ -54,6 +54,6 @@ $lang['lotw_p12_export_step_four'] = 'Upload File below.';
$lang['lotw_confirmed'] = 'This QSO is confirmed on LoTW'; $lang['lotw_confirmed'] = 'This QSO is confirmed on LoTW';
// LotW Expiry // LoTW Expiry
$lang['lotw_cert_expiring'] = 'At least one of your LotW certificates is about to expire!'; $lang['lotw_cert_expiring'] = 'At least one of your LoTW certificates is about to expire!';
$lang['lotw_cert_expired'] = 'At least one of your LotW certificates is expired!'; $lang['lotw_cert_expired'] = 'At least one of your LoTW certificates is expired!';

Wyświetl plik

@ -6,7 +6,7 @@ $lang['lotw_short'] = 'LoTW';
$lang['lotw_title'] = 'Logbook of the World'; $lang['lotw_title'] = 'Logbook of the World';
$lang['lotw_title_available_cert'] = 'Kutsumerkin varmenteet'; $lang['lotw_title_available_cert'] = 'Kutsumerkin varmenteet';
$lang['lotw_title_information'] = 'Info'; $lang['lotw_title_information'] = 'Info';
$lang['lotw_title_upload_p12_cert'] = 'Tuo palveluun LotW:n .p12 kutsumerkin varmenne'; $lang['lotw_title_upload_p12_cert'] = 'Tuo palveluun LoTW:n .p12 kutsumerkin varmenne';
$lang['lotw_title_export_p12_file_instruction'] = 'Vie .p12 tiedoston ohjeistus'; $lang['lotw_title_export_p12_file_instruction'] = 'Vie .p12 tiedoston ohjeistus';
$lang['lotw_title_adif_import'] = 'ADIF tuonti'; $lang['lotw_title_adif_import'] = 'ADIF tuonti';
$lang['lotw_title_adif_import_options'] = 'Tuonnin asetukset'; $lang['lotw_title_adif_import_options'] = 'Tuonnin asetukset';

Wyświetl plik

@ -11,7 +11,7 @@ $lang['lotw_title_export_p12_file_instruction'] = 'Anleitung für den Export ein
$lang['lotw_title_adif_import'] = 'ADIF-Import'; $lang['lotw_title_adif_import'] = 'ADIF-Import';
$lang['lotw_title_adif_import_options'] = 'Importoptionen'; $lang['lotw_title_adif_import_options'] = 'Importoptionen';
$lang['lotw_beta_warning'] = 'Bitte beachte, dass sich die LotW-Synchronisation im Betastadium befindet. Siehe Wiki für weitere Hilfe.'; $lang['lotw_beta_warning'] = 'Bitte beachte, dass sich die LoTW-Synchronisation im Betastadium befindet. Siehe Wiki für weitere Hilfe.';
$lang['lotw_no_certs_uploaded'] = 'Du musst mindestens ein LoTW-p12-Zertifikat hochladen, um diesen Bereich nutzen zu können.'; $lang['lotw_no_certs_uploaded'] = 'Du musst mindestens ein LoTW-p12-Zertifikat hochladen, um diesen Bereich nutzen zu können.';
$lang['lotw_date_created'] = 'Ausstellungsdatum'; $lang['lotw_date_created'] = 'Ausstellungsdatum';
@ -30,13 +30,13 @@ $lang['lotw_certificate_dxcc_help_text'] = 'DXCC-Entität des Zertifikats. Zum B
$lang['lotw_input_a_file'] = 'Lade eine Datei hoch'; $lang['lotw_input_a_file'] = 'Lade eine Datei hoch';
$lang['lotw_upload_exported_adif_file_from_lotw'] = 'Lade die exportierte ADIF-Datei aus LotW vom <a href="https://p1k.arrl.org/lotwuser/qsos?qsoscmd=adif" target="_blank">Download Report</a> Bereich, um die QSOs als via LotW bestätigt zu markieren.'; $lang['lotw_upload_exported_adif_file_from_lotw'] = 'Lade die exportierte ADIF-Datei aus LoTW vom <a href="https://p1k.arrl.org/lotwuser/qsos?qsoscmd=adif" target="_blank">Download Report</a> Bereich, um die QSOs als via LoTW bestätigt zu markieren.';
$lang['lotw_upload_type_must_be_adi'] = 'Logdateien müssen den Dateityp .adi haben'; $lang['lotw_upload_type_must_be_adi'] = 'Logdateien müssen den Dateityp .adi haben';
$lang['lotw_pull_lotw_data_for_me'] = 'Lade LotW-Daten für mich'; $lang['lotw_pull_lotw_data_for_me'] = 'Lade LoTW-Daten für mich';
$lang['lotw_import_missing_qsos_text'] = 'Importiere fehlende QSOs in das Log. Rufzeichzeichen und Locator werden geprüft, um das passende Profil zu erkennen, in das importiert werden soll. Kann das nicht gefunden werden, wird das QSO übersprungen.'; $lang['lotw_import_missing_qsos_text'] = 'Importiere fehlende QSOs in das Log. Rufzeichzeichen und Locator werden geprüft, um das passende Profil zu erkennen, in das importiert werden soll. Kann das nicht gefunden werden, wird das QSO übersprungen.';
$lang['lotw_report_download_overview_helptext'] = 'Cloudlog nutzt Benutzername und Passwort, welche in Deinem Benutzerprofil gespeichert sind, um einen Report vom LotW zu laden. Der Report, den Cloudlog lädt, enthält alle Bestätigungen seit dem gewählten Datum oder seit der letzen LotW-Bestätigung (wird aus Deinem Log extrahiert) bis jetzt.'; $lang['lotw_report_download_overview_helptext'] = 'Cloudlog nutzt Benutzername und Passwort, welche in Deinem Benutzerprofil gespeichert sind, um einen Report vom LoTW zu laden. Der Report, den Cloudlog lädt, enthält alle Bestätigungen seit dem gewählten Datum oder seit der letzen LoTW-Bestätigung (wird aus Deinem Log extrahiert) bis jetzt.';
// Buttons // Buttons
$lang['lotw_btn_lotw_import'] = 'LoTW Import'; $lang['lotw_btn_lotw_import'] = 'LoTW Import';
@ -52,8 +52,8 @@ $lang['lotw_p12_export_step_two'] = 'Klicke rechts auf das gewünschte Rufzeiche
$lang['lotw_p12_export_step_three'] = 'Klick "Save Callsign Certificate File" und füge kein Passwort hinzu'; $lang['lotw_p12_export_step_three'] = 'Klick "Save Callsign Certificate File" und füge kein Passwort hinzu';
$lang['lotw_p12_export_step_four'] = 'Lade untenstehende Datei hoch.'; $lang['lotw_p12_export_step_four'] = 'Lade untenstehende Datei hoch.';
$lang['lotw_confirmed'] = 'Dieses QSO wurde via LotW bestätigt am'; $lang['lotw_confirmed'] = 'Dieses QSO wurde via LoTW bestätigt am';
// LotW Expiry // LoTW Expiry
$lang['lotw_cert_expiring'] = 'Mindestens eines deiner LotW Zertifikate läuft bald ab!'; $lang['lotw_cert_expiring'] = 'Mindestens eines deiner LoTW Zertifikate läuft bald ab!';
$lang['lotw_cert_expired'] = 'Mindestens eines deiner LotW Zertifikate ist abgelaufen!'; $lang['lotw_cert_expired'] = 'Mindestens eines deiner LoTW Zertifikate ist abgelaufen!';

Wyświetl plik

@ -54,6 +54,6 @@ $lang['lotw_p12_export_step_four'] = 'Ανεβάστε το αρχείο παρ
$lang['lotw_confirmed'] = 'Αυτό το QSO επιβεβαιώνεται στο LoTW'; $lang['lotw_confirmed'] = 'Αυτό το QSO επιβεβαιώνεται στο LoTW';
// LotW Expiry // LoTW Expiry
$lang['lotw_cert_expiring'] = 'Τουλάχιστον ένα από τα πιστοποιητικά LotW πρόκειται να λήξει!'; $lang['lotw_cert_expiring'] = 'Τουλάχιστον ένα από τα πιστοποιητικά LoTW πρόκειται να λήξει!';
$lang['lotw_cert_expired'] = 'Τουλάχιστον ένα από τα πιστοποιητικά LotW σας έχει λήξει!'; $lang['lotw_cert_expired'] = 'Τουλάχιστον ένα από τα πιστοποιητικά LoTW σας έχει λήξει!';

Wyświetl plik

@ -53,6 +53,6 @@ $lang['lotw_p12_export_step_four'] = 'Загрузите полученный ф
$lang['lotw_confirmed'] = 'Это QSO подтверждено на LoTW'; $lang['lotw_confirmed'] = 'Это QSO подтверждено на LoTW';
// LotW Expiry // LoTW Expiry
$lang['lotw_cert_expiring'] = 'Как минимум, один из ваших сертификатов LoTW скоро истечёт!'; $lang['lotw_cert_expiring'] = 'Как минимум, один из ваших сертификатов LoTW скоро истечёт!';
$lang['lotw_cert_expired'] = 'Один из ваших сертификатов LoTW истёк!'; $lang['lotw_cert_expired'] = 'Один из ваших сертификатов LoTW истёк!';

Wyświetl plik

@ -5,7 +5,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
/** /**
* Class Migration_add_qso_dates_to_lotw_certs * Class Migration_add_qso_dates_to_lotw_certs
* *
* For validity checks of LotW we need to check qso dates from * For validity checks of LoTW we need to check qso dates from
* cvertificates rather than the cert issue date itself * cvertificates rather than the cert issue date itself
* *
*/ */

Wyświetl plik

@ -2170,7 +2170,7 @@ class Logbook_model extends CI_Model {
} }
} }
/* Return total number of LotW sent */ /* Return total number of LoTW sent */
function total_lotw_sent() { function total_lotw_sent() {
$CI =& get_instance(); $CI =& get_instance();
$CI->load->model('logbooks_model'); $CI->load->model('logbooks_model');
@ -2195,7 +2195,7 @@ class Logbook_model extends CI_Model {
} }
} }
/* Return total number of LotW received */ /* Return total number of LoTW received */
function total_lotw_rcvd() { function total_lotw_rcvd() {
$CI =& get_instance(); $CI =& get_instance();
$CI->load->model('logbooks_model'); $CI->load->model('logbooks_model');

Wyświetl plik

@ -253,7 +253,7 @@ $oqrs_requests = $CI->oqrs_model->oqrs_requests($location_list);
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('lotw');?>" title="Synchronise with Logbook of the World (LotW)"><i class="fas fa-sync"></i> Logbook of the World</a> <a class="dropdown-item" href="<?php echo site_url('lotw');?>" title="Synchronise with Logbook of the World (LoTW)"><i class="fas fa-sync"></i> Logbook of the World</a>
<a class="dropdown-item" href="<?php echo site_url('eqsl/import');?>" title="eQSL import / export"><i class="fas fa-sync"></i> eQSL Import / Export</a> <a class="dropdown-item" href="<?php echo site_url('eqsl/import');?>" title="eQSL import / export"><i class="fas fa-sync"></i> eQSL Import / Export</a>