iya-sts
    Preparing search index...

    Variable templateFor

    templateFor: (id: string, languages: string[]) => any = ...

    Type Declaration

      • (id: string, languages: string[]): any
      • Chooses the wording of a message: the realm's own in the first language it has, else the built-in English.

        Parameters

        • id: string

          the message's id

        • languages: string[]

          the languages to try, best first

        Returns any

        { spec, parts, lang, own }, or null for an unknown message