code: 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 );
  	}
docs: Add scripts.
  
  @since 1.0.2