Commit Graph

189 Commits

Author SHA1 Message Date
Mafoo 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Mafoo d931d61042 Enhance - app_config.php cleanup for core (#2631)
make spacing and layout consistent
add all missing language tags
fill missing en-us descriptions
Repaired a couple of character encodings in fr-fr
convert to $x$y$z usage for array filling
add a default version number
this is a by hand update
2017-06-03 09:01:10 -06:00
Mafoo 8709d01fb0 BugFix [master] language update (#2628)
Imported Found language ro as ro-ro Romanian (tested by reverse translation)
Add placeholders for all found languages
Add new missing flags
Enhancements to text class
* improved sort to keep language-* tags organized at the top
* if a language is missing a name tag, add it
* changed organizer to not add a final \n
* corrected some indenting
* added detect_all_languages that attempts to find any languages that haven't been defined in resources/app_languages.php
* added language_totals, this is used by the optional languages application to calculate how complete a language is
2017-06-02 13:24:12 -06:00
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
Kristian Karlsson 22c317eb2f BugFix [master] - Update languages (#2621)
Update for the Swedish language translation.
2017-06-02 08:39:34 -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
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 a8c3117f7b Add German translations & update Austrian translations (#2426)
* Add German translation and update Austrian translation

* Add German translation and update Austrian translation
2017-03-16 10:13:43 -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 330d1f529b Update app_config.php 2017-02-15 21:20:08 -07:00
FusionPBX 4ffb221544 Update menu_item_edit.php
Get the data before presenting it to prevent mixing backend and front end work.
2016-08-05 09:16:42 -06:00
reliberate 5a178625d5 Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -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
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
markjcrane 67e1e7b798 Combine some of the default settings. 2016-04-14 20:11:47 -06: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 12699f5fc2 Fix the menu_delete add a delete to get remove data in menu_languages table. 2016-03-27 14:58:11 -06:00
markjcrane 2107b2a1b5 Fix v_settings update sql command in app/settings/app_defaults.php. 2016-03-26 23:59:28 -06:00
markjcrane fa2b753e62 Add the menu_default method to app_defaults.php. 2016-03-26 22:59:00 -06:00
mafoo ffc6bfcb2b WhitespaceClean-core/batch
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:06:20 +00:00
reliberate b54b832145 Settings: Add interface for User Settings, add ability for Admin to manage (own) Domain and User Settings. 2016-02-29 11:39:46 -07: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
FusionPBX 999ae13d78 Update app_menu.php
Correct the ordinal value of login and logout menu array.
2015-07-02 00:17:15 -06:00
Mark Crane b3d2ee88c4 Add translations for Logout that I had access to. 2015-06-30 17:21:11 +00:00
Mark Crane 3f1dcaea70 Move the Login and Logout items in the menu to a location that is accessible to the translation server. 2015-06-30 17:11:39 +00:00
Mark Crane 7e3a375659 Add transaction support to menu and users app_defaults.php. 2015-06-25 21:25:22 +00:00
Mark Crane 63f1b8f8b2 Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Nate Jones ca9e59eca8 Menu: Re-enable Restore Default button for menus other than default, adjust other code to work better with non-default menus. 2015-05-12 06:31:34 +00:00
Nate Jones 0c79ebb6e9 Menu: Prevent Title text from opening both item for edit AND specified Link when target is External or Email. 2015-05-12 03:24:50 +00:00
Nate Jones 7a0895de4d Menu: Restore Default now restores unprotected menu items and their default groups. Removed Restore All function (no longer necessary). Hide Restore Default button for menus other than the default menu. 2015-05-12 03:03:09 +00:00
Nate Jones 301614412c Menu: Include all groups in list and select. 2015-05-10 04:34:14 +00:00
Nate Jones 1d575d30ff Menu: Include domain for non-global groups in list and select. 2015-05-09 22:19:02 +00:00
Nate Jones 51c198a1db Menu: App Defaults to generate uuid for pk, and populate group uuid field. 2015-05-09 22:11:07 +00:00
Mark Crane 98666336d3 Minor update to a few files in the menu. 2015-05-09 20:29:26 +00:00
Mark Crane 67bb0673ef Menu manager needs group_uuid to get off relating by group_name. Add group_uuid to the app_config.php. 2015-05-09 20:22:19 +00:00
Nate Jones 63cd5bb78e Language file merge from translation server. 2015-05-01 11:13:39 +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 524987d2bf Menu change System to Home. 2015-04-24 20:37:29 +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 6e8cee1a7b Visual adjustments. 2015-02-15 09:29:10 +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
Mark Crane d5731c9172 Use the new multi-lingual code on fusionpbx/core sub directories. 2015-01-18 09:22:07 +00:00
Nate Jones 5fe93ad01a Upgrade: Restored Menu Defaults functionality. 2015-01-17 03:27:10 +00:00
Mark Crane bee6b9ae5e Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
Mark Crane 6dfb2b0a7f Add a missing ) to fix the syntax. 2015-01-12 18:34:12 +00:00
Mark Crane 2fde3cb746 Fix the menu item edit group list so that it shows the global groups. 2015-01-12 18:32:18 +00:00
Mark Crane ee354487d0 Remove the path for the main menu links. Doing this to make the menu more compatible with touch screens. 2015-01-09 21:38:34 +00:00
Mark Crane fa1b0bc203 Remove active extensions from the menu. 2015-01-09 20:23:13 +00:00
Mark Crane 5d4c118d2c Get rid of the is included which prevents the redirect. 2014-12-27 18:20:30 +00:00
Mark Crane c420dbb036 Work on the menu restore more. 2014-12-26 07:27:13 +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 58fe5d54a7 Add the menu_item_group_uuid primary key when adding a group to the menu 2014-10-11 07:16:04 +00:00
Mark Crane 0c1c1985bc Fix primary key for menu languages, items and item groups 2014-09-20 02:51:48 +00:00
Mark Crane aa85b54540 Missed the Menu Item Add 2014-08-17 00:11:23 +00:00
Mark Crane c07592db5c Remove Edit and Add from the page titles on the Menu Manager 2014-08-17 00:09:26 +00:00
Mark Crane 6757e5eede Fix the highest menu item order 2014-08-02 03:37:38 +00:00
Mark Crane 8b9869d8fa Add a missing semi-colon. 2014-08-02 03:24:27 +00:00
Mark Crane 93daa0808f Fix ability to set the an empty Parent Menu 2014-08-02 03:22:33 +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 63bfe4a47a Upgrade: Fixed language issue when executing Menu Defaults. 2014-07-10 09:30:32 +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
Mark Crane f259af93ce Fix the uuid for the custom menus 2014-07-05 19:21:53 +00:00
Mark Crane 9c0e37e979 Fix custom menu items. 2014-07-05 19:03:54 +00:00
Nate Jones e143301f2a Description column style mods, just for consistency. 2014-06-22 06:35:33 +00:00
Nate Jones 454e4cc12c Fix missing / on closing <tr> tags. 2014-06-22 01:16:49 +00:00
Nate Jones 1450f2bbb4 Sort all Group select boxes by group_name asc.
Create User now allows to select a single Group to add User to at time of User creation.
2014-06-21 19:40:16 +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 5a29b76237 Removed blank option from Target select box. 2014-04-27 08:34:35 +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 370305b9bb Just an undo. Sorry. 2014-02-26 02:57:36 +00:00
Nate Jones e7cf5dd6b8 Fix language file. 2014-02-26 02:56:33 +00:00
Nate Jones aa313a66da Unstack list control icons. 2014-02-26 02:52:43 +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 56dda441a0 Response message updates. 2014-02-23 09:26:30 +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 427cf3dac4 Fix duplicate items in the menu that occur when saving an item in the menu. 2013-12-19 19:15:26 +00:00
Mark Crane 7c3300faf6 Change menu class method restore2 to restore_all. Remove group permissions from restore (Restore Default) and leave in restore_all (Restore All) 2013-11-24 01:35:37 +00:00
Mark Crane a812951dc1 Improve the efficiency of the Menu PHP class by removing redundant code in the restore method of the PHP class and add PDO transactions. Improve the menu language for better multi-lingual support, escape the menu item title to so it will work correctly for French and other languages. 2013-11-24 00:15:02 +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
Philippe Rioual 22be7bd745 corrected french words misspelled and grammar errors 2013-10-01 11:13:32 +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