HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/hcv/wp-content/plugins/wordpress-seo-premium/classes/premium-javascript-strings.php
<?php
/**
 * WPSEO Premium plugin file.
 *
 * @package WPSEO\Premium\Classes
 */

/**
 * Class WPSEO_Premium_Javascript_Strings.
 */
class WPSEO_Premium_Javascript_Strings {

	/**
	 * List containing the localized JavaScript translations.
	 *
	 * @var string[]|null
	 */
	private static $strings = null;

	/**
	 * Fill the value of self::$strings with translated strings.
	 */
	private static function fill() {
		self::$strings = [
			'error_circular'           => __( 'You can\'t redirect a URL to itself.', 'wordpress-seo-premium' ),
			'error_old_url'            => __( 'The old URL field can\'t be empty.', 'wordpress-seo-premium' ),
			'error_regex'              => __( 'The Regular Expression field can\'t be empty.', 'wordpress-seo-premium' ),
			'error_new_url'            => __( 'The new URL field can\'t be empty.', 'wordpress-seo-premium' ),
			'error_saving_redirect'    => __( 'Error while saving this redirect', 'wordpress-seo-premium' ),
			'error_new_type'           => __( 'New type can\'t be empty.', 'wordpress-seo-premium' ),
			'unsaved_redirects'        => __( 'You have unsaved redirects, are you sure you want to leave?', 'wordpress-seo-premium' ),

			/* translators: %s is replaced with the URL that will be deleted. */
			'enter_new_url'            => __( 'Please enter the new URL for %s', 'wordpress-seo-premium' ),
			/* translators: variables will be replaced with from and to URLs. */
			'redirect_saved'           => __( 'Redirect created from %1$s to %2$s!', 'wordpress-seo-premium' ),
			/* translators: %1$s will be replaced with the from URL. */
			'redirect_saved_no_target' => __( '410 Redirect created from %1$s!', 'wordpress-seo-premium' ),

			'redirect_added'           => [
				'title'   => __( 'Redirect added.', 'wordpress-seo-premium' ),
				'message' => __( 'The redirect was added successfully.', 'wordpress-seo-premium' ),
			],
			'redirect_updated'         => [
				'title'   => __( 'Redirect updated.', 'wordpress-seo-premium' ),
				'message' => __( 'The redirect was updated successfully.', 'wordpress-seo-premium' ),
			],
			'redirect_deleted'         => [
				'title'   => __( 'Redirect deleted.', 'wordpress-seo-premium' ),
				'message' => __( 'The redirect was deleted successfully.', 'wordpress-seo-premium' ),
			],

			'button_ok'                => __( 'OK', 'wordpress-seo-premium' ),
			'button_cancel'            => __( 'Cancel', 'wordpress-seo-premium' ),
			'button_save'              => __( 'Save', 'wordpress-seo-premium' ),
			'button_save_anyway'       => __( 'Save anyway', 'wordpress-seo-premium' ),

			'edit_redirect'            => __( 'Edit redirect', 'wordpress-seo-premium' ),
			'editing_redirect'         => __( 'You are already editing a redirect, please finish this one first', 'wordpress-seo-premium' ),

			'editAction'               => __( 'Edit', 'wordpress-seo-premium' ),
			'deleteAction'             => __( 'Delete', 'wordpress-seo-premium' ),
		];
	}

	/**
	 * Returns an array with all the translated strings.
	 *
	 * @return string[]
	 */
	public static function strings() {
		if ( self::$strings === null ) {
			self::fill();
		}

		return self::$strings;
	}
}