Sha256: 12802f3284d41974d5b11372accf42c0514a8c97ff1ea03b7127f5e8f10e50a6

Contents?: true

Size: 356 Bytes

Versions: 9

Compression:

Stored size: 356 Bytes

Contents

module Netzke
  module Core
    module CoreI18n
      extend ActiveSupport::Concern
      module ClassMethods
        # The ID used to locate this component's block in locale files
        def i18n_id
          name.split("::").map{|c| c.underscore}.join(".")
        end
      end

      def i18n_id
        self.class.i18n_id
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
netzke-core-6.5.0.0 lib/netzke/core/core_i18n.rb
netzke-core-6.5.0.0.rc2 lib/netzke/core/core_i18n.rb
netzke-core-6.5.0.0.rc1 lib/netzke/core/core_i18n.rb
netzke-core-1.0.1.0 lib/netzke/core/core_i18n.rb
netzke-core-1.0.0.0 lib/netzke/core/core_i18n.rb
netzke-core-1.0.0.0.pre4 lib/netzke/core/core_i18n.rb
netzke-core-1.0.0.0.pre3 lib/netzke/core/core_i18n.rb
netzke-core-1.0.0.0.pre2 lib/netzke/core/core_i18n.rb
netzke-core-1.0.0.0.pre lib/netzke/core/core_i18n.rb