05 Apr, 2010
1 commit
-
Besides being faster, consumming less memory, and being thread-safe, fast_gettext's approach is cleaner than Ruby-GetText's because it does not mess with the Rails internals. That's probably due to the fact that fast_gettext was designed after Rails had proper I18N support, so that's not exactly Ruby-GetText's fault. Current versions of Ruby-GetText are claimed to be thread-safe as well, but I decided to go with fast_gettext regardless. I am messing with the Rails internals myself by copying some code from Ruby-Gettext, but that code will be dropped when we upgrade to a more recent Rails version with proper I18N. Code was copied from Ruby-GetText to implement: * per-language cache * validation error messages translation During initialization, the needed .mo files installed system-wide are symlinked locally. By doing this we can take "similar" locales locally since fast_gettext does not seem to support loading of files from similar locales (e.g. loading pt_BR/LC_MESSAGES/domain.mo when pt/LC_MESSAGES/domain.mo is not available). This hopefully will fix the long-standing bug with messed up translations due to high concurrency and non-thread-safety of the version of Ruby-GetText in Debian Lenny. (ActionItem1315)
06 Nov, 2009
1 commit
-
* Added feature 'enterprises_are_disabled_when_created' * After create, when applying template: * if enterprise is disabled, apply inactive_template * if enterprise is enabled, apply active_template ActionItem1268
27 May, 2009
2 commits
20 Mar, 2009
1 commit
-
* renaming ferret_server.yml to ferret_server.yml.dist * adding workaround to list categories * hack to bypass ferret limitation * adding configuration to better-browse-promotion * adding form for enterprise activation
15 Jan, 2009
1 commit
17 Dec, 2008
1 commit
-
* removing links to edit template on manage templates * removing mark for required from non-formlabel labels * fix: only one error message for each field * fixing problem with translation
15 Dec, 2008
1 commit
29 Aug, 2008
1 commit
-
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2433 3f533792-8f58-4932-b0fe-aaf55b0a4547
18 Aug, 2008
1 commit
-
The environment admin can now disable management of products for its enterprises. It disables together button of control panel, link of profile info block, link of profile page, access to manage products controller and catalog controller. Also do not let enterprises create products blocks and change the initial blocks for an enterprise to not contain a products block. git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2402 3f533792-8f58-4932-b0fe-aaf55b0a4547