diff --git a/src/lib/y2firewall/widgets/allowed_services.rb b/src/lib/y2firewall/widgets/allowed_services.rb index 7bb462fd..1a03d258 100644 --- a/src/lib/y2firewall/widgets/allowed_services.rb +++ b/src/lib/y2firewall/widgets/allowed_services.rb @@ -81,6 +81,17 @@ def handle(event) nil end + # @macro seeAbstractWidget + def help + # TRANSLATORS: %s is the zone label + format( + _("

Select which services you want to allow in the zone %s\n" \ + "by adding them to the Allowed list (using Add or Add All\n" \ + "buttons).

"), + zone.name + ) + end + private # @!attribute [r] known_svcs_table diff --git a/src/lib/y2firewall/widgets/pages/startup.rb b/src/lib/y2firewall/widgets/pages/startup.rb index 17816135..29f6421a 100644 --- a/src/lib/y2firewall/widgets/pages/startup.rb +++ b/src/lib/y2firewall/widgets/pages/startup.rb @@ -38,7 +38,7 @@ def initialize(_pager) # @macro seeAbstractWidget def label - _("Startup") + _("Start-Up") end # @macro seeCustomWidget diff --git a/src/lib/y2firewall/widgets/zones_table.rb b/src/lib/y2firewall/widgets/zones_table.rb index c1743f7c..b752f7f0 100644 --- a/src/lib/y2firewall/widgets/zones_table.rb +++ b/src/lib/y2firewall/widgets/zones_table.rb @@ -93,6 +93,22 @@ def selected_zone zones.find { |z| z.name == value.to_s } end + # @macro seeAbstractWidget + def help + _( + "

A network zone defines the level of trust for network connections.

\n" \ + "

You can designate one of them as the default zone by clicking the\n" \ + "Set As Default button.

\n\n" \ + "

In the Interfaces column you see which interfaces are assigned\n" \ + "to a given zone. Bear in mind that, for the zone which is set as the default\n" \ + "one, you will see the interfaces that are implicitly assigned to it, i.e.,\n" \ + "those interfaces that are not assigned explicitly to that zone but to the\n" \ + "default one.

\n\n" \ + "

If you want to assign an interface to a given zone, just visit the\n" \ + "Interfaces section.

" + ) + end + private # @return [Y2Firewalld::Widgets::DefaultZoneButton] Button to set a zone as 'default'