Re: updated German translation
Vincent Danen <[email protected]> Tue, 6 Jan 2004 17:27:52 -0700
| Newsgroups | gmane.comp.bug-tracking.anthill.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jan 06, 2004, at 13:28, Moritz Bunkus wrote:
>> Did you submit a patch for that? Sorry... my brain is somewhat
>> spindled... I'm trying to build kernels to fix this kernel security
>> problem and it has me a bit frazzled. =)
>
> :-) And I'm just setting up a new kernel with LIDS and some other
> security thingies. I know that feeling.
LIDS rocks. I love it. =)
> Anyway, yes, the diffs for the two theme.php files also include chunks
> that use gettext for the various drop down boxes (like time ranges,
> 'Yes'/'No', 'Public'/'Private').
Ok, cool.
>> Yeah, I'd actually like to try to avoid any PHP "code" inside the
>> theme
>> files as much as possible, which is where I'm going to be heading with
>> them. I haven't yet determined if I want to have them as individual
>> pieces or still have it function driven.
>
> I can certainly understand that you don't want PHP code inside the
> themes, but I think it'll be hard to fully localize all the strings
> without PHP code inside them. But I'm not an expert on PHP, neither on
> web programming (my strengths are C, C++, Perl, that kind of stuff ;)),
> so I trust in you to find a good solution :)
Hmm... yeah. I just looked at the theme files to break out the "send
me my password" stuff that Russell mentioned a while back and saw the
gobs of PHP code in there. You're right, it will be a little
interesting.
I plan on using heredoc syntax for the templates... should make things
a lot easier to do, but I think to do that I might have to break each
current function into it's own file. Then I can "prep" things so
instead of having gettext mixed into html code, do something like:
<select bla>
$yesnolist
</select>
and this way we generate the options before we even hit the code and
just include a variable for it. I've moved a lot of the "static" stuff
(that I want to make un-static) in the main code to do this and it's
amazingly cool.
>> I'll play around after I get the beta out and see how much breakage we
>> get from moving things around like this.
>
> Thanks for considering it.
You're welcome. Didn't have as much time to do what I wanted today, so
didn't get a chance to look at this, but did commit some fixes/changes.
I'll likely be able to merge your stuff in tomorrow after I take a
closer look at it.
---
MandrakeSoft Security; http://www.mandrakesecure.net/
Online Security Resource Book; http://linsec.ca/
"lynx -source http://linsec.ca/vdanen.asc | gpg --import"
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}
_______________________________________________
Anthill-workers mailing list
Anthill-workers-+mQDA36h6dWw5LPnMra/[email protected]
http://vmlinuz.ca/mailman/listinfo/anthill-workers
PGP.sig
(application/pgp-signature, 186 B) - not displayed