Re: [Radiant] Early Radiant translation

2006-07-20 Thread Daniel Sheppard
> Would this help on buttons with thin borders like the one below?
> 
> http://demo.radiantcms.org/images/clear-page-cache.png
> 

Yes, you just do:

Rico.Corner.round(element, {border: '#00ff00'});

Though as mentioned elsewhere, the sliding doors solution is also a good
one, though in a controlled environment like the admin console, rico's
also a good solution.

___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread Frederic Brunel
> > I had to remove the vendor/plugin/gloc from the patch to reduce its
> > size. Also note that I had some trouble starting Radiant with GLoc,
> > apparently because of the frozen Rails. I couldn't figure out why
> > because I'm running the exact same version on my computer.
> >
> > Let me know about it.
> >
>
> Looks nice Fredric. A surprisingly small amount of modifications! Does
> this automatically set the content type based off of the content type
> the browser prefers? Or is the language set once globally?

Yes, according to the documentation, there is a controller filter to simply
declare.

-- 
Frederic Brunel
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread John W. Long
Frederic Brunel wrote:
> I've just uploaded the patch...
> 
> I had to remove the vendor/plugin/gloc from the patch to reduce its
> size. Also note that I had some trouble starting Radiant with GLoc,
> apparently because of the frozen Rails. I couldn't figure out why
> because I'm running the exact same version on my computer.
> 
> Let me know about it.
> 

Looks nice Fredric. A surprisingly small amount of modifications! Does 
this automatically set the content type based off of the content type 
the browser prefers? Or is the language set once globally?

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread Frederic Brunel
I've just uploaded the patch...

I had to remove the vendor/plugin/gloc from the patch to reduce its
size. Also note that I had some trouble starting Radiant with GLoc,
apparently because of the frozen Rails. I couldn't figure out why
because I'm running the exact same version on my computer.

Let me know about it.

-- 
Frederic Brunel
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread James MacAulay
On 20-Jul-06, at 11:47 AM | Jul 20, Dean Strelau wrote:[1]: Nice, thanks for the link. Obviously I don't read ALA enough :PJames___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread John W. Long
Dean Strelau wrote:
> but personally I prefer straight up HTML+CSS
> whenever possible.

I agree.

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread Jay Levitt
Dean Strelau wrote:
> On 7/20/06, *James MacAulay* <[EMAIL PROTECTED] 
> > wrote:
> 
> The only problem I see with doing text on static images is that, in
> the long term, some translations may be quite a bit longer or
> shorter than others. I guess the translation could include style
> attributes to resize text when necessary.
> 
> James
> 
> 
> 
> Ahh, but that's why the good people over at ALA exist: to solve everyone 
> else's problems! We could use a derivative of sliding doors [1] or 
> something similar. JS or pure images or ... whatever is fine because 
> Radiant will still rock no matter what, but personally I prefer straight 
> up HTML+CSS whenever possible.

+1 for sliding doors.


Jay

___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread Dean Strelau
On 7/20/06, James MacAulay <[EMAIL PROTECTED]> wrote:
The only problem I see with doing text on static images is that, in the long term, some translations may be quite a bit longer or shorter than others. I guess the translation could include style attributes to resize text when necessary.
JamesAhh, but that's why the good people over at ALA exist: to solve everyone else's problems! We could use a derivative of sliding doors [1] or something similar. JS or pure images or ... whatever is fine because Radiant will still rock no matter what, but personally I prefer straight up HTML+CSS whenever possible.
|| Dean[1]: 
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread James MacAulay
The only problem I see with doing text on static images is that, in the long term, some translations may be quite a bit longer or shorter than others. I guess the translation could include style attributes to resize text when necessary.JamesOn 20-Jul-06, at 9:34 AM | Jul 20, Dean Strelau wrote:On 7/20/06, John W. Long <[EMAIL PROTECTED]> wrote: Would this help on buttons with thin borders like the one below?http://demo.radiantcms.org/images/clear-page-cache.pngFor something like this why not just use the rounded image as a background and put the text on top of it?...straight CSS with no JS to muck around with. Just a thought... || Dean___Radiant mailing listRadiant@lists.radiantcms.orghttp://lists.radiantcms.org/mailman/listinfo/radiant ___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread Frederic Brunel
> The easiest thing would be to create a ticket and label it with
> [RESEARCH] and [PATCH] in the title and attach your patch to that. Even
> if you aren't quite ready for your changes to be used by others, doing
> it that way a great way to show us what you are up to.

Ok then, I'll try to do that.

-- 
Frederic Brunel
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread Dean Strelau
On 7/20/06, John W. Long <[EMAIL PROTECTED]> wrote:
Would this help on buttons with thin borders like the one below?http://demo.radiantcms.org/images/clear-page-cache.pngFor something like this why not just use the rounded image as a background and put the text on top of it?...straight CSS with no JS to muck around with. Just a thought...
|| Dean
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-20 Thread John W. Long
Daniel Sheppard wrote:
> Perhaps http://encytemedia.com/demo/rico/ could be used to do the
> rounded corners instead.
> 
> Since the admin console already requires a fair bit of javascript, why
> not a bit more?

Would this help on buttons with thin borders like the one below?

http://demo.radiantcms.org/images/clear-page-cache.png

You can often achieve the same effect with CSS, but as I said before, 
it's a bit messier than just using an image.

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-19 Thread Daniel Sheppard
> > By the way, why using images to display text?
> 
> It is the the easiest way to create buttons with rounded corners as I 
> designed them. If Radiant offers full multi-lingual support they will 
> definitely need to be replaced with simple text.

Perhaps http://encytemedia.com/demo/rico/ could be used to do the
rounded corners instead.

Since the admin console already requires a fair bit of javascript, why
not a bit more?

___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Early Radiant translation

2006-07-19 Thread John W. Long
Frederic Brunel wrote:
> I've started adding translation capabilities to Radiant using the GLoc
> Rails plugin (http://rubyforge.org/projects/gloc).
> 
> Except from image containing text, defining translations strings in quite 
> easy.
> 
> How can I show it to you before submitting a patch?

The easiest thing would be to create a ticket and label it with 
[RESEARCH] and [PATCH] in the title and attach your patch to that. Even 
if you aren't quite ready for your changes to be used by others, doing 
it that way a great way to show us what you are up to.

> By the way, why using images to display text?

It is the the easiest way to create buttons with rounded corners as I 
designed them. If Radiant offers full multi-lingual support they will 
definitely need to be replaced with simple text.

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant