Theme_Upgrader::install_strings()

Initialize the installation strings.


Description Description


Source Source

File: wp-admin/includes/class-theme-upgrader.php

62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
public function install_strings() {
    $this->strings['no_package'] = __( 'Installation package not available.' );
    /* translators: %s: package URL */
    $this->strings['downloading_package'] = sprintf( __( 'Downloading installation package from %s&#8230;' ), '<span class="code">%s</span>' );
    $this->strings['unpack_package']      = __( 'Unpacking the package&#8230;' );
    $this->strings['installing_package']  = __( 'Installing the theme&#8230;' );
    $this->strings['no_files']            = __( 'The theme contains no files.' );
    $this->strings['process_failed']      = __( 'Theme installation failed.' );
    $this->strings['process_success']     = __( 'Theme installed successfully.' );
    /* translators: 1: theme name, 2: version */
    $this->strings['process_success_specific'] = __( 'Successfully installed the theme <strong>%1$s %2$s</strong>.' );
    $this->strings['parent_theme_search']      = __( 'This theme requires a parent theme. Checking if it is installed&#8230;' );
    /* translators: 1: theme name, 2: version */
    $this->strings['parent_theme_prepare_install'] = __( 'Preparing to install <strong>%1$s %2$s</strong>&#8230;' );
    /* translators: 1: theme name, 2: version */
    $this->strings['parent_theme_currently_installed'] = __( 'The parent theme, <strong>%1$s %2$s</strong>, is currently installed.' );
    /* translators: 1: theme name, 2: version */
    $this->strings['parent_theme_install_success'] = __( 'Successfully installed the parent theme, <strong>%1$s %2$s</strong>.' );
    /* translators: %s: theme name */
    $this->strings['parent_theme_not_found'] = sprintf( __( '<strong>The parent theme could not be found.</strong> You will need to install the parent theme, %s, before you can use this child theme.' ), '<strong>%s</strong>' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.