Skip to content

Commit

Permalink
Missing textdomains
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Sep 10, 2018
1 parent 8db37e7 commit 1756196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/y2firewall/widgets/allowed_services.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class AllowedServices < ::CWM::CustomWidget
#
# @param zone [Y2Firewall::Firewalld::Zone] Zone
def initialize(zone)
textdomain "firewall"
@zone = zone
self.widget_id = "allowed_services"
@available_svcs_table = ServicesTable.new
Expand Down
1 change: 1 addition & 0 deletions src/lib/y2firewall/widgets/pages/interfaces.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def contents
class ZoneBox < CWM::SelectionBox
# @param interface [Hash<String,String>] "id", "name" and "zone"
def initialize(interface)
textdomain "firewall"
@interface = interface
@zones = Y2Firewall::Firewalld.instance.zones
end
Expand Down

0 comments on commit 1756196

Please sign in to comment.