Skip to content

Commit

Permalink
Merge f5e4929 into f54c8c4
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez authored Jun 13, 2024
2 parents f54c8c4 + f5e4929 commit 3759ab9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/y2storage/device_description.rb
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def lvm_pv_type_label(lvm_pv, encrypted)

if encrypted && include_encryption
# TRANSLATORS: %s is the volume group name. E.g., "vg0"
format(_("Encrypted PV of %s"), vg.basename)
return format(_("Encrypted PV of %s"), vg.basename)
end

# TRANSLATORS: %s is the volume group name. E.g., "vg0"
Expand Down
2 changes: 2 additions & 0 deletions test/y2storage/device_description_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@
expect(description).to eq("PV of LVM")
end
end

include_examples "Encrypted device"
end

context "and it is an unused LVM physical volume" do
Expand Down

0 comments on commit 3759ab9

Please sign in to comment.