Skip to content

Commit

Permalink
Fixes #37838 - Remove redundant translation call
Browse files Browse the repository at this point in the history
This was translating an interpolation string, which doesn't do anything
and can only introduce problems.

Fixes: 00de05f ("Fixes #36518 - show disk/partitions of vsphere host")
  • Loading branch information
ekohl committed Sep 18, 2024
1 parent 4ecace2 commit 0223a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/compute_resources_vms/show/_vmware.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<% @vm.disks.each do |vol| %>
<tr>
<td><%= _("Disk '%s'") % vol[:label] %></td>
<td><%= _("%{capacity}") % { :capacity => number_to_human_size(vol[:capacity])} %></td>
<td><%= number_to_human_size(vol[:capacity]) %></td>
</tr>
<% end %>
<% @vm.partitions.each do |part| %>
Expand Down

0 comments on commit 0223a2a

Please sign in to comment.