Skip to content

Commit

Permalink
Merge pull request ManageIQ#18069 from mzazrivec/don_translate_file_d…
Browse files Browse the repository at this point in the history
…epot_types

Don't translate FileDepot types
  • Loading branch information
bdunne authored Oct 8, 2018
2 parents 1db6992 + d482735 commit d1ccb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/file_depot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class FileDepot < ApplicationRecord
attr_accessor :file

def self.supported_depots
@supported_depots ||= descendants.each_with_object({}) { |klass, hash| hash[klass.name] = Dictionary.gettext(klass.name, :type => :model, :notfound => :titleize) }.freeze
@supported_depots ||= descendants.each_with_object({}) { |klass, hash| hash[klass.name] = Dictionary.gettext(klass.name, :type => :model, :notfound => :titleize, :translate => false) }.freeze
end

def self.supported_protocols
Expand Down

0 comments on commit d1ccb82

Please sign in to comment.