From 2370ee2bfe1f2b06723906bbc5d42d51ad0ddd1b Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 26 Apr 2023 05:44:54 +0200 Subject: [PATCH] Harmonize LoTW abbreviation --- application/controllers/Awards.php | 2 +- application/controllers/Dashboard.php | 2 +- application/controllers/Lotw.php | 10 +++++----- application/language/english/lotw_lang.php | 6 +++--- application/language/finnish/lotw_lang.php | 2 +- application/language/german/lotw_lang.php | 16 ++++++++-------- application/language/greek/lotw_lang.php | 6 +++--- application/language/russian/lotw_lang.php | 2 +- .../097_add_qso_dates_to_lotw_certs.php | 2 +- application/models/Logbook_model.php | 4 ++-- application/views/interface_assets/header.php | 2 +- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index 3e33e787..f5e482f4 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -268,7 +268,7 @@ class Awards extends CI_Controller { $qsltype[] = "QSL"; } if (strpos($qsl, "L") !== false) { - $qsltype[] = "LotW"; + $qsltype[] = "LoTW"; } if (strpos($qsl, "E") !== false) { $qsltype[] = "eQSL"; diff --git a/application/controllers/Dashboard.php b/application/controllers/Dashboard.php index 8da1c0a3..8a497343 100644 --- a/application/controllers/Dashboard.php +++ b/application/controllers/Dashboard.php @@ -16,7 +16,7 @@ class Dashboard extends CI_Controller { $this->load->model('logbook_model'); $this->load->model('user_model'); - // LotW infos + // LoTW infos $this->load->model('LotwCert'); if($this->optionslib->get_option('version2_trigger') == "false") { diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index c1cfff09..db40eb35 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -222,15 +222,15 @@ class Lotw extends CI_Controller { continue; } - // Check if LotW certificate itself is valid + // Check if LoTW certificate itself is valid // Validty of QSO dates will be checked later $current_date = date('Y-m-d H:i:s'); 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; } 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; } @@ -577,7 +577,7 @@ class Lotw extends CI_Controller { return $tableheaders.$table; } } 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)); 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'); diff --git a/application/language/english/lotw_lang.php b/application/language/english/lotw_lang.php index 150d5406..dd062ab7 100644 --- a/application/language/english/lotw_lang.php +++ b/application/language/english/lotw_lang.php @@ -54,6 +54,6 @@ $lang['lotw_p12_export_step_four'] = 'Upload File below.'; $lang['lotw_confirmed'] = 'This QSO is confirmed on LoTW'; -// LotW Expiry -$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!'; +// LoTW Expiry +$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!'; diff --git a/application/language/finnish/lotw_lang.php b/application/language/finnish/lotw_lang.php index b44c5326..99a1753e 100644 --- a/application/language/finnish/lotw_lang.php +++ b/application/language/finnish/lotw_lang.php @@ -6,7 +6,7 @@ $lang['lotw_short'] = 'LoTW'; $lang['lotw_title'] = 'Logbook of the World'; $lang['lotw_title_available_cert'] = 'Kutsumerkin varmenteet'; $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_adif_import'] = 'ADIF tuonti'; $lang['lotw_title_adif_import_options'] = 'Tuonnin asetukset'; diff --git a/application/language/german/lotw_lang.php b/application/language/german/lotw_lang.php index d008bcb0..2a2a7f58 100644 --- a/application/language/german/lotw_lang.php +++ b/application/language/german/lotw_lang.php @@ -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_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_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_upload_exported_adif_file_from_lotw'] = 'Lade die exportierte ADIF-Datei aus LotW vom Download Report 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 Download Report 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_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_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 $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_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 -$lang['lotw_cert_expiring'] = 'Mindestens eines deiner LotW Zertifikate läuft bald ab!'; -$lang['lotw_cert_expired'] = 'Mindestens eines deiner LotW Zertifikate ist abgelaufen!'; +// LoTW Expiry +$lang['lotw_cert_expiring'] = 'Mindestens eines deiner LoTW Zertifikate läuft bald ab!'; +$lang['lotw_cert_expired'] = 'Mindestens eines deiner LoTW Zertifikate ist abgelaufen!'; diff --git a/application/language/greek/lotw_lang.php b/application/language/greek/lotw_lang.php index 401cf6b0..dd0b1fbc 100644 --- a/application/language/greek/lotw_lang.php +++ b/application/language/greek/lotw_lang.php @@ -54,6 +54,6 @@ $lang['lotw_p12_export_step_four'] = 'Ανεβάστε το αρχείο παρ $lang['lotw_confirmed'] = 'Αυτό το QSO επιβεβαιώνεται στο LoTW'; -// LotW Expiry -$lang['lotw_cert_expiring'] = 'Τουλάχιστον ένα από τα πιστοποιητικά LotW πρόκειται να λήξει!'; -$lang['lotw_cert_expired'] = 'Τουλάχιστον ένα από τα πιστοποιητικά LotW σας έχει λήξει!'; +// LoTW Expiry +$lang['lotw_cert_expiring'] = 'Τουλάχιστον ένα από τα πιστοποιητικά LoTW πρόκειται να λήξει!'; +$lang['lotw_cert_expired'] = 'Τουλάχιστον ένα από τα πιστοποιητικά LoTW σας έχει λήξει!'; diff --git a/application/language/russian/lotw_lang.php b/application/language/russian/lotw_lang.php index 6003e2fd..1d9ec322 100644 --- a/application/language/russian/lotw_lang.php +++ b/application/language/russian/lotw_lang.php @@ -53,6 +53,6 @@ $lang['lotw_p12_export_step_four'] = 'Загрузите полученный ф $lang['lotw_confirmed'] = 'Это QSO подтверждено на LoTW'; -// LotW Expiry +// LoTW Expiry $lang['lotw_cert_expiring'] = 'Как минимум, один из ваших сертификатов LoTW скоро истечёт!'; $lang['lotw_cert_expired'] = 'Один из ваших сертификатов LoTW истёк!'; diff --git a/application/migrations/097_add_qso_dates_to_lotw_certs.php b/application/migrations/097_add_qso_dates_to_lotw_certs.php index f53dcf78..94cf3580 100644 --- a/application/migrations/097_add_qso_dates_to_lotw_certs.php +++ b/application/migrations/097_add_qso_dates_to_lotw_certs.php @@ -5,7 +5,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); /** * 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 * */ diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 2f1b6853..0e912e9f 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -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() { $CI =& get_instance(); $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() { $CI =& get_instance(); $CI->load->model('logbooks_model'); diff --git a/application/views/interface_assets/header.php b/application/views/interface_assets/header.php index 71fb725a..f2cc94e1 100644 --- a/application/views/interface_assets/header.php +++ b/application/views/interface_assets/header.php @@ -253,7 +253,7 @@ $oqrs_requests = $CI->oqrs_model->oqrs_requests($location_list); - Logbook of the World + Logbook of the World eQSL Import / Export