[dev] gettext textdomain foo?

Rudi Benkovič rudib@email.si
Wed, 9 Jan 2002 09:47:39 +0100


On Wednesday, January 09, 2002, 12:31:18 AM, Jan Schneider wrote:

> Are you really sure that it happens exactly how you describe? What we d=
o is 
> merging the application's and Horde's .po files before compiling the 
> translations, this is why the Horde strings also appear in each applicati=
on.

Silly me. Of course, in app po/Makefiles, you can find that horde's .po goes
thru msgcomm ...

What made this situation a bit foo is, that I have picked a Turba translated
string, that was also in Horde's... :/

Thanks for the explanation!

--

Rudi



>From jan@horde.org Date: Wed,  9 Jan 2002 16:06:22 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 76414 invoked from network); 9 Jan 2002 15:11:11 -0000
Received: from mailout07.sul.t-online.com (194.25.134.83)
  by clark.horde.org with SMTP; 9 Jan 2002 15:11:11 -0000
Received: from fwd08.sul.t-online.de 
	by mailout07.sul.t-online.de with smtp 
	id 16OKNh-0002OM-02; Wed, 09 Jan 2002 16:11:09 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.45.67]) by fmrl08.sul.t-online.com
	with esmtp id 16OKNS-2AUI1AC; Wed, 9 Jan 2002 16:10:54 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g09F6P900428
	for <dev@lists.horde.org>; Wed, 9 Jan 2002 16:06:26 +0100
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@linux by linux.wg.de with HTTP;
	Wed,  9 Jan 2002 16:06:22 +0100
Message-ID: <1010588782.3c3c5c6e8b73c@linux.wg.de>
Date: Wed,  9 Jan 2002 16:06:22 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <20020109134312.0B82947D@arkady.horde.org>
In-Reply-To: <20020109134312.0B82947D@arkady.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [cvs] cvs commit: horde/lib Notification.php base.php horde/lib/Notification status.php kronolith/lib/Notification status.php kronolith/lib base.php kronolith status.php

Zitat von Jan Schneider <jan@ammma.de>:

>   Beginning of a notification framework that supports multiple
> notification
>   targets. Currently there's only the 'status' target that actually
> does
>   what the status.php files do.
>   You can push messages on any target's message stack and these targets
> can
>   do whatever they are intended to do with these messages. I think of
> email
>   or pager notification for example.
>   I chose Kronolith as the first application to test this on because it
> has
>   some special message types and shows how this framework can be extended
> by
>   an application.

What I forgot to mention: The message stacks get stored in the session so 
that message aren't lost if you get to another page before the message gets 
displayed.

Jan.

--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::


>From mike@graftonhall.co.nz Date: Wed,  9 Jan 2002 15:24:21 +0000
Return-Path: <mike@graftonhall.co.nz>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 77073 invoked from network); 9 Jan 2002 15:21:11 -0000
Received: from unknown (HELO graftonhall.co.nz) (210.54.179.59)
  by clark.horde.org with SMTP; 9 Jan 2002 15:21:10 -0000
Received: from localhost [127.0.0.1]
	by graftonhall.co.nz [10.0.0.4]
	with SMTP (MDaemon.PRO.v5.0.4.R)
	for <dev@lists.horde.org>; Thu, 10 Jan 2002 04:24:22 +1300
Received: from 10.0.0.4 ( [10.0.0.4])
	as user mike@10.0.0.4 by webmail.graftonhall.co.nz with HTTP;
	Wed,  9 Jan 2002 15:24:21 +0000
Message-ID: <1010589861.3c3c60a5ed613@webmail.graftonhall.co.nz>
Date: Wed,  9 Jan 2002 15:24:21 +0000
From: Michael Cochrane <mike@graftonhall.co.nz>
To: dev@lists.horde.org
References: <20020109134312.0B82947D@arkady.horde.org> <1010588782.3c3c5c6e8b73c@linux.wg.de>
In-Reply-To: <1010588782.3c3c5c6e8b73c@linux.wg.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 10.0.0.4
X-MDRemoteIP: 127.0.0.1
X-Return-Path: mike@graftonhall.co.nz
X-MDaemon-Deliver-To: dev@lists.horde.org
Subject: Re: [dev] Re: [cvs] cvs commit: horde/lib Notification.php base.php horde/lib/Notification status.php kronolith/lib/Notification status.php kronolith/lib base.php kronolith status.php

Pretty Nifty :-) Just a though but do you think we could make use of this to
push javascript to the browser after a login? 

Thoughts: 
After the login a 'message' (javascript to refresh bottom frame) is pushed onto
 a global message stack
the first app to call the notify sends it to the browser to cause the menu frame
to refresh.

This could also allow for other post login messages to be displayed such as
making the last login message a horde wide thing so the first app to be visited
shows the last login message that was added to the stack when the login was
successful.

Yes? No? Patch?

Mike

Quoting Jan Schneider <jan@horde.org>:

> Zitat von Jan Schneider <jan@ammma.de>:
> 
> >   Beginning of a notification framework that supports multiple
> > notification
> >   targets. Currently there's only the 'status' target that actually
> > does
> >   what the status.php files do.
> >   You can push messages on any target's message stack and these targets
> > can
> >   do whatever they are intended to do with these messages. I think of
> > email
> >   or pager notification for example.
> >   I chose Kronolith as the first application to test this on because it
> > has
> >   some special message types and shows how this framework can be extended
> > by
> >   an application.
> 
> What I forgot to mention: The message stacks get stored in the session so 
> that message aren't lost if you get to another page before the message gets
> 
> displayed.
> 
> Jan.
> 
> --
> ::::::::::::::::::::::::::::::::::::::::
> AMMMa AG - discover your knowledge
> :::::::::::::::::::::::::::
> Detmolder Str. 25-33 :: D-33604 Bielefeld
> fon +49.521.96878-0 :: fax  +49.521.96878-20
> http://www.ammma.de
> ::::::::::::::::::::::::::::::::::::::::::::::
> 
> -- 
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> 
> 




>From jan@horde.org Date: Wed,  9 Jan 2002 17:00:03 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 83419 invoked from network); 9 Jan 2002 16:01:09 -0000
Received: from mailout02.sul.t-online.com (194.25.134.17)
  by clark.horde.org with SMTP; 9 Jan 2002 16:01:09 -0000
Received: from fwd07.sul.t-online.de 
	by mailout02.sul.t-online.de with smtp 
	id 16OLA4-0001dD-05; Wed, 09 Jan 2002 17:01:08 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.45.67]) by fmrl07.sul.t-online.com
	with esmtp id 16OL9q-1eJIC8C; Wed, 9 Jan 2002 17:00:54 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g09G04900847
	for <dev@lists.horde.org>; Wed, 9 Jan 2002 17:00:04 +0100
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@linux by linux.wg.de with HTTP;
	Wed,  9 Jan 2002 17:00:03 +0100
Message-ID: <1010592003.3c3c69035a9ed@linux.wg.de>
Date: Wed,  9 Jan 2002 17:00:03 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <20020109134312.0B82947D@arkady.horde.org> <1010588782.3c3c5c6e8b73c@linux.wg.de> <1010589861.3c3c60a5ed613@webmail.graftonhall.co.nz>
In-Reply-To: <1010589861.3c3c60a5ed613@webmail.graftonhall.co.nz>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] Re: [cvs] cvs commit: horde/lib Notification.php base.php horde/lib/Notification status.php kronolith/lib/Notification status.php kronolith/lib base.php kronolith status.php

Why not. It's easy to write a driver that just echoes the plain message 
text. All we have to take care of is that this message stack gets displayed 
at the end of each page. Perhaps common_footer.inc is a good place for this 
task.

Zitat von Michael Cochrane <mike@graftonhall.co.nz>:

> Pretty Nifty :-) Just a though but do you think we could make use of this
> to
> push javascript to the browser after a login? 
> 
> Thoughts: 
> After the login a 'message' (javascript to refresh bottom frame) is
> pushed onto
>  a global message stack
> the first app to call the notify sends it to the browser to cause the
> menu frame
> to refresh.
> 
> This could also allow for other post login messages to be displayed such
> as
> making the last login message a horde wide thing so the first app to be
> visited
> shows the last login message that was added to the stack when the login
> was
> successful.
> 
> Yes? No? Patch?
> 
> Mike
> 
> Quoting Jan Schneider <jan@horde.org>:
> 
> > Zitat von Jan Schneider <jan@ammma.de>:
> > 
> > >   Beginning of a notification framework that supports multiple
> > > notification
> > >   targets. Currently there's only the 'status' target that actually
> > > does
> > >   what the status.php files do.
> > >   You can push messages on any target's message stack and these
> targets
> > > can
> > >   do whatever they are intended to do with these messages. I think
> of
> > > email
> > >   or pager notification for example.
> > >   I chose Kronolith as the first application to test this on because
> it
> > > has
> > >   some special message types and shows how this framework can be
> extended
> > > by
> > >   an application.
> > 
> > What I forgot to mention: The message stacks get stored in the session
> so 
> > that message aren't lost if you get to another page before the message
> gets
> > 
> > displayed.
> > 
> > Jan.
> > 
> > --
> > ::::::::::::::::::::::::::::::::::::::::
> > AMMMa AG - discover your knowledge
> > :::::::::::::::::::::::::::
> > Detmolder Str. 25-33 :: D-33604 Bielefeld
> > fon +49.521.96878-0 :: fax  +49.521.96878-20
> > http://www.ammma.de
> > ::::::::::::::::::::::::::::::::::::::::::::::
> > 
> > -- 
> > Horde Developers mailing list: http://horde.org/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> > 
> > 
> 
> 
> 
> -- 
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> 
> 


Jan.

--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::