ref: refs/heads/basesystem
commit 4254a1caf08590794872647aff9acdf807162ae6
Author: Ladislav Slezak
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@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org