platform-bible-utils
    Preparing search index...

    Function toProjectOpenBlockedReasonKey

    • A project's unsupportedReason as a key that can be localized. The field is always a localize key; anything else is replaced by PROJECT_OPEN_BLOCKED_FALLBACK_KEY rather than shown raw.

      Parameters

      • unsupportedReason: string

        The project's unsupportedReason

      Returns `%${string}%`

      unsupportedReason if it is a localize key, otherwise the generic reason's key