src/controller/admin/class-rating.php
protected function add_scripts() {

		$script = 'customRatingGrifusEditPost';

		$params = [

			'votes'  => __( 'votes', 'extensions-for-grifus-rating' ),
			'rating' => __( 'Rating', 'extensions-for-grifus-rating' ),
		];

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

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

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

		$script = 'customRatingGrifusEditPost';

		$params = [

			'votes'  => __( 'votes', 'extensions-for-grifus-rating' ),
			'rating' => __( 'Rating', 'extensions-for-grifus-rating' ),
		];

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

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

		WP_Register::add( 'script', $settings );
	}
protected function add_scripts ( ) { $ script = 'customRatingGrifusEditPost' ; $ params = [ 'votes' => __ ( 'votes' , 'extensions-for-grifus-rating' ) , 'rating' => __ ( 'Rating' , 'extensions-for-grifus-rating' ) , ] ; $ settings = Module :: CustomRatingGrifus ( ) -> getOption ( 'assets' , 'js' , $ script ) ; $ settings [ 'params' ] = array_merge ( $ settings [ 'params' ] , $ params ) ; WP_Register :: add ( 'script' , $ settings ) ; }
Add scripts.

@since 1.0.2
Add scripts .