Commit Graph

5 Commits

Author SHA1 Message Date
Ingo Schommer
84db28eb10 FEATURE Collect i18n Entities from dynamic PHP code - useful to translate statics. Added DataObject->provideI18nEntities() and i18nTextCollector->collectFromEntityProviders(). See #1625
FEATURE Making DataObject attributes translatable through i18n class, e.g. $db and all relation statics. Use DataObject->fieldLabels() to access translated attributes.
ENHANCEMENT Ignoring entity-names with $ signs (most likely dynamic properties) in i18nTextCollector->collectFromCode()


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64881 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-29 21:07:17 +00:00
Ingo Schommer
60860cc1b9 MINOR Unified @package PHPdoc (added where missing, removed duplicates)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56212 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 13:33:53 +00:00
Sam Minnee
bd93c623fc Reverted build-breaking change
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54674 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-16 04:41:34 +00:00
Sam Minnee
ffdc4f2fd2 MINDR: Deliberately broke build in order to test buildbot
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54667 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-16 04:14:50 +00:00
Sam Minnee
3d83f43eff Fixed i18n bug on safe mode
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51503 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-20 03:00:49 +00:00