Commit Graph

173 Commits

Author SHA1 Message Date
Mafoo f44aee3bf8 Enhance - Convert all languages to 2-2 digit (#2581)
Convert all languages to use the en-us style codes
Where an installation is using a 2 digit code, use the legacy map to find
the mapped language and provide that text correctly
Have escape_str strip \' before converting or we end up with a double
encode
Update organzie_languages to understand how to convert legacy languages
automatically
updated flags
2017-05-13 13:13:38 -06:00
Mafoo 0302d8085c reworked text class to gather the languages on construction (more efficient) (#2576)
organize_languages will now use an internal function to escape values as fusion's check_str would not be appropriate
enabled two missing flags
organize on remaining app_languages.php and add missing 'he'
2017-05-12 08:44:53 -06:00
Mafoo 22dc22c30e BugFix [master] Languages add missing text placeholders (#2572)
* BugFix [master] Languages add missing text placeholders

add placeholders for missing language text
reorganise file so languages are in a consistent order with en-us always first, and the remaining stored alphabetically
space out tag names to make them line up for readability

* add organize_language to text class

also add get_languages
2017-05-10 13:40:46 -06:00
The-Operator 32c1522cbb Add/Update German and Austrian translations (#2542)
Updated remaining app_languages.php files and all app_config.php and app_menu.php files where necessary.
2017-04-26 23:41:55 -06:00
Vladimir 30055465b7 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-24 16:37:00 -06:00
FusionPBX 49c7f98a22 Update app_config.php 2017-02-15 23:38:36 -07:00
FusionPBX 721549f4c1 Update app_defaults.php
Fix a sql error for ringtones.
2017-01-05 02:10:26 -07:00
jebsolutions 4276ae2583 vars.php - fix 3 notify warnings (#2247) 2016-12-26 14:57:49 -07:00
FusionPBX 05abcac517 Update app_defaults.php
Change the cert directory from ssl to tls to match what FreeSWITCH is using by default.
2016-10-14 09:18:42 -06:00
Mafoo 097a09536e Enhance Add Tones (#1857)
Add tone support
2016-09-03 20:32:19 -06:00
Mafoo 1c983a69a0 BugFix-Vars (#1818)
corrected the system default us-ring category to 'Ringtones'
remove var_name like as var_cat now takes care of this
2016-08-25 11:12:00 -06:00
Mafoo a3e4a1d2a7 Enhance-Import rintones from vars.xml (#1813)
move ringtones to thier own category
import ringtones from vars.xml
2016-08-16 08:49:45 -06:00
markjcrane 102120d55e Prevent duplicate values from being saved in the vars.xml file and remove some trailing spaces and fix some of the indentation. 2016-06-01 15:31:33 -06:00
FusionPBX 0cca642562 Update app_defaults.php
Move the if ($domains_processed == 1) { so none of the code is processed more than one time.
2016-05-10 12:56:33 -06:00
FusionPBX 8220f74cc5 Update app_defaults.php
Add media_mix_inbound_outbound_codecs to true by default.
2016-05-10 12:46:03 -06:00
markjcrane 097a5d8ade Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin f02028629a fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
mafoo 6eed9935d4 WhitespaceClean-app/batch_2
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
markjcrane af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
Mafoo 56b34c34ca changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
Mafoo 87dbd6b428 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
Matthew Vale 6999198492 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
Matthew Vale 18c7a500b7 Bugfix 2015-11-19 14:57:47 +00:00
Matthew Vale 850a1af0c0 Added more ringer types
corrected reference to ssl dir to use $conf_dir
moved countries list out to its own file so it can be maintained easier
(and used by other apps)
2015-11-19 14:54:04 +00:00
markjcrane fda7add887 Remove trailing spaces and adjust the vertical spacing. 2015-07-08 09:30:00 -03:00
Mark Crane f57cf46674 Add latest translations 2015-06-30 13:30:02 +00:00
Mark Crane 4c71476922 Add latest translations 2015-06-29 22:30:02 +00:00
Nate Jones 39c2cb11e7 System Variables: Adjust Hostname cell style. 2015-06-02 21:33:43 +00:00
Mark Crane 26928d2fe8 Move menu items that are for superadmins to the advanced menu. 2015-04-25 06:29:45 +00:00
Mark Crane 3b8b7ad0ca Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome. 2015-04-08 13:38:58 +00:00
Mark Crane a16e810968 Completed the change and test for system -> variables with final adjustments. 2015-03-26 00:18:19 +00:00
Mark Crane 2efb918ee5 Correct the order of the tags. 2015-03-26 00:09:54 +00:00
Mark Crane 492396a533 Try again to get the position right. 2015-03-26 00:05:14 +00:00
Mark Crane d90e6fc44f Move the hostname column and fix the add button position. 2015-03-26 00:01:24 +00:00
Mark Crane 06d3833d55 Add hostname to the variable list. 2015-03-25 20:30:17 +00:00
Mark Crane 5c33233ce5 Add hostname to the variables. 2015-03-25 18:30:18 +00:00
luis daniel lucio quiroz b7b98cef79 not short-tags on all project 2015-03-25 13:46:19 +00:00
Nate Jones e5295bad45 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones d96f016ea5 Code cleanup. 2015-02-15 08:46:20 +00:00
Nate Jones 0018e553c4 Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 996e89c396 Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Nate Jones 89961468d7 Variables: Click to toggle Enabled state. 2015-01-22 01:10:30 +00:00
Nate Jones 147d03169d Use the new multi-lingual code on fusionpbx/app sub directories. 2015-01-18 10:04:43 +00:00
Mark Crane 9369fd8d0d Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane bbf2a3badc Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
Mark Crane 674b52e74b Change the domain to the $${local_ip_v4} 2014-12-10 05:12:12 +00:00
Riccardo Granchi 2cf20d8f7a Engineered the management of bridge failures in local extension, with optional variables which by default provides the standard behavior. Changed the default order for extension_queue, which has *800 prefix, before the extension-intercom, which has the *8 prefix 2014-11-21 15:38:26 +00:00
Riccardo Granchi 48d08f4685 Fixed set_country_vars() duplicate declaration issue during domain creation 2014-11-07 15:21:34 +00:00
Riccardo Granchi 1ac8d1c7fc Possibilty to select a country in installation phase to set default country code variables 2014-11-07 10:22:56 +00:00
Riccardo Granchi 3c43f604c5 Added it-ring definition 2014-11-03 11:16:10 +00:00
Nate Jones 1920209c1c Variables: Added record_ext variable to set recording file type (wav, mp3). 2014-09-09 05:32:04 +00:00
Mark Crane d742f190f1 Fix and move the format_phone array 2014-08-31 00:57:58 +00:00
Mark Crane 08e92c46e2 Remove Edit and Add from Variables 2014-08-17 00:14:03 +00:00
Mark Crane 7d366185c7 Fix system -> variables if you did a recent install and the variables page has 2 items on it delete them, update the source, run upgrade -> app defaults to get the defaults 2014-08-15 18:44:40 +00:00
Nate Jones 6cba0ed247 Variables: Set default 'domain' variable value on install (corrected according to heredoc syntax for variables). 2014-08-15 05:41:36 +00:00
Nate Jones 6fe379aab3 Variables: Set default 'domain' variable value on install. 2014-08-15 04:54:16 +00:00
Richard Neese d90a05d417 fixed the path correctly rm /sounds 2014-08-12 13:52:46 +00:00
Mark Crane e1a5ec4575 Fix the sound_prefix path 2014-08-12 04:27:55 +00:00
Mark Crane 5e0d82c06d Unset the prepared statements used in the app_defaults.php files. 2014-07-23 22:00:03 +00:00
Nate Jones dc2196dd6f Document (Window) Title: Update variable name to avoid conflict when paging is used. 2014-07-10 00:32:50 +00:00
Nate Jones e143301f2a Description column style mods, just for consistency. 2014-06-22 06:35:33 +00:00
Nate Jones 59687a4785 (Modified) Usability Enhancement: Click on list rows to Edit items. Now uses jQuery (instead of onclick) to avoid being redirected to Edit when canceling a Delete. 2014-06-21 08:52:47 +00:00
Nate Jones 84a134a23d Usability Enhancement: Click on list rows to Edit items. 2014-06-21 07:04:04 +00:00
Nate Jones 3c07aa1a35 Add links to certain column text in a list view.
Add ability to edit Call Block number.
2014-06-21 00:58:16 +00:00
Nate Jones 53c7c9957e Variable form select value mods 2014-04-27 08:55:39 +00:00
Nate Jones bac3749ddd Submit button also placed at top; reordered to right margin, too. 2014-04-26 22:50:52 +00:00
Nate Jones 0ba71463d2 Unstack list control icons. 2014-02-26 02:27:13 +00:00
Nuno Miguel Reis f063ead227 fixed some translations 2014-02-25 22:49:35 +00:00
Nuno Miguel Reis 248a207f95 change of some pt_PT translations and fixed some encoding bugs for the new Chile spanish
Conflicts:
	fusionpbx/app/call_center_active/app_languages.php
	fusionpbx/app/calls_active/app_languages.php
	fusionpbx/app/ring_groups/app_languages.php
	fusionpbx/app/schemas/app_languages.php
2014-02-25 03:28:28 +00:00
Nate Jones 8bf986b259 Response message updates... from Pizza Hut!!! 2014-02-21 05:06:46 +00:00
Mark Crane 4a2b6969b5 Finish the Spanish es-cl integration. 2014-02-14 18:37:58 +00:00
Mark Crane 9b60110cf7 Add a new Spanish translation donated by José Manuel Calquin Heinsohn. 'es-cl'. This completes the menu Spanish translation. 2014-02-13 20:15:59 +00:00
Philippe Rioual ee51bea37e fixed some french translations issues 2014-01-23 21:15:49 +00:00
Nuno Miguel Reis 05e3a61ac4 pt-ring 2014-01-21 18:03:05 +00:00
Nuno Miguel Reis c405bfa745 language translations for pt-pt and some other minor fixes and updates 2013-10-17 22:06:53 +00:00
Nuno Miguel Reis 0fa9d61ee1 language translations for pt-pt and some other minor fixes and updates 2013-10-17 22:06:01 +00:00
Nuno Miguel Reis 063bdff08d Merge and clean 2013-10-01 12:26:41 +00:00
Nuno Miguel Reis c0bae01b3a changed single quote to double quotes everywhere 2013-10-01 11:35:07 +00:00
Mark Crane 94f592cc08 Correct the tabbing by replacing the spaces with tabs. Replace some of the single quotes with double qoutes and keep the fr-ca translations. 2013-09-30 16:21:08 +00:00
Philippe Rioual 92dde8ac9b repaired previous errors inserted in r4614 : reinserted 'de-de' instead 'de' and correct files. keeps fr-ca to report in app_config.php files 2013-09-30 15:22:35 +00:00
Philippe Rioual 84b11a971c added missing french translations and changed fr to fr-fr in all app_languages.php and app_config.php files. 2013-09-30 13:19:40 +00:00
Mark Crane 0ff565c0a9 Update the variable edit page and fix the permissions. 2013-09-27 18:44:11 +00:00
Mark Crane b99e6e72ea Vars, add $y = 0; to correct the group array. 2013-09-26 18:52:00 +00:00
Mark Crane 7ba40f465e Add permissions for every table (view, add, edit, and delete). Important change to increase security on the REST API and will be beneficial for more detailed control of permissions. 2013-09-25 20:23:10 +00:00
Mark Crane 3d3b17b48b Change the system variables to switch variables which is more accurate. 2013-09-21 22:08:24 +00:00
Mark Crane 8f8fd3e3e8 Audited the permissions names. Permissions names are to be non plural. 2013-09-21 21:45:35 +00:00
Mark Crane c130a8cae5 Change fr to fr-fr and de to de-de. 2013-09-17 20:02:19 +00:00
Mark Crane f61de19169 Move the French translations into the development branch.
Translation work done thanks to by bhouba for his work on the translations.
2013-09-13 21:04:53 +00:00
Mark Crane e9aa47069c Update the references for header.php and footer.php files to point the resources directory. 2013-07-06 06:29:50 +00:00
Mark Crane 716dc92852 Rename and move persistformvar.php to the resources directory. 2013-07-06 06:21:12 +00:00
Mark Crane c44d39dcf9 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane 6a70d8db41 Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Mark Crane 0fab683720 Move the references to edit_area from includes/edit_area to resources/edit_area. 2013-06-09 04:42:20 +00:00
Nate Jones bd4404cb14 Multilinguified Variables. 2013-05-29 22:27:04 +00:00
Mark Crane af0eed8d32 When using the install or upgrade save vars.xml file. 2013-04-28 07:28:04 +00:00