From 39dbe00fb4d87df8f50dfff3d3e1486a421c81d9 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Thu, 12 Oct 2023 08:30:18 +0200 Subject: [PATCH] Station Controller (uncomplete) --- application/controllers/Station.php | 4 ++-- application/language/bulgarian/account_lang.php | 2 ++ application/language/chinese_simplified/account_lang.php | 2 ++ application/language/czech/account_lang.php | 2 ++ application/language/dutch/account_lang.php | 2 ++ application/language/english/account_lang.php | 2 ++ application/language/finnish/account_lang.php | 2 ++ application/language/french/account_lang.php | 2 ++ application/language/german/account_lang.php | 6 ++++-- application/language/greek/account_lang.php | 2 ++ application/language/italian/account_lang.php | 2 ++ application/language/polish/account_lang.php | 2 ++ application/language/russian/account_lang.php | 2 ++ application/language/spanish/account_lang.php | 2 ++ application/language/swedish/account_lang.php | 2 ++ application/language/turkish/account_lang.php | 2 ++ 16 files changed, 34 insertions(+), 4 deletions(-) diff --git a/application/controllers/Station.php b/application/controllers/Station.php index c037bbbb..983dc8d2 100644 --- a/application/controllers/Station.php +++ b/application/controllers/Station.php @@ -28,7 +28,7 @@ class Station extends CI_Controller { $data['is_there_qsos_with_no_station_id'] = $this->Logbook_model->check_for_station_id(); // Render Page - $data['page_title'] = "Station Location"; + $data['page_title'] = lang('account_stationlocation'); $this->load->view('interface_assets/header', $data); $this->load->view('station_profile/index'); $this->load->view('interface_assets/footer'); @@ -48,7 +48,7 @@ class Station extends CI_Controller { if ($this->form_validation->run() == FALSE) { - $data['page_title'] = "Create Station Location"; + $data['page_title'] = lang('account_stationlocation_create_header'); $this->load->view('interface_assets/header', $data); $this->load->view('station_profile/create'); $this->load->view('interface_assets/footer'); diff --git a/application/language/bulgarian/account_lang.php b/application/language/bulgarian/account_lang.php index 83fa79fd..22442133 100644 --- a/application/language/bulgarian/account_lang.php +++ b/application/language/bulgarian/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/chinese_simplified/account_lang.php b/application/language/chinese_simplified/account_lang.php index e9847004..86e6dc5e 100644 --- a/application/language/chinese_simplified/account_lang.php +++ b/application/language/chinese_simplified/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = '默认波段'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/czech/account_lang.php b/application/language/czech/account_lang.php index 6a4bf208..fde80702 100644 --- a/application/language/czech/account_lang.php +++ b/application/language/czech/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Výchozí pásma'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/dutch/account_lang.php b/application/language/dutch/account_lang.php index 75f59017..bf868cd1 100644 --- a/application/language/dutch/account_lang.php +++ b/application/language/dutch/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/english/account_lang.php b/application/language/english/account_lang.php index 2d09aba1..22527494 100644 --- a/application/language/english/account_lang.php +++ b/application/language/english/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/finnish/account_lang.php b/application/language/finnish/account_lang.php index 5c05b4e5..0d2b593b 100644 --- a/application/language/finnish/account_lang.php +++ b/application/language/finnish/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Oletusbandi'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/french/account_lang.php b/application/language/french/account_lang.php index ac6c40af..fa95f8d6 100644 --- a/application/language/french/account_lang.php +++ b/application/language/french/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/german/account_lang.php b/application/language/german/account_lang.php index adf14239..d09b92dd 100644 --- a/application/language/german/account_lang.php +++ b/application/language/german/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Standardband'; $lang['account_qsl_settings'] = 'QSL-Methoden, die in der Planquadratkarte und beim anlegen eines QSOs angezeigt werden'; // Station Location +$lang['account_stationlocation'] = 'Stationsstandort'; $lang['account_stationlocation_header_ln1'] = 'Stationsstandorte definieren die Orte, von denen aus du QRV bist. Dein Zuhause, Bei Freunden oder Unterwegs'; $lang['account_stationlocation_header_ln2'] = 'Ähnlich wie Logbücher trennen die Stationsstandorte die entsprechenden QSO voneinander ab.'; $lang['account_stationlocation_header_ln3'] = 'Es kann immer nur ein Stationsstandort aktiv sein. Welches das aktuell ist siehst du in der Liste an dem "Aktive Station" Symbol'; +$lang['account_stationlocation_create_header'] = 'Erstellung Stationsstandort'; $lang['account_stationlocation_create'] = 'Erstelle einen neuen Stationsstandort'; $lang['account_stationlocation_warning'] = 'Achtung: Du musst einen aktiven Stationsstandort auswählen. Gehe zu Rufzeichen -> Stationsstandorte um einen zu aktivieren.'; $lang['account_stationlocation_reassign_at'] = 'Bitte mache die Zuordnung in '; @@ -116,6 +118,6 @@ $lang['account_stationlocation_set_active'] = 'Aktiviere'; $lang['account_stationlocation_active'] = 'Aktive Station'; $lang['account_stationlocation_claim_ownership'] = 'Claim Ownership'; $lang['account_stationlocation_confirm_del_qso'] = 'Bist du sicher, dass du alle QSO an diesem Stationsstandort löschen möchtest?'; -$lang['account_stationlocation_confirm_del_stationlocation'] = 'Are you sure you want delete station profile '; -$lang['account_stationlocation_confirm_del_stationlocation_qso'] = 'This will delete all QSOs within this station profile?'; +$lang['account_stationlocation_confirm_del_stationlocation'] = 'Bist du sicher, dass du diesen Stationsstandort löschen willst?:'; +$lang['account_stationlocation_confirm_del_stationlocation_qso'] = 'Es werden alle QSO an diesem Stationsstandort gelöscht!'; diff --git a/application/language/greek/account_lang.php b/application/language/greek/account_lang.php index 035607e0..2fae3ac7 100644 --- a/application/language/greek/account_lang.php +++ b/application/language/greek/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/italian/account_lang.php b/application/language/italian/account_lang.php index a0d32a2f..0d94e683 100644 --- a/application/language/italian/account_lang.php +++ b/application/language/italian/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/polish/account_lang.php b/application/language/polish/account_lang.php index e176fc8d..5eb7d5a6 100644 --- a/application/language/polish/account_lang.php +++ b/application/language/polish/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/russian/account_lang.php b/application/language/russian/account_lang.php index 34b34384..5e2e55ff 100644 --- a/application/language/russian/account_lang.php +++ b/application/language/russian/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Диапазон по умолчани $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/spanish/account_lang.php b/application/language/spanish/account_lang.php index 3797ba67..d742294f 100644 --- a/application/language/spanish/account_lang.php +++ b/application/language/spanish/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/swedish/account_lang.php b/application/language/swedish/account_lang.php index bd6a73ce..785a28de 100644 --- a/application/language/swedish/account_lang.php +++ b/application/language/swedish/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Standard Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at '; diff --git a/application/language/turkish/account_lang.php b/application/language/turkish/account_lang.php index 49233a95..801246ce 100644 --- a/application/language/turkish/account_lang.php +++ b/application/language/turkish/account_lang.php @@ -101,9 +101,11 @@ $lang['account_gridmap_default_band'] = 'Default Band'; $lang['account_qsl_settings'] = 'Default QSL-Method shown in views (Gridsquare and Add-QSO)'; // Station Location +$lang['account_stationlocation'] = 'Station Location'; $lang['account_stationlocation_header_ln1'] = 'Station Locations define operating locations, such as your QTH, a friends QTH, or a portable station.'; $lang['account_stationlocation_header_ln2'] = 'Similar to logbooks, a station profile keeps a set of QSOs together.'; $lang['account_stationlocation_header_ln3'] = 'Only one station may be active at a time. In the table below this is shown with the -Active Station- badge.'; +$lang['account_stationlocation_create_header'] = 'Create Station Location'; $lang['account_stationlocation_create'] = 'Create a Station Location'; $lang['account_stationlocation_warning'] = 'Attention: You need to set an active station location. Go to Callsign->Station Location to select one.'; $lang['account_stationlocation_reassign_at'] = 'Please reassign them at ';