diff --git a/service/lib/agama/ui_locale.rb b/service/lib/agama/ui_locale.rb index 5309e12fd1..7ba7ed558b 100644 --- a/service/lib/agama/ui_locale.rb +++ b/service/lib/agama/ui_locale.rb @@ -22,7 +22,6 @@ require "yast" Yast.import "WFM" -Yast.import "Label" module Agama # Object responsible for managing changes of localization produced by dbus backend. @@ -50,11 +49,9 @@ def change_locale(locale) Yast::WFM.SetLanguage(locale, "UTF-8") # explicitelly set ENV to get localization also from libraries like libstorage ENV["LANG"] = locale + ".UTF-8" - log.info "set yast language to #{locale} WFM: #{Yast::WFM.GetLanguage}" + log.info "set yast language to #{locale}" # explicit call to textdomain to force fast gettext change of language ASAP textdomain "installation" - log.info "gettext locale #{FastGettext.locale}" - log.info "testing localized string #{Yast::Label.YesButton}" end end end