diff --git a/application/language/bulgarian/admin_lang.php b/application/language/bulgarian/admin_lang.php index bf2ec87f..77f0753e 100644 --- a/application/language/bulgarian/admin_lang.php +++ b/application/language/bulgarian/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Edit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/chinese_simplified/admin_lang.php b/application/language/chinese_simplified/admin_lang.php index 7163b951..d1d1c136 100644 --- a/application/language/chinese_simplified/admin_lang.php +++ b/application/language/chinese_simplified/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = '编辑用户'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/czech/admin_lang.php b/application/language/czech/admin_lang.php index 26e6c50d..1baea86e 100644 --- a/application/language/czech/admin_lang.php +++ b/application/language/czech/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Upravit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/dutch/admin_lang.php b/application/language/dutch/admin_lang.php index e2cadcfd..6b161da8 100644 --- a/application/language/dutch/admin_lang.php +++ b/application/language/dutch/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Edit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/english/admin_lang.php b/application/language/english/admin_lang.php index 3f6e9824..b42ab400 100644 --- a/application/language/english/admin_lang.php +++ b/application/language/english/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Edit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/finnish/admin_lang.php b/application/language/finnish/admin_lang.php index d66806c7..0bb47c66 100644 --- a/application/language/finnish/admin_lang.php +++ b/application/language/finnish/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Muokkaa'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/french/admin_lang.php b/application/language/french/admin_lang.php index 1a34ed35..54dff9ec 100644 --- a/application/language/french/admin_lang.php +++ b/application/language/french/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Editer'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/german/admin_lang.php b/application/language/german/admin_lang.php index 2a5155ed..1b909cb2 100644 --- a/application/language/german/admin_lang.php +++ b/application/language/german/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Editieren'; $lang['admin_save'] = 'Speichern'; $lang['admin_close'] = 'Schliessen'; $lang['admin_user_accounts'] = 'Benutzerkonten'; +$lang['admin_danger'] = 'ACHTUNG!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Der Name des Contest'; $lang['admin_contest_name_of_adif'] = 'Der Name des Contest in ADIF Spezifikation'; $lang['admin_contest_edit_active_hint'] = 'Wähle "Aktiv" um den Contest in der Contest-Liste anzuzeigen'; $lang['admin_contest_edit_update_contest'] = 'Aktualisiere Contest'; +$lang['admin_contest_deletion_warning'] = 'Warnung! Bist du sicher den folgenden Contest zu löschen: '; +$lang['admin_contest_active_all_warning'] = 'Warnung! Bist du sicher, dass du ALLE Contests aktivieren willst?'; +$lang['admin_contest_deactive_all_warning'] = 'Warnung! Bist du sicher, dass du ALLE Contests deaktivieren willst?'; diff --git a/application/language/greek/admin_lang.php b/application/language/greek/admin_lang.php index 3f6e9824..b42ab400 100644 --- a/application/language/greek/admin_lang.php +++ b/application/language/greek/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Edit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/italian/admin_lang.php b/application/language/italian/admin_lang.php index 3f6e9824..b42ab400 100644 --- a/application/language/italian/admin_lang.php +++ b/application/language/italian/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Edit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/polish/admin_lang.php b/application/language/polish/admin_lang.php index 3f6e9824..b42ab400 100644 --- a/application/language/polish/admin_lang.php +++ b/application/language/polish/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Edit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/russian/admin_lang.php b/application/language/russian/admin_lang.php index 6b051124..436ab179 100644 --- a/application/language/russian/admin_lang.php +++ b/application/language/russian/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Редактировать'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'Аккаунты пользователей'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/spanish/admin_lang.php b/application/language/spanish/admin_lang.php index 3f6e9824..b42ab400 100644 --- a/application/language/spanish/admin_lang.php +++ b/application/language/spanish/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Edit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/swedish/admin_lang.php b/application/language/swedish/admin_lang.php index 718f4c93..6c2f2796 100644 --- a/application/language/swedish/admin_lang.php +++ b/application/language/swedish/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Redigera'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/language/turkish/admin_lang.php b/application/language/turkish/admin_lang.php index 99ee05e6..99232911 100644 --- a/application/language/turkish/admin_lang.php +++ b/application/language/turkish/admin_lang.php @@ -19,6 +19,7 @@ $lang['admin_edit'] = 'Edit'; $lang['admin_save'] = 'Save'; $lang['admin_close'] = 'Close'; $lang['admin_user_accounts'] = 'User Accounts'; +$lang['admin_danger'] = 'DANGER!'; @@ -43,4 +44,7 @@ $lang['admin_contest_name_of_contest'] = 'Name of the Contest'; $lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification'; $lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list'; $lang['admin_contest_edit_update_contest'] = 'Update Contest'; +$lang['admin_contest_deletion_warning'] = 'Warning! Are you sure you want to delete the following contest: '; +$lang['admin_contest_active_all_warning'] = 'Warning! Are you sure you want to activate all contests?'; +$lang['admin_contest_deactive_all_warning'] = 'Warning! Are you sure you want to deactivate all contests?'; diff --git a/application/views/contesting/add.php b/application/views/contesting/add.php index 18c1fd30..4665c50e 100644 --- a/application/views/contesting/add.php +++ b/application/views/contesting/add.php @@ -50,6 +50,12 @@ };?> + " class="btn btn-outline-primary btn-sm"> diff --git a/assets/js/sections/contestingnames.js b/assets/js/sections/contestingnames.js index 3b800e5a..d39b76d9 100644 --- a/assets/js/sections/contestingnames.js +++ b/assets/js/sections/contestingnames.js @@ -90,8 +90,8 @@ function activateContest(contestid) { function deleteContest(id, contest) { BootstrapDialog.confirm({ - title: 'DANGER', - message: 'Warning! Are you sure you want to delete the following contest: ' + contest + '?', + title: lang_admin_danger, + message: lang_admin_contest_deletion_warning + contest + '?', type: BootstrapDialog.TYPE_DANGER, closable: true, draggable: true, @@ -115,8 +115,8 @@ function deleteContest(id, contest) { function activateAllContests() { BootstrapDialog.confirm({ - title: 'DANGER', - message: 'Warning! Are you sure you want to activate all contests?', + title: lang_admin_danger, + message: lang_admin_contest_active_all_warning, type: BootstrapDialog.TYPE_DANGER, closable: true, draggable: true, @@ -137,8 +137,8 @@ function activateAllContests() { function deactivateAllContests() { BootstrapDialog.confirm({ - title: 'DANGER', - message: 'Warning! Are you sure you want to deactivate all contests?', + title: lang_admin_danger, + message: lang_admin_contest_deactive_all_warning, type: BootstrapDialog.TYPE_DANGER, closable: true, draggable: true,