#11280 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

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']['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;

View File

@ -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'),
],
]
);

View File

@ -1560,7 +1560,7 @@ if ($pure) {
]
).'</a>';
// 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',
]
).'</a>';
@ -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':

View File

@ -59,7 +59,7 @@ echo '<html>';
echo '<head>';
?>
<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/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" />

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';
}
// 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 '<div id="modal-sound" style="display:none;"></div>';