Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] <web-client> master : system controller - fixed gettext initialization
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Mon, 24 Aug 2009 15:37:53 +0200
  • Message-id: <E1Mlgpi-0006kN-92@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 4254a1caf08590794872647aff9acdf807162ae6
Author: Ladislav Slezak <lslezak@xxxxxxxxxx>
Date: Mon Aug 17 15:33:34 2009 +0200

system controller - fixed gettext initialization
---
.../system/app/controllers/system_controller.rb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/system/app/controllers/system_controller.rb
b/plugins/system/app/controllers/system_controller.rb
index 8336d58..271b6de 100644
--- a/plugins/system/app/controllers/system_controller.rb
+++ b/plugins/system/app/controllers/system_controller.rb
@@ -2,7 +2,8 @@
class SystemController < ApplicationController
before_filter :login_required

- include GetText
+ # Initialize GetText and Content-Type.
+ init_gettext "yast_webclient_system" # textdomain, options(:charset,
:content_type)

def initialize
@sys = System.new rescue nil
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages