|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Translating will_paginate labelsHi there, Has somebody found a solution for translating will_paginate labels, like "Next" and "Previous" ? I've tried with (in environment.rb) WillPaginate::ViewHelpers.pagination_options[:prev_label] = "Previous".t WillPaginate::ViewHelpers.pagination_options[:next_label] = "Next".t Obviously it hasn't any effect, because it does not happen on the view level. Any suggestions? I am using will_paginate as a gem. Regards from Berlin, Alexander Hoth |
|
|
Re: Translating will_paginate labelsI think you need to wrap those two lines around every controller request, i.e. via a before filter and a method in ApplicationController.
Cheers, OA On Sat, May 17, 2008 at 9:32 AM, Alexander Hoth <ahoth@...> wrote:
|
|
|
Re: Translating will_paginate labelsmy suggestion is to use the :prev_label and next_label options:
will_paginate @objs, { :prev_label => 'Previous'.t, :next_label => 'Next'.t } Regards On Sat, May 17, 2008 at 4:32 PM, Alexander Hoth <ahoth@...> wrote: > > > > Hi there, > > Has somebody found a solution for translating will_paginate labels, like > "Next" and "Previous" ? > > I've tried with (in environment.rb) > > WillPaginate::ViewHelpers.pagination_options[:prev_label] = "Previous".t > WillPaginate::ViewHelpers.pagination_options[:next_label] = "Next".t > > > Obviously it hasn't any effect, because it does not happen on the view > level. Any suggestions? I am using will_paginate as a gem. > > > Regards from Berlin, > > Alexander Hoth > |
|
|
Re: Translating will_paginate labelsThanks a lot. Didn't mention that option ... So easy :) On 17.05.2008 17:09 Uhr, "Nicola Piccinini" <pic@...> wrote: > my suggestion is to use the :prev_label and next_label options: > > will_paginate @objs, { > :prev_label => 'Previous'.t, > :next_label => 'Next'.t > } > > Regards > > On Sat, May 17, 2008 at 4:32 PM, Alexander Hoth <ahoth@...> wrote: >> >> >> >> Hi there, >> >> Has somebody found a solution for translating will_paginate labels, like >> "Next" and "Previous" ? >> >> I've tried with (in environment.rb) >> >> WillPaginate::ViewHelpers.pagination_options[:prev_label] = "Previous".t >> WillPaginate::ViewHelpers.pagination_options[:next_label] = "Next".t >> >> >> Obviously it hasn't any effect, because it does not happen on the view >> level. Any suggestions? I am using will_paginate as a gem. >> >> >> Regards from Berlin, >> >> Alexander Hoth >> |
|
|
Website |
|
|
Re: WebsiteNope, it's hosted at StikiPad, and it looks like they're having some problems:
http://www.stikipad.com/ -- Josh On Mon, May 26, 2008 at 11:39 AM, Mattias Bodlund <mattias@...> wrote: Has the Globalize site moved (http://globalize-rails.org)? |
|
|
Re: WebsiteMattias, Hang on for awhile.. We're moving data centers. Things will be back up and running as soon as possible. This has been the same for the past 2 weeks. Greetings, Juergen On May 26, 2008, at 4:09 PM, Joshua Harvey wrote: Nope, it's hosted at StikiPad, and it looks like they're having some problems: |
|
|
Re: WebsiteStikipad is unstable or down for months...
Sadly, this is not a reliable service anymore On Mon, May 26, 2008 at 9:33 PM, Jürgen Feßlmeier <jfesslmeier@...> wrote: > Mattias, > Not sure if you are getting the same message as me, but when I go to the > link you mentioned below, I get: > Hang on for awhile.. > > We're moving data centers. > > Things will be back up and running as soon as possible. > > This has been the same for the past 2 weeks. > Greetings, > Juergen > On May 26, 2008, at 4:09 PM, Joshua Harvey wrote: > > Nope, it's hosted at StikiPad, and it looks like they're having some > problems: > > http://www.stikipad.com/ > > -- Josh > > On Mon, May 26, 2008 at 11:39 AM, Mattias Bodlund <mattias@...> > wrote: >> >> Has the Globalize site moved (http://globalize-rails.org)? >> >> Cheers >> Mattias >> > > > -- Jérôme Lipowicz |
|
|
Re: WebsiteOk - I just get nothing.
I'll just wait and see what happens. mattias On 26/05/2008, at 21.33, Jürgen Feßlmeier wrote: > Mattias, > > Not sure if you are getting the same message as me, but when I go to > the link you mentioned below, I get: > > Hang on for awhile.. > We're moving data centers. > > Things will be back up and running as soon as possible. > > > This has been the same for the past 2 weeks. > > Greetings, > Juergen > > On May 26, 2008, at 4:09 PM, Joshua Harvey wrote: > >> Nope, it's hosted at StikiPad, and it looks like they're having >> some problems: >> >> http://www.stikipad.com/ >> >> -- Josh >> >> On Mon, May 26, 2008 at 11:39 AM, Mattias Bodlund <mattias@... >> > wrote: >> Has the Globalize site moved (http://globalize-rails.org)? >> >> Cheers >> Mattias >> >> > |
|
|
Re: Websitemaybe the github's wiki page worth maintain
|
|
|
Re: WebsiteI posted about this elsewhere but thanks to Sven, the website is back up:
http://www.globalize-rails.org/ On Fri, Jun 6, 2008 at 6:46 PM, stainless <johnsonqu@...> wrote: maybe the github's wiki page worth maintain |
| Free embeddable forum powered by Nabble | Forum Help |