Method: Puppet::GettextConfig.loaded_text_domains

Defined in:
lib/puppet/gettext/config.rb

.loaded_text_domains[String]

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a list of the names of the loaded text domains

Returns:

  • ([String])

    the names of the loaded text domains



53
54
55
56
57
# File 'lib/puppet/gettext/config.rb', line 53

def self.loaded_text_domains
  return [] if @gettext_disabled || !gettext_loaded?

  return FastGettext.translation_repositories.keys
end