#9819 Change labels Accoustic console

This commit is contained in:
Jonathan 2023-01-31 08:35:47 +01:00
parent 7923a5919c
commit b88f26500b
5 changed files with 14 additions and 14 deletions

View File

@ -435,8 +435,8 @@ if ((bool) check_acl($config['id_user'], 0, 'PM') === true || (bool) check_acl($
} }
} }
$sub['godmode/events/configuration_sounds']['text'] = __('Configuration Sounds'); $sub['godmode/events/configuration_sounds']['text'] = __('Accoustic console setup');
$sub['godmode/events/configuration_sounds']['id'] = 'Configuration Sounds'; $sub['godmode/events/configuration_sounds']['id'] = 'Accoustic 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 = __('Events sound list'); $titleHeader = __('Accoustic console sound list');
} }
// Header. // Header.
@ -223,11 +223,11 @@ class EventSound extends HTML
[ [
[ [
'link' => '', 'link' => '',
'label' => __('Events'), 'label' => __('Admin tools'),
], ],
[ [
'link' => '', 'link' => '',
'label' => __('Configuration Sounds'), 'label' => __('Accoustic console setup'),
], ],
] ]
); );

View File

@ -1473,13 +1473,13 @@ if ($pure) {
] ]
).'</a>'; ).'</a>';
// Sound events. // Accoustic console.
$sound_event['active'] = false; $sound_event['active'] = false;
$sound_event['text'] = '<a href="javascript: openSoundEventWindow();">'.html_print_image( $sound_event['text'] = '<a href="javascript: openSoundEventWindow();">'.html_print_image(
'images/sound.png', 'images/sound.png',
true, true,
[ [
'title' => __('Sound events'), 'title' => __('Accoustic console'),
'class' => 'invert_filter', 'class' => 'invert_filter',
] ]
).'</a>'; ).'</a>';
@ -1529,7 +1529,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 = __('Sound events'); $section_string = __('Accoustic console');
break; break;
case 'history': case 'history':

View File

@ -60,7 +60,7 @@ ob_start();
echo '<html>'; echo '<html>';
echo '<head>'; echo '<head>';
echo '<title>'.__('Sound Events').'</title>'; echo '<title>'.__('Accoustic console').'</title>';
ui_require_css_file('wizard'); ui_require_css_file('wizard');
ui_require_css_file('discovery'); ui_require_css_file('discovery');
?> ?>
@ -161,7 +161,7 @@ if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
echo '</head>'; echo '</head>';
echo "<body class='sound_events'>"; echo "<body class='sound_events'>";
echo "<h1 class='modalheaderh1'>".__('Sound console').'</h1>'; echo "<h1 class='modalheaderh1'>".__('Accoustic console').'</h1>';
// Connection lost alert. // Connection lost alert.
ui_require_css_file('register', 'include/styles/', true); ui_require_css_file('register', 'include/styles/', true);

View File

@ -432,11 +432,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';
} }
// Sound Events. // Accoustic console.
$data_sound = base64_encode( $data_sound = base64_encode(
json_encode( json_encode(
[ [
'title' => __('Sound Console'), 'title' => __('Accoustic console'),
'start' => __('Start'), 'start' => __('Start'),
'stop' => __('Stop'), 'stop' => __('Stop'),
'noAlert' => __('No alert'), 'noAlert' => __('No alert'),
@ -449,8 +449,8 @@ if ($access_console_node === true) {
); );
$javascript = 'javascript: openSoundEventModal(`'.$data_sound.'`);'; $javascript = 'javascript: openSoundEventModal(`'.$data_sound.'`);';
$sub[$javascript]['text'] = __('Sound Events'); $sub[$javascript]['text'] = __('Accoustic console');
$sub[$javascript]['id'] = 'Sound Events Modal'; $sub[$javascript]['id'] = 'Accoustic 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>';