"Diethelm Guallar, Gonzalo" wrote:
>
> I have just noticed that Jetspeed calls a function
> called getNiceDate() to print the server date on the
> default page. This function hardcodes the English text
> "Server date: ", and also hardcodes the date format.
> Since I'm on a Spanish-speaking country, this won't
> do at all...
ug... yeah.. I know :(
> Of course, the easiest solution for this would be to
> use templates instead of ECS to generate any HTML
> that Jetspeed uses. Is this a concern? Will Jetspeed
> switch from ECS to templates? If so, what template
> language will it use? I would assume Velocity, right? ;-)
I don't know... My personal opinion on this is that XSP and Velocity
have some cool stuff each... and that everything else sucks... Except
maybe ECS but it only really fills a niche. Hopefully we can take the
positives from Velocity/XSP into something in the future.
> If no move to templates is being considered, maybe
> this should be moved to the JetspeedResources.properties
> file. It is in Util.java:173, and it seems to be the
> only case of a hard-coded string in ECS, at least in
> the util/ directory.
<snip>
Let's just remove 'Server date' totally. Humans can figure out it is a
date string. Is this needed?
Kevin
--
** Should SUN Open Source Java? Please Vote:
http://relativity.yi.org/java **
Kevin A Burton (e-mail: [EMAIL PROTECTED], UIN: 73488596)
http://relativity.yi.org | http://www.openprivacy.org
Message to SUN Microsystems: "Please Open Source Java!"
To fight and conquer in all your battles is not supreme excellence;
supreme
excellence consists in breaking the enemy's resistance without fighting.
- Sun Tzu, 300 B.C.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]