Commit Graph

63 Commits

Author SHA1 Message Date
Andrew O'Neil
a0563eaba4 GSOC #99
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43204 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-08 21:55:15 +00:00
Ingo Schommer
77cebb3352 added get_existing_translations(), adapted to coding conventions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-27 20:47:16 +00:00
Ingo Schommer
eb45e6ec6d added $default_locale and get_translatable_modules()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42578 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-25 22:14:48 +00:00
Ingo Schommer
ff9a292d51 Added the correct English name of some rare languages (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42575 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-25 21:57:23 +00:00
Ingo Schommer
a0723f23f9 Use the standard _manifest_exclude rather than a specific solution (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42574 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-25 21:56:45 +00:00
Ingo Schommer
852d09d5f3 fixed wrong usage of type-casting which caused apache to segfault
changed die() to user_error()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42162 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 20:54:31 +00:00
Ingo Schommer
8038a60842 bfojcapell: Removed unused function
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42145 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:56:28 +00:00
Ingo Schommer
54b5eee2cf bfojcapell: Changes include:
-Lists of locales and languages (added) 
-Text_collector renamed to textcollector (coding conventions) 
-Elijah's patch for ticket #71 
-New functions to simplify interaction with language lists 
-Removelang functionality to completely delete an existing language in sitetree 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42120 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:16:58 +00:00
Ingo Schommer
408c8d63d5 bfojcapell: better i18n support and more flexibility allowed in templates. Also fixed some possible warnings in 2.02rc1 if more than one language file is found with the same name. ManifestBuilder? now skips language files - they cannot be autoloaded and they are already loaded on demand, so no need to be in the manifest
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41913 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:06:42 +00:00
Ingo Schommer
0872f87358 bfojcapell: Renaming of functions and new function prototype of the translator function
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41835 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:21:51 +00:00
Ingo Schommer
e25d8bab65 bfojcapell: Added i18n api comments
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:17:37 +00:00
Ingo Schommer
7e9623f4ac bfojcapell: Added security check, only admins can use text collector
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41830 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:16:41 +00:00
Ingo Schommer
46be50f0a2 bfojcapell: LocaleAPI renamed to i18n
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:16:11 +00:00