[Ovirt-devel] [PATCH] gettext initiation problem Thanks to Thibault Deloffre <tdeloffre at linagora.com>

Arthur Clément aclement at linagora.com
Mon Jul 19 14:11:25 UTC 2010


Pushed


On mardi 13 juillet 2010 16:30:03 Pierre-Gilles Mialon wrote:
> Le lundi 5 juillet 2010 10:55:23 Arthur Clément, vous avez écrit :
> > This patch solve the problem of the empty forms (add storage, network...)
> > 
> > On lundi 05 juillet 2010 10:51:54 Arthur Clément wrote:
> > > From: root <aclement at linagora.com>
> > > 
> > > 
> > > Signed-off-by: Arthur Clément <aclement at linagora.com>
> > > ---
> > > 
> > >  src/app/controllers/application_controller.rb |    3 ++-
> > >  1 files changed, 2 insertions(+), 1 deletions(-)
> > > 
> > > diff --git a/src/app/controllers/application_controller.rb
> > > b/src/app/controllers/application_controller.rb index 4c4666e..c7f8431
> > > 100644
> > > --- a/src/app/controllers/application_controller.rb
> > > +++ b/src/app/controllers/application_controller.rb
> > > @@ -20,12 +20,13 @@
> > > 
> > >  # Filters added to this controller apply to all controllers in the
> > > 
> > > application. # Likewise, all the methods added will be available for
> > > all controllers.
> > > 
> > > +require 'gettext_rails'
> > > 
> > >  class ApplicationController < ActionController::Base
> > >  
> > >    # FIXME: once all controller classes include this, remove here
> > >    include ApplicationService
> > > 
> > > -#  init_gettext "ovirt"
> > > +  init_gettext "ovirt"
> > > 
> > >    layout :choose_layout
> > >    
> > >    before_filter :is_logged_in, :get_help_section
> 
> ACK
-- 
Arthur CLEMENT
Linagora Paris




More information about the ovirt-devel mailing list