src/controller/admin/page/class-custom-rating.php
public function add_scripts() {

		$js = App::EFG()->getOption( 'assets', 'js' );

		WP_Register::add(
			'script',
			$js['eliasisMaterial']
		);

		WP_Register::add(
			'script',
			$js['extensionsForGrifusAdmin']
		);

		$js = Module::CustomRatingGrifus()->getOption( 'assets', 'js' );

		$settings = $js['customRatingGrifusAdmin'];

		$params = [
			'revised_text' => __(
				'Films were reviewed',
				'extensions-for-grifus-rating'
			),
		];

		$settings['params'] = array_merge( $settings['params'], $params );

		WP_Register::add( 'script', $settings );
	}
public function add_scripts() {

		$js = App::EFG()->getOption( 'assets', 'js' );

		WP_Register::add(
			'script',
			$js['eliasisMaterial']
		);

		WP_Register::add(
			'script',
			$js['extensionsForGrifusAdmin']
		);

		$js = Module::CustomRatingGrifus()->getOption( 'assets', 'js' );

		$settings = $js['customRatingGrifusAdmin'];

		$params = [
			'revised_text' => __(
				'Films were reviewed',
				'extensions-for-grifus-rating'
			),
		];

		$settings['params'] = array_merge( $settings['params'], $params );

		WP_Register::add( 'script', $settings );
	}
Load scripts.