Commit Graph
77 Commits
Author SHA1 Message Date
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -05:00
TheWitness 9aff249c47 Fixing Issue #4009
The function number_format_i18n() should consider null to align with standard number_format() function
2020-12-16 08:14:24 -05:00
TheWitness 93d02b9248 Fixing Issue #3835
The function number_format_18n() does not properly use the decimal and thousands separators in some cases
2020-09-29 19:09:59 -04:00
TheWitness a7e3d6e0bc Fixing Issue #3378
Typo error in global_languages.php
2020-03-26 13:47:21 -04:00
netniV 4fa9a68fb3 Update copyright to 2020 2020-01-12 12:19:49 +00:00
cigamit e9c4b2f875 Resolving Issue #3128
Performance: i18n handler use 100% cpu and huge memory for non-en locale
2019-12-05 18:14:01 -06:00
cigamit d2927a4340 Resolving Issue #3011
i18n logging does not check write permission exists causing runtime warnings
2019-11-09 13:03:11 -06:00
netniV b7b4272a45 Correct motranslator include path 2019-09-21 22:45:21 +00:00
netniV 9387cb4795 Add MoTranslator as a possible translation provider 2019-09-15 16:26:41 +00:00
netniV 92aa64432a i18n Language improvements
Modify language handling to allow for config/database driven language handler selection and remove reduncancy so fallback routines are no longer needed.

This utilises the https://github.com/oscarotero/Gettext library which depends upon https://github.com/mlocati/cldr-to-gettext-plural-rules which are both under the MIT license

Note, that no interface level setting for the handler has been defined at this point since end users would not normally need to define which handler to use.  This would normally only be done by package maintainers.
2019-09-12 13:49:48 +00:00
cigamit ff55a47402 Resolving Issue #2821
Cacti generates number format issue when the locale can not be located
2019-07-13 18:06:00 -05:00
cigamit 40212c166e Resolving Issue #2734
Suggestion Cacti-1.2.4: Displaying non-English label names on graphs
2019-06-22 09:57:42 -05:00
cigamit 949c8829e0 Minor cleanup of unused variable 2019-06-22 09:30:08 -05:00
ddb4github dfc6b64595 Fixed: Resolved some PHP NOTICE about undefined variables #2650 (#2651)
* Fixed: Resolved some PHP NOTICE about undefined variables.

* Fixd previous fixing. Should add 'global $l10n' only

* Fixed: typo miss '$'

* Minor change
2019-04-27 21:26:17 +06:00
netniV 308292e2d7 Update copyright notices for 2019 2019-01-25 08:05:00 +00:00
cigamit e76736699b Update colorpicker to latest version to stop automated error failure 2019-01-14 20:13:57 -06:00
cigamit f57ea21589 Fix build issue 2019-01-06 20:05:14 -06:00
cigamit 5e1c4b5240 issue: Language naming causing problems with tools to solicit translations 2019-01-06 19:23:14 -06:00
cigamit ad6b4c15f6 Add direction construct to i18n support 2018-11-18 13:18:36 -06:00
cigamit 97d1e47c79 Hebrew user locale incorrect 2018-11-18 12:29:17 -06:00
cigamit e1e16cbeba Resolving Issue #2171
datepicker and timepick translation not available
2018-11-18 12:11:39 -06:00
cigamit 64b14fd35b Translation updates through automation
Many of the strings will not be actually compiled until the #, fuzzy
flag is removed.  So, we need someone to validate the translations and
remove the #, fuzzy flag.
2018-11-17 12:49:08 -06:00
cigamit 8d7de08011 Handle unescaping properly for escaped percentage signs. 2018-11-17 12:01:34 -06:00
cigamit d78431ed27 Resolving Issue 2 of Issue #2094
This case is when the text sprintf text is 'cacti' which is the implied
default text domain.
2018-10-20 09:26:28 -05:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
Mark Brugnoli-Vinten d3821d8f54 Installer Updates (#1890)
* Resolving Issue #1850

* Further updates, correct i18n language selection

* Another round of updates for #1850
2018-09-04 07:07:04 -05:00
cigamit 2de208331f Resolving multiple issues with guest and template accounts 2018-08-07 18:22:31 -05:00
Mark Brugnoli-Vinten 2b61c1bba3 Further fix for Issue 1723 (#1728)
* Issue #1723 - die() messages should include \n for better logging

This corrects issue #1723 where die() messages appear in log files without a new line character causing logs to appear corrupted.

* Replace \n with PHP_EOF to be platform independant.
2018-07-21 15:17:14 -04:00
Mark Brugnoli-Vinten fde08a533f Issue #1723 - die() messages should include \n for better logging (#1724)
This corrects issue #1723 where die() messages appear in log files without a new line character causing logs to appear corrupted.
2018-07-21 08:31:57 -04:00
cigamit b66a4d14a5 Correct small typo for #1626 2018-05-11 07:04:52 -05:00
cigamit e17e10ec95 Resolving Issue #1626
Taking another crack at this fix.
2018-05-11 07:02:53 -05:00
cigamit f89ab3b3bc Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	auth_login.php
#	data_sources.php
#	graphs_new.php
#	include/auth.php
#	lib/api_tree.php
#	lib/html_form_template.php
#	lib/html_tree.php
#	lib/template.php
#	permission_denied.php
#	poller_automation.php
#	tree.php
2018-03-25 11:08:00 -05:00
cigamit 8d3de36739 Resolving Issue #1471
Undefined function found in global_languages.php
2018-03-13 21:11:57 -05:00
Tony Roman 1ce66b5fde Merge branch 'develop' into feature/1.2.x 2018-02-25 20:12:19 -05:00
cigamit ccf9ee8c31 Removing one redundant locale 2018-02-25 13:58:53 -06:00
cigamit 202f43fe43 One minor correction to locale support 2018-02-25 13:54:15 -06:00
cigamit ba194bd0f4 Resolving Issue #1250
Locales should be properly detected for PHP, now we move onto the jQuery
detection.
Added a repair setting to correct for legacy cacti_locale setting.
2018-02-25 13:35:48 -06:00
cigamit bc9c98f6d0 Resolving Issue #1250
Language support does not support localization properly
2018-02-25 09:07:03 -06:00
cigamit c1f62f7707 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-22 19:42:44 -06:00
netniV b17b0cdbe7 Fix typo of 'locale' in global_languages.php during #1166 (#1249) 2018-01-21 16:07:22 -06:00
cigamit 8b9656ddd7 Typo in pull request #1206 2018-01-15 15:39:14 -06:00
netniV 6102660e62 Fix for issue #1206: i18n number formats (#1207)
issue #1206 - Use older methods if number format is not available
2018-01-15 15:39:14 -06:00
cigamit fab6320624 Typo in pull request #1206 2018-01-15 13:34:40 -06:00
netniV d2ac261f1b Fix for issue #1206: i18n number formats (#1207)
issue #1206 - Use older methods if number format is not available
2018-01-15 13:27:38 -06:00
cigamit 62615311b5 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-06 14:08:07 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
netniV 29de0b50c0 Issue #1166 - Further language fixes for detection/configuration (#1177)
* Fix Issue #1166 - Further language fixes
Issue #1166 - Further language fixes for detection/configuration.

- User default now defaults to system default if not set.
- Language detection now tries multiple methods of language detection rather than just the first one if that language isn't supported.

* Add missing CHANGELOG and correct minor code format issues
2018-01-05 18:13:41 -06:00
cigamit 7c8201f5a0 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-05 18:04:45 -06:00
Tony Roman ce8d353abc Move phpgettext to include/vendor 2017-11-18 09:31:28 -05:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00