Commit Graph

141 Commits

Author SHA1 Message Date
Mafoo 4ae8b418d4 BugFix [master] - Convert all menus to 2-2 format (#2627)
convert all app_menu.php files to have all placeholders and languages and use 2-2 format for languages
update app_defaults to convert any items found using legacy values in user_setings, domain_settings and default_settings
2017-06-02 12:17:50 -06:00
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
The-Operator a585ccd69f Add German translation and update Austrian translation (#2425) 2017-03-16 03:22:38 -06:00
drenda c37ce02d44 Added Italian translation (#2379)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language
2017-02-16 19:46:50 -07:00
FusionPBX f099adf565 Update 2017-02-15 21:12:32 -07: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
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06: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 742db50120 First pass on core/* 2015-12-10 10:09:07 +00:00
Matthew Vale a936bbcf74 moved config_lua responsibility to install_switch 2015-12-01 15:13:33 +00:00
Matthew Vale f819eaf65c Added check
will now throw if the config.lua could not be opened for writing
2015-11-26 11:23:52 +00:00
Matthew Vale b9e8b3ef03 fix to use phrases_dir
changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths
2015-11-03 11:16:05 +00:00
Matthew Vale c1b5895219 reverted so branch is consistent for patch 2015-11-02 17:32:43 +00:00
Matthew Vale 3a9f2b0f24 changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths 2015-11-02 09:53:42 +00:00
markjcrane d667a31140 Change xml handler load balancing to xml_handler/resources/scripts/directory/directory.lua["fs_path"] 2015-10-08 11:03:48 -07:00
markjcrane d0ac25c265 Move the xml handler expire and debug settings to config.lua. 2015-10-08 08:34:35 -07:00
Alexey Melnichuk 69717e31d5 Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
FusionPBX d1f3b05cf6 Revert "Change. Use `require "resources.functions.config"` to load config file." 2015-08-10 11:50:29 -06:00
Alexey Melnichuk 2234b42c07 Change. Use `require "resources.functions.config"` to load config file.
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04:00
Alexey Melnichuk b72a39d6e3 Change. Use odbc connector if there exists odbc database
It needs because on windows FreeSWITCH builds without native support PostgreSQL.
2015-07-13 15:04:33 +04:00
FusionPBX 8c9e76c656 Merge pull request #1012 from moteus/issues_1006
Use long string syntax to generate `config.lua` file.
2015-07-10 08:56:32 -03:00
markjcrane c5b04b94d9 Add AR eg translation. 2015-07-05 23:13:46 -06:00
Alexey Melnichuk 6d15cd4fca Use long string syntax to generate `config.lua` file.
Close #1006
2015-07-02 11:39:48 +04: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 63cd5bb78e Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Mark Crane 3e9161dff7 Add document_root to config.lua. 2015-04-28 00:05:01 +00:00
Mark Crane 4db29e27a0 Add php_bin and php_dir to the config.lua script. 2015-04-27 23:50:15 +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
Nate Jones e5295bad45 Visual adjustments. 2015-02-15 09:20:19 +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
Mark Crane d5731c9172 Use the new multi-lingual code on fusionpbx/core sub directories. 2015-01-18 09:22:07 +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 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 454e4cc12c Fix missing / on closing <tr> tags. 2014-06-22 01:16:49 +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 3c2e32d197 Add links to certain column text in a list view - integrated click on list rows to Edit items, as well. Misc bug fixes. 2014-06-21 07:51:31 +00:00
Mark Crane 617ac6b554 Add the default dial_string to config.lua 2014-04-30 20:44:34 +00:00
Nate Jones df831450bc Submit button also placed at top; reordered to right margin, too. 2014-04-26 23:56:12 +00:00
Mark Crane 811beb824d Fix the local.lua path 2014-04-26 05:49:46 +00:00
Nate Jones f2eb881e0c Unstack list control icons. 2014-02-26 06:15:42 +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 2c028d57df Response message updates. 2014-02-23 09:07:56 +00:00
Mark Crane d36773251e Add a new Spanish translation donated by José Manuel Calquin Heinsohn. 'es-cl' for Spanish from Chile he says he tried to translate in a way that would be generic enough to work for most Spanish dialects. This commit covers just fusionpbx/core still need to integrate the translations for all features in fusionpbx/app directory. 2014-02-13 18:09:45 +00:00
Mark Crane 23af18ae41 Remove -c client_min_messages=NOTICE for maximum compatibility. 2014-01-02 18:59:40 +00:00
Mark Crane 71cf5a3521 If the $db_type variable has no value then don't write the config.lua script. 2013-10-22 03:18:28 +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
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 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 1b9af8234d Set the storage and voicemail directory variables in config.lua. 2013-09-23 19:37:19 +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 ba48d681b2 Add an additional = to fix the syntax. 2013-07-29 23:18:42 +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
Nate Jones 240016b62e Multilinguified core/databases. Fixed permissions. 2013-05-15 03:02:52 +00:00
Mark Crane d161215e44 Changes to the config.lua script where it is saved and how local.lua is included. 2013-05-02 02:16:49 +00:00
Mark Crane 633756b178 Remove config.js 2013-04-09 19:20:36 +00:00
Mark Crane d8f1cbd90b Replace \ with / before writing it to config.lua. 2013-04-05 01:03:45 +00:00
Mark Crane 92916a2e27 Move the semi-colons to the correct spot. 2013-04-01 22:05:39 +00:00
Mark Crane ac203b91ed Adjust the LUA database connection to accommodate native PostgreSQL support and the recent change to the database connection syntax. 2013-03-31 08:18:41 +00:00
Mark Crane c12f33952a Fix the recordings directory. take two 2012-10-16 05:47:49 +00:00
Mark Crane 1becd32f7e Remove the quotes around the domain_count. 2012-10-16 04:09:27 +00:00
Mark Crane 516df5033a Add domain_count to the config.lua file. 2012-10-16 03:54:42 +00:00
Mark Crane be979dbc3a House cleaning on the recent app_config.php commits. Cleanup trailing white spaces, multiple spaces replaced with tabs and a few extra line feeds. 2012-10-11 01:28:18 +00:00
Nuno Miguel Reis 2e74a0c238 menu translation work 2012-10-11 00:07:03 +00:00
Mark Crane 17af99d5e5 Efficiency enhancement for upgrade and upgrade_schema by running global tasks one time rather than for each domain. 2012-08-14 21:59:45 +00:00
Mark Crane 3fc5b31096 Add a Driver column to the Advanced -> Databases list. 2012-07-17 16:39:18 +00:00
Mark Crane b8f85393a9 Change app_defaults so it uses the new database_driver field. 2012-07-17 16:16:07 +00:00
Mark Crane c344400c82 Add database driver to along with type it helps distinguish which type of database is being used when using odbc. Added app_defaults to core/databases so that the script config.lua can be created when the database is saved and upgraded. Previously it only saved a new config.lua when running upgrade or upgrade schema which was not intuitive. 2012-07-17 15:56:32 +00:00
Mark Crane af103e9c41 Add a missing file sip_profile_copy.php to the dev branch. 2012-06-04 14:58:40 +00:00