pokemon-rogue-battle
    Preparing search index...

    Function getRandomLocaleEntry

    • Select a random i18n entry from all nested keys in the given object.

      Parameters

      • key: string

        The i18n key to retrieve a random value of. The key's value should be an object containing numerical keys (starting from 1).

      Returns [key: string, value: string]

      A tuple containing the key and value pair.