Ingo Schommer
d57e864110
MINOR Fixed tests related to i18nLegacyAdapter changes
2012-04-15 18:46:02 +02:00
Ingo Schommer
fca2c205b7
API CHANGE Removed $priority arguments from _t(), use module priorities instead.
...
ENHANCEMENT Refactored i18nTextCollector collection logic alongside $priority removal, from regex to (slightly more maintainable) PHP tokenizer. Using var_export() for generating PHP, which auto-escapes strings more robustly.
ENHANCEMENT Refactored i18nTextCollector into pluggable writers (in preparation of new YML output format)
2012-04-15 17:17:17 +02:00
Ingo Schommer
d44f6b3e1f
MINOR Removed deprecated usage of $priority argument in _t() calls
2012-04-15 17:17:17 +02:00
Ingo Schommer
3002598a5e
MINOR Hardcoding correct module priorities in i18n.php
2012-04-15 17:17:16 +02:00
Ingo Schommer
95cdbe9d2c
MINOR Avoid duplicate var declaration in i18n::_t()
2012-04-15 17:17:16 +02:00
Ingo Schommer
27ec83ce40
MINOR i18n::_t() getter performance optimisation (saves 10% on default CMS execution!)
2012-04-15 17:17:16 +02:00
Ingo Schommer
03de6e5e5f
MINOR Removed i18nSSLegacyTranslator from default setup for performance reasons, document how to re-apply it
2012-04-15 17:17:16 +02:00
Ingo Schommer
652f0ec007
MINOR Infinite cache
2012-04-15 17:17:16 +02:00
Ingo Schommer
796975f53b
MINOR Don't set locale on adapter in i18n::_t() for performance reasons, we're passing it with each individual translate() call anyway
2012-04-15 17:17:16 +02:00
Ingo Schommer
190c758639
MINOR Reverting to use directory scanning rather than Zend_Translate() in i18n::get_existing_languages(), as the only way to determine this information from Zend is loading all locales (which is way too slow e.g. for loading a language drop down in the member profile)
2012-04-15 17:17:15 +02:00
Ingo Schommer
0e0e5dd07a
BUGFIX Ensuring that every locale (and its lang part) are registered as languages in i18n::include_by_locale() to avoid expensive re-parsing on subsequent i18n::_t() calls to the same locale
2012-04-15 17:17:15 +02:00
Ingo Schommer
bd23a07bba
API CHANGE Using Zend_Translate with YAML translation files, replacing the $lang global and PHP files in the /lang folders.
2012-04-15 17:17:15 +02:00
Simon Welsh
f07258f3cf
MINOR Update @package values to match renaming sapphire
2012-04-15 10:50:19 +12:00
Simon Welsh
3a6341a251
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:50:19 +12:00
Sam Minnee
767aef9794
BUGFIX: Don't call strpos() with an empty delimiter, mb_strpos() is more strict about this ( #6751 )
2012-03-24 11:14:20 +13:00
Simon Elvery
ac8a05f188
BUG FIX: Make sure the translation function doesn't try to include missing locale files over and over again.
2012-03-21 12:47:22 +10:00
Hamish Friedlander
374ed19406
API CHANGE: Change variable expose method in TemplateGlobalProvider and TemplateIteratorProvider to (a) not clash with each other and, (b) be less generic
2012-03-06 09:31:57 +13:00
Hamish Friedlander
fb246bdd08
APICHANGE: Rename getExposedVariables to match coding conventions
2012-03-06 09:31:56 +13:00
Hamish Friedlander
927dbbe717
API-CHANGE: Global template variables can now be called directly using SSViewer_DataPresenter instead of needing to inherit off ViewableData
2012-03-06 09:11:46 +13:00
Fred Condo
d370423825
Clean up trailing ?> per coding standard
...
All sapphire but the lang directory
2012-02-12 12:40:16 -08:00
Ingo Schommer
9b29616710
API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure
2011-03-31 09:56:21 +13:00