Commit Graph

17 Commits

Author SHA1 Message Date
markjcrane 0ad7a4d82b Prevent php warnings in the text php class. 2016-05-16 21:35:54 -06:00
markjcrane e7dd30113b Define the text array before it is used. 2016-04-29 15:32:55 -06:00
Harry G. Coin bda6861f88 \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
markjcrane f924453e1c Change $language_name to $text['language-name'] this will follow current naming standards in app_languages.php and reduces code needed in the text class. 2016-03-12 22:06:57 -07:00
Matthew Vale b7e350b845 changed text.php to use $_SERVER["PROJECT_ROOT"] 2016-01-14 16:15:41 +00:00
markjcrane fba3fb039f Add one line between each function. 2015-12-19 15:00:10 -07:00
Matthew Vale fc9a45d313 Added initial version of app/languages
for analyzing missing or overlapping with global text
2015-12-10 10:04:35 +00:00
Matthew Vale e2cc65874d Add Fallback language support to en-us 2015-12-10 09:57:54 +00:00
Matthew Vale e3f1e919da Migrate app_languages.php from core to resources 2015-12-10 09:57:08 +00:00
Matthew Vale e66b2f831a added support to name the languages
added remaining flags i have from the famfamfam set and renamed them to country names
2015-11-17 16:20:14 +00:00
Matthew Vale b53999069c Enhancements to language support (for future use)
optimized the text.php to check the language code once, not every time
2015-11-16 09:41:34 +00:00
Mark Crane 8e1c7beb76 Change require to include. 2015-01-20 06:44:12 +00:00
Nate Jones c8da77eca1 Text class fix. 2015-01-18 10:40:41 +00:00
Nate Jones 8e7121b31e Text Class: Fixes. 2015-01-18 09:25:50 +00:00
Mark Crane b29c9ce2a2 Add the app session languages array as a list of available languages that have been translated for that application. 2015-01-18 07:52:28 +00:00
Mark Crane 53d377eeb2 Update classes/text.php 2015-01-18 07:42:17 +00:00
Mark Crane a8aa9bd611 Add a new text array that is used in the translations. 2015-01-18 06:36:00 +00:00