Sha256: e6e00465f33810d3630b26e8ae50678147e9ae43466b618500165767570378b2

Contents?: true

Size: 460 Bytes

Versions: 40

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Core
    # This type represents a localized string in a single language.
    LocalizedStringType = GraphQL::ObjectType.define do
      name "LocalizedString"
      description "Represents a particular translation of a LocalizedStringType"

      field :locale, !types.String, "The standard locale of this translation."
      field :text, types.String, "The content of this translation."
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
decidim-core-0.23.6 app/types/decidim/core/localized_string_type.rb
decidim-core-0.23.5 app/types/decidim/core/localized_string_type.rb
decidim-core-0.23.4 app/types/decidim/core/localized_string_type.rb
decidim-core-0.23.3 app/types/decidim/core/localized_string_type.rb
decidim-core-0.23.2 app/types/decidim/core/localized_string_type.rb
decidim-core-0.23.1 app/types/decidim/core/localized_string_type.rb
decidim-core-0.23.1.rc1 app/types/decidim/core/localized_string_type.rb
decidim-core-0.23.0 app/types/decidim/core/localized_string_type.rb
decidim-core-0.22.0 app/types/decidim/core/localized_string_type.rb
decidim-core-0.21.0 app/types/decidim/core/localized_string_type.rb
decidim-core-0.20.1 app/types/decidim/core/localized_string_type.rb
decidim-core-0.20.0 app/types/decidim/core/localized_string_type.rb
decidim-core-0.19.1 app/types/decidim/core/localized_string_type.rb
decidim-core-0.18.1 app/types/decidim/core/localized_string_type.rb
decidim-core-0.19.0 app/types/decidim/core/localized_string_type.rb
decidim-core-0.17.2 app/types/decidim/core/localized_string_type.rb
decidim-core-0.18.0 app/types/decidim/core/localized_string_type.rb
decidim-core-0.17.1 app/types/decidim/core/localized_string_type.rb
decidim-core-0.16.1 app/types/decidim/core/localized_string_type.rb
decidim-core-0.17.0 app/types/decidim/core/localized_string_type.rb