ru.makkarpov.scalingua

MergedLanguage

class MergedLanguage extends Language

Linear Supertypes
Language, TaggedLanguage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MergedLanguage
  2. Language
  3. TaggedLanguage
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MergedLanguage(id: LanguageId, data: MessageData, plural: PluralFunction, tags: TaggedLanguage)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val data: MessageData

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. val id: LanguageId

    A exact (with country part) ID of this language.

    A exact (with country part) ID of this language.

    Definition Classes
    MergedLanguageLanguage
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def merge(other: Language): Language

    Merges this language with specified other.

    Merges this language with specified other. Conflicting messages will be resolved using this language. Plural function will be used from this language.

    other

    Language to merge

    returns

    Merged language

    Definition Classes
    MergedLanguageLanguage
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def plural(msgctx: String, msgid: String, msgidPlural: String, n: Long): String

    Resolve plural form of message with a context.

    Resolve plural form of message with a context.

    msgctx

    A context of message

    msgid

    A singular form of message

    msgidPlural

    A plural form of message

    n

    Numeral representing which form to choose

    returns

    Resolved plural form of message

    Definition Classes
    MergedLanguageLanguage
  21. def plural(msgid: String, msgidPlural: String, n: Long): String

    Resolve plural form of message without a context

    Resolve plural form of message without a context

    msgid

    A singular form of message

    msgidPlural

    A plural form of message

    n

    Numeral representing which form to choose

    returns

    Resolved plural form of message

    Definition Classes
    MergedLanguageLanguage
  22. def singular(msgctx: String, msgid: String): String

    Resolve singular form of message with a context.

    Resolve singular form of message with a context.

    msgctx

    A context of message

    msgid

    A message to resolve

    returns

    Resolved message or msgid itself.

    Definition Classes
    MergedLanguageLanguage
  23. def singular(msgid: String): String

    Resolve singular form of message without a context.

    Resolve singular form of message without a context.

    msgid

    A message to resolve

    returns

    Resolved message or msgid itself.

    Definition Classes
    MergedLanguageLanguage
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def taggedPlural(tag: String, n: Long): String

    Returns plural string resolved by tag with respect to quantity

    Returns plural string resolved by tag with respect to quantity

    tag

    String tag

    n

    Quantity

    returns

    Resolved string

    Definition Classes
    MergedLanguageTaggedLanguage
  26. def taggedSingular(tag: String): String

    Returns singular string resolved by tag

    Returns singular string resolved by tag

    tag

    String tag

    returns

    Resolved string

    Definition Classes
    MergedLanguageTaggedLanguage
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Language

Inherited from TaggedLanguage

Inherited from AnyRef

Inherited from Any

Ungrouped