CodBi
    Preparing search index...

    Function pluginMessage

    • Gets the translation for a given key, taken from the localized messages in the properties files of the plugin. Falls back to English when no translation was found for the given language.

      This should only be used for the backend, i.e. the form designer. For the frontend, i.e. forms, use formMessage.

      Parameters

      • lang: string

        Target language

      • key:
            | "apiDoc.dialog.input.label.prefix"
            | "designer.category.codbi_panel"
            | "designer.property.config_template"
            | "designer.property.config_template.option.default"
            | "designer.property.config_template.option.xtensible"
            | "designer.property.enable_codbi"
            | "designer.property.standards"
            | "form.test_string"
            | "plugin.form_designer_resource.desc"
            | "plugin.form_designer_resource.name"
            | "plugin.form_properties_extension.desc"
            | "plugin.form_properties_extension.name"
            | "plugin.form_render_callback.desc"
            | "plugin.form_render_callback.name"
            | "plugin.form_resources.desc"
            | "plugin.form_resources.name"

        Message key.

      Returns string

      Localized message.