Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILanguage

Hierarchy

  • ILanguage

Implemented by

Index

Methods

addPluralRule

  • addPluralRule(from: string, to: string): void
  • Parameters

    • from: string
    • to: string

    Returns void

getDictionary

getName

  • getName(): string
  • Returns string

pluralize

  • pluralize(str: string): string
  • Parameters

    • str: string

    Returns string

removeDictionary

  • Parameters

    Returns void

setDictionaries

  • setDictionaries(dictionaries: object): void
  • Parameters

    • dictionaries: object
      • [index: number]: object
        • [index: number]: any

    Returns void

setDictionary

setDictionaryRaw

setEntry

  • setEntry(dictionary: Action, entryIndex: ActionType, name: string, description: string): void
  • setEntry(dictionary: Book, entryIndex: BookType, name: string, description: string): void
  • setEntry(dictionary: Corpse, entryIndex: CreatureType, prefix: string, name: string): void
  • setEntry(dictionary: Creature, entryIndex: CreatureType, prefix: string, name: string, description: string): void
  • setEntry(dictionary: Doodad, entryIndex: DoodadType, prefix: string, name: string, description: string): void
  • setEntry(dictionary: Doodad, entryIndex: DoodadTypeGroup, name: string, description: string): void
  • setEntry(dictionary: Hint, entryIndex: HintType, name: string, description: string): void
  • setEntry(dictionary: Item, entryIndex: ItemType, prefix: string, name: string, description?: string, plural?: string): void
  • setEntry(dictionary: Item, entryIndex: ItemTypeGroup, name: string, description: string): void
  • setEntry(dictionary: Message, entryIndex: Message, name: string): void
  • setEntry(dictionary: Milestone, entryIndex: MilestoneType, name: string, description: string): void
  • setEntry(dictionary: OnEquip, entryIndex: OnEquipType, name: string): void
  • setEntry(dictionary: Skill, entryIndex: SkillType, name: string, description: string): void
  • setEntry(dictionary: Terrain, entryIndex: TerrainType, prefix: string, name: string): void
  • setEntry(dictionary: TileEvent, entryIndex: TileEventType, name: string, description: string): void
  • setEntry(dictionary: InterruptChoice, entryIndex: UiTranslation, name: string): void
  • setEntry(dictionary: BindPress, entryName: string, name: string): void
  • setEntry(dictionary: Dictionary, entryIndex: number, ...entry: string[]): void
  • Parameters

    Returns void

  • Parameters

    • dictionary: Book
    • entryIndex: BookType
    • name: string
    • description: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • dictionary: Doodad
    • entryIndex: DoodadType
    • prefix: string
    • name: string
    • description: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    • dictionary: Hint
    • entryIndex: HintType
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Item
    • entryIndex: ItemType
    • prefix: string
    • name: string
    • Optional description: string
    • Optional plural: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • dictionary: Skill
    • entryIndex: SkillType
    • name: string
    • description: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • dictionary: BindPress
    • entryName: string
    • name: string

    Returns void

  • Parameters

    • dictionary: Dictionary
    • entryIndex: number
    • Rest ...entry: string[]

    Returns void

shouldPluralize

  • shouldPluralize(): boolean
  • Returns boolean

shouldUseAlternateFontStyle

  • shouldUseAlternateFontStyle(): boolean
  • Returns boolean

Generated using TypeDoc