Skip to content

Commit

Permalink
Merge pull request #5122 from mzazrivec/add_gettext_to_zone_selector_…
Browse files Browse the repository at this point in the history
…in_my_tasks_screen

Add missing gettext to zone dropdown in My Tasks screen
  • Loading branch information
martinpovolny authored Jan 7, 2019
2 parents d3a67ad + e5181fa commit d86fded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/miq_task/_tasks_options.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
= _("Zone")
.col-md-8
- my_zone = MiqServer.my_server(true).my_zone
- opts = [["<#{_('All Zones')}>", "<all>"]] + @tasks_options[:zones].sort.collect { |a| [a == my_zone ? a + " (current)" : a, a] }
- opts = [["<#{_('All Zones')}>", "<all>"]] + @tasks_options[:zones].sort.collect { |a| [a == my_zone ? _("%{zone} (current)") % {:zone => a} : a, a] }
= select_tag("chosen_zone",
options_for_select(opts, @tasks_options[@tabform][:zone]),
:class => "selectpicker")
Expand Down

0 comments on commit d86fded

Please sign in to comment.