Skip to content

Commit

Permalink
example of valid port input
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Sep 19, 2018
1 parent e7d4774 commit ef81430
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/lib/y2firewall/widgets/pages/zone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,14 @@ def contents
end

def valid_port_description
_("Enter ports or port ranges, separated by spaces and/or commas.\n" \
"A port is an integer.\n" \
"A port range is port-dash-port (with no spaces).")
format(
_("Enter ports or port ranges, separated by spaces and/or commas.\n" \
"A port is an integer.\n" \
"A port range is port-dash-port (with no spaces).\n" \
"For example:\n" \
"%s"),
"16001-16009, 18080"
)
end

def help
Expand Down

0 comments on commit ef81430

Please sign in to comment.