Skip to content

Commit

Permalink
Merge pull request #94 from jsrain/master
Browse files Browse the repository at this point in the history
add explanation to extension regcode dialog (bnc#881466)
  • Loading branch information
jsrain committed Jun 6, 2014
2 parents 5ca90d0 + c1a0428 commit 67c42b3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
6 changes: 6 additions & 0 deletions package/yast2-registration.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 5 12:43:27 UTC 2014 - jsrain@suse.cz

- add explanation to extension regcode dialog (bnc#881466)
- 3.1.65

-------------------------------------------------------------------
Tue Jun 3 16:08:38 UTC 2014 - lslezak@suse.cz

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-registration.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-registration
Version: 3.1.64
Version: 3.1.65
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
23 changes: 20 additions & 3 deletions src/clients/inst_scc.rb
Expand Up @@ -43,7 +43,7 @@ class InstSccClient < Client

# the maximum number of reg. codes displayed vertically,
# this is the limit for 80x25 textmode UI
MAX_REGCODES_PER_COLUMN = 9
MAX_REGCODES_PER_COLUMN = 8

# width of reg code input field widget
REG_CODE_WIDTH = 33
Expand Down Expand Up @@ -507,8 +507,25 @@ def addon_regcodes_dialog_content(addons)

HBox(
HSpacing(Opt(:hstretch), 3),
box1,
box2 ? box2 : Empty(),
VBox(
VStretch(),
Left(Label(n_(
"The extension you selected needs a separate registration code.",
"The extensions you selected need separate registration codes.",
addons.size
))),
Left(Label(n_(
"Enter the registration code into the field below.",
"Enter the registration codes into the fields below.",
addons.size
))),
VStretch(),
HBox(
box1,
box2 ? box2 : Empty()
),
VStretch()
),
HSpacing(Opt(:hstretch), 3)
)
end
Expand Down

0 comments on commit 67c42b3

Please sign in to comment.