2016-09-04 04:32:19 +02:00
< ? php
2017-06-03 20:35:18 +02:00
//application details
2016-09-04 04:32:19 +02:00
$apps [ $x ][ 'name' ] = " Tones " ;
$apps [ $x ][ 'uuid' ] = " 38ab9f01-bcd2-4726-a9ff-9af8ed9e396a " ;
$apps [ $x ][ 'category' ] = " Switch " ;;
$apps [ $x ][ 'subcategory' ] = " " ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'version' ] = " 1.0 " ;
2016-09-04 04:32:19 +02:00
$apps [ $x ][ 'license' ] = " Mozilla Public License 1.1 " ;
$apps [ $x ][ 'url' ] = " http://www.fusionpbx.com " ;
$apps [ $x ][ 'description' ][ 'en-us' ] = " Manage Tones " ;
2017-06-03 20:35:18 +02:00
$apps [ $x ][ 'description' ][ 'ar-eg' ] = " " ;
$apps [ $x ][ 'description' ][ 'de-at' ] = " " ;
$apps [ $x ][ 'description' ][ 'de-ch' ] = " " ;
$apps [ $x ][ 'description' ][ 'de-de' ] = " " ;
$apps [ $x ][ 'description' ][ 'es-cl' ] = " " ;
$apps [ $x ][ 'description' ][ 'es-mx' ] = " " ;
$apps [ $x ][ 'description' ][ 'fr-ca' ] = " " ;
$apps [ $x ][ 'description' ][ 'fr-fr' ] = " " ;
$apps [ $x ][ 'description' ][ 'he-il' ] = " " ;
$apps [ $x ][ 'description' ][ 'it-it' ] = " " ;
$apps [ $x ][ 'description' ][ 'nl-nl' ] = " " ;
$apps [ $x ][ 'description' ][ 'pl-pl' ] = " " ;
$apps [ $x ][ 'description' ][ 'pt-br' ] = " " ;
$apps [ $x ][ 'description' ][ 'pt-pt' ] = " " ;
$apps [ $x ][ 'description' ][ 'ro-ro' ] = " " ;
Adding ru-ru locales (#2530)
* Translation of the menu (sent by Victor Kraft)
* ACL translate
* Backup translated
* App Fax translated (sent by Victor Kraft)
* App Adminer trnslated
* Resources translated (sent by Victor Kraft)
* App SIP Profiles translated
* ru-ru
* Call Block added
* ru-ru
* Update app_menu.php
* voicemails/app_languages.php locales ru-ru
voicemails/app_languages.php locales ru-ru
* app/vars/app_languages.php locales ru-ru
app/vars/app_languages.php locales ru-ru
* core: apps, authentication, databases, default_settings translate
* app/traffic_graph/app_languages.php adding locales ru-ru
app/traffic_graph/app_languages.php adding locales ru-ru
* app/time_conditions/app_languages.php adding locales ru-ru
app/time_conditions/app_languages.php adding locales ru-ru
* /app/system/app_languages.php adding locales ru-ru
/app/system/app_languages.php adding locales ru-ru
* /app/sip_status/app_languages.php adding locales ru-ru
* /app/settings/app_languages.php adding locales ru-ru
* /app/services/app_languages.php adding locales ru-ru
* /app/ring_groups/app_languages.php adding locales ru-ru
* /app/registrations/app_languages.php adding locales ru-ru
* /app/recordings/app_languages.php adding locales ru-ru
* /app/provision/app_menu.php adding locales ru-ru
* /app/pin_numbers/app_languages.php adding locales ru-ru
* Update app_languages.php
* /app/phrases/app_languages.php adding locales ru-ru
* /app/operator_panel/app_languages.php adding locales ru-ru
* core/groups translated
* /app/music_on_hold/app_languages.php adding locales ru-ru
* core/install translated
* core/menu translated
* /app/modules/app_languages.php adding locales ru-ru
* /app/meetings/app_menu.php adding locales ru-ru
* /app/log_viewer/app_languages.php adding locales ru-ru
* /app/ivr_menus/app_languages.php adding locales ru-ru
* /app/gateways/app_languages.php adding locales ru-ru
* /app/fifo_list/app_languages.php adding locales ru-ru
* core/notifications translated
* /app/fifo/app_languages.php adding locales ru-ru
* core/upgrade translated
* Update app_config.php
* core/user_settings translated
* Update app_languages.php
* Update app_menu.php
* Update app_languages.php
* core/users translated
* call_block translate fix
* Call Broadcast added
* call_block выклюено fix
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* themes translated
* /app/extensions/app_languages.php for locale ru-ru
* /app/exec/app_languages.php add locale ru-ru
* Update app_languages.php
* Update app_menu.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_menu.php
* add locales ru-ru /core/install/app_menu.php
* /app/emails/app_languages.php add locales ru-ru
* /app/edit/app_languages.php add locales ru-ru
* /app/dialplan_outbound/app_languages.php add lacales ru-ru
* app/devices translated
* /app/dialplan_inbound/app_languages.php add locales ru-ru
* call_center_active + call_centers
* /app/dialplan/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/database_transactions/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php addlocales ru-ru
* Update app_languages.php
* Update app_languages.php
* /app/contacts/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* /app/conference_profiles/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* app/calls_active translated
* app/click_to_call translated
* app/calls_active label-opt fix transtation
* translated
* translated
* translate
* /app/voicemails/app_config.php addlocales ru-ru
* /app/voicemail_greetings/app_config.php add locales ru-ru
* /app/vars/app_config.php add locales ru-ru
* /app/traffic_graph/app_config.php add locales ru-ru
* /app/tones/app_config.php add locales ru-ru
* /app/time_conditions/app_config.php add locales ru-ru
* /app/tftp/app_config.php add locales ru-ru
* /app/system/app_config.php add locales ru-ru
* /app/sip_status/app_config.php addlocales ru-ru
* app/devices translated ru-ru
* app/devices translated ru-ru
* /core/menu/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* /app/voicemails/app_languages.php add locales ru-ru
* /app/conference_centers/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/ivr_menus/app_languages.php add locales ru-ru
* /app/xml_cdr/app_languages.php add locales ru-ru
* /resources/app_languages.php add locales ru-ru
* /app/conference_centers/app_languages.php add locales ru-ru
* call_flows
* /app/call_broadcast/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* By now
* calls
* /app/call_flows/app_languages.php add locales ru-ru
* /app/system/app_languages.php add locales ru-ru
* /app/exec/app_languages.php add locales ru-ru
* /app/vars/app_menu.php add locales ru-ru
* /app/backup/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/calls/app_languages.php add locales ru-ru
* /app/call_centers/app_languages.php add locales ru-ru
* /app/call_broadcast/app_languages.php add locales ru-ru
* app/fax fix translate label-fax_send_channels
* /app/extensions/app_languages.php add locales ru-ru
* /app/xml_cdr/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php add locales ru-ru
* Fix default language select
* /app/contacts/app_languages.php add locales ru-ru
* Fix translations in app edit, extensions, fifo, gateways, music_on_hold, services, time_conditions, xml_cdr
* Replaced "звонки" to "вызовы" and fix sorting in menu for "Конференции"
* More replace "звонк"
* Fix translate
* app/xml_cdr replace translate for label-start_range, label-end_range
* app/xml_cdr replace translate label-destination, description_search and description-4
* Corrections
* Repalce "Порядковый номер" to "Приоритет"
* app/operator_panel replace translation label-call_group
2017-04-25 00:37:00 +02:00
$apps [ $x ][ 'description' ][ 'ru-ru' ] = " Менеджер Тонов " ;
2017-06-03 20:35:18 +02:00
$apps [ $x ][ 'description' ][ 'sv-se' ] = " " ;
$apps [ $x ][ 'description' ][ 'uk-ua' ] = " " ;
2016-09-04 04:32:19 +02:00
2017-06-03 20:35:18 +02:00
//destination details
2017-02-16 07:24:29 +01:00
$y = 0 ;
2016-09-04 04:32:19 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'type' ] = " sql " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'label' ] = " tones " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'name' ] = " tones " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'sql' ] = " select var_uuid as uuid, var_name as name, var_value as destination, var_description as description from v_vars " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'where' ] = " where var_cat = 'Tones' " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'order_by' ] = " var_name asc " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'uuid' ] = " var_uuid " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'name' ] = " var_name " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'destination' ] = " var_filename " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'description' ] = " var_description " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'dialplan' ] = " play tone_stream:// \$ { destination} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'ivr' ] = " play tone_stream:// \$ { destination} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_label' ] = " \$ { name} " ;
2017-06-03 17:00:20 +02:00
?>