Skip to content

Commit

Permalink
Add missing textdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Nov 24, 2021
1 parent 9e0a599 commit c55a752
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/y2s390/dasd_actions/activate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
module Y2S390
module DasdActions
class Activate < Base

def run
textdomain "s390"

unformatted_disks = []

selected.each do |dasd|
Expand Down
2 changes: 2 additions & 0 deletions src/lib/y2s390/dasd_actions/format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def run

class Format < Base
def run
textdomain "s390"

return false unless can_be_formatted?
return false unless really_format?

Expand Down
2 changes: 2 additions & 0 deletions src/lib/y2s390/dialogs/format_disks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module Y2S390
module Dialogs
class FormatDisks < FormatDialog
def dialog_content
textdomain "s390"

VBox(
HSpacing(70),
*dasds_progress_bars
Expand Down
1 change: 1 addition & 0 deletions src/lib/y2s390/presenters/summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class DasdSummary
#
# @param devices [Y2S390::DasdsCollection]
def initialize(devices)
textdomain "s390"
@devices = devices
end

Expand Down

0 comments on commit c55a752

Please sign in to comment.