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

Pierre-Gilles Mialon pmialon at linagora.com
Tue Jul 13 14:30:03 UTC 2010


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

-- 
Pierre-Gilles Mialon
Responsable hébergement :: Head of Hosting services
pmialon at linagora.com    :: +33.1 46 96 63 58
Linagora                :: http://www.linagora.com
74 rue Roque de Fillol  :: 92800 Puteaux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20100713/314f93d6/attachment.sig>


More information about the ovirt-devel mailing list