From 9e027cfdce3166f2b7124749a1f9eba4152fac1a Mon Sep 17 00:00:00 2001 From: phl0 Date: Sun, 14 Jul 2024 11:25:52 +0200 Subject: [PATCH] Aligned wording and added hint to LoTW QSL tab --- application/locale/de_DE/LC_MESSAGES/messages.po | 4 ++-- application/views/interface_assets/footer.php | 2 +- application/views/qso/edit_ajax.php | 8 +++++--- assets/js/sections/common.js | 8 ++++++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/application/locale/de_DE/LC_MESSAGES/messages.po b/application/locale/de_DE/LC_MESSAGES/messages.po index e3e1674ee..2ed2386f3 100644 --- a/application/locale/de_DE/LC_MESSAGES/messages.po +++ b/application/locale/de_DE/LC_MESSAGES/messages.po @@ -6125,8 +6125,8 @@ msgstr "Zurücksetzen" #: application/views/interface_assets/footer.php:34 #: application/views/qso/edit_ajax.php:211 msgid "" -"This propagation mode is not supported by LoTW. LoTW QSL fields disabled." -msgstr "Diese Ausbreitungsart wird von LotW nicht unterstützt. LoTW QSL Felder deaktiviert." +"Propagation mode is not supported by LoTW. LoTW QSL fields disabled." +msgstr "Ausbreitungsart wird von LotW nicht unterstützt. LoTW QSL Felder deaktiviert." #: application/views/interface_assets/footer.php:116 #: application/views/interface_assets/header.php:426 diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 64cb0b15c..c6fdeda05 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -31,7 +31,7 @@ var lang_admin_close = ""; var lang_admin_save = ""; var lang_admin_clear = ""; - var lang_lotw_propmode_hint = ""; + var lang_lotw_propmode_hint = ""; diff --git a/application/views/qso/edit_ajax.php b/application/views/qso/edit_ajax.php index 52ef30769..10846632f 100644 --- a/application/views/qso/edit_ajax.php +++ b/application/views/qso/edit_ajax.php @@ -208,7 +208,7 @@ - COL_PROP_MODE, $this->config->item('lotw_unsupported_prop_modes'))) { echo __("This propagation mode is not supported by LoTW. LoTW QSL fields disabled."); } else { echo " "; } ?> + COL_PROP_MODE, $this->config->item('lotw_unsupported_prop_modes'))) { echo __("Propagation mode is not supported by LoTW. LoTW QSL fields disabled."); } else { echo " "; } ?> @@ -479,7 +479,7 @@
- +
@@ -508,7 +508,9 @@ - + + COL_PROP_MODE, $this->config->item('lotw_unsupported_prop_modes'))) { echo __("Propagation mode is not supported by LoTW. LoTW QSL fields disabled."); } else { echo " "; } ?> + diff --git a/assets/js/sections/common.js b/assets/js/sections/common.js index ceb0f005a..634dfe733 100644 --- a/assets/js/sections/common.js +++ b/assets/js/sections/common.js @@ -279,11 +279,15 @@ function qso_edit(id) { if (unsupported_lotw_prop_modes.includes($('#prop_mode').val())) { $('#lotw_sent').prop('disabled', true); $('#lotw_rcvd').prop('disabled', true); - $('#lotw_propmode_hint').html(lang_lotw_propmode_hint).fadeIn("slow"); + $('*[id=lotw_propmode_hint]').each(function() { + $(this).html(lang_lotw_propmode_hint).fadeIn("slow"); + }); } else { $('#lotw_sent').prop('disabled', false); $('#lotw_rcvd').prop('disabled', false); - $('#lotw_propmode_hint').html(" ").fadeIn("fast"); + $('*[id=lotw_propmode_hint]').each(function() { + $(this).html(" ").fadeIn("fast"); + }); } });