Re: [fw-general] Re: Merge translate

2008-01-28 Thread Thomas Weidner
Your initiation is wrong... if you give no locale then the locale from your browser is taken. And if this can not be found the locale from your server is used. This means that when a "french" user accesses your site it will not work... Your code did not work even before you added the other file.

Re: [fw-general] Re: Merge translate

2008-01-28 Thread reto
Hi, I'm using the following code and it works: $translate = new Zend_Translate('gettext', '/path/to/mo', 'en); $translate->addTranslation('/path/to/othermo', 'en'); So I just defined the locale of the first file, too. I'm not shure, if this is supposed to work like this, but it seems to work for

RE: [fw-general] 1.0.4?!?!

2008-01-28 Thread Wil Sinclair
Well, you're assuming wrong, my friend. :) We are indeed going to do a 1.0.4 release; it will happen in the next week or two after we get settled again and do the necessary merges. Note that we will not be maintaining two 'official' branches of ZF, since the preview release is not an 'official' ZF

[fw-general] Re: Merge translate

2008-01-28 Thread Cristian Bichis
No reply to this ? It's maybe even a bug report on Zend_Translate... Cristian Hello, It is possible to merge two translation objects data using same language ? Sample: i am using general.en and also module.en files, and i need for english to translate from both. By using this: $t

[fw-general] Please check your docs before commit

2008-01-28 Thread Jason Qi
Hi All, If you make English documents, please check if there any errors message by the command of "make check". Because the English documents are the source, if they are wrong, then all the translated documents will be following. Thanks. Jason. - Look

Re: [fw-general] ZF Packaging

2008-01-28 Thread Simone Carletti
On Jan 28, 2008 3:57 PM, Richard Thomas <[EMAIL PROTECTED]> wrote: > zfdev.com is a community supported project that never really took off, > It was never an "official" repository though. > Sorry Richard, my misunderstanding. :) Thanks for pointing it out. Simone

Re: [fw-general] 1.5 Preview Release Preview

2008-01-28 Thread Rob Allen
On 28 Jan 2008, at 11:13, Tobias Gies wrote: Hey Simon, PLEASE, document the feature, since i would not want it to get lost in any later version. It is something that a lot of people (many folks on the german forums at least!) including me were eagerly waiting for. Getting a read-only ro

Re: [fw-general] Zend_Filter_SeoUrl is ready for review

2008-01-28 Thread Martin Hujer
I have renamed Zend_Filter_SeoUrl to Zend_Filter_Sanitize to be more general. Proposal is here: http://framework.zend.com/wiki/display/ZFPROP/Zend_Filter_Sanitize+-+Martin+Hujer Best Regards Martin Hujer Martin Hujer wrote: > > Hello, > I have created a proposal for Zend_Filter_SeoUrl is i

RE: [fw-general] ZF Packaging

2008-01-28 Thread Wil Sinclair
Thanks for bringing that up, Simone. That page is out-of-date at this point and it needs to be updated. I haven't gotten to this yet because I wanted to replace it with a real FAQ that is current but I haven't found the time. I will try to do something with that page- possibly just archive it- l

Re: [fw-general] Trying to add to an Element

2008-01-28 Thread Matthew Weier O'Phinney
-- Jay M. Keith <[EMAIL PROTECTED]> wrote (on Monday, 28 January 2008, 10:15 AM -0600): > I managed to get this working by extending the ViewHelper decorator, > but I am also looking at the option that you mention Matthew. The > most confusing aspect about the decorators for me, at the moment wi

Re: [fw-general] Trying to add to an Element

2008-01-28 Thread Jay M. Keith
Hi all, I managed to get this working by extending the ViewHelper decorator, but I am also looking at the option that you mention Matthew. The most confusing aspect about the decorators for me, at the moment with the current approach is the difficulty in adding duplicates. The issue I'm having

Re: [fw-general] Trying to add to an Element

2008-01-28 Thread Matthew Weier O'Phinney
-- Jay M. Keith <[EMAIL PROTECTED]> wrote (on Saturday, 26 January 2008, 09:55 AM -0600): > I've been messing around with Zend_Form and I'm happy thus far. > But, I'm having an issue with what I think should be an easy task. > I like the current rendering in dl's.. But I'm trying to add a div or

Re: [fw-general] Zend_Cache miss when cache-object is empty

2008-01-28 Thread Andries Seutens
You should use: if (false === ($data = $cache->load($cacheId))) { // cache miss } best, Andries Seutens http://andries.systray.be reto schreef: Hi everyone, I just realized, that with the code-snippet from the Zend_Cache-documentation an empty cache-object behaves like a cache-miss. i

[fw-general] Zend_Cache miss when cache-object is empty

2008-01-28 Thread reto
Hi everyone, I just realized, that with the code-snippet from the Zend_Cache-documentation an empty cache-object behaves like a cache-miss. if (!($data = $cache->load($cacheId))) { // cache miss... So if the loaded cache is just empty (in a file-cache it looks like: " -1571559392a:0:{}") it

Re: [fw-general] Trying to add to an Element

2008-01-28 Thread Amr Mostafa
You can do that by using the HtmlTag decorator with the placement option. e.g. $element->addDecorator('HtmlTag', array('tag' => 'div', 'placement' => 'APPEND')); But be aware that you can't have 2 decorators of the same type. An easy workaround would be to create your own decorator as a subclass o

Re: [fw-general] ZF Packaging

2008-01-28 Thread Richard Thomas
zfdev.com is a community supported project that never really took off, It was never an "official" repository though. If someone is willing to maintain pear.zfdev.com I would be more then happy to get it back up and running. On Jan 27, 2008 8:07 AM, Simone Carletti <[EMAIL PROTECTED]> wrote: > AFA

Re: [fw-general] Reminder - code freeze for 1.5.0 Preview Release today: Tue, Jan 22 21:00 (PST)

2008-01-28 Thread Darby Felton
Rob Allen wrote: > > On 22 Jan 2008, at 18:23, Darby Felton wrote: > >> Hi all, >> >> I just wanted to send a final reminder that the code freeze for the Zend >> Framework 1.5.0 Preview Release is scheduled for today at 21:00 (9:00pm) >> (PST). >> >> After the code freeze begins I plan to create

[fw-general] Trying to add to an Element

2008-01-28 Thread Jay M. Keith
Hi all, I've been messing around with Zend_Form and I'm happy thus far. But, I'm having an issue with what I think should be an easy task. I like the current rendering in dl's.. But I'm trying to add a div or span immediately after the tag to be a field note/description. Here's my desired resul

Re: [fw-general] 1.5 Preview Release Preview

2008-01-28 Thread Tobias Gies
Hey Simon, PLEASE, document the feature, since i would not want it to get lost in any later version. It is something that a lot of people (many folks on the german forums at least!) including me were eagerly waiting for. Getting a read-only row with joined fields is something that I missed in the