[symfony-users] Re: sfValidatorSchema default_messages

2010-01-27 Thread diogobaeder
Solved. Not the best way, but solved. I used the sfWidget::setMessage () method of the form widgets, to make the translation work. Thanks, anyway! Diogo On Jan 12, 11:00 am, diogobaeder wrote: > Any other idea, guys? I still can't translate all the messages I need > to... :-(

[symfony-users] Re: actAs Timestampable requiring created_at in update

2010-01-21 Thread diogobaeder
ip doesn't work. > > On Jan 20, 4:44 am, diogobaeder wrote: > > > Hi, Benoit, > > > I'll try your tip, but it's strange because it started to happen just > > these days, and I've been developing the website for about a month > > now... and the

[symfony-users] Re: actAs Timestampable requiring created_at in update

2010-01-20 Thread diogobaeder
e: > It's perfectly normal. These 2 field added by actAsTimestampable   > Behavior are not to be editable by users. > > You should remove them in your form class configure() method : > unset($this['created_at']); > unset($this['updated_at']); > > Hope this

[symfony-users] actAs Timestampable requiring created_at in update

2010-01-19 Thread diogobaeder
Hi, guys, I don't know why, but a website I'm developing started to pass the "created_at" field in the update query when I try to save an edited admin form with a null value, so I cannot save the data anymore. Any idea of what might be wrong? I'm using Symfony 1.4. Thanks! Diogo -- You received

[symfony-users] Re: URGENT: default_messages translation

2010-01-19 Thread diogobaeder
I think that you could use that plugin of mine, and in the view use > something like: > > getError() as $error):?> > > > > Alecs > > > > On Tue, Jan 19, 2010 at 3:40 PM, diogobaeder wrote: > > Hi, guys, > > > I've posted this one: > >

[symfony-users] URGENT: default_messages translation

2010-01-19 Thread diogobaeder
Hi, guys, I've posted this one: http://groups.google.com/group/symfony-users/browse_thread/thread/5432958e71a54747/76035d6987e00ad8?lnk=gst&q=diogobaeder#76035d6987e00ad8 But I haven't found a solution, yet. The problem is, I have to deliver the website for my client, and he'

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-12 Thread diogobaeder
Any other idea, guys? I still can't translate all the messages I need to... :-( Thanks! On Jan 4, 12:02 pm, diogobaeder wrote: > Hmmm, not for me... the validation messages show only in English, no > matter what translations I put on the XLIFF file... > > Diogo > > On

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-04 Thread diogobaeder
e code to check it out > > sent via htc magic > > On Jan 3, 2010 5:43 PM, "diogobaeder" wrote: > > Hi, Alecs, > > Thanks for the tip, but the problem I'm having is how to actually put > the translated text into the forms, and not how to know what the &g

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-03 Thread diogobaeder
ns/sfI18nFormExtractorPlugin > > Alecs > > > > On Sat, Jan 2, 2010 at 10:33 PM, diogobaeder wrote: > > Hi, Alexandru, > > > What I'm trying to translate is a set of the core default validation > > messages, and not plugin messages... but thanks anyway! :-) >

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-02 Thread diogobaeder
essages. > Check the plugin repo. > > sent via htc magic > > On Jan 2, 2010 8:15 AM, "diogobaeder" wrote: > > Hi there, > > I'm trying to localize the sfValidatorSchema default messages, because > I couldn't do it using the i18n tools and translatio

[symfony-users] sfValidatorSchema default_messages

2010-01-01 Thread diogobaeder
Hi there, I'm trying to localize the sfValidatorSchema default messages, because I couldn't do it using the i18n tools and translation, but I can't find a way to do it, since the setDefaultMessages() method is protected. Considering I want to do the translation for all form validators, how can I

[symfony-users] Re: sfDoctrineGuard translation

2009-12-28 Thread diogobaeder
your password?', array(), 'sf_admin') > > and it should work. > > Cheers, Daniel > > On Dec 28, 2009, at 1:43 AM, diogobaeder wrote: > > > Daniel, > > > For example, in the signinSuccess.php template, at > > sfDoctrineGuardPlugin, we have a "

[symfony-users] Re: sfDoctrineGuard translation

2009-12-27 Thread diogobaeder
z, 12:12, Daniel Lohse wrote: > Could you elaborate on/rephrase your last message again, please? > I did not understand what stays where and does not get translated... :) > > Daniel > > On Dec 27, 2009, at 2:57 PM, diogobaeder wrote: > > > Hi, Daniel, > > > I

[symfony-users] Re: sfDoctrineGuard translation

2009-12-27 Thread diogobaeder
other idea? Thanks! On 27 dez, 08:44, Daniel Lohse wrote: > You'll need to name the file sf_admin.pt_BR.xml > > Cheers, Daniel > > On Dec 27, 2009, at 3:30 AM, diogobaeder wrote: > > > No solution for that? Anybody? > > > On 22 dez, 18:04, Diogo Baeder w

[symfony-users] Re: sfDoctrineGuard translation

2009-12-26 Thread diogobaeder
No solution for that? Anybody? On 22 dez, 18:04, Diogo Baeder wrote: > Hi there, > > I'm translating some strings that lacked in the original pt_BR XLIFF > file for Symfony 1.4.2-DEV. Even though, my translation for > sfDoctrineGuardPlugin is not working; None of them is being read. > > How can I

[symfony-users] Re: 404 config not working

2009-12-18 Thread diogobaeder
screen > (you don't really care about a fancy 404 screen while developing, do > you?). > If you want to customize your 404 template, use the prod controller. > > On Fri, Dec 18, 2009 at 04:27, diogobaeder wrote: > > Hi, > > > I'm trying to customize the 404 ac

[symfony-users] 404 config not working

2009-12-17 Thread diogobaeder
Hi, I'm trying to customize the 404 action, but the sfError404Exception is taking me to the default non-catched exceptions screen. Can you help me? Here are my configs: # settings.yml ... all: .actions: error_404_module:main error_404_action:error404 ... # modules/main/action

[symfony-users] Re: Doctrine, Admin Generator & Timestampable behavior

2009-12-14 Thread diogobaeder
Same problem here: http://groups.google.com/group/symfony-users/browse_thread/thread/330986031717f75/e82be9b977e1a6b8?lnk=gst&q=timestampable+required# Thanks, Diogo On 9 dez, 06:38, Darmen Amanbayev wrote: > Hi guys, > > I have a little problem in Doctrine'sTimestampablebehavior. In admin > ge

[symfony-users] Re: actAs timestampable

2009-12-14 Thread diogobaeder
Same for me while using 1.4.2-DEV. Any ideas to change this behaviour? Should I open a ticket? Thanks! Diogo On 13 dez, 12:08, Simon Cast wrote: > Hi, > > I upgraded a 1.2.x application to 1.3.1 yesterday and found that the > actAs fields have gone fromrequired=> false torequired=> true. > >