Skip to content

Commit

Permalink
Merge pull request #487 from yast/potfiles-fix
Browse files Browse the repository at this point in the history
Declare textdomain to fix untranslated texts
  • Loading branch information
mvidner committed Aug 4, 2016
2 parents 92bbae6 + 7d3b11d commit c410229
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 1 deletion.
4 changes: 4 additions & 0 deletions library/network/src/lib/network/susefirewall.rb
Expand Up @@ -43,6 +43,10 @@ class SuSEFirewallClass < Module

include Yast::Logger

def initialize
textdomain "base"
end

# Function which returns if SuSEfirewall2 should start in Write process.
# In fact it means that SuSEfirewall2 will at the end.
#
Expand Down
2 changes: 2 additions & 0 deletions library/network/src/lib/network/susefirewalld.rb
Expand Up @@ -70,6 +70,8 @@ def api
end

def initialize
textdomain "base"

# firewalld API interface.
@fwd_api = FirewalldAPI.create
# firewalld service
Expand Down
2 changes: 2 additions & 0 deletions library/network/src/lib/network/susefirewalldservices.rb
Expand Up @@ -42,6 +42,8 @@ class SuSEFirewalldServicesClass < SuSEFirewallServicesClass
IGNORED_SERVICES = ["..", "."].freeze

def initialize
textdomain "base"

@services = nil

@known_services_features = {
Expand Down
4 changes: 4 additions & 0 deletions library/network/src/lib/network/susefirewallservices.rb
Expand Up @@ -51,6 +51,10 @@ class SuSEFirewallServicesClass < Module
"description" => ""
}.freeze

def initialize
textdomain "base"
end

# Function returns the map of supported (known) services.
#
# @return [Hash{String => String}] supported services
Expand Down
6 changes: 6 additions & 0 deletions package/yast2.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 4 09:04:50 UTC 2016 - mvidner@suse.cz

- Declare textdomain to fix untranslated texts (bsc#992084).
- 3.1.201

-------------------------------------------------------------------
Thu Aug 4 07:37:08 UTC 2016 - jsrain@suse.cz

Expand Down
2 changes: 1 addition & 1 deletion package/yast2.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2
Version: 3.1.200
Version: 3.1.201
Release: 0
Summary: YaST2 - Main Package
License: GPL-2.0
Expand Down

0 comments on commit c410229

Please sign in to comment.