Sha256: 134dbaca70d0ca39b74c043ae29b6104a5953fd7af8c27cdc6254f8f766e833a

Contents?: true

Size: 483 Bytes

Versions: 24

Compression:

Stored size: 483 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Core
    # This type represents a localized string in a single language.
    class LocalizedStringType < Decidim::Api::Types::BaseObject
      description "Represents a particular translation of a LocalizedStringType"

      field :locale, GraphQL::Types::String, "The standard locale of this translation.", null: false
      field :text, GraphQL::Types::String, "The content of this translation.", null: true
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-core-0.27.1 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.26.4 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.27.0 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.26.3 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.27.0.rc2 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.27.0.rc1 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.26.2 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.26.1 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.26.0 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.26.0.rc2 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.26.0.rc1 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.25.2 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.25.1 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.25.0 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.25.0.rc4 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.25.0.rc3 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.25.0.rc2 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.25.0.rc1 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.24.3 lib/decidim/api/types/localized_string_type.rb
decidim-core-0.24.2 lib/decidim/api/types/localized_string_type.rb