Translations_Extensions::init()

Initializes the translation strings.

Description

Source

File: src/translations/translations-extensions.php

	protected function init() {
		$this->translations = array(
			/* translators: %s: class name */
			'extension_class_not_exist'    => __( 'The extension class %s does not exist.', 'torro-forms' ),
			/* translators: 1: class name, 2: other class name */
			'extension_class_invalid'      => __( 'The extension class %1$s is invalid, as it does not inherit the %2$s class.', 'torro-forms' ),
			/* translators: %s: extension name */
			'extension_already_registered' => __( 'An extension with the name “%s” is already registered.', 'torro-forms' ),
		);
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.