Package com.io7m.montarre.api

# Interface MTranslatedTextType

All Known Implementing Classes:
  `MTranslatedText`

@Immutable public interface MTranslatedTextType
A text with zero or more alternative translations.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default Map<MLanguageCode,String>`
  `all()`
  `default MLanguageCode`
  `language()`
  `String`
  `text()`
  `Map<MLanguageCode,String>`
  `translations()`

- ## Method Details

  - ### language

    @Default default MLanguageCode language()
    Returns:
      The base language

  - ### text

    String text()
    Returns:
      The text in the base language

  - ### translations

    Map<MLanguageCode,String> translations()
    Returns:
      The translations

  - ### all

    default Map<MLanguageCode,String> all()
    Returns:
      All texts including the base text and translations