From 2a7eb1e06912350af38f6ecff1eda92570ba9ee0 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Tue, 30 May 2023 17:17:34 +0200 Subject: [PATCH 1/2] #11280 fixed acoustic console name --- pandora_console/godmode/menu.php | 4 ++-- pandora_console/include/class/EventSound.class.php | 4 ++-- pandora_console/operation/events/events.php | 6 +++--- pandora_console/operation/events/sound_events.php | 2 +- pandora_console/operation/menu.php | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index f6e4aac358..0546647846 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -452,8 +452,8 @@ if ((bool) check_acl($config['id_user'], 0, 'PM') === true || (bool) check_acl($ } } - $sub['godmode/events/configuration_sounds']['text'] = __('Accoustic console setup'); - $sub['godmode/events/configuration_sounds']['id'] = 'Accoustic console setup'; + $sub['godmode/events/configuration_sounds']['text'] = __('Acoustic console setup'); + $sub['godmode/events/configuration_sounds']['id'] = 'Acoustic console setup'; $sub['godmode/events/configuration_sounds']['pages'] = ['godmode/events/configuration_sounds']; $menu_godmode['gextensions']['sub'] = $sub; diff --git a/pandora_console/include/class/EventSound.class.php b/pandora_console/include/class/EventSound.class.php index 41e54cc4ff..7d9bfbca6e 100644 --- a/pandora_console/include/class/EventSound.class.php +++ b/pandora_console/include/class/EventSound.class.php @@ -209,7 +209,7 @@ class EventSound extends HTML $titleHeader = __('Add new sound'); } else { $helpHeader = 'servers_ha_clusters_tab'; - $titleHeader = __('Accoustic console sound list'); + $titleHeader = __('Acoustic console sound list'); } // Header. @@ -227,7 +227,7 @@ class EventSound extends HTML ], [ 'link' => '', - 'label' => __('Accoustic console setup'), + 'label' => __('Acoustic console setup'), ], ] ); diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index f0e69a427c..d1d653777a 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -1560,7 +1560,7 @@ if ($pure) { ] ).''; - // Accoustic console. + // Acoustic console. $sound_event['active'] = false; // Sound Events. @@ -1583,7 +1583,7 @@ if ($pure) { 'images/sound_console@svg.svg', true, [ - 'title' => __('Accoustic console'), + 'title' => __('Acoustic console'), 'class' => 'invert_filter main_menu_icon', ] ).''; @@ -1633,7 +1633,7 @@ if ($pure) { switch ($section) { case 'sound_event': $onheader['sound_event']['active'] = true; - $section_string = __('Accoustic console'); + $section_string = __('Acoustic console'); break; case 'history': diff --git a/pandora_console/operation/events/sound_events.php b/pandora_console/operation/events/sound_events.php index c4a968e3df..89ae198e01 100644 --- a/pandora_console/operation/events/sound_events.php +++ b/pandora_console/operation/events/sound_events.php @@ -59,7 +59,7 @@ echo ''; echo ''; ?> -<?php echo __('Accoustic console'); ?>) +<?php echo __('Acoustic console'); ?>) diff --git a/pandora_console/operation/menu.php b/pandora_console/operation/menu.php index 4e72aaac16..96462b0eed 100644 --- a/pandora_console/operation/menu.php +++ b/pandora_console/operation/menu.php @@ -563,11 +563,11 @@ if ($access_console_node === true) { $sub['operation/events/events_rss.php?user='.$config['id_user'].'&hashup='.$hashup.'&fb64='.$fb64]['type'] = 'direct'; } - // Accoustic console. + // Acoustic console. $data_sound = base64_encode( json_encode( [ - 'title' => __('Accoustic console'), + 'title' => __('Acoustic console'), 'start' => __('Start'), 'stop' => __('Stop'), 'noAlert' => __('No alert'), @@ -580,8 +580,8 @@ if ($access_console_node === true) { ); $javascript = 'javascript: openSoundEventModal(`'.$data_sound.'`);'; - $sub[$javascript]['text'] = __('Accoustic console'); - $sub[$javascript]['id'] = 'Accoustic console Modal'; + $sub[$javascript]['text'] = __('Acoustic console'); + $sub[$javascript]['id'] = 'Acoustic console Modal'; $sub[$javascript]['type'] = 'direct'; echo ''; From eb1e28ce7df780b1e4c7fb1c3e0939014dcb735a Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Tue, 30 May 2023 17:18:58 +0200 Subject: [PATCH 2/2] #11280 fixed acoustic console name --- pandora_console/operation/events/sound_events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/operation/events/sound_events.php b/pandora_console/operation/events/sound_events.php index 89ae198e01..bae7c0cdd2 100644 --- a/pandora_console/operation/events/sound_events.php +++ b/pandora_console/operation/events/sound_events.php @@ -59,7 +59,7 @@ echo ''; echo ''; ?> -<?php echo __('Acoustic console'); ?>) +<?php echo __('Acoustic console'); ?>