@nextcloud/l10n

    Function getPlural

    • Get array index of translations for a plural form

      Parameters

      • number: number

        the number of elements

      • language: string = ...

        the language to use (or autodetect if not set)

      Returns 0 | 1 | 2 | 3 | 4 | 5

      0 for the singular form(, 1 for the first plural form, ...)

    MMNEPVFCICPMFPCPTTAAATR