Skip to content

Commit

Permalink
Changes based on code review.
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Nov 20, 2018
1 parent 9d03826 commit 35d0c6f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/clients/ntp-client_proposal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,16 +218,19 @@ def ui_init(rp, first_time)
ComboBox(
Id(:ntp_address),
Opt(:editable, :hstretch),
# combo box label
# TRANSLATORS: combo box label
_("&NTP Server Address")
)
)
),
HWeight(
1,
VBox(
# In TextMode and empty label is not filling an extra space, so
# an explicit vertical space was added in order to move down the
# push button being aligned with the combo box input.
UI.TextMode ? VSpacing(1) : Label(""),
# push button label
# TRANSLATORS: push button label
Left(PushButton(Id(:ntp_now), _("S&ynchronize now")))
)
)
Expand All @@ -250,7 +253,7 @@ def ui_init(rp, first_time)
),
HBox(
HSpacing(0.5),
# check box label
# TRANSLATORS: check box label
Left(
CheckBox(Id(:ntp_save), _("&Save NTP Configuration"), true)
)
Expand All @@ -260,7 +263,7 @@ def ui_init(rp, first_time)
HWeight(
1,
VBox(
# push button label
# TRANSLATORS: push button label
# bnc#449615: only simple config for inst-sys
Stage.initial ? Label("") : Left(PushButton(Id(:ntp_configure), _("&Configure..."))),
Label("")
Expand Down

0 comments on commit 35d0c6f

Please sign in to comment.