From 0223a2aec544dda2a8b089aba6e5142baefbfb07 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Wed, 18 Sep 2024 19:34:31 +0200 Subject: [PATCH] Fixes #37838 - Remove redundant translation call This was translating an interpolation string, which doesn't do anything and can only introduce problems. Fixes: 00de05fdcab40f887b5bb3860bada3ec1d236ae9 ("Fixes #36518 - show disk/partitions of vsphere host") --- app/views/compute_resources_vms/show/_vmware.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/compute_resources_vms/show/_vmware.html.erb b/app/views/compute_resources_vms/show/_vmware.html.erb index 7b371e7205e..220d042dd40 100644 --- a/app/views/compute_resources_vms/show/_vmware.html.erb +++ b/app/views/compute_resources_vms/show/_vmware.html.erb @@ -12,7 +12,7 @@ <% @vm.disks.each do |vol| %> <%= _("Disk '%s'") % vol[:label] %> - <%= _("%{capacity}") % { :capacity => number_to_human_size(vol[:capacity])} %> + <%= number_to_human_size(vol[:capacity]) %> <% end %> <% @vm.partitions.each do |part| %>