Ingo Schommer
cf1dbb8014
formatting for CLI
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44598 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 22:44:40 +00:00
Ingo Schommer
a3793afb22
formatting for CLI
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44597 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 22:43:30 +00:00
Ingo Schommer
dd71c53a4d
allowing textcollector for non-admins in CLI-mode (needed for auto-updating)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44574 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 02:54:36 +00:00
Ingo Schommer
3e36baa6d8
FEATURE Using consistent umask static Filesystem::$folder_create_mask for mkdir()-calls
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43870 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-25 23:07:24 +00:00
Ingo Schommer
a68a8e5c39
BUGFIX filepath-security in textcollector()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-25 02:36:27 +00:00
Ingo Schommer
d85bf0b73e
BUGFIX fixed visibility on i18n::default_locale()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43758 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-24 00:29:49 +00:00
Ingo Schommer
a645869bc3
ENHANCEMENT More robust path-extraction of module-names
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43692 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-23 01:56:03 +00:00
Ingo Schommer
ac60800802
#1510 GSOC #133 (i18n::enable instead of Translatable::enable)
...
(merged patch from bfojcapell)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43663 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-22 01:58:43 +00:00
Ingo Schommer
57c8e06435
#1476 Patch for ticket #128 and a few other changes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43662 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-22 01:51:02 +00:00
Ingo Schommer
3a7727d853
BUGFIX include_by_class() now detects modules with non-standard paths (e.g. /sapphire/security/Member.php)
...
ENHANCEMENT Added documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43658 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 19:31:30 +00:00
Ingo Schommer
bbe86015d7
ENHANCEMENT Added proxy-functions for Translatable to provide a consistent interface for developers
...
ENHANCEMENT Explicit attribute-visibility
ENHANCEMENT Empty $current_locale by default, get_locale() falls back to $default_locale (avoid duplication)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43657 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 00:50:31 +00:00
Ingo Schommer
ac8950e696
ENHANCEMENT replacing static references with "self::"
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43655 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 00:39:14 +00:00
Ingo Schommer
af68f3f298
FEATURE Sapphire files are now also scanned for _t calls
...
ENHANCEMENT Revised locale list
ENHANCEMENT Updated en_US generated files (and created for sapphire)
BUGFIX Fixed some _t() calls in the cms module
(merged from patch #1476 by bfojcapell)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43654 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-20 23:49:14 +00:00
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