Class/Object

ru.makkarpov.scalingua

MergedLanguage

Related Docs: object MergedLanguage | package scalingua

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val id: LanguageId

    Permalink

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

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

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

    Permalink
    Definition Classes
    Any
  14. def merge(other: Language): Language

    Permalink

    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
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

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

    Permalink

    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
  19. def plural(msgid: String, msgidPlural: String, n: Long): String

    Permalink

    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
  20. def singular(msgctx: String, msgid: String): String

    Permalink

    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
  21. def singular(msgid: String): String

    Permalink

    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
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    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
  24. def taggedSingular(tag: String): String

    Permalink

    Returns singular string resolved by tag

    Returns singular string resolved by tag

    tag

    String tag

    returns

    Resolved string

    Definition Classes
    MergedLanguageTaggedLanguage
  25. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Language

Inherited from TaggedLanguage

Inherited from AnyRef

Inherited from Any

Ungrouped