From 843ef822969874c055942c2511d3c3a4b362e627 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Fri, 20 Oct 2023 12:50:47 +0200 Subject: [PATCH] added translation for deletion warning --- application/language/bulgarian/filter_lang.php | 1 + application/language/chinese_simplified/filter_lang.php | 1 + application/language/czech/filter_lang.php | 1 + application/language/dutch/filter_lang.php | 1 + application/language/english/filter_lang.php | 1 + application/language/finnish/filter_lang.php | 1 + application/language/french/filter_lang.php | 1 + application/language/german/filter_lang.php | 3 ++- application/language/greek/filter_lang.php | 1 + application/language/italian/filter_lang.php | 1 + application/language/polish/filter_lang.php | 1 + application/language/russian/filter_lang.php | 1 + application/language/spanish/filter_lang.php | 1 + application/language/swedish/filter_lang.php | 1 + application/language/turkish/filter_lang.php | 1 + application/views/logbookadvanced/index.php | 3 +++ assets/js/sections/logbookadvanced.js | 4 ++-- 17 files changed, 21 insertions(+), 3 deletions(-) diff --git a/application/language/bulgarian/filter_lang.php b/application/language/bulgarian/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/bulgarian/filter_lang.php +++ b/application/language/bulgarian/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/chinese_simplified/filter_lang.php b/application/language/chinese_simplified/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/chinese_simplified/filter_lang.php +++ b/application/language/chinese_simplified/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/czech/filter_lang.php b/application/language/czech/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/czech/filter_lang.php +++ b/application/language/czech/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/dutch/filter_lang.php b/application/language/dutch/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/dutch/filter_lang.php +++ b/application/language/dutch/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/english/filter_lang.php b/application/language/english/filter_lang.php index 02876376f..73574aa2b 100644 --- a/application/language/english/filter_lang.php +++ b/application/language/english/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/finnish/filter_lang.php b/application/language/finnish/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/finnish/filter_lang.php +++ b/application/language/finnish/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/french/filter_lang.php b/application/language/french/filter_lang.php index 94cdce6e4..0f5c24a83 100644 --- a/application/language/french/filter_lang.php +++ b/application/language/french/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/german/filter_lang.php b/application/language/german/filter_lang.php index a2bd57bb4..bf6145849 100644 --- a/application/language/german/filter_lang.php +++ b/application/language/german/filter_lang.php @@ -15,7 +15,7 @@ $lang['filter_actions'] = 'Aktionen'; $lang['filter_results'] = '# Resultate'; $lang['filter_search'] = 'Suche'; -$lang['filter_dupes'] = "Dupes"; +$lang['filter_dupes'] = "Dupes"; $lang['filter_map'] = 'Karte'; $lang['filter_options'] = 'Optionen'; $lang['filter_reset'] = 'Reset'; @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Drucken'; $lang['filter_actions_qsl_slideshow'] = 'QSL Präsentation'; $lang['filter_actions_delete'] = 'Löschen'; +$lang['filter_actions_delete_warning'] = "Warnung! Bist du sicher, dass du die markierten QSO löschen willst?"; /* diff --git a/application/language/greek/filter_lang.php b/application/language/greek/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/greek/filter_lang.php +++ b/application/language/greek/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/italian/filter_lang.php b/application/language/italian/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/italian/filter_lang.php +++ b/application/language/italian/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/polish/filter_lang.php b/application/language/polish/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/polish/filter_lang.php +++ b/application/language/polish/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/russian/filter_lang.php b/application/language/russian/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/russian/filter_lang.php +++ b/application/language/russian/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/spanish/filter_lang.php b/application/language/spanish/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/spanish/filter_lang.php +++ b/application/language/spanish/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/swedish/filter_lang.php b/application/language/swedish/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/swedish/filter_lang.php +++ b/application/language/swedish/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/language/turkish/filter_lang.php b/application/language/turkish/filter_lang.php index 23de947fc..58fce8eb4 100644 --- a/application/language/turkish/filter_lang.php +++ b/application/language/turkish/filter_lang.php @@ -120,6 +120,7 @@ $lang['filter_actions_print'] = 'Print'; $lang['filter_actions_qsl_slideshow'] = 'QSL Slideshow'; $lang['filter_actions_delete'] = 'Delete'; +$lang['filter_actions_delete_warning'] = "Warning! Are you sure you want to delete the marked QSO(s)?"; /* diff --git a/application/views/logbookadvanced/index.php b/application/views/logbookadvanced/index.php index 29523ff9b..753d5bd33 100644 --- a/application/views/logbookadvanced/index.php +++ b/application/views/logbookadvanced/index.php @@ -315,6 +315,9 @@ class="form-control" data-target="#dateTo" />
+
diff --git a/assets/js/sections/logbookadvanced.js b/assets/js/sections/logbookadvanced.js index c1b7f96af..1200ccbbe 100644 --- a/assets/js/sections/logbookadvanced.js +++ b/assets/js/sections/logbookadvanced.js @@ -351,8 +351,8 @@ $(document).ready(function () { var table = $('#qsoList').DataTable(); BootstrapDialog.confirm({ - title: 'DANGER', - message: 'Warning! Are you sure you want to delete the marked QSO(s)?' , + title: lang_general_word_danger, + message: lang_filter_actions_delete_warning, type: BootstrapDialog.TYPE_DANGER, closable: true, draggable: true,