Skip to content

Commit

Permalink
Better message and fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Sep 14, 2021
1 parent e0fdfea commit 83fa267
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/general/src/lib/ui/ui_extension_checker.rb
Expand Up @@ -86,6 +86,8 @@ def installed?
def ask
# Translators: %s is a software packge name like libyui-qt-pkg15
msg = _("This needs package %s to be installed.") % ext_pkg
msg += "\n\n"
msg += _("Press \"Continue\" to install this package now or \"Cancel\" to exit.")
@ok = Popup.ContinueCancel(msg)
end

Expand All @@ -97,7 +99,7 @@ def install
if !@ok
log.error("UI extension package could not be installed: #{ext_pkg}")
# Translators: %s is a software packge name like libyui-qt-pkg15
Report.Error(_("Package %s could not be installed.") %ext_pkg)
Report.Error(_("Package %s could not be installed.") % ext_pkg)
end
@ok
end
Expand Down

0 comments on commit 83fa267

Please sign in to comment.