diff --git a/app/music_on_hold/app_languages.php b/app/music_on_hold/app_languages.php index 176eb78307..4e9b21e62b 100644 --- a/app/music_on_hold/app_languages.php +++ b/app/music_on_hold/app_languages.php @@ -43,27 +43,6 @@ $text['title-music_on_hold']['ru-ru'] = "Музыка на удержании"; $text['title-music_on_hold']['sv-se'] = "Väntmusik"; $text['title-music_on_hold']['uk-ua'] = "Музика на утриманні"; -$text['label-others']['en-us'] = "Others"; -$text['label-others']['en-gb'] = "Others"; -$text['label-others']['ar-eg'] = "آخرون"; -$text['label-others']['de-at'] = "Andere"; //copied from de-de -$text['label-others']['de-ch'] = "Andere"; //copied from de-de -$text['label-others']['de-de'] = "Andere"; -$text['label-others']['es-cl'] = ""; -$text['label-others']['es-mx'] = ""; -$text['label-others']['fr-ca'] = "Autres"; //copied from fr-fr -$text['label-others']['fr-fr'] = "Autres"; -$text['label-others']['he-il'] = "אחרים"; -$text['label-others']['it-it'] = "Altri"; -$text['label-others']['nl-nl'] = "Andere"; -$text['label-others']['pl-pl'] = "Pozostałe"; -$text['label-others']['pt-br'] = "Outras"; //copied from pt-pt -$text['label-others']['pt-pt'] = "Outras"; -$text['label-others']['ro-ro'] = ""; -$text['label-others']['ru-ru'] = "другие"; -$text['label-others']['sv-se'] = "Andra"; -$text['label-others']['uk-ua'] = "інші"; - $text['option-local']['en-us'] = "Local"; $text['option-local']['en-gb'] = "Local"; $text['option-local']['ar-eg'] = ""; diff --git a/app/music_on_hold/resources/classes/switch_music_on_hold.php b/app/music_on_hold/resources/classes/switch_music_on_hold.php index 811258edfe..2a8c25d9a1 100644 --- a/app/music_on_hold/resources/classes/switch_music_on_hold.php +++ b/app/music_on_hold/resources/classes/switch_music_on_hold.php @@ -78,7 +78,6 @@ if (!class_exists('switch_music_on_hold')) { $music_list = $this->get(); if (count($music_list) > 0) { $select .= " \n"; $select .= " \n"; $previous_name = ''; foreach($music_list as $row) { @@ -126,11 +125,12 @@ if (!class_exists('switch_music_on_hold')) { unset($sql, $parameters, $streams, $row); } //add additional options + $select .= " "; + $select .= " \n"; if (is_array($options) && sizeof($options) > 0) { - $select .= " "; $select .= $options; - $select .= " \n"; } + $select .= " \n"; //end the select and return it $select .= "\n"; return $select; diff --git a/resources/app_languages.php b/resources/app_languages.php index 5f79f732c0..0f32d092d8 100644 --- a/resources/app_languages.php +++ b/resources/app_languages.php @@ -4566,6 +4566,27 @@ $text['label-path']['ru-ru'] = "Путь к проекту"; $text['label-path']['sv-se'] = "Projekt Path"; $text['label-path']['uk-ua'] = "шлях проекту"; +$text['label-others']['en-us'] = "Others"; +$text['label-others']['en-gb'] = "Others"; +$text['label-others']['ar-eg'] = "آخرون"; +$text['label-others']['de-at'] = "Andere"; //copied from de-de +$text['label-others']['de-ch'] = "Andere"; //copied from de-de +$text['label-others']['de-de'] = "Andere"; +$text['label-others']['es-cl'] = ""; +$text['label-others']['es-mx'] = ""; +$text['label-others']['fr-ca'] = "Autres"; //copied from fr-fr +$text['label-others']['fr-fr'] = "Autres"; +$text['label-others']['he-il'] = "אחרים"; +$text['label-others']['it-it'] = "Altri"; +$text['label-others']['nl-nl'] = "Andere"; +$text['label-others']['pl-pl'] = "Pozostałe"; +$text['label-others']['pt-br'] = "Outras"; //copied from pt-pt +$text['label-others']['pt-pt'] = "Outras"; +$text['label-others']['ro-ro'] = ""; +$text['label-others']['ru-ru'] = "другие"; +$text['label-others']['sv-se'] = "Andra"; +$text['label-others']['uk-ua'] = "інші"; + $text['button-tickets']['en-us'] = "Tickets"; $text['button-tickets']['en-gb'] = "Tickets"; $text['button-tickets']['ar-eg'] = "";