Skip to content

Commit

Permalink
Master bnc 1098571 (#763)
Browse files Browse the repository at this point in the history
* merged with SLES15-GA
  • Loading branch information
schubi2 committed Nov 16, 2018
1 parent 750fb25 commit 5e2678b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-installation.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 15 15:40:49 CET 2018 - schubi@suse.de

- Dialog complex_welcome: Translate the help button if the language
has been changed (bsc#1098571).
- 4.1.27

-------------------------------------------------------------------
Mon Nov 12 14:51:30 CET 2018 - schubi@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.1.26
Version: 4.1.27
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 3 additions & 0 deletions src/lib/installation/dialogs/complex_welcome.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
require "y2packager/widgets/product_license"

Yast.import "UI"
Yast.import "Wizard"

module Installation
module Dialogs
Expand All @@ -43,6 +44,7 @@ class ComplexWelcome < CWM::Dialog
# @param disable_buttons [Array<Symbol>] List of buttons to disable
def initialize(products, disable_buttons: [])
textdomain "installation"

@products = products
@disable_buttons = disable_buttons.map { |b| "#{b}_button" }
end
Expand Down Expand Up @@ -80,6 +82,7 @@ def run

loop do
res = super
Yast::Wizard.RetranslateButtons
break if res != :redraw
end

Expand Down

0 comments on commit 5e2678b

Please sign in to comment.