fixed acoustic console name

This commit is contained in:
Daniel Cebrian 2023-05-30 17:17:34 +02:00
parent b9a53c71c8
commit 2a7eb1e069
5 changed files with 12 additions and 12 deletions
pandora_console

View File

@ -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']['text'] = __('Acoustic console setup');
$sub['godmode/events/configuration_sounds']['id'] = 'Accoustic console setup'; $sub['godmode/events/configuration_sounds']['id'] = 'Acoustic console setup';
$sub['godmode/events/configuration_sounds']['pages'] = ['godmode/events/configuration_sounds']; $sub['godmode/events/configuration_sounds']['pages'] = ['godmode/events/configuration_sounds'];
$menu_godmode['gextensions']['sub'] = $sub; $menu_godmode['gextensions']['sub'] = $sub;

View File

@ -209,7 +209,7 @@ class EventSound extends HTML
$titleHeader = __('Add new sound'); $titleHeader = __('Add new sound');
} else { } else {
$helpHeader = 'servers_ha_clusters_tab'; $helpHeader = 'servers_ha_clusters_tab';
$titleHeader = __('Accoustic console sound list'); $titleHeader = __('Acoustic console sound list');
} }
// Header. // Header.
@ -227,7 +227,7 @@ class EventSound extends HTML
], ],
[ [
'link' => '', 'link' => '',
'label' => __('Accoustic console setup'), 'label' => __('Acoustic console setup'),
], ],
] ]
); );

View File

@ -1560,7 +1560,7 @@ if ($pure) {
] ]
).'</a>'; ).'</a>';
// Accoustic console. // Acoustic console.
$sound_event['active'] = false; $sound_event['active'] = false;
// Sound Events. // Sound Events.
@ -1583,7 +1583,7 @@ if ($pure) {
'images/sound_console@svg.svg', 'images/sound_console@svg.svg',
true, true,
[ [
'title' => __('Accoustic console'), 'title' => __('Acoustic console'),
'class' => 'invert_filter main_menu_icon', 'class' => 'invert_filter main_menu_icon',
] ]
).'</a>'; ).'</a>';
@ -1633,7 +1633,7 @@ if ($pure) {
switch ($section) { switch ($section) {
case 'sound_event': case 'sound_event':
$onheader['sound_event']['active'] = true; $onheader['sound_event']['active'] = true;
$section_string = __('Accoustic console'); $section_string = __('Acoustic console');
break; break;
case 'history': case 'history':

View File

@ -59,7 +59,7 @@ echo '<html>';
echo '<head>'; echo '<head>';
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo __('Accoustic console'); ?>)</title> <title><?php echo __('Acoustic console'); ?>)</title>
<link rel="stylesheet" href="../../include/styles/pandora_minimal.css?v=<?php echo $config['current_package']; ?>" type="text/css" /> <link rel="stylesheet" href="../../include/styles/pandora_minimal.css?v=<?php echo $config['current_package']; ?>" type="text/css" />
<link rel="stylesheet" href="../../include/styles/js/jquery-ui.min.css?v=<?php echo $config['current_package']; ?>" type="text/css" /> <link rel="stylesheet" href="../../include/styles/js/jquery-ui.min.css?v=<?php echo $config['current_package']; ?>" type="text/css" />
<link rel="stylesheet" href="../../include/styles/js/jquery-ui_custom.css?v=<?php echo $config['current_package']; ?>" type="text/css" /> <link rel="stylesheet" href="../../include/styles/js/jquery-ui_custom.css?v=<?php echo $config['current_package']; ?>" type="text/css" />

View File

@ -563,11 +563,11 @@ if ($access_console_node === true) {
$sub['operation/events/events_rss.php?user='.$config['id_user'].'&amp;hashup='.$hashup.'&fb64='.$fb64]['type'] = 'direct'; $sub['operation/events/events_rss.php?user='.$config['id_user'].'&amp;hashup='.$hashup.'&fb64='.$fb64]['type'] = 'direct';
} }
// Accoustic console. // Acoustic console.
$data_sound = base64_encode( $data_sound = base64_encode(
json_encode( json_encode(
[ [
'title' => __('Accoustic console'), 'title' => __('Acoustic console'),
'start' => __('Start'), 'start' => __('Start'),
'stop' => __('Stop'), 'stop' => __('Stop'),
'noAlert' => __('No alert'), 'noAlert' => __('No alert'),
@ -580,8 +580,8 @@ if ($access_console_node === true) {
); );
$javascript = 'javascript: openSoundEventModal(`'.$data_sound.'`);'; $javascript = 'javascript: openSoundEventModal(`'.$data_sound.'`);';
$sub[$javascript]['text'] = __('Accoustic console'); $sub[$javascript]['text'] = __('Acoustic console');
$sub[$javascript]['id'] = 'Accoustic console Modal'; $sub[$javascript]['id'] = 'Acoustic console Modal';
$sub[$javascript]['type'] = 'direct'; $sub[$javascript]['type'] = 'direct';
echo '<div id="modal-sound" style="display:none;"></div>'; echo '<div id="modal-sound" style="display:none;"></div>';